/* ========================================
   HERO MARQUEE SECTIONS
   ======================================== */
.info-text {
  display: flex;
  flex-direction: column;
  gap: calc(0.5 * var(--margin-v));
}

.marquee-hero {
  position: relative;
  width: 100%;
  height: 95vh;
  overflow: hidden;
  margin-bottom: calc(0.5 * var(--margin-v));
}

.marquee-hero-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: all 0.3s ease;
}

.marquee-hero-link:hover .marquee-bg::after {
  opacity: 0.3;
}

.marquee-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 0.5s ease;
}

.marquee-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: all 0.3s ease;
  pointer-events: none;
}

.marquee-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-dates {
  position: absolute;
  top: calc(2 * var(--margin-v));
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.event-price {
  white-space: nowrap; 
}
/* ========================================
   HERO MARQUEE - Texte défilant
   ======================================== */

.marquee-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  overflow: hidden;
  padding-bottom: calc(3 * var(--margin-v));
  white-space: nowrap;
  opacity: 0.8;
}

.marquee--inner {
  display: block;
  width: 200%;
  position: relative;
}

.marquee--inner span {
  float: left;
  width: 50%;
  overflow: hidden;
}

.marquee--inner h1 {
  margin: 0;
  color: #d04e4e;
  white-space: nowrap;
}

/* ========================================
   MARQUEE - Animation avec 2 vitesses
   ======================================== */

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* VITESSE RAPIDE - Exposition CURRENT */
.marquee-current .marquee--inner {
  animation: marquee-scroll 15s linear infinite;
}

/* VITESSE LENTE - Exposition UPCOMING */
.marquee-upcoming .marquee--inner {
  animation: marquee-scroll 30s linear infinite;
}
/* ========================================
   CATALOGUE - GRILLE
   ======================================== */

.artwork-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: var(--margin-v);
}

.artwork-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.artwork-item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.artwork-item img {
  width: 100%;
  height: 100%;
  display: block;
}
.artwork-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.artwork-item a {
  display: flex;
  align-items: center;
}

.artwork-item img {
  width: auto;
  height: auto;
  max-width: 100%;
}
.artwork-item h3 {
  padding: 0.5rem 1rem;
  margin: 0;
  font-family: 'Graphik', sans-serif;
  font-weight: 900;
  font-size: 1.333rem;
  line-height: 1.5rem;
  text-transform: uppercase;
  color: var(--color-fg);
}

.artwork-item .year {
  display: block;
  padding: 0 1rem 0.5rem;
  font-family: 'Gotham Rounded', sans-serif;
  font-weight: 500;
  font-size: 1.333rem;
  line-height: 1.5rem;
  letter-spacing: -0.006em;
  color: var(--color-light-fg);
}

/* ========================================
   SINGLE ARTWORK
   ======================================== */

.artwork-single {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.artwork-container {
  position: relative;
  width: 100%;
 /* min-height: 70vh;*/
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.artwork-image-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
	max-width: 70vw;
  max-height: 100vh;
}

.artwork-image {
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain; 
  display: block;
}



.artwork-info-sidebar {
  position: absolute;
  left: var(--margin);
  bottom: 0;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.95);
}



.artwork-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 2rem;
  background: var(--color-light-bg);
  border: 2px solid var(--color-fg);
  border-radius: 10px;
}

.meta-label {
  font-family: 'Graphik', sans-serif;
  font-weight: 900;
  font-size: 1.333rem;
  line-height: 1.5rem;
  text-transform: uppercase;
  color: var(--color-light-fg);
}

.meta-value {
  font-family: 'Gotham Rounded', sans-serif;
  font-weight: 500;
  font-size: 1.583rem;
  line-height: 1.833rem;
  letter-spacing: -0.01em;
  color: var(--color-fg);
}

/* ========================================
   ZONES DE NAVIGATION
   ======================================== */



.artwork-nav-zone,
.gallery-nav-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 10;
  cursor: pointer;
}

.left-zone {
  left: 0;
  cursor: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><defs><filter id="invert"><feColorMatrix type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"/></filter></defs><g filter="url(%23invert)"><path d="M11 5L4 12L11 19" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M4 12H20" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g></svg>') 12 12, w-resize;
}

.right-zone {
  right: 0;
  cursor: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><defs><filter id="invert"><feColorMatrix type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0"/></filter></defs><g filter="url(%23invert)"><path d="M13 5L20 12L13 19" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M20 12H4" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></g></svg>') 12 12, e-resize;
}
/* Curseur personnalisé - TOUJOURS avec mix-blend-mode */
.custom-cursor {
  position: fixed;
  width: 40px;
  height: 40px;
  pointer-events: none;
  z-index: 999999;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform: translate(-50%, -50%);
}

.custom-cursor svg path {
  stroke: black; /* ← BLANC pour que difference fonctionne */
  stroke-width: 2;
}

.artwork-nav-zone,
.gallery-nav-zone,
.left-zone,
.right-zone {
  cursor: none;
}

.artwork-nav-zone,
.gallery-nav-zone,
.left-zone,
.right-zone {
  cursor: none;
}

/* Cache le curseur par défaut sur les zones */
.artwork-nav-zone,
.gallery-nav-zone,
.left-zone,
.right-zone {
  cursor: none;
}
/* ========================================
   GALERIE HORIZONTALE
   ======================================== */

.horizontal-gallery {
  position: relative;
  width: 100%;
  margin-bottom: var(--margin-v);
   margin-top: calc(0.5 * var(--margin-v));
  overflow: hidden;
}

.gallery-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex-shrink: 0;
  width: 600px;
  height: 450px;
  overflow: hidden;
}

.gallery-item a {
  display: block;
  width: 100%;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.3s ease;
}


/* ========================================
   SUB-NAV / FILTERS
   ======================================== */



.filter-categories {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  cursor: pointer;
  text-transform: none;
  transition: color 0.2s ease;
}

.filter-btn.active,
.filter-btn:hover {
  color: #000;
}

/* ========================================
   PAGE HEADER
   ======================================== */

.page-header {
  max-width: 1400px;
  margin: 0 auto var(--margin-v);

  padding: 0 20px;
  text-align: center;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-1, #1a1a1a);
  margin: 0;
}

/* ========================================
   INFO CONTAINER (About, Exhibition)
   ======================================== */

.info-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.metadata-column {
  position: sticky;
  top: 120px;
}


.team-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-member {
  margin-bottom: 25px;
}

.member-name {
  display: block;
  font-size: var(--font-xxs);
  font-weight: 600;
}

.member-role {
  font-size: var(--font-xxs);
  display: block;
}

/* ========================================
   PAGE PROGRAMM
   ======================================== */



.page-section {
  margin-bottom: 6rem;
}

.exhibition-current,
.exhibition-upcoming {
  margin-bottom: 6rem;
}

.exhibition-header:hover, .archive-header:hover {
  cursor: pointer;
}


.archive-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--margin-v);

}



.archive-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}





.archive-dates {
  margin-bottom: 1.5rem;
}

.archive-image {
display: inline-block;
  overflow: hidden;
  background: #f5f5f5;
  height: calc(8 * var(--margin-v));
}

.archive-image img {
  width: auto;
  height: 100%;
  transition: transform 0.3s ease;
}


/* ========================================
   SINGLE EXHIBITION
   ======================================== */


.exhibition-dates-section {
  text-align: center;
}





.related-events-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-events-list li {
  margin-bottom: 1rem;
}

.related-events-list a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.related-events-list a:hover {
  color: var(--color-2, #d4af37);
}




.title-container h2{
  letter-spacing: -0.1rem;
}
/* ========================================
   KALENDER
   ======================================== */

.month-section {
  margin-bottom: 5rem;
}

.month-title {
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #000;
}

.event-item {
  margin-bottom: 2.5rem;
  border-bottom: 2px solid #000;
  padding-bottom: 2rem;
}

.event-item:last-child {
  border-bottom: none;
}

.event-row {
  display: grid;
  grid-template-columns: 42rem 1fr 1rem;
  gap: 3rem;
  align-items: start;
}

.event-booking {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  text-align: right;
}

/* ========================================
   LOADING & MESSAGES
   ======================================== */

.loading-indicator,
.no-more-posts {
  text-align: center;
  padding: 40px;
}

.spinner {
  border: 4px solid rgba(0,0,0,0.1);
  border-left-color: #000;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.no-exhibitions,
.no-events,
.no-results {
  font-family: 'Gotham Rounded', sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  text-align: center;
  padding: 4rem 0;
  color: #666;
}


/* ============================================
   SINGLE EVENT
   ============================================ */



/* Bannière avec image */
.event-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 400px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.event-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-toggle {
  display: none;
}

/* En-tête événement (sans image) */
.event-hero {
  text-align: center;
  margin: 4rem 0 2rem;
}

.event-title-section {
  text-align: center;
  margin: 0 0 4rem;
}

.event-type-display {
  font-family: 'Graphik', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-2, #d4af37);
  margin: 0 0 1rem 0;
}



/* Métadonnées événement */
.event-meta-block {
  margin-bottom: 2rem;
}

.event-meta-block a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}


.marquee-hero.marquee-upcoming {
  margin-bottom: calc(2 * var(--margin-v));
}

/* ============================================
   WEITERE TERMINE
   ============================================ */

.weitere-termine {
  margin: 6rem 0 4rem;
  padding: 3rem 0;
  border-top: 2px solid #000;
}

.section-title {
  font-family: 'Graphik', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0 0 3rem 0;
}

.other-events-list {
  max-width: 900px;
  margin: 0 auto;
}

.other-event-item {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.other-event-item:last-child {
  border-bottom: none;
}

.other-event-link {
  display: grid;
  grid-template-columns: 200px 150px 1fr;
  gap: 2rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
  align-items: center;
}

.other-event-link:hover {
  opacity: 0.7;
}

.other-event-date {
  font-family: 'Gotham Rounded', sans-serif;
  font-weight: 500;
}

.other-event-type {
  font-family: 'Graphik', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-2, #d4af37);
}

.other-event-title {
  font-family: 'Graphik', sans-serif;
  font-weight: 700;
}


/* ========================================
   BEGLEITPROGRAMM - 4 colonnes
   ======================================== */


.begleitprogramm-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: var(--margin-v);
}

.begleitprogramm-item {
    position: relative;
}

.begleitprogramm-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}



.begleit-title {
  text-align: center;
}


@media (max-width: 1024px) {
    .begleitprogramm-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .begleitprogramm-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .event-title-begleit {
        font-size: 1.2rem;
    }
}

.info-list {
	 list-style-type: '· ';
  list-style-position: inside;
	} 
/* =============================================
   SECTION PLÄNE — grille flex statique
   ============================================= */

.plans-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-end;
}

.plan-item {
    flex: 0 0 calc(8 * var(--margin-v));
    max-width: calc(8 * var(--margin-v));
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: opacity 0.2s ease;
}

.plan-item:hover {
    opacity: 0.8;
}

.plan-item img {
    width: 100%;
    flex: 1;
    height: auto;
    display: block;
    object-fit: contain;
}

.plan-title {
    text-align: left;
    margin: 0;
    flex-shrink: 0;
}

.plans-download-all {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 2rem 0;
    margin-top: 1rem;
}

/* =============================================
   LIGHTBOX PLANS — même logique que single-artwork
   ============================================= */

.plan-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--color-bg, #fff);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.plan-lightbox.is-open {
    opacity: 1;
    pointer-events: all;
}

.plan-lightbox__nav {
    flex-shrink: 0;
}

.plan-lightbox__container {
    flex: 1;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.plan-lightbox__image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.plan-lightbox__image-wrapper .artwork-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.plan-lightbox__sidebar {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    flex-shrink: 0;
}

/* =============================================
   TABLEAU PREISE
   ============================================= */

.price-table {
    width: 100%;
    border-collapse: collapse;
}

.price-table th {
    text-align: left;
    padding: 0.4rem 1rem 1rem 0;
    vertical-align: top;
}

.price-table td {
    text-align: left;
    padding: 0.4rem 1rem 0.4rem 0;
    vertical-align: top;
}

.price-table thead th {
    /* s-title appliqué via classe dans le PHP */
}

.price-table tbody td {
    /* s-round appliqué via classe dans le PHP */
}

.price-table tbody tr + tr td {
    padding-top: 0.3rem;
}
