/* ===== YEAR SECTION ===== */
.pigalle-year-section {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 0;
}

.pigalle-year-section:not(:first-child) {
  margin-top: 20px;
}

.pigalle-year-header {
  text-align: center;
  margin-bottom: 40px;
}

.pigalle-year-title {
  font-size: 14px;
  font-weight: 400;
  color: #114542;
  margin: 15px 0 0 0;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  display: block;
}

.pigalle-year-separator {
  width: 600px;
  height: 0.5px;
  background: #114542;
  margin: 0 auto 0 auto;
}

/* ===== GRID CONTAINER ===== */
.pigalle-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 50px;
  row-gap: 70px;
  justify-content: center;
  max-width: 1400px;
  padding-top: 20px;
  margin: 0 auto;
  padding-bottom: 60px;
  padding-left: 40px;
  padding-right: 40px;
}

/* ===== POLAROID CARD ===== */
.pigalle-event-card {
  display: flex;
  flex-direction: column;
  background: #163324;
  padding: 20px 20px 30px 20px; /* Extra padding at bottom for polaroid effect */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1),
              0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden; /* Clips status badge at edges */
}

.pigalle-event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15),
              0 15px 30px rgba(0, 0, 0, 0.12);
}

/* ===== IMAGE CLICKABLE LINK ===== */
.event-image-link {
  text-decoration: none;
  display: block;
  cursor: pointer;
}

.event-image-link:hover {
  text-decoration: none;
}

/* ===== STATUS BADGE ===== */
.pigalle-event-status {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 10;
  max-width: 180px;
}

.pigalle-event-status img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* ===== IMAGE BLOCK ===== */
.pigalle-event-card .event-image {
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
  background: #f5f5f5;
  margin-bottom: 20px;
}

/* ===== BOTTOM BANNER ===== */
.event-bottom-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1e3b2b;
  padding: 10px 15px;
  text-align: center;
  z-index: 5;
}

.event-bottom-banner span {
  color: #ffcf06;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  display: block;
  line-height: 1.3;
}

.pigalle-event-card .event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
  transition: transform 0.5s ease, filter 0.3s ease;
}

.pigalle-event-card:hover .event-image img {
  transform: scale(1.05);
  filter: grayscale(80%);
}

/* ===== CONTENT AREA (BELOW IMAGE - POLAROID CAPTION) ===== */
.pigalle-event-card .event-content {
  position: relative;
  padding: 0 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #114542;
}

.pigalle-event-card .event-type {
  font-size: 11px;
  margin: 0;
  font-weight: 400;
  line-height: 14px;
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #666;
}

.pigalle-event-card .event-author {
  font-size: 24px;
  font-weight: 400 !important;
  margin: 0;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
  color: #ffcf06;
  font-family: 'Playfair Display', serif;
}

/* Override title-font class bold styling */
.pigalle-event-card .event-author.title-font {
  font-weight: 400 !important;
}

.pigalle-event-card .event-date {
  font-size: 14px;
  margin: 0;
  text-align: center;
  color: #ffcf06;
  font-weight: 400;
}

/* ===== BOOK LINK ===== */
.event-book-buttons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 15px;
}

.event-book-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  padding: 10px 20px;
  background: rgba(255,207,6,0);
  color: #ffcf06 !important;
  border: 1px solid #ffcf06;
  border-radius: 0;
  font-size: 14px;
  font-family: 'Canter', 'Cheltenham', 'Times New Roman', Times, serif;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  transition: color .2s, background-color .2s, border-color .2s;
}

.event-book-link:hover {
  background: #ffcf06;
  color: #ffffff !important;
  border-color: #ffcf06;
}
/* ====== Break to 2 columns (≤1200px) ====== */
@media (max-width: 1200px) {
  .pigalle-events-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
    row-gap: 60px;
    max-width: 90%;
    padding: 40px 20px;
  }

  .pigalle-event-card {
    padding: 18px 18px 28px 18px;
  }

  .pigalle-event-card .event-image {
    height: 400px;
  }

  .pigalle-event-card .event-author {
    font-size: 22px;
  }
}

/* ====== Tablets - 2 columns (≤900px) ====== */
@media (max-width: 900px) {
  .pigalle-events-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 35px;
    row-gap: 50px;
    padding: 30px 20px;
  }

  .pigalle-event-card .event-image {
    height: 380px;
  }

  .pigalle-event-card .event-author {
    font-size: 20px;
  }
}

/* ====== Break to 1 column (≤700px) ====== */
@media (max-width: 700px) {
  .pigalle-events-grid {
    grid-template-columns: 1fr;
    column-gap: 25px;
    row-gap: 40px;
    padding: 20px 15px;
  }

  .pigalle-event-card {
    padding: 15px 15px 25px 15px;
    max-width: 420px;
    margin: 0 auto;
  }

  .pigalle-event-card .event-image {
    height: 380px;
    margin-bottom: 15px;
  }

  .pigalle-event-card .event-author {
    font-size: 20px;
  }

  .pigalle-event-card .event-type {
    font-size: 10px;
  }

  .pigalle-event-card .event-date {
    font-size: 14px;
  }

  .event-book-link {
    font-size: 13px;
    padding: 11px 26px !important;
  }
}

/* ====== Mobile (≤480px) ====== */
@media (max-width: 480px) {
  .pigalle-events-grid {
    grid-template-columns: 1fr;
    padding: 15px;
    row-gap: 35px;
  }

  .pigalle-event-card {
    max-width: 380px;
    padding: 15px 15px 25px 15px;
  }

  .pigalle-event-card .event-image {
    height: 350px;
  }

  .pigalle-event-card .event-author {
    font-size: 20px;
  }

  .pigalle-event-card .event-type {
    font-size: 10px;
  }

  .pigalle-event-card .event-date {
    font-size: 13px;
  }

  .pigalle-event-status {
    right: 0;
    top: 0;
    width: 30%;
    max-width: 140px;
    min-width: 100px;
  }
}

/* ====== Small Mobile (â‰¤360px) ====== */
@media (max-width: 360px) {
  .pigalle-event-card {
    padding: 12px 12px 20px 12px;
  }

  .pigalle-event-card .event-image {
    height: 300px;
  }

  .pigalle-event-card .event-author {
    font-size: 18px;
  }

  .pigalle-event-card .event-type {
    font-size: 9px;
  }

  .pigalle-event-card .event-date {
    font-size: 12px;
  }

  .event-book-link {
    font-size: 11px;
    padding: 8px 20px !important;
  }
}




/* Pigalle Event Page - Force Full Width */
.pigalle-site-main.pigalle-single-event {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 0 !important;
    overflow-x: hidden !important;
}

/* Pigalle Event Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap');

/* Reset and Base Styles */
.pigalle-site-main {
    font-family: 'Jost', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}
p.pigalle-events-type-content {
    max-width: 703px;
    font-family: 'Futura PT Book';
    color: #114542;
    text-align: center;
    font-size: 18px;
}
h2.pigalle-events-type-content-center.pigalle-section-title {
    font-size: 36px;
}
/* Hero Section - Full Width */
.pigalle-event-hero-section {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}
p.pigalle-events-type-content-top {
    color: #114542;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin: 0 !important;
    font-size: 12px;
    font-family: 'Jost' !important;
}
.pigalle-content-wrapper.events {
    flex-direction: column;
    padding: 10px 40px!important;
}
.pigalle-content-wrapper.events .pigalle-content-static {
    display: flex;
    gap: 20px;
    padding-top: 50px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.pigalle-hero-background {
    position: absolute;
    object-position: top;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 1;
}

/* Responsive Hero Images */
.pigalle-hero-mobile {
    display: none;
}

@media (max-width: 1028px) {
    .pigalle-hero-desktop {
        display: none;
    }
    
    .pigalle-hero-mobile {
        display: block;
    }
}

/* If no mobile image is set, always show desktop */
.pigalle-event-hero-section:not(:has(.pigalle-hero-mobile)) .pigalle-hero-desktop {
    display: block !important;
}

.pigalle-hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}


.pigalle-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
    color: #ffcf06 !important;
}

.pigalle-hero-book-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    margin-top: 25px;
    padding: 13px 29px;
    background: rgba(255,207,6,0);
    color: #ffcf06 !important;
    border: 1px solid #ffcf06;
    border-radius: 0;
    font-size: 20px;
    font-family: 'Canter', 'Cheltenham', 'Times New Roman', Times, serif;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: 1;
    transition: color .2s, background-color .2s, border-color .2s;
}

.pigalle-hero-book-button:hover {
    background: #ffcf06;
    color: #ffffff !important;
    border-color: #ffcf06;
}

/* Main Content - Dark Green Background Full Width */
.pigalle-event-main-content {
    background-color: #1e3b2b;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
}

/* Make sure parent article doesn't constrain width */
.pigalle-event-single {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


.pigalle-hero-content .pigalle-event-date,
.pigalle-hero-content .pigalle-event-title {
    color: #ffcf06 !important;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
}
.pigalle-content-wrapper {
    padding: 80px 40px;
    max-width: 1150px;
    justify-content: space-between;
    margin: 0 auto;
    display: flex;
}

/* Left Content Area */
.pigalle-content-left {
    padding-right: 40px;
    width: 66.66%;
}
img.pigalle-hero-background.grayscale {
    filter: grayscale(1);
}
.pigalle-section-header {
    /* margin-bottom: 40px; */
}
.pigalle-event-status-label {
    background: #1a3526;
    margin-top: 10px;
    margin-bottom: 20px;
    display: inline-block;
    padding: 7px 30px;
}

.pigalle-event-status-label h3.event-status {
    font-family: "Futura PT Book" !important;
    font-size: 14px !important;
    margin: 0;
    color: #ffcf06 !important;
    line-height: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: block !important;
}
.pigalle-section-subtitle {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 10px;
}

.pigalle-section-subtitle {
    font-family: "Futura PT Book" !important;
    font-size: 12px;
    line-height: 14px;
    font-weight: 400;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffcf06 !important;
}
.pigalle-section-title {
    font-family: "ivy-mode" !important;
    font-size: 56px;
    font-weight: 400;
    text-transform: uppercase;
    color: #ffcf06 !important;
    margin: 0;
    line-height: normal;
}

.pigalle-event-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #2c4a3b;
    margin-bottom: 15px;
    line-height: 1.3;
}

.pigalle-event-date {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffcf06 !important;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pigalle-event-description {
    font-family: 'Futura PT Book';
    font-size: 18px;
    line-height: 1.8;
    color: #efdcc0 !important;
    margin-bottom: 30px;
}

/* Social Media Section */
.pigalle-social-media-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(239, 220, 192, 0.2);
}

.pigalle-social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.pigalle-social-link {
    display: block;
    font-family: 'Futura PT Book';
    font-size: 16px;
    color: #ffcf06 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 10px 0;
    width: 100%;
}

.pigalle-social-link svg {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 12px;
    color: #ffcf06 !important;
}

.pigalle-social-link span {
    color: #ffcf06 !important;
    vertical-align: middle;
}

.pigalle-social-link:hover {
    opacity: 0.8;
}

/* Spotify Embed Section */
.pigalle-spotify-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(239, 220, 192, 0.2);
}

.pigalle-spotify-section iframe {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pigalle-event-description p {
    color: #efdcc0 !important;
}

.pigalle-event-description strong {
    color: #efdcc0 !important;
}



/* Action Buttons */
.pigalle-event-book-buttons {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.pigalle-event-book-link {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 600;
    color: #2c4a3b;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px 30px;
    border: 2px solid #2c4a3b;
    background: transparent;
    transition: all 0.3s ease;
    display: inline-block;
}

.pigalle-event-book-link:hover {
    background: #2c4a3b;
    color: white;
    transform: translateY(-2px);
}

.pigalle-event-back-link {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    color: #efdcc0 !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pigalle-event-back-link:hover {
    color: #ffcf06 !important;
}

/* Right Sidebar - Contact Card */
.pigalle-content-right {
    width: 28%;
    margin-top: 10%;
}

.pigalle-contact-card {
    background: #1a3526;
    color: white;
    padding: 40px 30px;
    border-radius: 0;
}

.pigalle-contact-title {
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #ffcf06 !important;
    text-align: left;
}

.pigalle-contact-item {
    margin-bottom: 25px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    text-align: center;
}
.pigalle-contact-item .pigalle-email {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: flex-start;
}

.pigalle-contact-label {
    font-family: 'Jost', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffcf06 !important;
}

.pigalle-contact-link {
    font-family: 'Jost', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #efdcc0 !important;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.pigalle-contact-link:hover {
    color: #ffcf06 !important;
}

.pigalle-contact-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: white;
    color: #2c4a3b;
    text-decoration: none;
    text-align: center;
    font-family: 'Jost', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 30px;
    transition: all 0.3s ease;
}



/* No Event Message */
.pigalle-no-event {
    text-align: center;
    padding: 60px 20px;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    color: #666;
}
@media (max-width: 1028px) {
.pigalle-content-right , .pigalle-content-left{
  width: 100%!important;
}
.pigalle-section-title{
  font-size: 36px !important;
}
.pigalle-content-wrapper{
  flex-direction: column;
}
.pigalle-content-wrapper {
    max-width: 850px !important;
    padding: 40px 20px !important;
}
}
/* Responsive Design */
@media (max-width: 768px) {
    .pigalle-hero-title {
        font-size: 3rem;
        letter-spacing: 4px;
    }
    
    .pigalle-section-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .pigalle-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pigalle-content-left {
        padding-right: 0;
    }
    
    .pigalle-content-right {
        padding-left: 0;
    }
    .pigalle-content-wrapper {
      max-width: 620px !important;
    }
    
    .pigalle-event-book-buttons {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    

}

/* ACF Auto Date Field - Make it appear read-only */
.pigalle-auto-date-field input[type="text"] {
    background-color: #f0f0f0 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.pigalle-auto-date-field .acf-label label::after {
    content: " (🤖 Auto-uppdateras)";
    font-weight: normal;
    font-size: 11px;
    color: #999;
}

@media (max-width: 480px) {
    .pigalle-hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .pigalle-section-title {
        font-size: 24px !important;
    }
    
    .pigalle-service-icons {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .pigalle-contact-card {
        padding: 30px 20px;
    }
    .pigalle-content-wrapper {
        padding: 40px 0 !important;
        max-width: 320px !important;
    }
    
    .pigalle-social-media-section {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .pigalle-social-link {
        font-size: 15px;
    }
    
    .pigalle-spotify-section {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .pigalle-spotify-section iframe {
        height: 352px;
    }
}


@keyframes marienlystFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .pigalle-contact-card,
    .pigalle-event-book-buttons,
    .pigalle-image-gallery {
        display: none;
    }
    
    .pigalle-event-hero-section {
        height: auto;
        min-height: 200px;
    }
    
    .pigalle-hero-background {
        position: static;
        opacity: 1;
    }
}
