/* -----------------------------------------------------------
   HOME – SANDBOX CURATED VERTICAL
   - Layout : 2 colonnes flex — Sidebar Agenda (gauche, fixe) + Contenu principal (droite, scrollable)
   - Scroll : seul .main-content--home3 scroll (height: 100vh; overflow-y: auto)
   - La sidebar est un enfant flex normal (flex-shrink: 0), pas besoin de position: fixed
----------------------------------------------------------- */

@font-face {
  font-family: "Brown-M";
  src: url(../font/BrownCondLL-Medium.otf);
}

@font-face {
  font-family: "Brown-L";
  src: url(../font/BrownCondLLTT-Light.ttf);
}

@font-face {
  font-family: "Brown-LI";
  src: url(../font/BrownCondLLTT-LightItalic.ttf);
}

@font-face {
  font-family: "Rene";
  src: url(../font/Rene.otf);
}

@font-face {
  font-family: "Larish";
  src: url(../font/LarishNeueSemiboldRegular.otf);
}

@font-face {
  font-family: "PinyonScript";
  src: url(../font/PinyonScript-Regular.ttf);
}


@font-face {
  font-family: "BucklePixel";
  src: url(../font/CsBucklePixelRegularDemo-dr7Ol.otf);
}

@font-face {
  font-family: "CSO";
  src: url(../font/CSOriginePixel-Regular_demo-BF699c30e899872.otf);
}

@font-face {
  font-family: "Bene";
  src: url(../font/CsBenedictPixelRegularDemo-Yq1q2.otf);
}

@font-face {
  font-family: "Xanh";
  src: url(../font/XanhMono-Regular.ttf);
}

@font-face {
  font-family: "XanhI";
  src: url(../font/XanhMono-Italic.ttf);
}


@font-face {
  font-family: "Amilia";
  src: url(../font/CSAmiliaPixel-Regular_demo-BF69880b12a7e5e.otf);
}

/* ── Scrollbars invisibles mais fonctionnelles sur tout le site ── */
* {
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE / Edge legacy */
}
*::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, Opera */
}

/*
body{
    background-color: var(--season-blue-2-bg-2);
}
    */
/* 1. VARIABLES (Imported from home.css)
    --home-bg-color: #e6f6fe;
     */
:root {
    /*--home-bg-color: #f9f7f5;*/
    --home-bg-color: #f9f7f5;
     --home-bg-color-darker: #eceae8;
    --home-bg-color-opacity: #f9f7f5da;
    --home-text-color: inherit;
    --home-accent-color: #232323;
    --home-header-bg: transparent;
    --home-card-bg: transparent;
    --home-overlay-bg: rgba(0, 0, 0, 0.65);

    --accent-red: #bd1e0c;
    --pink-accent: #F1E4E8;
    --grey: #E2DCDE;
    --profond-pink:#CEB1BE;
    --bg-light: #fafafa;
    --text-light: #666666;
    --text-dark: #232323;
    --gray-btn: #999;
    --gray-light: #f5f5f5;

    --season-2627-blue-1: #2fa9e1;
    --season-2627-blue-2: #000;

    /*var(--season-2627-blue-2): 0088cf; */
    --season-blue-2-bg : #e4ecff;
    --season-blue-2-bg-2 : #eceae8;

    --season-light-blue-1 : #aed8ed;
    --season-light-blue-2: #90d1ef;

        --season-blue-grey : #d5d0d5;
        --season-blue-darkgrey : #9d9896;

    --season-2627-blue-3: #0066b0;
    --season-2627-blue-4: #0088cf;

    --season-2627-performa-1: #009ba4;
    --season-2627-performa-2: #41358b;

    --season-2627-famille-1: #e8378c;
    --season-2627-famille-2: #ffda00;
    --season-2627-famille-3: #615fa7;
    --season-2627-famille-4: #51b476;

    --frozen: #E9FFF9;
    --frosted:  #9ED8DB;
    --ceruelean: #467599;
    --indigo: #1D3354;

    --text-shadow:rgba(0, 135, 207, 0.9) 0px 0px 12px;
    
    --home-max-width: 1200px;
    --home-spacing: 40px 40px;
    --home-radius: 0px;

    --padding-col-home: 0px 60px;

    /* Typographie */
    --home-font-size-xs: 0.75rem;
    --home-font-size-sm: 0.875rem;
    --home-font-size-base: 1rem;
    --home-font-size-lg: 1.25rem;
    --home-font-size-xl: 1.5rem;
    --home-font-size-2xl: 2.5rem;

    /* Interlignage */
    --home-line-height-tight: 1.1;
    --home-line-height-snug: 1.3;
    --home-line-height-normal: 1.5;
    --home-line-height-relaxed: 1.6;

    /* Marges et Paddings */
    --home-margin-base: 30px;
    --home-margin-small: 15px;
    --home-margin-large: 50px;
    --home-margin-xlarge: 60px;
    --home-padding-base: 0rem;
    --home-padding-section: 0 70px;
    
    /* Largeur de la sidebar agenda */
    --sidebar-agenda-width: 340px;

    --header-height: 65px;
    --width-menu-right: 30px;
}

::-moz-selection { /* Code for Firefox */
  color: #000;
  background: var(--season-2627-blue-1);
}

::selection {
  color: #fff;
  background:  var(--season-2627-blue-1);
  text-shadow: #0087cfe6 0px 0px 12px;
}

/* 2. GLOBAL STYLES  */
.home-3 {
    display: block; 
    min-height: 100vh;
    font-family: 'Brown-M', sans-serif;
    font-size: var(--home-font-size-base);
    line-height: var(--home-line-height-normal);
    color: var(--home-text-color);
    background-color: var(--home-bg-color);
}

/* Aligne le footer sur la largeur de #dynamic-content (= .main-content--home3) */
body:has(.home-3) .site-footer {
    margin-right: 0;
    box-sizing: border-box;
    padding: 0px 10px;
}


.home-1-columns {
    display: flex;
    flex-direction: row;
    height: 100vh;
    position: relative;
    overflow-x: hidden;
    align-items: stretch;
    background-color: var(--home-bg-color);
}


@media screen and (min-width: 768px) and (max-width: 1000px) {
    .home-1-columns {
        overflow-x: auto;
    }
}

.home-3 a {
    text-decoration: none;
    color: inherit;
}

.sidebar-content ul {
    list-style: none;
    margin: 0;
    padding: 0 20px 0 20px;
}

/* 3. LAYOUT STRUCTURE (Sidebar gauche + Contenu principal) */

/* */
.main-content--home3 {
    flex: 1;
    min-width: 0;
    min-width: 450px; 
    box-sizing: border-box;
    background-color: var(--home-bg-color);
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    scroll-padding-top: var(--header-height, 60px);
    padding: 0px 10px;
    margin-right: var(--width-menu-right)
}

#dynamic-content {
    flex: none;            
    display: flex;
    flex-direction: column;
    overflow: visible;    
    position: relative;
    align-items: stretch;
}

#dynamic-content.is-viewer-active {
    overflow-y: hidden !important;
    overflow-x: hidden !important;

    align-items: stretch;
}



#scroll-left {
    left: calc(var(--sidebar-agenda-width) + 20px);
}

#scroll-right {
    right: 20px;
}

@media screen and (max-width: 1024px) {
    #scroll-left {
        left: 20px; /* sidebar en colonne sur mobile, pas de décalage latéral */
    }
}


#dynamic-content::-webkit-scrollbar {
    display: none;
}

/* 4. SIDEBAR GAUCHE (AGENDA) */

/* Enfant flex normal dans .home-1-columns — pas besoin de position: fixed
   puisque seul .main-content--home3 scroll (height: 100vh; overflow-y: auto). */
.expandable-sidebars {
    display: flex;
    flex-shrink: 0;
    height: 100vh;
    background: var(--home-bg-color);
    position: relative;
    z-index: 100;
    /*padding-right: 10px;
    box-shadow: var(--season-2627-blue-1) 0px 13px 27px -5px, var(--season-2627-blue-3) 0px 8px 16px -8px;*/
    transition: transform 0.3s ease, margin-right 0.3s ease;
}
.expandable-sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--home-bg-color);
    overflow: hidden;
    /*box-shadow: 0 120px 120px 120px var(--season-light-blue-1) inset;*/
    position: relative;
    /*background-image: url(../img/Plan\ de\ travail\ 14.png);
        background-size: cover;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    background-color: rgb(249 247 245 / 20%); 
  background-blend-mode: lighten;*/
     box-shadow: rgba(0, 135, 207, 1) 1px 1px 10px, inset 0 0 2px var(--season-2627-blue-1);
   /* background-image: url(../img/AGENDA-BG-2.png);

    background-size: cover;
    background-repeat: round;*/
 /* background-color: rgba(255, 255, 255, 0.7); 
  background-blend-mode: lighten;*/
  
     
}

/* La sidebar agenda est toujours visible à sa largeur définie */
.expandable-sidebar.sidebar--agenda {
    width: var(--sidebar-agenda-width);
    min-width: 270px;




   /* color: white; */
}

.curated-layout-area {
        padding: var(--home-padding-section) !important;
        margin-top: -40px; 
        margin-bottom: 80px;
}

/* Breakpoints progressifs pour réduire la sidebar sans jamais passer en mode colonne sur desktop */
@media screen and (max-width: 1400px) {
    :root {
        --sidebar-agenda-width: 320px;
    }
}

@media screen and (max-width: 1200px) {
    :root {
        --sidebar-agenda-width: 280px;
    }
}

@media screen and (max-width: 1000px) {
    :root {
        --sidebar-agenda-width: 240px;
    }
    .main-content--home3 .theatre-name {
        font-size: 22px;
    }
}

/* Ajustements pour petits écrans desktop (entre 768px et 1000px) */
@media screen and (min-width: 768px) and (max-width: 1000px) {
    :root {
        --home-padding-section: 0 40px; /* Réduire les paddings latéraux */
    }
    
    /* Réduire un peu les tailles de police pour gagner de l'espace */
    .home-layout-col {
        font-size: 0.95rem;
    }
}

/* Rétractation de la sidebar entre 768px et 850px (mode desktop étroit) */
@media screen and (min-width: 769px) and (max-width: 850px) {
    .expandable-sidebars {
        transform: translateX(calc(-1 * var(--sidebar-agenda-width)));
        margin-right: calc(-1 * var(--sidebar-agenda-width));
    }
    
    .main-content--home3 {
        min-width: 0; /* Permet au contenu de prendre toute la largeur */
    }
    
    /* Ajuster la position du bouton close quand la sidebar est cachée */
    .spectacle-viewer-close {
        right: 20px !important;
    }
}

@media screen and (max-width: 600px) {
    .main-content--home3 .theatre-name {
        font-size: 18px;
    }
    
    .main-content--home3 #billetterie-link {
        padding: 5px 10px;
        font-size: 20px;
    }

    #home-page-title {
        font-size: 1.5rem;
    }
}

/* ---------- SIDEBAR : AGENDA & MENU TOGGLE ---------- */

/* Toggle Switch Styles */
.sidebar-toggle-wrapper {
    display: flex;
    background: transparent;
    flex-shrink: 0;
    gap: 10px;
    flex-direction: row !important; /* Force horizontal par défaut */
}

.sidebar-toggle-btn {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Brown-M', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
}

.sidebar-toggle-btn span {
    display: inline-block;
    writing-mode: horizontal-tb !important; /* Force horizontal par défaut */
    transform: none !important;
}

/* IMPORTANT: Les boutons restent TOUJOURS horizontaux sur desktop (au-dessus de 850px) */
/* Entre 769px et 850px : boutons verticaux car sidebar cachée */
/* En dessous de 768px : boutons horizontaux car mode mobile en colonne */
@media screen and (min-width: 769px) and (max-width: 850px) {
    .sidebar-toggle-wrapper {
        flex-direction: column !important;
        height: auto;
    }
    
    .sidebar-toggle-btn {
        height: 120px;
        width: 100%;
        border-right: none !important;
        border-bottom: 1px solid #000;
    }
    
    .sidebar-toggle-btn:last-child {
        border-bottom: none;
    }
    
    .sidebar-toggle-btn span {
        writing-mode: vertical-rl !important;
        transform: rotate(180deg) !important;
        white-space: nowrap;
    }
}


.sidebar-toggle-btn.active {
    text-shadow: rgba(0, 135, 207, 0.9) 0px 0px 12px;
    border: 1px solid black;
}

/*
.sidebar-toggle-btn.active {
    background: #000;
    color: #fff;
}*/
/*
.sidebar-toggle-btn.active span {
    text-decoration: underline;
    text-underline-offset: 5px;
}*/

/* Sidebar Panes */
.sidebar-pane {
    display: none;
    flex-grow: 1;
    overflow-y: auto;
    width: 100%;
}

.sidebar-pane.is-visible {
    display: flex;
    flex-direction: column;
}

/* ── PANE MENU : même mise en page qu'agenda-list ── */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.agenda-list {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    padding: 0px 15px;
    border-top: 1px solid var(--season-2627-blue-2);
    justify-content: space-between;
    position: relative;
    cursor: default;
}

.menu-item:last-child {
    border-bottom: 1px solid var(--home-accent-color);
}

.menu-item-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    padding-top: 15px;
}

.menu-category {
    font-size: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.15s ease;


}

/* FILTRE IMAGE 


.affiche-row-actuality  img {
  display: block;
  width: 100%;
  filter:
    grayscale(100%)
    contrast(1.15)
    brightness(0.95);

/*filter:
  grayscale(100%)
  contrast(1.25)
  brightness(0.92)
  saturate(0);*//*
}

.affiche-row-actuality::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/images/grain.png');
  opacity: 0.12;
  pointer-events: none;
  mix-blend-mode: multiply;
  
}*/

.home-title-back {
    font-size: 1.5rem;
    padding: 15px;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.15s ease;
}

.home-title-back:hover {
    color: var(--season-2627-blue-4);
}


.menu-item-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item-links li {
    margin-bottom: 5px;
}

.menu-item-links a {
    font-family: 'Brown-L', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 700;
}

.menu-item-links li:last-child{
    margin-bottom: 15px;
}

.menu-item-links a:hover {
    color: var(--season-2627-blue-4);
}

/* Tab / expand CSS désormais inutilisé — nettoyé */
.tab-pane {
    display: none;
}

.tab-pane.is-active {
    display: block;
}

.sidebar-content {
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.sidebar--agenda .sidebar-content {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.2s;
}

.home-header {    
    height: var(--header-height);
    margin: 0 15px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid black;
}

/* Masquer visuellement les barres de scroll mais garder le scroll fonctionnel */
.sidebar-content,
.main-content--home3 {
    /* Firefox */
    scrollbar-width: none;
}

.sidebar-content::-webkit-scrollbar,
.main-content--home3::-webkit-scrollbar {
    /* Chrome, Safari, Edge */
    width: 0;
    height: 0;
}

.logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.theatre-name {
    color: #000;
    font-size: 1.9rem;
    line-height: 1.2;
    font-weight: 999;
    margin: 0;
    padding: 0;
}

#billetterie-link.is-mapado {
    background-color: #aed8ed;
    background-image: url(../img/AGENDA-BG-2.png);
    background-size: cover;
    background-repeat: round;
    color: #fff;
    border-color: #fff;
}

#billetterie-link {
    /* NOTE: BACKGROUND IMAGE LOU
        background-color: var(--season-2627-blue-1);
    background-image: url(../img/260326_fonds_a3-copie-2.png);
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 1.8rem;
    color: white;
    margin: 0;
    /* border: #000 solid 1.5px; */
    /*padding: 4px 27px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    /* text-shadow: rgba(0, 135, 207, 1) 0px 0px 5px, var(--season-2627-blue-4) 3px 2px 18px, var(--season-2627-blue-1) 10px 0px 38px; */
    /* background-image: url(../img/260326_fonds_a3-copie-2.png); */
    /* background-color: var(--season-2627-blue-1); */
   /* transition: all 0.4s ease-in-out;
    box-shadow: rgba(0, 135, 207, 1) 1px 1px 10px, inset 0 0 2px var(--season-2627-blue-1);*/
    
    /*background-image: url(../img/260326_fonds_a3-copie-2.png);
    background-size: cover;
    background-repeat: no-repeat;*/
    /*background-blend-mode: lighten;*/
    /* REVERT */
    font-size: 1.8rem;
    color: #000;
   /*border: 1px solid #000;*/
    margin: 0;
    /*padding: 5px 10px;
    font-family: 'XanhI';*/
   border: #000 solid 1.5px;
   padding: 5px 20px;
    /*letter-spacing: 1.5px;*/
    font-family: 'XanhI';
    /*text-transform: uppercase;*/
    /*text-shadow: rgba(0, 135, 207, 1) 0px 0px 5px , var(--season-2627-blue-4) 3px 2px 18px , var(--season-2627-blue-1) 10px 0px 38px;*/
    /*text-transform: uppercase;
    border: #000 solid 1px;*/
    /*background-image: url(../img/260326_fonds_a3-copie-2.png);*/
    /*background-color: var(--season-2627-blue-1);*/
   transition: all 0.4s ease-in-out;
    box-shadow: rgba(0, 135, 207, 1) 1px 1px 10px;
    /*background-image: url(../img/260326_fonds_a3-copie-2.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-blend-mode: lighten;
        background-color: rgba(255, 255, 255, 0.7);*/
        /*background-color: var(--home-bg-color);*/
}

#billetterie-link:hover {
     box-shadow: rgba(0, 135, 207, 1) 0px 0px 5px , var(--season-2627-famille-1) 5px 2px 18px , var(--season-2627-famille-2) 10px 0px 38px , inset 0 0 2px var(--season-2627-blue-1);
}

.base-title {
    text-decoration: underline;
        align-items: center;
    justify-content: center;
    padding: 5px 10px;
    text-transform: uppercase;
}

#home-page-title {
    display: none;
}

.home-block-heading {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    line-height: 0.9;
    font-weight: 700;
    font-size: clamp(3rem, 10vw, 8rem); /* Adjust based on viewport */
}

.home-text-block {
    box-sizing: border-box;
    font-size: 1.1rem;
    line-height: 1.4;
    font-family: 'Brown-L', sans-serif;
    text-transform: uppercase;
}

.home-text-block p {
    margin: 0;
}

.home-text-block-inner {
    max-width: 600px;
}

.home-block--free-image {
    height: 100%;
    min-width: 0;
    max-width: 100%;
    display: flex;
    overflow: hidden;
}

.home-block-free-image-inner {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home-block-free-image-inner .responsive-image {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
}

.home-block-free-image-inner img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.home-block-free-image-inner .free-image-contain {
    object-fit: contain !important;
}

.home-block--heading,
.home-text-block {
    /*min-width: 500px;*/
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.home-spectacles-grid {
    margin-bottom: 60px;
}

.spectacles-grid-inner {
    display: block;
    column-count: 3;
    column-gap: 40px;
    width: 100%;
    overflow: hidden; /* prevents column bleed */
}

.spectacle-card-vertical {
    display: block;
    break-inside: avoid;
    margin-bottom: 60px;
    padding: 0;
    box-sizing: border-box;
    border-top: 1px solid var(--season-2627-blue-2);
    padding-top: 20px;
}

.card-tags {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px; /* plus d'espace entre tags et titre */
}

.card-tags .tag-item,
.card-tags .tag {
    background: #000;
    color: #fff;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.card-title {
    font-size: 62px; /* Grand titre */
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 60px; /* plus d'espace avec l'horaire */
    font-weight: 700;
}

.card-date-time {
    font-size: 24px; /* Gros date et horaire */
    font-weight: 700;
    margin-bottom: 10px; /* plus d'espace avec la description */
}

.card-short-intro {
    font-family: 'Brown-L', sans-serif;
    font-size: 16px;
    line-height: 1.6; /* texte plus aéré pour les longues descriptions */
    margin-bottom: 32px;
    max-width: 100%; /* aucune limite de largeur ni de caractères, le bloc s'adapte */
}

.card-image {
    width: 100%;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    /* appliquer le filtre threshold par défaut sur toutes les images de carte */
filter: brightness(100%) grayscale(100%) contrast(1000%)
        sepia(100%) hue-rotate(-50deg) saturate(600%);
    transition: filter 0.25s ease;
}

/* Specific Sidebar Styles adjustments for left side */

/* Plus d'information (menu-more adjustment) */
.menu-more-wrapper .menu-more-viewer {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    box-shadow: none;
    padding: 0;
}

.menu-more-wrapper .menu-more-header {
    margin-bottom: 40px;
}

.menu-more-wrapper .spectacle-viewer-close {
    display: none;
}

/* Agenda adjustments for sidebar */
.sidebar--agenda .minor-menu--agenda {
    padding: 0 !important;
}

/* 6. RESPONSIVE */
@media (max-width: 1200px) {
    .spectacles-grid-inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Supprimé : margin-left sur .main-content--home3 à 1024px car on garde le layout horizontal */

@media (max-width: 768px) {
    .spectacles-grid-inner {
        grid-template-columns: 1fr;
    }
}




/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 3 – PROCHAINS RENDEZ-VOUS : layout vertical, 1 spectacle = 1 ligne
   .affiche-scroll-area → conteneur scroll vertical
   .affiche-list        → liste des lignes
   .affiche-row         → 1 ligne = texte + 2 photos
   ═══════════════════════════════════════════════════════════════════════════ */

.home-section-title {
    font-size: 18px;
    line-height: 1.1;
    font-weight: 700;
    margin: 40px;
    padding-top: 10px;
}

/* ── Zone scroll vertical ── */
.affiche-scroll-area {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    height: fit-content;
    min-height: calc(100vh - var(--header-height));
        padding: var(--home-padding-section);
        margin-top : 40px ;
    /*padding: var(--padding-col-home);*/
    box-sizing: border-box;

    /*background-image: url(../signes/Fichier\ 1.svg);
    background-size: 500px;
    background-repeat: no-repeat;
    background-position: -75% 80%;*/
}

/* ── Liste des lignes ── */
.affiche-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* ══════════════════════════════
   UNE LIGNE SPECTACLE
   ══════════════════════════════
   Layout : [texte flex:1] [photo1 fixe] [photo2 fixe]
   Séparée par une border-top fine
*/
.affiche-row {
    display: grid;
    grid-template-columns: 1fr 220px 220px;
    grid-template-rows: 1fr;
    column-gap: 0;
    align-items: stretch;
    border-top: 1px solid var(--home-accent-color);
    max-height: fit-content;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
    position: relative;
    overflow: hidden;

}

.affiche-row-actuality {
    display: flex;
    flex-direction: column;
    /*display: grid;
    grid-template-columns: 1fr 220px 220px;
    grid-template-rows: 1fr;*/
    column-gap: 0;
    align-items: stretch;
    /*max-height: fit-content;*/
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

/* --- MISE EN PAGE UPCOMING (3 COLONNES) --- */
.home-spectacle-highlight.context-upcoming {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
    transition: all 0.3s ease-in-out;
}

.home-spectacle-highlight.context-upcoming:hover .affiche-row__title {
    text-shadow: rgba(0, 135, 207, 0.9) 0px 0px 12px;
    transition: all 1s ease-in-out;
}

.home-spectacle-highlight.context-upcoming .affiche-row {
    display: grid !important;
    grid-template-columns: 3.5fr 6.5fr !important;
    grid-template-rows: auto !important;
    min-height: 240px !important;
    height: auto !important;
    max-height: none !important;
    border-top: none;
    padding: 0;
    overflow: visible;
    margin-top: 10px;

}

.context-upcoming .affiche-row__header {
    border-bottom: 1px solid var(--home-accent-color);   
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 15px;
    padding-bottom: 10px;
    margin-bottom: 0;
}

.home-spectacle-highlight.context-upcoming .affiche-row__col {
    height: auto !important;
    min-height: 0;
    padding-right: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-spectacle-highlight.context-upcoming .affiche-row__col--photos-wrapper {
    display: flex !important;
    position: relative;
    padding: 0;
    overflow: hidden;
    height: 240px;
    max-height: 240px;
    flex: 1;
}

.home-spectacle-highlight.context-upcoming .affiche-row__col--photos {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px;
    overflow-x: scroll;
    overflow-y: hidden;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.home-spectacle-highlight.context-upcoming .affiche-row__col--photos::-webkit-scrollbar {
    display: none;
}

.photos-scroll-arrow-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(to left, var(--home-bg-color) 20%, transparent);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    z-index: 5;
}

.photos-scroll-arrow {
    pointer-events: auto;
    background: black;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.photos-scroll-arrow:hover {
    transform: scale(1.1);
}

.photos-scroll-arrow svg {
    width: 18px;
    height: 18px;
}

.home-spectacle-highlight.context-upcoming .affiche-row__col--photos img {
    height: 100%;
    width: auto;
    max-height: 240px;
    object-fit: cover;
    flex-shrink: 0;
}

.home-spectacle-highlight.context-upcoming .affiche-row__col--dates {
    justify-content: space-between;
    position: relative;
    overflow: visible;
    height: auto;
}

.context-upcoming .col-dates-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.context-upcoming .col-dates-top-row .agenda-item-date-column {
    border-left: none;
    width: auto;
    padding: 0;
    align-items: flex-end;
}

.context-upcoming .meta-and-booking {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.context-upcoming .booking-container {
    margin-top: 0;
}

.context-upcoming .spectacle-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.context-upcoming .spectacle-short-description {
    font-family: 'Brown-L', sans-serif;
    font-size: 0.9rem;
    line-height: 1.3;
    margin-top: 15px;
    max-width: 400px;
    color: black;
}

.context-upcoming .meta-tag {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid black;
    padding: 2px 6px;
}


.context-upcoming .photo-wrapper {
    height: 100%;
    flex: 0 0 auto;
}

.context-upcoming .photo-wrapper img {
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
}


.home-spectacle-highlight.context-upcoming:last-child {
    border-bottom: 1px solid black;
}


/* ── Colonne texte (gauche) ── */
.affiche-row__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*padding: 18px 32px 18px 0;*/
    box-sizing: border-box;
    min-width: 0;
    height: 100%;
}

.affiche-row__text-top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Tags genre */
.affiche-row__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.affiche-row__tag {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.65rem;              /* = agenda-item-top */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.55;
}

/* Titre : taille accordée avec .agenda-item-middle .agenda-title a (1.5rem)
   mais plus grand ici car c'est le titre hero de la ligne */
.affiche-row__title {
    font-family: 'Brown-M', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    line-height: 1.0;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    letter-spacing: -0.01em;
}

/* Compagnie : taille = .agenda-item-bottom (0.75rem) */
.affiche-row__company {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem;
    margin: 0;
    padding: 0;
}

/* ── Bas de la colonne texte (durée/âge/nationalité ←→ date) ── */
.affiche-row__text-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 14px;
    gap: 20px;
}

/* Gauche : méta-infos techniques */
.affiche-row__meta-left {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.affiche-row__meta-item {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.65rem;              /* = agenda-item-top */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.55;
}

/* Bouton de réservation dans les lignes spectacle */
.btn-booking-row {
    display: inline-block;
    background-color: black;
    color: #fff !important;
    padding: 6px 14px;
    font-family: 'Brown-M', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0px;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
    z-index: 10;
    position: relative;
}

.btn-booking-row:hover {
    background-color: #000;
    transform: translateY(-1px);
}

.spectacle-booking-wrapper {
    margin-top: 15px;
}

.affiche-row__booking-btn-container {
    margin-left: 10px;
}

/* Séparateur visuel entre les méta-items */
.affiche-row__meta-item + .affiche-row__meta-item::before {
    content: '·';
    margin-right: 10px;
    opacity: 1;
}

/* Droite : date façon agenda */
.affiche-row__date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    flex-shrink: 0;
    padding-left: 20px;
}

.affiche-row__date-day {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.65rem;              /* = .agenda-date-day */
    font-weight: 400;
    text-transform: uppercase;
    opacity: 0.55;
    line-height: 1.2;
}

.affiche-row__date-numeric {
    font-family: 'Brown-M', sans-serif;
    font-size: 1.8rem;               /* = .agenda-date-numeric */
    font-weight: 700;
    line-height: 1;
    color: var(--home-accent-color);
}

.affiche-row__date-year {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.65rem;
    opacity: 0.55;
    text-transform: uppercase;
    line-height: 1.4;
}

.affiche-row__date-time {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.75;
    margin-top: 2px;
}

.affiche-row__date-more {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.65rem;
    opacity: 0.5;
    text-transform: uppercase;
    margin-top: 2px;
}

/* ── Photos (2 colonnes droites) ── */
.affiche-row__photo {
    position: relative;
    overflow: hidden;
    width: auto;
    flex-shrink: 0;
    border-left: 1px solid var(--home-accent-color);
}

.affiche-row__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    /*filter: brightness(200%) grayscale(100%) contrast(1000%);*/
    /*filter: grayscale(100%) contrast(1.8) brightness(2) sepia(0.8) hue-rotate(185deg) saturate(3) blur(0.7px)*/;
}

.affiche-row__photo:hover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
    /*filter: brightness(200%) grayscale(100%) contrast(1000%);*/
    filter:none /*blur(0.7px)*/;
}

.affiche-row__photo img::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='discrete' tableValues='0 1'/%3E%3CfeFuncG type='discrete' tableValues='0 1'/%3E%3CfeFuncB type='discrete' tableValues='0 1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
    opacity: 0.6;
}

.affiche-row:hover .affiche-row__photo img {
    transform: scale(1.03);
}

/* Photo 2 : légèrement moins de largeur pour varier
.affiche-row__photo--2 {
    width: 200px;
    opacity: 0.85;
}*/

/* ── Rétro-compat : styles ancien scroll non utilisés ── */
.affiche-scroll-track { display: none; }
.scroll-arrow          { display: none !important; }

.main-menu-plus {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding: 10px 15px;
    background-color: var(--home-accent-color);
    color: #fff;
}

.main-menu-plus.is-open {
    transform: rotate(45deg); /* optionnel: transforme + en x visuel */
    transition: transform 0.2s ease;
}

.main-menu-more-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0px 20px;
    margin-top: 10px;
}

.main-menu-more-list li a {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.sidebar-nav a {
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.sidebar-nav a:hover {
    color: var(--accent-red);
}

/* Dropdown */
.dropdown-content {
    display: none;
    padding-left: 15px;
    margin-top: 15px !important;
}

.main-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content li {
    margin-bottom: 10px;
}

.dropdown-content a {
    font-size: 0.85rem;
    font-weight: 400;
    text-transform: none;
}

.minor-menu {
    padding: 25px !important;
}

.minor-menu li {
    /*margin-bottom: 5px;
    padding-top: 5px;*/
}

.minor-menu a {
    font-size: 1.1rem;
    text-transform: uppercase;
}

/* Agenda : 3 colonnes (titre / date / tags) */
.minor-menu--agenda {
    padding-top: 15px !important;
}

.agenda-filters {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.slider-arrow {
    background: none;
    border: 1px solid var(--home-accent-color);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--home-accent-color);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.slider-arrow:hover {
    background: var(--home-accent-color);
    color: #fff;
}

.filter-slider-container {
    flex-grow: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.filter-slider-container::-webkit-scrollbar {
    display: none;
}

.filter-slider {
    display: flex;
    gap: 10px;
    white-space: nowrap;
}

.filter-tag {
    background: #fff;
    border: 1.5px solid var(--home-accent-color);
    padding: 4px 12px;
    font-size: 0.7rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 700;
    transition: all 0.2s ease;
}

.filter-tag.active {
    background: var(--home-accent-color);
    color: #fff;
}

.filter-tag:hover {
    background: #f5f5f5;
}

.filter-tag.active:hover {
    background: var(--home-accent-color);
}

.agenda-item.is-hidden {
    display: none !important;
}

.minor-menu--agenda .agenda-item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding: 30px 0px;
    border-top: 1px solid var(--season-2627-blue-2);
    min-height: 100px;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.agenda-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 15px;
    max-width: 200px;
}

.agenda-item-date-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-left: 1px solid var(--season-2627-blue-2);
    padding: 0px 20px;
    width: 100px;
}

.agenda-date-numeric {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    margin: 4px 0px;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.agenda-date-arrow {
    color: var(--season-2627-blue-1, #e8378c);
    font-style: normal;
}

.agenda-date-year {
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.7;
    text-transform: uppercase;
}

.agenda-date-day {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
    text-transform: uppercase;
}


.agenda-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* En dessous du texte */
    background-color: var(--hover-bg); /* Couleur du panel */
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

.agenda-item-bg img,
.agenda-item-bg picture,
.agenda-item-bg .responsive-image {
    width: 100%;
    height: 100%;
}

.agenda-item-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1000%); /* Effet de seuil */
    mix-blend-mode: screen; /* Fait que les parties noires prennent la couleur du fond */
}

/* .minor-menu--agenda .agenda-item:hover {
    background-color: #fff;
}

.minor-menu--agenda .agenda-item:hover .agenda-item-bg {
    opacity: 1;
} */

/* ── Gallery bg : image aléatoire de la galerie au survol ── */
.agenda-item-gallery-bg {
    position: absolute;
    inset: -12px -8px; /* déborde légèrement du bloc */
    z-index: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    overflow: hidden;
    border-radius: 2px;
}

.agenda-item-gallery-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05); /* légèrement plus grand pour remplir après le débord */
    /* Lueur sur les strokes SVG — drop-shadow suit les tracés, pas le rectangle */
    filter:
        drop-shadow(0 0 10px color-mix(in srgb, var(--season-2627-blue-1) 50%, transparent))
        ;
}

.minor-menu--agenda .agenda-item:hover .agenda-item-gallery-bg {
    opacity: 1;
}

/* S'assurer que le texte reste lisible au-dessus */
.minor-menu--agenda .agenda-item:hover .agenda-item-content,
.minor-menu--agenda .agenda-item:hover .agenda-item-date-column {
    position: relative;
    z-index: 3;
}

.agenda-item-top,
.agenda-item-middle,
.agenda-item-bottom {
    position: relative;
    z-index: 2; 
}

.agenda-item-top {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem; 
    text-transform: uppercase;
    font-weight: 700;
}

/*
.agenda-item-middle {
    margin: 8px 0;
}*/

.agenda-item-middle .agenda-title a {
    font-size: 1.7rem; /* Titre plus grand */
    line-height: 1.2;
    text-transform: uppercase;

}

.agenda-item-bottom {
    font-size: 0.75rem; 
    text-transform: uppercase;
    opacity: 0.7;
}


.agenda-hover-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2400; /* Juste en dessous des rectangles (2500) */
    background: var(--home-bg-color-opacity); /* Fond blanc semi-transparent */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
}

.agenda-hover-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ── Classe de base pour tous les rectangles de hover ── */
.agenda-hover-box {
    position: fixed;
    /* top / left / width / height pilotés par JS via syncAgendaHoverPosition */
    z-index: 2500; /* Au-dessus de l'overlay (2400) */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.4s ease,
        visibility 0.4s ease;
    /*background: var(--home-bg-color-opacity);  Overlay charger par div mnt */
    display: flex;
    align-items: center;
    justify-content: center;

/*background-color: rgba(255, 255, 255, 0.7); OPACITY*/
/*background-color: #2fa9e1a1;
background-blend-mode: lighten;*/
}

.agenda-hover-box.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ── RECTANGLE SIGNE : À gauche ── */
.agenda-hover-sign {
    background: transparent;
    display: none; /* NOTE: CACHÉ PAR DEFAULT POUR L'INSTANT, PEUT ETRE AFFICHÉ Que quand spectacle à tag en famille par exemple ? */
}

/* ── RECTANGLE IMAGE : Au centre ── */
.agenda-hover-image {
    background: transparent;
}

/* ── RECTANGLE TEXTE : À droite ── */
.agenda-hover-text {
    background: transparent;
}

/* ── Wrapper pour centrer le contenu dans les rectangles ── */
.agenda-hover-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px; /* Marge uniforme de 40px sur tous les côtés */
    box-sizing: border-box;
}

/* ── Carte de base (utilisée par les deux types de rectangles) ── */
.agenda-hover-card {
    position: relative;

  /*background-color: rgba(255, 255, 255, 0.7); OPACITY*/
    /*background-color: #2fa9e1a1;
  background-blend-mode: lighten;*/
    width: 100%;
    max-width: 100%; 
    max-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
    overflow-y: auto;
}

/* ── Effet de texture sur la carte ── */
.agenda-hover-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.12;
    /*background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;*/
         background-image: url(../img/background-prog-2.png) !important;
mix-blend-mode: lighten;
background-size: cover !important;
background-repeat: no-repeat !important;
}

.agenda-hover-card > * {
    position: relative;
    z-index: 2;
}

/* ═════════════════════════════════════════════════════════════════════════════
   STYLES SPÉCIFIQUES : RECTANGLE SIGNE (gauche)
   ───────────────────────────────────────────────────────────────────────────── */

.agenda-hover-sign {
    background: transparent;
}

.agenda-hover-sign-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.agenda-hover-sign-content img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px var(--season-2627-blue-1));
}

/* ═════════════════════════════════════════════════════════════════════════════
   Agenda Hover - Styyyles 
   ───────────────────────────────────────────────────────────────────────────── */

.agenda-hover-card--image {
    padding: 0;
    transform: rotate(-8deg);
    box-shadow: 0 20px 60px var(--season-2627-blue-4);
    /* Taille fixe de la carte image */
    width: 44vw;        
    height: 70vh;      
    max-width: none; 
    max-height: none;   
    background: var(--season-2627-blue-1);

    background-image: url(../img/BACKGROUND-BLOB-2.png) !important;
mix-blend-mode: lighten;
background-size: cover !important;
background-repeat: round !important; 
}

.agenda-hover-image-box {
    width: 100%;
    flex: 1;            

   /* background-image: url(../img/260326_fonds_a3-copie-2.png); Peut etre si image plus légère ? */
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}

.agenda-hover-image-box img {
    width: 100%;
    height: 100%;
    padding: 15px;
    object-fit: cover;   
    display: block;
}

/* Titre en bas de l'image */
.agenda-hover-image-title {
    padding: 5px 20px 20px 20px;
    background: transparent;
    /*background-image: url(../img/260326_fonds_a3-copie-2.png);
        background-size: cover;
    background-position: center;*/
    color: #fff;
}

.agenda-hover-image-title h3 {
    margin: 0;
    font-family: 'Brown-M', sans-serif;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    text-align: center;
}

/* ═════════════════════════════════════════════════════════════════════════════
   STYLES SPÉCIFIQUES : RECTANGLE TEXTE (droite, rotaté 8°)
   ───────────────────────────────────────────────────────────────────────────── */

.agenda-hover-text {
    background: transparent;
}

.agenda-hover-card--text {
    justify-content: flex-start;
    background: var(--season-2627-blue-4);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);

    background-image: url(../img/BACKGROUND-BLOB-2.png) !important;
mix-blend-mode: lighten;
background-size: cover !important;
background-repeat: round !important; 
}

/* ── Tags (Pills noir) ── */
.agenda-hover-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.agenda-hover-pill {
    background: #000;
    color: #fff;
    padding: 4px 12px;
    font-family: 'Brown-M', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Description ── */
.agenda-hover-description {
    font-family: 'Brown-L', sans-serif;
    font-size: 1.2rem;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 20px;
}

/* ── Compagnie ── */
.agenda-hover-company {
    font-family: 'Brown-M', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
}

/* ── Section dates ── */
.agenda-hover-dates-section {
    margin-top: auto;
    display: flex;
    flex-direction: row;
    width: 100%;
    border-top: 1px solid #fff;
    padding-top: 10px;
    gap: 40px;
}

.agenda-hover-dates {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.agenda-hover-date-line {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.9rem;
    color: #fff;
}

.agenda-hover-duration {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.9rem;
    color: #fff;
}

/* ═════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ───────────────────────────────────────────────────────────────────────────── */

@media screen and (max-width: 768px) {
    .agenda-hover-wrapper {
        padding: 60px 20px 30px 20px;
    }
    
    .agenda-hover-card {
        padding: 15px;
    }
    
    .agenda-hover-image-box {
        aspect-ratio: 4 / 5;
    }
}

/* ═════════════════════════════════════════════════════════════════════════════
   FIN DES STYLES DE HOVER DE L'AGENDA
   ───────────────────────────────────────────────────────────────────────────── */

.spectacle-highlight-title {
    font-size: 36px;
    line-height: 1.1;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
    padding-bottom: 5px;
    text-align: center;
}

/* Toggle Menu / Agenda */
.sidebar-toggle {
    display: flex;
    gap: 5px;
    margin-top: 20px;
}

.sidebar-toggle .toggle-btn {
    flex: 1 1 0;
    padding: 8px 10px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
}

.sidebar-toggle .toggle-btn.active {
    background: var(--text-dark);
    color: #fff;
}

.minor-menu {
    display: none; /* par défaut caché, on montrera via .is-visible */
}

.minor-menu.is-visible {
    display: block;
}

.date-menu {
    background: var(--text-dark);
    color: #fff;
    padding: 4px 8px;
    font-size: var(--home-font-size-xs);
    width: fit-content;
    text-transform: uppercase;
}

.sidebar-footer {
    margin-top: 30px;
}

.btn-billetterie {
    display: block;
    background: var(--text-dark);
    color: #fff !important;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* 5. MAIN CONTENT SECTIONS (Brought from home.css) */

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  height: 75vh; 
  /* On utilise une bordure plutôt que du padding car l'absolute respecte la bordure */
  border: 10px solid #fff;
  border-left-width: 40px;
  border-right-width: 40px;
  box-sizing: border-box;
}

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

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  z-index: 1;
}

.slide-info {
    position: relative;
    z-index: 5;
    background-color: var(--home-overlay-bg);
    padding: 60px;
    max-width: 500px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
/*
.home-layout-col {
        background-image: url(../img/260326_fonds_a3-copie-2.png);
    background-size: cover;
    background-repeat: no-repeat;
    /* background-color: rgba(255, 255, 255, 0.7); */
   /* background-color: #ceefff9e !important;
    background-blend-mode: lighten;
}*/

.home-layout-col .upcoming {
        padding: 0;
    }
    
    .home-layout-col .spectacle-highlight,
    .home-layout-col .spectacle-highlight-block,
    .home-layout-col .eventrp-highlight,
    .home-layout-col .page-highlight,
    .home-layout-col .home-text-block {
        height: 100%;
    }

/* Page highlight block custom layout */
.page-highlight {
    display: flex;
    align-items: stretch;
    height: 100%;
    min-width: 600px;
    box-sizing: border-box;
}

.page-highlight-inner {
    display: flex;
    flex-direction: row; /* Horizontal layout */
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 24px 28px;
    gap: 30px;
}

.page-highlight-media {
    width: 200px;
    height: 100%;
    flex-shrink: 0;
}

.page-highlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-highlight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-highlight-top {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.page-highlight-prefix {
    opacity: 0.8;
}

.page-highlight-center {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
}

.page-highlight-title-link {
    text-decoration: none;
    color: inherit;
}

.page-highlight-title {
    margin: 0;
    font-size: 2.4rem;
    text-transform: uppercase;
    line-height: 1;
}

.page-highlight-bottom {
    display: flex;
    align-items: flex-end;
}

.page-highlight-media img {
    width: 300px;
    height: 150px;
    object-fit: cover;
}

    /* Tarifs table inside home blocks */

    .tarif-highlight .pricing-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.9rem;
        overflow-wrap: anywhere;
    }

    .tarif-highlight .pricing-table th,
    .tarif-highlight .pricing-table td {
        border: 1px solid #ddd;
        padding: 6px 10px;
    }

    .tarif-highlight .pricing-table thead {
        background: #000;
        color: #fff;
        text-transform: uppercase;
    }

    .tarif-highlight .pricing-table .index-cell {
        width: 2.5rem;
        text-align: center;
    }

    .tarif-highlight h2{
    font-size: var(--home-font-size-xl);
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0px;
    }

.slide-info h2 {
    font-size: var(--home-font-size-2xl);
    line-height: var(--home-line-height-tight);
    margin: 20px 0;
}

.slide-info .genre {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 4px 8px;
    font-size: var(--home-font-size-xs);
    width: fit-content;
    text-transform: uppercase;
}

.upcoming {
    padding: var(--home-spacing);
}

.upcoming h2 {
    font-size: var(--home-font-size-xl);
    color: var(--text-dark);
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0px;
}

.upcoming .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.upcoming .grid.single {
    grid-template-columns: 1fr;
}

.card {
    display: flex;
    flex-direction: column;
}

.card-media {
    position: relative;
    aspect-ratio: 1.5/1;
    overflow: hidden;
    margin-bottom: 15px;
}


.card-overlay {
    position: absolute;
    inset: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.overlay-item {
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 4px 8px;
    font-size: var(--home-font-size-xs);
    width: fit-content;

}

/* NEWSLETTER - case à cocher autorisation_news */

/* Cible uniquement la case à cocher de la newsletter dans le footer */
#autorisation_news {
    width: min-content !important;
    border-radius: 0;
    border: 1px solid white;
    background-color: transparent; /* couleur test, à ajuster si besoin */
}

#autorisation_news::before {
    content: "";
    width: 1.1em;   /* zone cochée plus grande */
    height: 1.1em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--form-control-color, #fff);
}

#autorisation_news:checked::before {
    transform: scale(1);
}


.card h3 {
    font-size: var(--home-font-size-lg);
    padding-top: 5px;
    border-top: 1.5px solid var(--season-2627-blue-2);
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.card-details .company {
    font-weight: 700;
    font-size: var(--home-font-size-sm);
    margin-bottom: 10px;
}

.social-links {
    display: flex;
    justify-content: space-between;
}

.bandeau-socials {
display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
    width: fit-content;
    /* margin-left: auto; */
    /* margin-right: auto; */
    margin-bottom: 20px;
    margin-top: 5px;
}

.social-btn {
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    height: 30px;
    width: 30px;
}

/* Common Section Spacing */
.focus-event-rp,
.focus-spectacle-rp,
.upcoming-offset {
    padding: var(--home-spacing);
}

.header-label-center {
    background-color: black;
    color:white;
    text-transform: uppercase;
    margin-bottom: 10px;

}

.location-bullet {
    font-family: 'Brown-M';
    text-transform: uppercase;

}

/* 6. RESPONSIVE */
@media screen and (max-width: 1200px) {
    .upcoming .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mode mobile/tablette uniquement - passage en colonne à 768px au lieu de 1024px */
@media screen and (max-width: 768px) {
    .home-1-columns {
        flex-direction: column;
    }
    .main-content {
        width: 100%;
        margin-left: 0; /* Ne laisse plus de place pour la sidebar en mobile */
    }
    .main-content--home3 {
        min-width: 0; /* Permet au contenu de s'adapter en mobile */
    }
    
    /* Annuler la rétractation de la sidebar en mode mobile */
    .expandable-sidebars {
        transform: none !important;
        margin-right: 0 !important;
    }
    
    .expandable-sidebar.sidebar--agenda {
        width: 100%;
    }
    
    .fixed-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        order: -1; /* Affiche la sidebar avant le contenu principal en mobile */
        border-right: none;
        transform: none !important; /* On désactive le collapse horizontal en mobile */
    }
    
    /* Bouton close en mode mobile */
    .spectacle-viewer-close {
        right: 20px !important;
    }
    
    .sidebar-toggle-main {
        display: none; /* On cache le toggle latéral en mobile */
    }
}





/* Spectacle Viewer Styles (Disabled - using dynamic-content instead)
.spectacle-viewer {
  position: fixed;
  top: 0;
  left: 30%;
  width: 70%;
  height: 100vh;
  background-color: #fff;
  z-index: 1500;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.spectacle-viewer[hidden] {
  display: none;
}

.spectacle-viewer-close {
  position: fixed;
  top: 20px;
  right: 40px;
  background-color: var(--home-bg-color);
  color: #000;
  border: 1px solid #000;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.spectacle-viewer-close:hover {
  transform: scale(1.1);
}

body.no-scroll {
  overflow: hidden;
}

.main-content.no-scroll {
  overflow: hidden !important;
} */

/* Ensure the spectacle page content fills the container nicely */
.spectacle-viewer .spectacle-page {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* --- New Horizontal Spectacle Viewer Styles --- */
.spectacle-viewer-inner {
  background: var(--home-bg-color);
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;

}

.home-vertical .spectacle-viewer-inner {
  overflow: visible !important;
  display: block !important;
  height: auto !important;
}



.spectacle-viewer-actions,
.soiree-double-viewer-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.spectacle-viewer-actions > * {
  pointer-events: auto;
}

.home-vertical .spectacle-viewer-actions,
.home-vertical .soiree-double-viewer-actions {
    position: fixed;
    top: 80px;
    margin-left: 40px;
    background: transparent;
    left: var(--sidebar-agenda-width);
    right: 0;
    width: auto;
}

.home-vertical #dynamic-content.is-viewer-active {
    overflow: visible !important;
    height: 100%;
}

.home-vertical .spectacle-viewer-main-content {
    overflow: visible;
    height: auto;
}



.spectacle-viewer-bar {
    position: fixed;
    top: 80px;
    left: calc(var(--sidebar-agenda-width) + 20px);
    z-index: 5000;
    display: flex;
    gap: 10px;
}

.spectacle-viewer-bar > * {
    pointer-events: auto;
}

.spectacle-viewer-combined .spectacle-viewer-bar {
    position: sticky;
    top: 80px;
    left: 0;
}

.spectacle-viewer-close, .spectacle-viewer-reserve-mini, .soiree-double-viewer-close {
  position: relative;
  width: fit-content;
  white-space: nowrap;
  height: auto;
  border: 1px solid black;
  background-color: var(--home-bg-color);
  padding: 5px 10px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  pointer-events: auto;
}

.agenda-item .agenda-item-link .spectacle-viewer-reserve-mini,
.spectacle-viewer-inner .spectacle-viewer-reserve-mini {
    display: block;
    width: auto;
    margin-top: 15px;
    box-shadow: rgba(0, 135, 207, 1) 1px 1px 10px;
    background-color: #aed8ed;
    background-image: url(../img/AGENDA-BG-2.png);
    background-size: cover;
    background-repeat: round;
    border-color: #fff;
    font-family: 'XanhI', monospace;
    color: white;
    border: 1px solid white;
    text-transform: lowercase;
    text-align: center;
}

.spectacle-viewer-horizontal-scroll {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  /*scroll-snap-type: x mandatory;*/
  -webkit-overflow-scrolling: touch;
}

/* --- VERTICAL LAYOUT FOR VIEWERS --- */
.home-vertical .spectacle-viewer-horizontal-scroll,
.home-vertical .spectacle-viewer-vertical {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: visible;
  /*scroll-snap-type: none;*/
}

.home-vertical .viewer-col {
  width: 100% !important;
  height: auto !important;
  min-height: auto;
  border-right: none;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.home-vertical .viewer-col--intro {
  padding: 120px 40px 60px;
}

.home-vertical .viewer-title-giant {
  font-size: 12vw; /* Fluid size for vertical layout */
  line-height: 1;

}

.viewer-intro-center {
  margin-top: 45px;
  margin-bottom: 45px;
}

.home-vertical .viewer-col--description {
  width: 100% !important;
  display: block;
  padding: 40px;
}

.home-vertical .viewer-description-and-distribution {
  max-width: 800px;
  margin: 0 auto;
}

.home-vertical .viewer-col--image {
  height: 60vh !important;
}

.home-vertical .spectacle-viewer-vertical {
    display: flex;
    flex-direction: column;
    height: auto !important;
    overflow: visible !important;
}


.spectacle-viewer-inner {
  display: flex;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--home-bg-color);
  position: relative;
}

/* COLONNE FIXE À DROITE */
.spectacle-viewer-fixed-right {
  width: 20%;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  transition: width 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.spectacle-viewer-fixed-right.is-expanded {
  width: 100%;
}

.spectacle-viewer-fixed-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spectacle-viewer-main-content {
  /*margin-right: 27%; décale le contenu principal pour laisser place à la colonne fixe */
  flex-grow: 1;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  background-color: var(--home-bg-color);
}

.viewer-print-spectacles-list {
    display: flex;
    flex-direction: column !important;
    padding: 20px 0px;
}



.viewer-print-row {
  display: flex;
  width: 100%;
}

/* Cache la version mobile du header-meta sur desktop */
.viewer-header-meta--mobile {
  display: none;
}

.content-container .viewer-print-row {
    padding: 0;
}


/* SECTION 1: HEADER META */
.viewer-print-header-meta {
  height: auto;
  align-items: stretch;
  padding-top: 20px; 
  padding-left: 180px;
  gap: 30px;
  background-color: var(--home-bg-color);
}

.print-meta-col {
  white-space: nowrap;
}

.label-print {
  font-size: 0.7rem;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin: 0 0 12px 0; /* Reset top margin */
  color: #000;
  letter-spacing: 0.05em;
  line-height: 1;
  border-bottom: 1px solid black;
  padding-bottom: 2px;
}

.value-print {
  font-size: 0.85rem;
  line-height: 1;
  margin: 0; /* Reset default p margin */
}

.viewer-body-right-distrib .print-meta-col .value-print{
  font-size: 0.85rem;
  line-height: 1;
  margin: 0; 
  padding: 2px 4px;
  border: 1px solid black; 
  margin-bottom: 12px;
  width: fit-content;
}



.print-horaires-detail {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  line-height: 1.3;
}

.horaire-line {
  margin-bottom: 4px;
  /*font-family: 'XanhI', monospace;
  text-shadow: rgba(0, 135, 207, 0.9) 0px 0px 12px;*/
}

/*
.print-meta-horaires-sidebar {
  margin-bottom: 60px;
}
*/

.print-meta-tarifs-sidebar {
  margin-bottom: 30px;
}

.print-tarif-category .label-print {
  font-size: 0.75em;
  margin-bottom: 5px;
  border-bottom: none;
  letter-spacing: 0.05em;
}

.print-tarif-list .tarif-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85em;
  line-height: 1.2;
}

.print-tarif-list .tarif-line .tarif-label {
  text-transform: capitalize;
}

.print-tarif-list .tarif-line .tarif-price {
  font-weight: 500;
}

.v-margin-md, .mb-30 { margin-bottom: 30px; }
.v-margin-md-top, .mt-30 { margin-top: 30px; }
.v-margin-sm, .mb-20 { margin-bottom: 20px; }
.v-margin-xs, .mb-10 { margin-bottom: 10px; }
.v-margin-lg, .mb-60 { margin-bottom: 60px; }

.extra-logo {
  max-width: 100px;
  height: auto;
  display: block;
}

.extra-event-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.extra-text {
  font-size: 0.8rem;
  line-height: 1.3;
}

.extra-text p {
  margin-bottom: 0.5em;
}

.satellite-title {
  font-size: 0.85rem;
  margin-bottom: 5px;
  line-height: 1.2;
}

.satellite-desc {
  font-size: 0.8rem;
  line-height: 1.3;
}

.satellite-desc p {
  margin-bottom: 0.5em;
}

.value-print-textarea {
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: normal;
  font-family: 'Brown-L', serif;
}

.value-print-textarea p {
    line-height: 1.5;
    font-size: 1rem;
  font-family: 'Brown-L', serif;
}

.value-print-textarea strong {
  font-weight: bold;
}

.mentions-obligatoires-print {
  padding: 0px 60px;
  margin-bottom: 60px;
  width: 100%;
  box-sizing: border-box;
}

/* SECTION 2: TITLE BLOCK */
.viewer-print-title-block {
  height: auto;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  align-items: center;
  width: 100%;
  padding: 30px 0px;
  background-color: var(--home-bg-color);
}

.viewer-title-area {
  grid-column: 1 / 8; /* Déborde sur l'image (60% de largeur) */
  grid-row: 1;
  padding: 40px 60px;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

.viewer-title-area > * {
  pointer-events: auto;
}

.viewer-title-right-image {
  grid-column: 4 / 11; /* 70% de largeur à droite */
  grid-row: 1;
  padding: 0px 20px 0px 40px;
  box-sizing: border-box;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 5;
}

.viewer-title-right-image picture,
.viewer-title-right-image .responsive-image {
  width: 100%;
  height: 500px;
  display: block;
  background-color: #f0f0f0; /* Placeholder gris pendant le chargement */
  position: relative;
}

/* Animation de fondu pour un chargement progressif */
.viewer-title-right-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-box-shadow: 3px 2px 10px 5px var(--season-2627-blue-4); 
  box-shadow: 3px 2px 10px 5px var(--season-2627-blue-3);
  animation: fadeInImage 0.3s ease-in;
}

@keyframes fadeInImage {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.viewer-title-print {
  font-size: 5rem;
  line-height: 1.04;
  text-transform: uppercase;
  margin: 0;
  font-weight: 900;
  font-family: 'Brown-M', serif;
  letter-spacing: -0.02em;
  margin-left: -20px;
    /* background moved to inner span so it follows wrapped lines */
    background: none;
}

.viewer-title-print span {
    display: inline;
    color: #000;
    background: var(--home-bg-color);
    /* match hero-stack spacing; tweak values if needed */
    padding: 4px 24px 4px 20px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}



.viewer-company-print {
  font-size: 1.8rem;
  margin-top: 20px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: fit-content;
  padding: 4px 24px 4px 20px;
  background: var(--home-bg-color);
}

/* SECTION 3: BODY */
.viewer-print-body {
  height: auto;
  padding: 40px 60px;
  min-height: min-content;
  align-items: flex-start;
  gap: 40px;
}

.viewer-body-left-text {
  flex: 2.5;
  padding-right: 50px;
  height: fit-content;
}

.viewer-body-right-distrib {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.viewer-body-right-column {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.viewer-body-right-agenda {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.agenda-chronologique-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.agenda-item-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.agenda-item-line::before {
    content: '';
    
}

.agenda-item-title {
    max-width: 160px;
}

.agenda-item-date {
  font-size: 0.85rem;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
}

.agenda-item-lieu {
  font-size: 0.85rem;
  margin: 0;
  opacity: 0.7;
}



.text-presentation-print {
  font-size: 1.3rem;
  line-height: 1.5;
  max-width: 850px;
  font-family: 'Brown-L', sans-serif;
}

.text-presentation-print p {
  margin-bottom: 2rem;
}

.distribution-list-print {
  margin-top: 60px;
}

.soiree-double-spectacle-item .distribution-list-print {
    margin-top: 0;
}

.distrib-block-item {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
}

.distrib-role {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 5px;
  font-weight: bold;
}

.distrib-name {
  font-size: 1.1rem;
  font-weight: normal;
  line-height: 1.2;
}

/* Style inline type "production" pour les items show_in_print = false */
.distrib-inline-production {
  margin-top: 15px;
  line-height: 1.5;
  font-size: 1rem;
 font-family: 'Brown-L', sans-serif;
    margin: 0;
  color: #000;
}

/*
.soiree-double-spectacle-item .distrib-inline-production {
    font-size: 0.85rem;
}*/

.distrib-inline-production strong {
  font-family: 'Brown-L', sans-serif;
  text-decoration: underline;
}

.soiree-double-spectacles-grid .distrib-inline-production{
    margin-top: 20px;
    text-decoration: none;
}
/*
.distrib-dot {
  color: var(--season-2627-blue-1);
}*/

/* SECTION 4: GALLERY */
.fig-caption {
    font-family: 'XanhI';
    text-transform: capitalize;
}

.viewer-print-gallery {
  padding: 0px 60px;
  flex-direction: column;
}

.viewer-gallery-grid-print {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  gap: 10px;
  margin-bottom: 60px;
}


.viewer-gallery-item-print {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.viewer-gallery-item-print picture,
.viewer-gallery-item-print .responsive-image {
  width: 100%;
  height: 100%;
  display: block;
}

.viewer-gallery-item-print img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item-caption {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: var(--home-bg-color);
  border: 1px solid #000;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-family: 'Brown-M', sans-serif;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* SECTION 5: RELATED */
.viewer-related-bottom {
  width: auto;
  margin: 0 -30px;
  padding: 50px 70px;
  background-color: var(--season-light-blue-1);
}

/* LIGHTBOX */
.viewer-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
}

.viewer-lightbox.is-active {
  display: flex;
}

.viewer-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(40, 40, 40, 0.85); /* Overlay gris */
  cursor: zoom-out;
}

.viewer-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.viewer-lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.viewer-lightbox-content .gallery-item-caption {
  position: static;
  margin-top: 10px;
  background-color: var(--home-bg-color);
  border: 1px solid #000;
}

.viewer-lightbox-close {
  position: absolute;
  top: -40px;
  right: -40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .viewer-lightbox-close {
    right: 0;
    top: -50px;
  }
}

.mt-10 { margin-top: 10px; }

.home-vertical .edito-viewer-inner {
  height: auto !important;
  overflow: visible !important;
}

.home-vertical .viewer-hero-inner {
    padding: 120px 40px 60px;
}

.hero-still {
    width: 100%;
    height: auto;
}

.hero-still img {
    object-fit: cover;
}

.home-hero-image-wrapper {
    width: auto;
    height: auto;
    margin: 20px 10px 0px 10px;
    background-image: url(../img/cover-colore-2.png);
        background-size: cover;
    background-repeat: round;
    transition: transform 0.3s ease;
    /*background-color: rgb(249 247 245 / 20%); */
                background-color:rgb(47, 169, 225, 0.3);
    box-shadow: rgba(0, 135, 207, 0.9) 0px 0px 5px;
  background-blend-mode: lighten;
}

.home-vertical .viewer-title-giant-vertical {
    font-size: 8vw; /* Reduced from 15vw */
    line-height: 0.9;
    text-transform: uppercase;
    margin-top: 20px;
    font-weight: 900;
}

/* (margin-left supprimé — flex layout gère le positionnement) */


.viewer-col {
  flex-shrink: 0;
  height: 100%;
  box-sizing: border-box;
  /*scroll-snap-align: start;*/
  border-right: 1px solid #eee;
}

/* Colonne Intro */
.viewer-col--intro {
  width: 800px;
  padding: 80px 60px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.viewer-intro-top {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.viewer-intro-image {
    width: 250px;
    height: auto;
    flex-shrink: 0;
    margin-left: 20px;
}

.viewer-intro-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.viewer-title-giant {
  font-size: 8rem;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0;
  font-family: 'Brown-M', sans-serif;
  word-wrap: break-word;
}

.viewer-company-sub {
  margin-bottom: 30px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.viewer-horaires-small {
  font-size: 0.8rem;
  opacity: 0.6;
}

.horaire-item {
  display: block;
  margin-bottom: 2px;
  font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.viewer-col--description {
  width: fit-content;
  padding: 100px 60px 40px;
  overflow-y: auto;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  gap: 80px;
}

.viewer-description-content {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #000;
  max-width: 600px;
}

.viewer-description-content p {
    font-size: 1.2rem;
}

.viewer-description-and-distribution {
  display: flex;
  gap: 60px;
  flex-direction: column;
  flex-shrink: 0;
}

.viewer-details-column {
    width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.viewer-horaires-list h3, .viewer-distribution h3, .viewer-description-content h3, .viewer-related-rp h3, .viewer-partners h3 {
  font-size: 0.8rem;
  text-transform: uppercase;
  border-bottom: 1px solid #000;
  padding-bottom: 5px;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
}

.viewer-related-rp ul {
    list-style: none;
    padding: 0;
}

.viewer-related-rp li {
    margin-bottom: 10px;
}

.viewer-related-rp a {
    font-family: 'Brown-M', sans-serif;
    font-size: 1.1rem;
    text-decoration: underline;
}

.viewer-partners .partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: center;
}

.viewer-partners img {
    max-width: 100%;
    height: auto;
    filter: grayscale(1);
}

.viewer-col--details {
  width: 500px;
  position: relative;
  overflow: hidden;
  padding: 100px 40px 60px;
  background: #fff;
  flex-shrink: 0;
}

.horaire-item-full {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.viewer-distribution {
  font-size: 0.9rem;
  line-height: 1.4;
}

.viewer-description-short {
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 600px;
}

/* Colonne Image */
.viewer-col--image {
  width: 500px;
}

.viewer-col--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Colonne Video */
.viewer-col--video {
  width: 800px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewer-col--video video {
     width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
}

.viewer-audio-print,
.viewer-videos-print {
    width: 100%;
    padding: 0 60px;
    box-sizing: border-box;
}

audio::-webkit-media-controls-play-button,
     audio::-webkit-media-controls-panel {
     background-color: var(--home-bg-color);
     color: #000;
     }

.video-item-print video, .audio-item-print audio {
    width: 100%;
    max-width: 100%;
    display: block;
    border: 1px solid #000;
}


.label-under-video {
    margin-top: 10px;
    font-family: 'Brown-L', sans-serif;
    font-size: 1rem;
}

.youtube-link {
    font-family: 'Brown-M', sans-serif;
    text-decoration: underline !important;
}

/* Colonne Mentions */
.viewer-col--mentions {
  width: 400px;
  padding: 100px 40px 40px;
  overflow-y: auto;
}

.viewer-mentions-content h3 {
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 20px;
  border-bottom: 1px solid #000;
  padding-bottom: 5px;
}

.viewer-mentions-content {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* Adjustments for the container */
#dynamic-content.is-viewer-active {
    overflow: hidden !important; /* The scroll is handled by the horizontal-scroll div */
    padding: 0;
}

.spectacle-viewer-meta p {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.spectacle-viewer-meta strong {
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-right: 5px;
}

.meta-time {
    text-wrap: wrap;
}

/* Main elements */
.spectacle-viewer-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 50px;
}

.spectacle-viewer-description p {
  margin-bottom: 1.5rem;
}

.spectacle-viewer-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 50px;
}

.spectacle-viewer-gallery img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.spectacle-viewer-videos {
  margin-bottom: 50px;
}

.spectacle-viewer-videos video {
  width: 100%;
  margin-bottom: 20px;
  background: #000;
}

.spectacle-viewer-mentions {
  font-size: 0.9rem;
  border-top: 1px solid var(--season-2627-blue-2);
  padding-top: 30px;
  color: #444;
}

.spectacle-viewer-mentions h3 {
  font-size: 1.1rem;
  color: #000;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: bold;
}

@media screen and (max-width: 1024px) {
  .spectacle-viewer-content {
    flex-direction: column;
    padding: 20px;
    gap: 30px;
  }
  .spectacle-viewer-sidebar, 
  .spectacle-viewer-main,
  .spectacle-viewer-right {
    width: 100%;
  }
  .spectacle-viewer-title {
    font-size: 2.5rem;
  }
}

/* --- Menu More Viewer Styles --- */
.menu-more-viewer {
  background: #fff;
  height: 100vh;
}

.menu-more-header {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.menu-more-title {
  text-transform: uppercase;
  margin: 0;
  font-family: 'Brown-M', sans-serif;
}

.menu-more-content {
  padding: 0px 40px 60px 40px;
  max-width: 1000px;
}

.menu-more-grid {
  display: flex;
  flex-direction: column;
}

.menu-more-item a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
}

.menu-more-item a:hover {
  background: #f9f9f9;
  padding-left: 30px;
}

.menu-more-label {
  font-weight: bold;
  text-transform: uppercase;
}

.menu-more-arrow {

  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}

.menu-more-item a:hover .menu-more-arrow {
  opacity: 1;
  transform: translateX(10px);
}

.infos-pratiques-menu {
    margin-top: 40px;
}

@media screen and (max-width: 768px) {
  .menu-more-title {
    font-size: 2rem;
  }
  .menu-more-label {
    font-size: 1.2rem;
  }
}

/* 7. SPECTACLE TEXT BLOCK (Block Spectacle Text) */
.home-block--spectacle-text {
    padding: 30px;
    display: flex;
    flex-direction: row; /* Horizontal */
    align-items: center;
    gap: 40px;
    height: 100%;
    min-width: 800px;
    box-sizing: border-box;
    font-family: "Brown-M", sans-serif;
    position: relative;
    cursor: pointer;
}

.home-block-spectacle-text-inner {
    display: flex;
    flex-direction: row; /* Horizontal */
    align-items: center;
    height: 100%;
    gap: 40px;
    width: 100%;
}

.spectacle-text-header {
    width: 250px;
    flex-shrink: 0;
}

.spectacle-text-body {
    width: 200px;
    flex-shrink: 0;
}

.spectacle-text-footer {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.home-block--spectacle-image {
    position: relative;
    flex-grow: 1;
    height: 100%;
    min-width: 300px;
}

/* Bloc Agenda */
.agenda-block {
  padding: 20px;
  border-radius: 8px;
}

.agenda-block h2 {
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
}

.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.agenda-day {
  padding: 10px;
  background-color: var(--season-light-blue-1);
}

.agenda-day-label {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 5px;
}

.agenda-day-date {
  font-size: 14px;
  margin-bottom: 15px;
  opacity: 0.8;
}

.agenda-event {
  margin-bottom: 12px;
  font-size: 13px;
}

.agenda-hexagone {
    position: absolute;
    top: 0px;
    right: -26px;
    padding: 2px 5px;
    /*background-color: var(--home-bg-color);*/
    background-color: var(--season-2627-blue-4);
    object-fit: cover;
    transform: rotate(10deg);
    color: #fff;
    box-shadow: var(--text-shadow);
    /*box-shadow: rgba(0, 135, 207, 1) 1px 1px 8px , var(--season-2627-blue-4) 2px 2px 5px ,  inset 0 0 2px var(--season-2627-blue-1);*/
}

.agenda-event a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}


.agenda-event-time {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 3px;
}

.agenda-empty-day {
  font-size: 13px;
  opacity: 0.6;
  font-style: italic;
}

.agenda-no-events {
  text-align: center;
  opacity: 0.7;
}

.agenda-global-title {
  font-size: 1.8rem;
  /*line-height: 1.4rem;*/
  text-transform: uppercase;
  width: fit-content;
  line-height: var(--home-line-height-normal);
  /*font-family: 'XanhI', monospace;
  text-shadow: rgba(0, 135, 207, 0.9) 0px 0px 12px;*/
  text-align: center;
      padding: 2px 7px;
      margin-left: auto;
      margin-right: auto;
  letter-spacing: 1.5px;
  /*background-color: var(--home-bg-color);
  box-shadow: rgba(0, 135, 207, 1) 1px 1px 10px, var(--season-2627-blue-4) 2px 2px 18px, var(--season-2627-blue-1) 0px 0px 8px, inset 0 0 2px var(--season-2627-blue-1);*/
}


.spectacle-block-arrow {
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 2rem;
    line-height: 1;
    z-index: 10;
}

.home-block-spectacle-image-inner {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.home-block--eventrp-text {
    padding: 30px;
    display: flex;
    flex-direction: row; /* Horizontal layout */
    align-items: center;
    gap: 30px;
    height: 100%;
    min-width: 700px;
    box-sizing: border-box;
    font-family: "Brown-M", sans-serif;
    position: relative;
    cursor: pointer;
}

.home-block-eventrp-text-inner {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    gap: 30px;
    align-items: center;
}

.eventrp-media {
    position: relative;
    width: 250px;
    height: 100%;
    margin: 0;
    flex-shrink: 0;
    overflow: hidden;
}

.eventrp-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eventrp-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eventrp-image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    text-align: center;
}

.eventrp-image-title .home-block-eventrp-title {
    margin: 0;
    color: #fff;
    font-size: 2.2rem;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
}

.eventrp-body-main {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.eventrp-dates-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 10px;
}

.eventrp-dates-month {
    display: flex;
    flex-direction: column;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1;
}

.eventrp-dates-list {
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    line-height: 1.2;
}

.eventrp-date-item {
    white-space: normal;
    word-wrap: break-word;

}

.eventrp-long-presentation {
    font-size: 0.9rem;
    line-height: 1.3;
}

.eventrp-footer {
    margin-top: auto;
}

.eventrp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.eventrp-more-link {
    margin-top: 10px;
}

.spectacle-image-carousel {
    position: absolute;
    inset: 0;
}

.spectacle-image-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.spectacle-image-slide.is-active {
    opacity: 1;
}

.spectacle-image-caption {
    position: absolute;
    left: 10px;
    bottom: 10px;
    margin: 0;
    padding: 4px 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
    z-index: 5;
}

.spectacle-text-header {
    margin-bottom: 10px;
}

.home-block-spectacle-company {
    padding-bottom: 10px;
    font-weight: normal;
    margin: 0;
    line-height: 0.9;
    opacity: 0.8;
}

.home-block-spectacle-title {
    font-size: 2.2rem;
    font-weight: normal;
    margin: 0;
    line-height: 1.4;
}

.spectacle-text-body {
    flex-grow: 1;
}

.spectacle-text-dates-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 20px;
}

.spectacle-text-month {
    display: flex;
    flex-direction: column;
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1;
}

.spectacle-text-dates-list {
    display: flex;
    flex-direction: column;
    font-size: 1.1rem;
    line-height: 1.2;
}

.date-item {
    white-space: nowrap;
    font-family: 'Brown-M', sans-serif !important;
    font-size: 0.9rem !important;
    display: block;
        text-transform: uppercase;
}

.spectacle-text-footer {
    margin-top: auto;
}

.spectacle-short-description {
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.3;
}


.spectacle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    background: #000;
    color: #fff;
    padding: 2px 5px;
    font-size: 0.55rem;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

/* Specific styling to match the screenshot font and layout */
.home-block--spectacle-text .month-fr,
.home-block--spectacle-text .month-en {
    display: block;
}

/* 8. TARIF HIGHLIGHT BLOCK (minimal black table) */
.tarif-highlight {
    background: #000;
    color: #fff;
    padding: 24px 28px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    min-width: 300px;
    max-width: 450px;
    flex-shrink: 0;
}

.tarif-highlight-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.tarif-highlight-header {
    margin-bottom: 12px;
}

.tarif-highlight-title {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.tarif-highlight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tarif-highlight-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.tarif-highlight-table thead {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.tarif-highlight-table th,
.tarif-highlight-table td {
    padding: 4px 0;
}

.tarif-highlight-table th {
    font-weight: 500;
    text-align: right;
}

.tarif-highlight-table th.tarif-col-label {
    text-align: left;
}

.tarif-col-label {
    width: 55%;
}

.tarif-col {
    width: 15%;
    text-align: right;
}

.tarif-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tarif-label-cell {
    font-weight: 400;
}

.tarif-value-cell {
    text-align: right;
}

.tarif-empty {
    text-align: center;
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.6);
}

.tarif-highlight-notes {
    margin-top: 8px;
    font-size: 0.7rem;
}

.tarif-note-item + .tarif-note-item {
    margin-top: 4px;
}

.tarif-note-title {
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 6px;
}

.tarif-note-description {
    opacity: 0.85;
}


/* Related spectacles */
.viewer-section--related {
    max-width: 1100px;
}

.related-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
}

.related-header h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.related-subtitle {
    margin: 0;
    color: #4b4b4b;
    font-size: 0.95rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.related-card {
    overflow: hidden;
    height: 100%;
}

.related-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #e8e8e8;
}

.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.related-body {
    padding: 14px 16px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-tags {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    color: #444;
}

.related-title {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.3;
}

.related-company {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.related-date {
    margin: 0;
    font-size: 0.9rem;
    color: #222;
    font-weight: 600;
}

.related-excerpt {
    margin: 4px 0 0 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #333;
}

@media screen and (max-width: 768px) {
    .tarif-highlight {
        padding: 18px 20px;
    }

    .tarif-highlight-title {
        font-size: 1rem;
    }

    .tarif-highlight-table {
        font-size: 0.75rem;
    }
}

@media screen and (max-width: 768px) {
    .home-block-spectacle-company,
    .home-block-spectacle-title {
        font-size: 2rem;
    }
    .spectacle-text-dates-wrapper {
        gap: 20px;
    }
}

/* --- SPECTACLE HIGHLIGHT BLOCK (Custom Styling) --- */
.spectacle-highlight-block {
    display: flex;
    flex-direction: row; /* On passe en horizontal pour mieux voir le texte */
    height: 100%;
    width: auto; /* Largeur automatique selon le contenu */
    min-width: 600px; /* Largeur minimale pour le confort */
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.spectacle-highlight-link {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.spectacle-highlight-media {
    position: relative;
    height: 100%;
    width: 400px; /* Largeur fixe pour l'image */
    flex-shrink: 0;
    overflow: hidden;
    /*background: #000;*/
}

.page-highlight-block .spectacle-highlight-media {
    padding: 20px;
}

.spectacle-highlight-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Filtre threshold pour les images, activable via la classe .threshold */
.threshold {
    filter: brightness(100%) grayscale(100%) contrast(2000%);
}

/* Au survol d'un bloc spectacle, on désactive l'effet threshold pour révéler l'image normale */
.spectacle-highlight-block:hover .threshold,
.spectacle-card-vertical:hover .threshold,
.card:hover .threshold,
.spectacle-card-vertical:hover > .card-image img,
.card:hover .card-image img {
    filter: none;
}

/* Tags in top-left */
.spectacle-highlight-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
}

.spectacle-highlight-tags .tag-item {
    background: #000;
    color: #fff;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Title at bottom-center of image */
.spectacle-highlight-image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 10px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    text-align: center;
    z-index: 2;
}

.spectacle-highlight-image-title h3 {
    margin: 0;
    color: #fff;
    font-size: 2.2rem;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1;
}

.spectacle-highlight-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.spectacle-highlight-small-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: -5px;
}

.spectacle-highlight-meta {
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-wrap: wrap;
}

.spectacle-highlight-desc {
    font-size: 1rem;
    line-height: 1.4;
}

.spectacle-highlight-desc p {
    margin: 0 0 1em 0;
}

.spectacle-highlight-desc p:last-child {
    margin-bottom: 0;
}

.spectacle-highlight-bottom-content {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.spectacle-highlight-distribution {
    font-size: 0.85rem;
    line-height: 1.3;
    opacity: 0.9;
}

.distribution-item {
    margin-bottom: 2px;
}

.distribution-role {
    font-weight: 700;
}

.spectacle-highlight-top-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* EventRP specific styles within the common structure */
.eventrp-highlight-block .eventrp-linked {
    font-size: 0.85rem;
    line-height: 1.2;
    opacity: 0.8;
}

.eventrp-highlight-block .eventrp-linked-label {
    font-weight: 700;
}

/* Page specific styles within the common structure */
.page-highlight-block .spectacle-highlight-desc {
    font-style: italic;
}

.page-highlight-block .spectacle-highlight-footer {
    justify-content: center;
    /*border-top: 1px solid var(--season-2627-blue-2);*/
}

.page-highlight-block .spectacle-highlight-footer-page-h {
    justify-content: center;
        margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0px;
    display: none;
}

.page-highlight-block {
    background-image: url(../img/AGENDA-BG-2.png) !important;

    background-size: cover !important;
    background-repeat: round!important;
        box-shadow: rgba(0, 135, 207, 0.9) 0px 0px 5px;
}

.spectacle-highlight-svg {
    max-height: 200px;
}


.spectacle-highlight-footer {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 15px;
    /*border-top: 1px solid var(--season-2627-blue-2);*/
}

/* On ajuste l'opacité de la bordure carcurrentColor est brut */
.spectacle-highlight-footer {
    border-top-color: var(--season-2627-blue-2);
}
.spectacle-highlight-block[style*="color: #ffffff"] .spectacle-highlight-footer,
.spectacle-highlight-block[style*="color: #FFFFFF"] .spectacle-highlight-footer {
    border-top-color: var(--season-2627-blue-2);
}

.footer-info {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: inherit;
}

/* NOTE: Séparateur de tag dont je n'est plus besoin, mais je garde le code au cas où je voudrais le réactiver plus tard.
.footer-info:not(:last-child)::after {
    content: " |";
    margin-left: 5px;
    opacity: 0.5;
}
*/
/* --- SPECTACLE VIEWER COMBINED (CURATED SPA) --- */



.spectacle-viewer-combined {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: auto;
    background: #fff;
}

.spectacle-viewer-combined .spectacle-viewer-left-inner,
.spectacle-viewer-combined .spectacle-viewer-inner {
    height: 100%;
    flex-shrink: 0;
}

.spectacle-viewer-combined .spectacle-viewer-left-inner {
    width: 600px;
    border-right: 1px solid #eee;
}

.spectacle-viewer-combined .spectacle-viewer-inner {
    width: 900px;
}

/* Specific adjustments for edito in curated viewer */
.edito-viewer-left {
    width: 400px !important;
}

.edito-viewer-inner {
    width: 800px !important;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 1 – HERO (title card)
   Grille : 6fr (image) | 2fr (pile spectacles) | 2fr (texte)
   Blob optionnel en position:absolute derrière tout le hero
   ═══════════════════════════════════════════════════════════════════════════ */
.hero-section,
.home-section-separator,
#info-grid-bandeau {
  scroll-snap-align: start;
  scroll-snap-stop: always; 
  scroll-margin-top: 40px;
}

.hero-section {
  position: relative;         /* ancrage pour le blob absolu */
  width: 100%;
  overflow: visible;
  /* hauteur pilotée par le contenu, min fixé en CSS */
  min-height: 260px;
  /*padding: 0px 20px;*/
  /*padding: var(--padding-col-home);*/

}

/* Grille : pile (1fr) | panneau info (auto) ────────────── */
.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr;
  width: 100%;
  min-height: 75vh;
  max-height: 80vh;
  overflow: visible; /* laisse le titre absolu déborder sur la pile */
  margin-top: 20px;
}

/* Colonnes communes ────────────────────────────────────── */
.hero-col {
  position: relative;
  overflow: hidden;
}

/* ── Col image et texte : supprimées, cachées proprement ── */
.hero-col--image,
.hero-main-image,
.hero-col--text,
.hero-text-content,
.hero-text-line {
  display: none !important;
}

/* ── Col pile : plein format ────────────────────────────── */
.hero-col--stack {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-height: 0;
  padding: 0px 15px 0 15px;
  background-color: transparent;
  /* background géré par le JS en inline style */
  /*padding: 170px 170px 15px 15px;*/
  /*padding: 100px 15px 15px 100px;*/
}

/* Conteneur de la pile */
.hero-stack {
  position: relative;
  width: 100%;
  height: 100%;

}

/* Chaque item est empilé en absolute */
.hero-stack-item {
  position: absolute;
  inset: 0;
  z-index: 1;   /* tous au même niveau — le JS gère is-active, pas les z-index */
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity   0.45s ease;
  cursor: pointer;
}

.hero-stack-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-stack-item.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hero-stack-item:not(.is-active) {
  opacity: 0;
  transform: translateY(6px) scale(0.98);
}

/* Sans JS : on montre le premier item */
.hero-stack-item:first-child {
  opacity: 1;
  transform: none;
}

/* ── Col info (droite) : distribution uniquement, en haut ─ */
.hero-col--info {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 260px;
  padding: 0px 30px 20px 15px;
  box-sizing: border-box;
  background: var(--home-bg-color);
  border-left: 1px solid var(--home-accent-color);
  z-index: 5;
}

/* Distribution (haut) */
.hero-distribution {
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: opacity 0.35s ease;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--home-accent-color);
}

.hero-distrib-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-distrib-role {
  font-family: 'Brown-M', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

.hero-distrib-name {
  font-family: 'Brown-L', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ── Dates ──────────────────────────────────────────────── */
.hero-dates {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-date-item {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero-date-value {
  font-family: 'Brown-M', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.hero-date-lieu {
  font-family: 'Brown-L', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.3;
  font-weight: 700;
}

/* ── Titre + compagnie : absolu en bas à droite ─── */
.hero-title-area {
  position: absolute;
  top: 40px;
  left: 40px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: fit-content;
  max-width: 400px;
  transition: opacity 0.35s ease;
  overflow: visible;
}

.hero-stack-company {
  font-family: 'Brown-M', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  align-self: flex-start;
  text-align: left;
}

.hero-stack-company span {
  display: inline-block;
  color: #000;
  background: var(--home-bg-color);
  /* border: 1px solid #000; */
  padding: 4px 12px 4px 12px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hero-stack-title {
  font-family: 'Brown-M', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: left;
  word-break: break-word;
  width: 100%;
  box-sizing: border-box;
}

.hero-stack-title span {
  display: inline;
  color: #000;
  background: var(--home-bg-color);
  /* border: 1px solid #000; */
  padding: 4px 24px 4px 20px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* ── Menu de scroll rapide ─────────────────────────────── */
.hero-scroll-menu {
  position: absolute;
  bottom: 28px;
  left: 28px;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.hero-scroll-menu a {
  font-family: 'Brown-M', sans-serif;
  font-size: 14px;
  text-transform: lowercase;
  color: #000;
  text-decoration: none;
  transition: transform 0.3s ease;
  display: inline-block;
}

.hero-scroll-menu a:hover {
  opacity: 1;
  transform: translateX(5px);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    min-height: auto;
  }
  .hero-col--stack {
    grid-column: 1;
    grid-row: 1;
    min-height: 55vw;
  }
  .hero-col--info {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--home-accent-color);
    padding: 20px;
  }
  .hero-title-area {
    width: clamp(300px, 90vw, 100%);
    right: 0;
  }
  .hero-stack-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
  }
}

@media (max-width: 560px) {
  .hero-title-area {
    width: 100%;
  }
  .hero-stack-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }
}


/* ═══════════════════════════════════════════════════════════════════════════
   SECTION 2 – BANDEAU MENU (fond noir)
   ═══════════════════════════════════════════════════════════════════════════ */

.bandeau-menu {
  width: auto;
  color: #000;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 15;
  background-color: var(--home-bg-color);
  /*
  background-color: #000;*/
}

.bandeau-menu-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 0px 10px;
  height: var(--header-height);
  border-bottom: 1px solid #000;
  transition: border-color 0.3s ease;
}

.bandeau-menu.is-stuck .bandeau-menu-inner {
  border-bottom-color: #000;
}

.bandeau-menu.is-stuck {
  margin-left: -10px;
  margin-right: -10px;
  padding-left: 10px;
  padding-right: 10px;
}

/* ── ZONE GAUCHE : Logo + 2 lignes ──────────────────────── */
.bandeau-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-self: start;
}

.bandeau-text-lines {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.covoiturage-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.covoiturage-logo {
    max-width: 70px;
}

.covoiturage-icon {
    width: 100%;
    height: 100%;
}

.text-line {
  font-family: 'Brown-M', sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

/* ── ZONE CENTRE : Bouton Billetterie (centré absolu) ──────── */
.bandeau-center {
  justify-self: center;
}

.billetterie-button {
  /*display: inline-block;*/
  color: #fff;
  font-family: 'Brown-M', sans-serif;
  /*letter-spacing: 0.12em;*/
  /*text-transform: uppercase;*/
  /*padding: 0.75rem 2rem;*/
  cursor: pointer;
  text-decoration: none;
  /*border: 2px solid #000;*/
}

.billetterie-button:hover,
.billetterie-button:focus-visible {
  /*background: #fff;*/
  color: #000;
  transform: scale(1.05);
  outline: none;
}

/* ── ZONE DROITE : Horaires ──────────────────────────────── */
.bandeau-right {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  justify-self: end;
  text-align: right;
}

.horaires-line {
  font-family: 'Brown-L', sans-serif;
  font-size: 14px;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.horaires-label {
  font-family: 'Brown-M', sans-serif;
  text-transform: uppercase;
}

.horaires-value {
  font-family: 'Brown-L', sans-serif;
}

.bandeau-titre,
.bandeau-nav {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: auto;
}

.bandeau-menu.is-stuck .bandeau-titre,
.bandeau-menu.is-stuck .bandeau-nav {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Logo dans le bandeau ─────────────────────────────────── */
.bandeau-logo {
  flex-shrink: 0;
  display: block;
}

.bandeau-logo a {
  display: block;
  line-height: 0;
}

.bandeau-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
}



@media (max-width: 640px) {
  .bandeau-menu-inner {
    margin: 0 1rem;
    padding: 0.5rem 0;
  }

  .bandeau-left {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .billetterie-button {
    font-size: 14px;
    padding: 0.5rem 1.5rem;
  }
  
  .text-line {
    font-size: 10px;
  }
  
  .horaires-line {
    font-size: 10px;
  }

  .bandeau-menu.is-stuck .bandeau-text-lines {
    display: none;
  }

  .covoiturage-logo {
    display: none;
  }
}

/* ── Interactive Blob Gradient Blocks (from home-sandbox-3) ── */
@keyframes blob-move-circle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes blob-move-vertical {
    0% { transform: translateY(-50%); }
    50% { transform: translateY(50%); }
    100% { transform: translateY(-50%); }
}

@keyframes blob-move-horizontal {
    0% { transform: translateX(-50%) translateY(-10%); }
    50% { transform: translateX(50%) translateY(10%); }
    100% { transform: translateX(-50%) translateY(-10%); }
}

.blob-gradient-block {
    position: relative;
    width: 100%;
    min-height: var(--blob-height, 520px);
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(40deg, var(--color-bg1, #ffffff), var(--color-bg2, #ffffff));
    color: var(--blob-text-color, #fff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blob-gradient-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.blob-filter-defs {
    position: absolute;
    width: 0;
    height: 0;
}

.blob-gradients {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.blob-gradients .blob {
    position: absolute;
    mix-blend-mode: var(--blob-blend, hard-light);
    opacity: 1;
}

.blob-gradients .g1,
.blob-gradients .g2,
.blob-gradients .g3,
.blob-gradients .g4,
.blob-gradients .g5 {
    width: var(--blob-circle-size, 80%);
    height: var(--blob-circle-size, 80%);
    top: calc(50% - (var(--blob-circle-size, 80%) / 2));
    left: calc(50% - (var(--blob-circle-size, 80%) / 2));
}

.blob-gradients .g1 {
    background: radial-gradient(circle at center, rgba(var(--blob-color1, 18, 113, 255), 0.8) 0, rgba(var(--blob-color1, 18, 113, 255), 0) 50%) no-repeat;
    transform-origin: center center;
    animation: blob-move-vertical 30s ease infinite;
}

.blob-gradients .g2 {
    background: radial-gradient(circle at center, rgba(var(--blob-color2, 221, 74, 255), 0.8) 0, rgba(var(--blob-color2, 221, 74, 255), 0) 50%) no-repeat;
    transform-origin: calc(50% - 400px) center;
    animation: blob-move-circle 20s reverse infinite;
}

.blob-gradients .g3 {
    background: radial-gradient(circle at center, rgba(var(--blob-color3, 100, 220, 255), 0.8) 0, rgba(var(--blob-color3, 100, 220, 255), 0) 50%) no-repeat;
    top: calc(50% - (var(--blob-circle-size, 80%) / 2) + 200px);
    left: calc(50% - (var(--blob-circle-size, 80%) / 2) - 500px);
    transform-origin: calc(50% + 400px) center;
    animation: blob-move-circle 40s linear infinite;
}

.blob-gradients .g4 {
    background: radial-gradient(circle at center, rgba(var(--blob-color4, 200, 50, 50), 0.8) 0, rgba(var(--blob-color4, 200, 50, 50), 0) 50%) no-repeat;
    transform-origin: calc(50% - 200px) center;
    animation: blob-move-horizontal 40s ease infinite;
    opacity: 0.7;
}

.blob-gradients .g5 {
    background: radial-gradient(circle at center, rgba(var(--blob-color5, 180, 180, 50), 0.8) 0, rgba(var(--blob-color5, 180, 180, 50), 0) 50%) no-repeat;
    width: calc(var(--blob-circle-size, 80%) * 2);
    height: calc(var(--blob-circle-size, 80%) * 2);
    top: calc(50% - var(--blob-circle-size, 80%));
    left: calc(50% - var(--blob-circle-size, 80%));
    transform-origin: calc(50% - 800px) calc(50% + 200px);
    animation: blob-move-circle 20s ease infinite;
}

.blob-gradients .interactive {
    background: radial-gradient(circle at center, rgba(var(--blob-interactive, 140, 100, 255), 0.8) 0, rgba(var(--blob-interactive, 140, 100, 255), 0) 50%) no-repeat;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    opacity: 0.7;
    will-change: transform;
}

/* ── SECTION INFO GRID BANDEAU ── */
.info-grid-bandeau {
  background: #f6f6f6;
  padding: 0;
  margin: 120px 0;
  width: 100%;
}

.info-grid-inner {
  max-width: 100%;
  margin: 0;
}

.info-grid-row {
  display: flex;
  width: 100%;
  gap: 0;
}

/* Chaque colonne = style spectacle-card-vertical */
.info-grid-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 60px 40px 40px 40px;
  box-sizing: border-box;
}

/*
.info-grid-col:not(:last-child) {
  border-right: 1px solid #000;
}*/

/* Wrapper interne — le trait est ici pour rester dans le content box */
.info-block-grid {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-top: 1px solid var(--season-2627-blue-2);
}

/* Titre : très grand, condensé, uppercase — style card-title */
.info-block-title {
  font-family: 'Brown-M', sans-serif;
  font-size: 32px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 60px;
  margin-top: 20px;
}

/* Corps de texte — style card-short-intro */
.info-block-text {
  font-family: 'Brown-L', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: #232323;
  max-width: 100%;
}

.info-block-text p {
  margin: 0;
}

/* Lien "en savoir plus" discret en bas */
.info-block-link {
  margin-top: auto;
  font-family: 'Brown-M', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s;
  color: #232323;
}

.info-block-link:hover {
  opacity: 0.6;
}

.info-block-link .arrow {
  text-decoration: none;
  display: inline-block;
}

@media screen and (max-width: 1024px) {
  .info-grid-row {
    flex-direction: column;
    gap: 0;
  }

  .info-grid-col {
    padding: 20px 30px 40px 30px;
    border-right: none !important;
    border-bottom: 1px solid #000;
  }

  .info-grid-col:last-child {
    border-bottom: none;
  }

  .info-block-title {
    font-size: 40px;
    margin-bottom: 30px;
  }
}

/* ── SECTION 5 : CONTENU VERTICAL (Style home-5 / curated-layout-area) ── */

.home-layout-row--vertical-style {
    padding-top: 40px;
    margin-bottom: 0;
    position: relative;
}

.home-layout-row--vertical-style .home-layout-row-inner {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    /* Augmenté pour éviter les débordements de contenu */
    grid-auto-rows: minmax(220px, auto);
    gap: 40px; /* Plus d'espace pour les filets aérés */
}

.home-layout-row--vertical-style .home-layout-row-inner:first-child {
    padding-top: 0;
}

/* Réduction de la taille du texte pour les lignes verticales */
.home-layout-row--vertical-style .affiche-row__title {
    font-size: 2rem;
    line-height: 1;
}

.home-layout-row--vertical-style .affiche-row__company {
    font-size: 0.8rem;
    margin-bottom: 5px;
}


.home-layout-row--vertical-style .affiche-row__photo {
    /*width: 180px; */
}

.home-layout-row--vertical-style .affiche-row {
    grid-template-columns: 1fr 180px 180px;
}

.home-layout-row--vertical-style .home-layout-col {
    display: flex;
    flex-direction: column;
    overflow: visible; /* Changé de hidden pour voir les pseudo-filets */
    background-color: transparent;
    min-height: 0;
    position: relative;
}

/* Filet vertical entre les colonnes */
.home-layout-row--vertical-style .home-layout-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    right: -20px; /* Centré dans le gap de 40px : -20px = moitié du gap */
    width: 1px;
    background-color: black;
}

/* Filet horizontal entre les rangées */
.home-layout-row--vertical-style:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0px; /* Padding 40px + 5px */
    right: 0px;
    bottom: -20px; /* Centré dans le gap de 40px : 20px padding-bottom inner + 20px padding-top row suivante */
    height: 1px;
    background-color: black;
}

.home-layout-row--vertical-style .home-layout-col--1\/1 { grid-column: span 12; }
.home-layout-row--vertical-style .home-layout-col--1\/2 { grid-column: span 6; }
.home-layout-row--vertical-style .home-layout-col--1\/3 { grid-column: span 4; }
.home-layout-row--vertical-style .home-layout-col--2\/3 { grid-column: span 8; }
.home-layout-row--vertical-style .home-layout-col--1\/4 { grid-column: span 3; }
.home-layout-row--vertical-style .home-layout-col--3\/4 { grid-column: span 9; }
.home-layout-row--vertical-style .home-layout-col--1\/6 { grid-column: span 2; }
.home-layout-row--vertical-style .home-layout-col--2\/6 { grid-column: span 4; }

/* Tous les blocs enfants remplissent la cellule, sans min-height rigide */
.home-layout-row--vertical-style .home-layout-col > * {
    height: 100%;
    min-height: 0;
}

.home-layout-row--vertical-style .spectacle-highlight,
.home-layout-row--vertical-style .spectacle-highlight-block,
.home-layout-row--vertical-style .eventrp-highlight,
.home-layout-row--vertical-style .page-highlight,
.home-layout-row--vertical-style .home-text-block,
.home-layout-row--vertical-style .home-block--spectacle-text,
.home-layout-row--vertical-style .home-block--eventrp-text {
    height: 100%;
    overflow: hidden;
    /* Écrase les valeurs globales qui forcent le bloc hors de la cellule */
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box;
    border: none !important;
    position: relative;
}

/* Filet horizontal entre deux blocs empilés dans une même colonne */
.home-layout-row--vertical-style .home-layout-col > * + *::before {
    content: "";
    position: absolute;
    top: -30px; /* Centré dans le gap (si on en met un, mais ici ils sont collés ? non, le gap grid s'applique aux lignes aussi) */
    left: 5px;
    right: 5px;
    height: 1px;
    background-color: black;
}

/* Note: Si les blocs sont empilés via Flexbox dans la colonne et non via Grid, 
   le gap de la grid ne s'applique pas entre eux. 
   On va s'assurer qu'il y a de l'espace. */
.home-layout-row--vertical-style .home-layout-col > * + * {
    margin-top: 60px;
    overflow: visible !important;
}

/* Bloc Texte Spectacle */
.home-layout-row--vertical-style .home-block--spectacle-text,
.home-layout-row--vertical-style .home-block--spectacle-text--sandbox-2,
.home-layout-row--vertical-style .home-block--eventrp-text {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
}

.home-layout-row--vertical-style .home-block-spectacle-text-inner,
.home-layout-row--vertical-style .home-block-eventrp-text-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
    height: 100% !important;
    width: 100% !important;
    overflow-y: auto;
    box-sizing: border-box !important;
}

.home-layout-row--vertical-style .home-block-spectacle-text-inner .spectacle-text-header,
.home-layout-row--vertical-style .home-block-spectacle-text-inner .spectacle-text-body,
.home-layout-row--vertical-style .home-block-spectacle-text-inner .spectacle-text-footer {
    width: 100% !important;
    flex-shrink: 0 !important;
}

.home-layout-row--vertical-style .spectacle-text-dates-wrapper {
    flex-direction: column !important;
    gap: 10px !important;
}

.home-layout-row--vertical-style .spectacle-short-description {
    opacity: 1 !important;
    margin-bottom: 10px !important;
    font-family: 'Brown-L' !important;
}

.affiche-row__short-description {
    font-family: 'Brown-L' !important;
        font-size: 1rem !important;
    line-height: 1.5 !important;
}

/* Bloc Image Spectacle (Carousel) */
.home-layout-row--vertical-style .home-block--spectacle-image,
.home-layout-row--vertical-style .home-block--spectacle-image--sandbox-2 {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
}

.home-layout-row--vertical-style .home-block-spectacle-image-inner {
    width: 100% !important;
    position: relative !important;
}

.home-layout-row--vertical-style .spectacle-image-caption {
    width: 100% !important;
    left: 0 !important;
    bottom: 0 !important;
    padding: 12px 12px 8px !important;
    background: #000 !important;
    text-align: center !important;
    color: #fff !important;
    font-family: 'Brown-M', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    box-sizing: border-box;
}

.spectacle-image-caption-rp {
    position: absolute;
    width: 100% !important;
    left: 0 !important;
    bottom: 0 !important;
    padding: 10px 10px 8px !important;
    background: #000 !important;
    text-align: center !important;
    color: #fff !important;
    font-family: 'Brown-M', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    box-sizing: border-box;
    opacity: 1 !important;
}

.home-layout-row--vertical-style .spectacle-image-carousel {
    position: absolute !important;
    inset: 0 !important;
}

.home-layout-row--vertical-style .spectacle-image-slide {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
    transition: opacity 0.6s ease;
}

.home-layout-row--vertical-style .spectacle-image-slide.is-active {
    opacity: 1 !important;
}

.home-layout-row--vertical-style .spectacle-image-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.home-layout-row--vertical-style .spectacle-image-info-box {
    padding: 20px !important;
    flex: 1 !important;
    overflow-y: auto !important;
    box-sizing: border-box;
}

.info-box-desc p {
    font-family: 'Brown-L';
    font-size: 0.85rem;
    text-align: center;
    line-height: 1;
    margin-top: 10px;
}

.comment-box p {
    text-transform: uppercase;
        font-size: 1.1rem;
        text-align: center;
}

/* Texte libre : même traitement */
.home-layout-row--vertical-style .home-text-block {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.home-layout-row--vertical-style .home-text-block-inner {
    overflow: hidden;
    flex: 1;
    min-height: 0;       /* indispensable : permet à flex de réduire sous le contenu */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-size: 0.95rem;
    line-height: 1.5;
    box-sizing: border-box;
}

/* Séparateur entre rangées */
.home-layout-row--vertical-style + .home-layout-row--vertical-style .home-layout-row-inner {
    margin-top: 0; /* géré par le gap noir */
}

/* ── VERTICAL CARDS (SECTION 5) ── */
.vertical-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.vertical-card-inner {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Block 1 & 3: Titles & Header */
.vertical-card .card-company {
    font-family: 'Brown-M', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: block;
}

.vertical-card .card-title {
    font-family: 'Brown-M', sans-serif;
    font-size: 3rem;
    line-height: 1;
    margin: 0 0 40px 0;
    text-transform: none;
}

/* Block 1: Dates grouped by month */
.card-dates-section {
    margin-top: auto;
}

.month-row {
    display: flex;
    margin-bottom: 15px;
    font-family: 'Brown-M', sans-serif;
    font-size: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
}

.month-label {
    width: 150px;
    flex-shrink: 0;
}

.dates-list {
    flex: 1;
}

/* Block 2: Tariffs */
.card-header-title {
    font-family: 'Brown-M', sans-serif;
    font-size: 2.5rem;
    margin: 0 0 30px 0;
    letter-spacing: 0.05em;
}

.vertical-tarif-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    font-family: 'Brown-M', sans-serif;
}

.vertical-tarif-table th {
    text-align: left;
    padding: 10px 0;
    border-bottom: 1px solid currentColor;
    font-size: 0.9rem;
    opacity: 0.8;
}

.vertical-tarif-table td {
    padding: 12px 0;
    font-size: 1.1rem;
}

.vertical-tarif-table th:not(:first-child),
.vertical-tarif-table td:not(:first-child) {
    text-align: right;
    width: 50px;
}

.tarif-notes {
    margin-top: auto;
}

.note-item {
    margin-bottom: 20px;
}

.note-title {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.note-text {
    font-family: 'Brown-L', sans-serif;
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Block 3: Spectacle with image overlay */
.vertical-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.vertical-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.6) 100%);
    color: #fff;
}

.card-tags {
    display: flex;
    gap: 10px;
    margin-bottom: auto;
}

.tag-pill {
    background: #000;
    color: #fff;
    padding: 4px 8px;
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.media-title {
    font-family: 'Brown-M', sans-serif;
    font-size: 2.5rem;
    line-height: 0.9;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
}

.card-info-top {
    margin-bottom: 20px;
}

.card-title-small {
    font-family: 'Brown-M', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-dates-simple {
    font-family: 'Brown-M', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.card-description {
    font-family: 'Brown-L', sans-serif;
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 20px;
}

.card-distribution {
    font-family: 'Brown-M', sans-serif;
    font-size: 1rem;
    line-height: 1.3;
}

.dist-item .role {
    opacity: 0.8;
}

/* ── Agenda Month Separator ── */
.agenda-month-separator {
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0px 0 10px 0;
    overflow: visible;
    user-select: none;
    width: 100%;
    position: relative;
    border-top: 1px solid black;
    padding-top: 8px ;
}

.agenda-month-separator:first-child {
    border-top: none;
    padding-top: 10px;
}

.agenda-month-separator::before,
.agenda-month-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #000;
}

.home-section-separator::before,
.home-section-separator::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #000;
}

.agenda-month-separator .month-name {
    font-family: 'XanhI', sans-serif;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    text-transform: lowercase;
    text-shadow: rgba(0, 135, 207, 0.9) 0px 0px 12px; 
}

.agenda-month-separator .month-signes {
    /*display: flex;*/
    display: none;
    align-items: center;
    gap: 16px;
    height: 100%;
    overflow: hidden;
}

.agenda-month-separator .month-signes svg {
    height: 25px;
    width: auto;
}

.agenda-month-separator .month-signes svg path,
.agenda-month-separator .month-signes svg circle,
.agenda-month-separator .month-signes svg rect,
.agenda-month-separator .month-signes svg polygon,
.home-section-separator .separator-signes svg path,
.home-section-separator .separator-signes svg circle,
.home-section-separator .separator-signes svg rect,
.home-section-separator .separator-signes svg polygon {
    stroke: #000;
    stroke-width: 2.5px;
}

/* ── Main Section Separator ── */
.home-section-separator {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 40px 15px;
    /*text-transform: lowercase;
    font-family: 'XanhI', sans-serif;
    font-size: 2.2rem;*/
    position: relative;
    user-select: none;
    box-sizing: border-box;
    padding: 0 40px;
    /*text-shadow: rgba(0, 135, 207, 0.9) 0px 0px 12px;*/
    border-top: 1px solid black;
    border-bottom: 1px solid black;

    font-size: 1.8rem;
    text-transform: uppercase;
        line-height: var(--home-line-height-normal);
    text-align: center;
    letter-spacing: 1.5px;
}

.home-section-separator .separator-signes {
    /*display: flex;*/
    display: none;
    align-items: center;
    gap: 10px;
}

.home-section-separator .separator-signes svg {
    height: 35px;
    width: auto;
}

.home-section-separator .separator-signes svg path,
.home-section-separator .separator-signes svg circle,
.home-section-separator .separator-signes svg rect,
.home-section-separator .separator-signes svg polygon {
    stroke: #fff;
    stroke-width: 1.5px;
}




/* --- Upcoming Filters Tickers --- */
.upcoming-filters-tickers {
    margin: 10px 50px;
    background-color: var(--season-light-blue-1);
    font-family: monospace;
    font-size: 13px;
    position: relative;
    /* border: 1px solid black;*/
    padding: 10px
}

.upcoming-filters-tickers::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--home-bg-color));
    z-index: 1;
}

.filter-ticker-row {
    display: flex;
    align-items: stretch;
    /*border-top: 1px solid #000;  */
    height: 20px;
    position: relative;
}

.filter-ticker-row::after {
    content: none;
}

.filter-ticker-row .filter-label {
    width: 100px;
    min-width: 100px;
    display: flex;
    align-items: center;
    padding: 10px;
    text-transform: uppercase;
    font-weight: bold;
    border-right: 1px solid #000;
}

.filter-options-scroll {
    flex: 1;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none; /* Firefox */
}

.filter-options-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.filter-ticker-row .filter-options {
    display: flex;
    height: 100%;
}

.filter-ticker-row .filter-btn {
    padding: 0 10px;
    background: none;
    border: none;
    border-right: 1px solid rgba(0,0,0,0.7); /* Petit filet entre les items */
    cursor: pointer;
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
    transition: background 0.2s;
}

.filter-ticker-row .filter-btn:hover {
    background-color: rgba(0,0,0,0.05);
}

.filter-ticker-row .filter-btn.active {
    background-color: var(--season-light-blue-1); 
    color: #000;
    font-weight: bold;
}

@media (max-width: 768px) {
    .filter-ticker-row .filter-label {
        width: 80px;
        min-width: 80px;
        font-size: 11px;
    }
}



/* ════════════════════════════════════════════════════════════════
   STYLE DES PAGES INDIVIDUELS
   ════════════════════════════════════════════════════════════════ */

.content-container p strong {
    /*text-shadow: rgba(0, 135, 207, 0.9) 0px 1px 6px, rgba(0, 135, 207, 0.381) 0px 1px 8px;*/
    text-decoration: underline 1px;
        font-weight: normal;
}

.venir-hexagone .content-container,
.faq .content-container,
.cgu-cgv .content-container,
.mentions-legales .content-container,
.bar-de-lhexagone .content-container,
.handi-accueil .content-container,
.artistes-associes .content-container,
.programmation-edito .content-container,
.ressources .content-container,
.tarif-abonnement .content-container,
.information-experimenta .content-container {
    padding: 0px 65px;
    margin: 80px 0px;
    font-size: 1.3rem;
    line-height: 1.5;
    max-width: 100%;
    font-family: 'Brown-L', sans-serif;

}

.ressource-section {
    margin-top: 40px;
}

.venir-hexagone .content-container p,
.faq .content-container p,
.cgu-cgv .content-container p,
.mentions-legales .content-container p,
.bar-de-lhexagone .content-container p,
.handi-accueil .content-container p,
.artistes-associes .content-container p,
.programmation-edito .content-container p,
.ressources .content-container p,
.tarif-abonnement .content-container p,
.information-experimenta .content-container p {
    margin-bottom: 15px;
line-height: 1.5;
font-size: 1rem;
    font-family: 'Brown-L', serif;
    /*color: var(--season-2627-blue-4);*/
}


.venir-hexagone .content-container h1,
.faq .content-container h1,
.cgu-cgv .content-container h1,
.mentions-legales .content-container h1,
.bar-de-lhexagone .content-container h1,
.handi-accueil .content-container h1,
.artistes-associes .content-container h1,
.programmation-edito .content-container h1,
.ressources .content-container h1,
.tarif-abonnement .content-container h1,
.information-experimenta .content-container h1 {
    font-family: 'Brown-M', sans-serif;
    font-size: 4.5rem;
    line-height: 0.95;
    text-transform: uppercase;
    margin-bottom: 75px;
    /*color: var(--season-2627-blue-4);*/
}


.faq .content-container h2,
.cgu-cgv .content-container h2,
.mentions-legales .content-container h2,
.handi-accueil .content-container h2,
.artistes-associes .content-container h2,
.programmation-edito .content-container h2,
.information-experimenta .content-container h2 {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.7rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 15px;
        margin-top: 15px;
    border-bottom: 1px solid black;
    width: 100%;
    /*text-shadow: rgba(0, 135, 207, 0.9) 0px 1px 6px; */

}

.tarif-abonnement .content-container h2{
    font-family: 'Brown-M', sans-serif;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 15px;

    text-align: left;
    vertical-align: middle;
    width: 100%; 
    color: #000;

}

.venir-hexagone .content-container h2 {
        font-family: 'Brown-M', sans-serif;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 1px solid black;
    text-align: left;
    vertical-align: middle;
    width: 100%; 
    color: #000;
    margin-top: 50px;
}


.venir-hexagone .content-container h5{
    /* position: absolute; */
    font-size: 1rem;
    /* top: 0; */
    /* right: 0; */
    /* margin-top: -120px; */
    /* margin-left: 100px; */
    text-transform: uppercase;
    font-family: 'Brown-M', sans-serif;
    color: white;
    width: 180px;
    background-color: #0088cf;
    transform: rotate(4deg);
    padding: 10px;
    margin-left: 60%;
        background-image: url(../img/AGENDA-BG-2.png) !important;
    box-shadow: rgba(0, 135, 207, 0.9) 0px 0px 5px;
    background-size: cover !important;
    background-repeat: round!important;
}

.tarif-abonnement .content-container h5 {   
        /* position: absolute; */
    font-size: 1rem;
    /* top: 0; */
    /* right: 0; */
    /* margin-top: -120px; */
    /* margin-left: 100px; */
    text-transform: uppercase;
    font-family: 'Brown-M', sans-serif;
    color: white;
    width: 180px;
    background-color: #0088cf;
    transform: rotate(-4deg);
    padding: 10px;
    margin-left: 20%;
    margin-bottom: 40px;
    margin-top: 20px;
        background-image: url(../img/AGENDA-BG-2.png) !important;
    box-shadow: rgba(0, 135, 207, 0.9) 0px 0px 5px;
    background-size: cover !important;
    background-repeat: round!important;
}

.venir-hexagone .content-container h4 {
    /* position: absolute; */
    font-size: 1.2rem;
    /* top: 0; */
    /* right: 0; */
    /* margin-top: -120px; */
    /* margin-left: 100px; */
    font-family: 'XanhI', sans-serif;
  
}


.bar-de-lhexagone .content-container h2 {
        font-family: 'Brown-M', sans-serif;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    border-bottom: 1px solid black;
    text-align: left;
    vertical-align: middle;
    width: 100%; 
    color: #000;
    margin-top: 50px;
}

.bar-de-lhexagone .content-container .label-print {
        font-family: 'Brown-M', sans-serif;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    border-bottom: 1px solid black;
    text-align: left;
    vertical-align: middle;
    width: 100%; 
    color: #000;
}

.ressources .content-container h2 {
    font-family: 'Brown-M', sans-serif;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 1px solid black;
    text-align: left;
    vertical-align: middle;
    width: 100%; 
    color: #000;
}

.ressources .content-container h3 {
    font-family: 'Brown-M', sans-serif;
    font-size: 1.4rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 15px;
    margin-top: 15px;
    width: 100%;
    text-align: center;
    /*text-shadow: rgba(0, 135, 207, 0.9) 0px 1px 6px;*/
}

.technique-acces .grid .column[data-span="4"] {
      /*      background-color:var(--season-2627-blue-3);
    background-image: url(../img/BACKGROUND-BLOB-2.png) !important;
background-size:  cover!important;
background-repeat:round !important; */
    background-image: url(../img/AGENDA-BG-2.png) !important;
    box-shadow: rgba(0, 135, 207, 0.9) 0px 0px 5px;
    background-size: cover !important;
    background-repeat: round!important;
    padding: 10px;
    box-shadow: rgba(0, 135, 207, 0.9) 0px 0px 5px;
    color: white; 
    margin-bottom: 20px;
}


.bar-de-lhexagone .content-container h2 {
    margin-top: 0 !important;
    min-height: 0;
}


.venir-hexagone .content-container h6,
.faq .content-container h6,
.cgu-cgv .content-container h6,
.mentions-legales .content-container h6,
.bar-de-lhexagone .content-container h6,
.handi-accueil .content-container h6,
.artistes-associes .content-container h6,
.programmation-edito .content-container h6,
.ressources .content-container h6,
.tarif-abonnement .content-container h6,
.information-experimenta .content-container h6 {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    user-select: none;
    box-sizing: border-box;
    font-size: 1.8rem;
    text-transform: uppercase;
    line-height: var(--home-line-height-normal);
    text-align: center;
    letter-spacing: 1.5px;
    gap: 30px;
    margin: 40px 15px;
    padding: 0px 40px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    font-family: 'Brown-M', sans-serif;
}

.content-container h6::before,
.content-container h6::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #000;
}

/*
.content-container h2,
.content-container h3,
.content-container h4 {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 2.2em;
}*/

.content-container h4 {
    font-family: 'Brown-M', sans-serif;
    font-size: 1.1rem;
    line-height: 0.9;
    margin-bottom: 15px;
}

.content-container ul {
    padding-left: 10px;
    margin-bottom: 15px;
    list-style: none;
}

.content-container li {
      position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
  line-height: 1.5;
  font-size: 1rem;
}

.content-container li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: currentColor;
}

.venir-hexagone .content-container h3,
.faq .content-container h3,
.cgu-cgv .content-container h3,
.mentions-legales .content-container h3,
.bar-de-lhexagone .content-container h3,
.handi-accueil .content-container h3,
.artistes-associes .content-container h3,
.programmation-edito .content-container h3,
.tarif-abonnement .content-container h3,
.information-experimenta .content-container h3 {
    font-family: 'Brown-M', sans-serif;
    font-size: 1.4rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 15px;
        margin-top: 15px;
    width: 100%;
    border-bottom: 1px solid black;
    /*text-shadow: rgba(0, 135, 207, 0.9) 0px 1px 6px;*/
}

.ressources .content-container h4,
.ressources .content-container h5 {
    font-family: 'Brown-M', sans-serif;
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.ressources .content-container ol {
    padding-left: 20px;
    margin-bottom: 30px;
}

.ressources .content-container ol li {
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

/* FAQ ACCORDEON */

.faq-layout {

    margin: 40px 0px;
}


.faq .blocks h2 {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 2rem;
    font-size: 1rem;
}

.faq .blocks h2::after {
    content: '+';
    position: absolute;
    right: 0;
    top: -5px;
    font-family: 'Brown-M', sans-serif;
    /* font-size: 1.8rem; */
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq .blocks h2.is-open::after {
    content: '-';
}

.faq .blocks p,
.faq .blocks ul,
.faq .blocks ol {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
    opacity: 0;
    margin: 0 !important;
}

.faq .blocks p.is-visible,
.faq .blocks ul.is-visible,
.faq .blocks ol.is-visible {
    max-height: 1000px;
    opacity: 1;
    margin-bottom: 40px !important;
}

.faq .content-container h2 {
    display: block;
    min-height: auto;
}

/* LAYOUTS EN GRILLES */
.venir-hexagone-layout .grid,
.faq .grid,
.cgu-cgv .grid,
.mentions-legales .grid,
.bar-de-lhexagone .grid,
.handi-accueil .grid,
.artistes-associes .grid,
.programmation-edito .grid,
.ressources .grid,
.information-experimenta .grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px;
  width: 100%;
}

.faq .grid,
.cgu-cgv .grid,
.mentions-legales .grid,
.bar-de-lhexagone .grid,
.handi-accueil .grid,
.artistes-associes .grid,
.programmation-edito .grid,
.information-experimenta .grid {
    margin-bottom: 40px;
}

.venir-hexagone-layout .column[data-span="12"],
.faq .column[data-span="12"],
.cgu-cgv .column[data-span="12"],
.mentions-legales .column[data-span="12"],
.bar-de-lhexagone .column[data-span="12"],
.handi-accueil .column[data-span="12"],
.artistes-associes .column[data-span="12"],
.programmation-edito .column[data-span="12"],
.ressources .column[data-span="12"],
.information-experimenta .column[data-span="12"] {
  grid-column: span 12;
}

.venir-hexagone-layout .column[data-span="6"],
.faq .column[data-span="6"],
.cgu-cgv .column[data-span="6"],
.mentions-legales .column[data-span="6"],
.bar-de-lhexagone .column[data-span="6"],
.handi-accueil .column[data-span="6"],
.artistes-associes .column[data-span="6"],
.programmation-edito .column[data-span="6"],
.ressources .column[data-span="6"],
.information-experimenta .column[data-span="6"] {
  grid-column: span 6;
}

.venir-hexagone-layout .column[data-span="8"],
.faq .column[data-span="8"],
.cgu-cgv .column[data-span="8"],
.mentions-legales .column[data-span="8"],
.bar-de-lhexagone .column[data-span="8"],
.handi-accueil .column[data-span="8"],
.artistes-associes .column[data-span="8"],
.programmation-edito .column[data-span="8"],
.ressources .column[data-span="8"],
.information-experimenta .column[data-span="8"] {
  grid-column: span 8;
}

.venir-hexagone-layout .column[data-span="4"],
.faq .column[data-span="4"],
.cgu-cgv .column[data-span="4"],
.mentions-legales .column[data-span="4"],
.bar-de-lhexagone .column[data-span="4"],
.handi-accueil .column[data-span="4"],
.artistes-associes .column[data-span="4"],
.programmation-edito .column[data-span="4"],
.ressources .column[data-span="4"],
.information-experimenta .column[data-span="4"] {
  grid-column: span 4;
}

/* ── RESSOURCE DOCUMENTS (PDF list) ── */
.ressource-documents-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ressource-documents-list li {
  margin: 0;
}

.ressource-documents-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}

.ressource-documents-link:hover {
  text-decoration: underline;
}

.ressource-documents-icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TARIF PAGE (child of home-sandbox-curated-vertical) — style comme venir-hexagone
   ═══════════════════════════════════════════════════════════════════════════════ */

.tarif .tarif-container {
    padding: 0px 60px;
    margin-top: 60px;
}

.tarif .tarif-container h1 {
    font-family: 'Brown-M', sans-serif;
    font-size: 3rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 45px;
}

.tarif .tarif-container h2 {
    font-family: 'Brown-M', sans-serif;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 1px solid black;
}

.tarif .tarif-container h3 {
    font-family: 'Brown-M', sans-serif;
    font-size: 1.4rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.tarif .tarif-grid {
  margin-bottom: 60px;
}

.tarif-grid-table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  width: 100%;
}

.tarif-grid-row {
  display: contents;
}

.tarif-grid-cell {
  padding: 5px 0px;
  /*border-bottom: 1px solid #ddd;*/
  font-size: 1rem;
}

.tarif-grid-header :nth-child(2) {
background-color: var(--season-2627-blue-1);
}

.tarif-grid-header :nth-child(3) {
background-color: var(--season-2627-blue-3);
}

.tarif-grid-header :nth-child(4) {
background-color: var(--season-2627-blue-4);
}

.tarif-grid-header .tarif-grid-cell {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border-bottom: none;
    /* padding: 16px 15px; */
    margin: 10px 30px;
    color: white;
}

.tarif-grid-cell--label {
  font-family: 'Brown-M', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.tarif-grid-cell--colhead {
  text-align: center;
}

.tarif-grid-cell--price {
  text-align: center;
  font-family: 'Brown-M', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PLANCHE HORAIRES PAGE — même typo et grille que la page tarifs
   ═══════════════════════════════════════════════════════════════════════════════ */

.planche-horaires-page {
    padding: 0px 60px;
    margin-top: 60px;
}

.planche-horaires-page h1 {
    font-family: 'Brown-M', sans-serif;
    font-size: 3rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 45px;
}

.planche-horaires-page h2 {
    font-family: 'Brown-M', sans-serif;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 15px;
    border-bottom: 1px solid black;
}

.horaires-section {
    margin-bottom: 60px;
}

.horaires-grid-table {
    display: grid;
    grid-template-columns: auto 1fr;
    width: 100%;
}

.horaires-grid-row {
    display: contents;
}

.horaires-grid-cell {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    font-size: 0.95rem;
}

.horaires-grid-header .horaires-grid-cell {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    border-bottom: 2px solid #000;
    padding: 16px 15px;
}

.horaires-grid-cell--label {
    font-family: 'Brown-M', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.horaires-grid-cell--hours {
    font-family: 'Brown-L', sans-serif;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CURATED LAYOUT AREA — Mise en page des blocs selon la largeur de colonne
   Scope : .curated-layout-area uniquement
   Blocs concernés : spectacle (affiche-row), eventrp, page
   Layouts :
     1/3  → Carte verticale    : image en haut, texte en bas
     2/3  → Layout horizontal  : image gauche, texte droite
     1/1  → Ligne complète     : image gauche fixe, texte droite (pleine largeur)
   ═══════════════════════════════════════════════════════════════════════════ */


/* ── BASE : tous les blocs remplissent bien leur cellule ── */
.curated-layout-area .home-layout-col > .affiche-row,
.curated-layout-area .home-layout-col > .spectacle-highlight-block {
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
}


/* ════════════════════════════════════════════════════════════════
   COLONNE 1/3 — Carte verticale (image en haut, texte en bas)
   ════════════════════════════════════════════════════════════════ */

/* affiche-row → flex colonne */
.curated-layout-area .home-layout-col--1\/3 .affiche-row {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    overflow: hidden;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* ── Image : ratio 3/2 ── */
.curated-layout-area .home-layout-col--1\/3 .affiche-row__photo--1 {
    width: 100% !important;
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
    border-left: none !important;
    flex-shrink: 0;
    overflow: hidden;
}
.curated-layout-area .home-layout-col--1\/3 .affiche-row__photo--1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.curated-layout-area .home-layout-col--1\/3 .affiche-row:hover .affiche-row__photo--1 img {
    transform: scale(1.03);
}

/* Deuxième photo : masquée en 1/3 */
.curated-layout-area .home-layout-col--1\/3 .affiche-row__photo--2 {
    display: none !important;
}

/* ── Zone texte ── */
.curated-layout-area .home-layout-col--1\/3 .affiche-row__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
   /* border-top: 1px solid var(--home-accent-color); */
}

/* Compagnie */
.curated-layout-area .home-layout-col--1\/3 .affiche-row__company {
    font-family: 'Brown-M', sans-serif !important;
    font-size: 0.75rem !important;

    /*text-transform: uppercase !important;
    letter-spacing: 0.1em !important;*/
    margin-bottom: 3px !important;
}

/* Titre proportionné */
.curated-layout-area .home-layout-col--1\/3 .affiche-row__title {
    font-family: 'Brown-M', sans-serif !important;
    font-size: clamp(1rem, 1.5vw, 1.4rem) !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
}

/* Méta-infos (durée, âge) */
.curated-layout-area .home-layout-col--1\/3 .affiche-row__meta-left {
    gap: 8px;
}
.curated-layout-area .home-layout-col--1\/3 .affiche-row__meta-item {
    font-size: 0.62rem !important;
    opacity: 0.5;
}

/* Date façon agenda : taille réduite */
.curated-layout-area .home-layout-col--1\/3 .affiche-row__date-numeric {
    font-size: 1.2rem !important;
}
.curated-layout-area .home-layout-col--1\/3 .affiche-row__date-day,
.curated-layout-area .home-layout-col--1\/3 .affiche-row__date-year,
.curated-layout-area .home-layout-col--1\/3 .affiche-row__date-time,
.curated-layout-area .home-layout-col--1\/3 .affiche-row__date-more {
    font-size: 0.6rem !important;
}

/* Tags dans le bottom */
.curated-layout-area .home-layout-col--1\/3 .affiche-row__tags {
    margin-bottom: 4px;
}
.curated-layout-area .home-layout-col--1\/3 .affiche-row__tag {
    font-size: 0.6rem !important;
}

/* ── spectacle-highlight-block (eventrp / page) → carte verticale ── */
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-link {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Image : même ratio que l'affiche-row */
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-media {
    width: 100% !important;
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
        min-height: 160px !important;
    max-height: 550px !important;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    /*background: #111;*/
}
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-media img {
    width: 100%;
    height: 100%;
    min-height: 300px !important;
    max-height: 550px !important;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-link:hover .spectacle-highlight-media img {
    transform: scale(1.03);
}

/* Titre dans l'image : overlay bas */
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 12px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    z-index: 4;
}
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-image-title h3 {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.15;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* ── Contenu texte ── */
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-content {
    flex: 1;
    /*padding: 12px 14px !important;*/
    margin-top: 12px !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
}

/* Surtitre (petit nom répété) */
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-small-title,
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-title {
    font-family: 'Brown-M', sans-serif;
    font-size: clamp(1.4rem, 1.4vw, 1.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    margin: 0;
    /*text-align: center;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding: 5px 0px;*/
}

/* Dates */
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-meta {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-meta .meta-date {
    opacity: 1;
}


/* Description : 2 lignes max */
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Brown-L', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    padding-top: 12px;
    border-top: 1px solid black;
}

.soiree-double-spectacles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.soiree-double-spectacle-item {
  padding: 20px 0px 40px 0px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border-bottom: 1px solid #000;
}

.soiree-double-spectacle-item .viewer-body-right-distrib {
  flex: 1;
  min-height: auto;
  flex-wrap: wrap;
  min-width: 0;
  gap: 20px;
  flex-direction: row;
}

.spectacle-item-booking {
    position: relative;
    width: fit-content;
    white-space: nowrap;
    height: auto;
    border: 1px solid black;
    background-color: var(--home-bg-color);
    padding: 5px 10px;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    pointer-events: auto;
}

.spectacle-item-title {
  font-family: 'Brown-M', sans-serif;
  font-size: 2.2rem;
  text-transform: uppercase;
  margin: 0;

}

.spectacle-item-company {
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: bold;
  margin: 5px 0 0 0;
}

.spectacle-item-header {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-direction: column;
}

.spectacle-item-header-left {
  flex: 1;
}

.spectacle-item-header-right {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 20px;
}

.spectacle-item-date {
  font-family: 'Brown-M', sans-serif;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

.date-day-number {
  font-size: 1.2rem;
  font-weight: bold;
}

.date-month-sup {
  font-size: 0.7rem;
  vertical-align: super;
}

.spectacle-item-presentation {
    font-size: 1.3rem;
    line-height: 1.5;
    font-family: 'Brown-L', sans-serif;
}

.spectacle-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  gap: 10px;
  margin-bottom: 20px;
}

.spectacle-image-item {
  position: relative;
}

.spectacle-image-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.spectacle-image-caption,
.gallery-item-caption {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: var(--home-bg-color);
  border: 1px solid #000;
  padding: 4px 8px;
  font-size: 0.7rem;
  font-family: 'Brown-M', sans-serif;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Lien eventrp 
.curated-layout-area .home-layout-col--1\/3 .eventrp-linked {
    font-size: 0.72rem;
    opacity: 0.65;
}*/

/* Footer (tags pills) : colle en bas */
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 8px;
    /*border-top: 1px solid var(--home-accent-color);*/
    margin-top: auto;
}
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-footer .footer-info,
.curated-layout-area .home-layout-col--1\/3 .tag-pill {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.62rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 7px !important;
    background: #000 !important;
    color: #fff !important;
}

.footer-info-page-h {
    background: var(--home-bg-color) !important;
    color: #000 !important;
    border: 1px solid black;
    padding: 3px 5px !important;
    border: none !important;
}


/* ════════════════════════════════════════════════════════════════
   COLONNE 2/3 — Layout horizontal large
   spectacle → affiche-row--large
   eventrp / page → image gauche, texte droite
   ════════════════════════════════════════════════════════════════ */


.home-block--eventsrp {
    height: 100%;
}

.home-block--eventsrp .eventsrp-header {
    font-family: 'Brown-M';
    text-align: center;

}

.eventsrp-item {
        font-family: 'Brown-L';
    text-align: center;
}

/* spectacle-highlight-block (eventrp / page) → row horizontale */
.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-link {
    display: flex !important;
    flex-direction: row !important;
    height: 100%;
    min-height: 320px;
    text-decoration: none;
    color: inherit;
}

.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-media {
    width: 50% !important;
    height: 100% !important;
    min-height: 320px !important;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    /*background: #111;*/
}
.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Titre dans l'image : positionné en bas à gauche */
.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-image-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    z-index: 4;
}
.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-image-title h3 {
    margin: 0;
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
    font-weight: 700;
}

.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-content {
    flex: 1;
    /*padding: 28px 32px !important;*/
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    border-left: 1px solid var(--home-accent-color);
}

/* Titres dans le contenu */
.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-small-title,
.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-title {
    font-family: 'Brown-M', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 12px;
}

/* Dates */
.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-meta {
    font-size: 1rem;
    line-height: 1.4;
}

/* Lien eventrp */
.curated-layout-area .home-layout-col--2\/3 .eventrp-linked {
    font-size: 0.82rem;
    margin-top: 8px;
    opacity: 0.7;
}

/* Description */
.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-desc {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid currentColor;
    opacity: 0.65;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-top: auto;
}

/* affiche-row--large dans curated 2/3 :
   layout : image en haut (proportion 16/9), zone texte en bas
   hiérarchie harmonisée : compagnie → titre → dates → description → tags */
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large {
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    overflow: hidden;
    border: none;
    text-decoration: none;
    color: inherit;
}

/* ── Image : ratio 16/9 sur la largeur disponible ── */
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .affiche-row__photo--1 {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    flex-shrink: 0;
    overflow: hidden;
    border-left: none !important;
}
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .affiche-row__photo--1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large:hover .affiche-row__photo--1 img {
    transform: scale(1.03);
}

/* ── Zone texte : flex colonne, padding homogène ── */
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .affiche-row__text {
    flex: 1;
   /* border-top: 1px solid var(--home-accent-color); */
    width: 100% !important;
    box-sizing: border-box !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0;
    min-height: 0;
}

/* ── Texte interne : colonne, gap serré ── */
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .home-block-spectacle-text-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* ── Toutes les sections prennent leur largeur complète ── */
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .spectacle-text-header,
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .spectacle-text-body,
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .spectacle-text-footer {
    width: 100% !important;
    flex-shrink: 0 !important;
}

/* ── Header : compagnie + titre ── */
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .spectacle-text-header {
    padding-bottom: 12px;
        padding-top: 12px;
    border-bottom: 1px solid var(--home-accent-color);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}

.spectacle-text-header-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    height: fit-content;
}

.spectacle-text-date-header-wrapper {
    display: flex;
    flex-direction: row;
    gap: 2px;
    height: fit-content;
    justify-content: space-between;
}


.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .home-block-spectacle-company {
    font-family: 'Brown-M', sans-serif !important;
    font-size: 0.9rem !important;
    /*text-transform: uppercase !important;
    letter-spacing: 0.1em !important;*/
    margin-bottom: 4px !important;
    display: block;
}
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .home-block-spectacle-title {
    font-family: 'Brown-M', sans-serif !important;
    font-size: clamp(1.4rem, 2vw, 2rem) !important;
    line-height: 1.0 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
}

/* ── Body : dates — n'afficher que le mois FR + les dates ── */
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .spectacle-text-body {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--home-accent-color);
    margin-bottom: 12px;
}
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .spectacle-text-dates-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    gap: 16px !important;
}
/* Mois : on garde uniquement la version FR, on cache l'EN */
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .spectacle-text-month {
    display: flex !important;
    flex-direction: column !important;
    min-width: 60px;
    flex-shrink: 0;
}
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .month-fr {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .month-en {
    display: none !important; /* supprime le doublon MAI/MAY */
}
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .spectacle-text-dates-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .date-item {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.82rem !important;
    white-space: nowrap;
    opacity: 0.85;
}

/* ── Footer : description + tags — colle en bas ── */
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .spectacle-text-footer {
    margin-top: auto;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .spectacle-short-description {
    font-family: 'Brown-L', sans-serif;
    font-size: 1rem !important;
    line-height: 1.5 !important;
    opacity: 0.85;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .spectacle-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.curated-layout-area .home-layout-col--2\/3 .affiche-row--large .tag-pill {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.65rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px !important;
    background: #000 !important;
    color: #fff !important;
}


/* ════════════════════════════════════════════════════════════════
   COLONNE 1/1 — Ligne complète (affiche-row standard + row pour page/eventrp)
   ════════════════════════════════════════════════════════════════ */

/* affiche-row standard 1/1 : grid natif, juste hauteur min alignée */
.curated-layout-area .home-layout-col--1\/1 .affiche-row:not(.affiche-row--large) {
    min-height: 160px;
    height: 100%;
    border-top: 1px solid var(--home-accent-color);
    text-decoration: none;
    color: inherit;
}

.curated-layout-area .home-layout-col--1\/1 .affiche-row__photo--1,
.curated-layout-area .home-layout-col--1\/1 .affiche-row__photo--2 {
    width: 100% !important;
    height: 200px;
}
/* Compagnie */
.curated-layout-area .home-layout-col--1\/1 .affiche-row__company {
    font-size: 0.75rem !important;
    opacity: 0.55 !important;
}
/* Titre */
.curated-layout-area .home-layout-col--1\/1 .affiche-row__title {
    font-size: clamp(1.2rem, 1.8vw, 1.8rem) !important;
    line-height: 1.0 !important;
}
/* Méta */
.curated-layout-area .home-layout-col--1\/1 .affiche-row__meta-item {
    font-size: 0.65rem !important;
}
/* Tags */
.curated-layout-area .home-layout-col--1\/1 .affiche-row__tag {
    font-size: 0.62rem !important;
}
/* Date numérique */
.curated-layout-area .home-layout-col--1\/1 .affiche-row__date-numeric {
    font-size: 1.6rem !important;
}

/* spectacle-highlight-block (eventrp / page) → row full width */
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    height: 100%;
    min-height: 160px;
    text-decoration: none;
    color: inherit;
    border-top: 1px solid var(--home-accent-color);
}
/* Image fixe à gauche, même proportion que les photos de l'affiche-row */
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-media {
    width: 200px !important;
    min-width: 200px !important;
    height: auto !important;
    min-height: 160px !important;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: #111;
}
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-link:hover .spectacle-highlight-media img {
    transform: scale(1.03);
}
/* Titre dans image masqué — doublon avec le contenu */
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-image-title {
    display: none;
}
/* Zone texte */
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-content {
    flex: 1;
    padding: 16px 24px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
    border-left: 1px solid var(--home-accent-color);
    gap: 4px;
}
/* Surtitre / titre : même proportion que affiche-row__title */
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-small-title,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-title {
    font-family: 'Brown-M', sans-serif;
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.0;
    margin: 0;
    text-align: center;
}
/* Dates */
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-meta {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem;
    line-height: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
/* Description : 3 lignes max */
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: 'Brown-L', sans-serif;
    font-size: 0.82rem;
    line-height: 1.5;
    opacity: 0.8;
}
/* Lien eventrp */
.curated-layout-area .home-layout-col--1\/1 .eventrp-linked {
    font-size: 0.72rem;
    opacity: 0.65;
}
/* Footer : tags pills alignés avec ceux du 1/3 et 2/3 */
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--home-accent-color);
    margin-top: auto;
}
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-footer .footer-info,
.curated-layout-area .home-layout-col--1\/1 .tag-pill {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.62rem !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 7px !important;
    background: #000 !important;
    color: #fff !important;
}


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — curated-layout-area
   ════════════════════════════════════════════════════════════════ */

/* Tablette : 2/3 passe en colonne */
@media screen and (max-width: 1024px) {
    .curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-link {
        flex-direction: column !important;
    }
    .curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-media {
        width: 100% !important;
        height: 260px !important;
        min-height: 0 !important;
    }
    .curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-content {
        border-left: none !important;
        border-top: 1px solid var(--home-accent-color) !important;
    }
}

/* Mobile : 1/1 passe en colonne */
@media screen and (max-width: 700px) {
    .curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-link {
        flex-direction: column !important;
    }
    .curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-media {
        width: 100% !important;
        min-width: 0 !important;
        height: 200px !important;
    }
    .curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-image-title {
        display: block !important;
    }
    .curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-content {
        border-left: none !important;
        border-top: 1px solid var(--home-accent-color) !important;
    }

    /* affiche-row 1/1 en mobile → colonne */
    .curated-layout-area .home-layout-col--1\/1 .affiche-row:not(.affiche-row--large) {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
    }
    .curated-layout-area .home-layout-col--1\/1 .affiche-row__photo--1 {
        width: 100% !important;
        height: 200px !important;
        border-left: none !important;
        border-top: 1px solid var(--home-accent-color) !important;
    }
    .curated-layout-area .home-layout-col--1\/1 .affiche-row__photo--2 {
        display: none !important;
    }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE MOBILE — AGENDA COMME ÉCRAN D'ENTRÉE (≤ 768px)
   ════════════════════════════════════════════════════════════════
   - Sur mobile, l'utilisateur arrive sur l'agenda en plein écran
   - Clic sur un agenda-item → le spectacle se charge par-dessus
   - Le viewer spectacle s'adapte au format portrait
   ════════════════════════════════════════════════════════════════ */
@media screen and (max-width: 768px) {
    
    /* ── L'agenda est l'écran principal ── */
    .expandable-sidebar.sidebar--agenda {
        width: 100%;
        height: 100vh;
    }
    
    .sidebar--agenda .sidebar-content {
        padding-bottom: 40px;
    }
    
    /* ── Cache le main-content quand viewer inactif (optionnel) ──
       On le laisse accessible en scroll, l'agenda passe devant */

    /* ── Quand le viewer spectacle est actif, il couvre tout ── */
    .main-content--home3.is-viewer-active {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        z-index: 1000 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        background: var(--home-bg-color, #f9f7f5);
        -webkit-overflow-scrolling: touch;

    }
    
    /* ── L'agenda est masqué derrière le viewer ── */
    .main-content--home3.is-viewer-active ~ .expandable-sidebars {
        visibility: hidden;
    }

    /* ── Barre d'actions (Retour + Réserver) repositionnée ── */
    .home-vertical .spectacle-viewer-actions {
        position: fixed !important;
        top: 80px !important;
        left: 45px !important;
        right: 0 !important;
        margin-left: 0 !important;
        /* padding: 10px; */
        z-index: 1001 !important;
        /* border-bottom: 1px solid #ddd; */
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .spectacle-viewer-close {
        font-size: 0.75rem !important;
        padding: 6px 12px !important;
    }
    
    /* ── Espace sous la barre d'actions ── */
    .main-content--home3.is-viewer-active .spectacle-viewer-main-content {
        padding-top: 50px;
    }

    /* ── LIGHTBOX mobile ── */
    .viewer-lightbox-content img {
        max-height: 70vh;
    }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE PHONE — SPECTACLE VIEWER VERTICAL (≤ 768px)
   Adapte le contenu injecté par spectacle-viewer-sandbox.php
   au format portrait téléphone.
   ════════════════════════════════════════════════════════════════ */
@media screen and (max-width: 768px) {
    
    /* SECTION 1: HEADER META */
    .viewer-print-header-meta {
        flex-wrap: wrap !important;
        gap: 20px !important;
        padding: 20px 16px 10px !important;
    }
    
    .print-meta-col {
        white-space: normal !important;
    }
    
    /* SECTION 2: TITLE + IMAGE */
    .viewer-print-title-block {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none !important;
        padding: 0 !important;
    }
    
    .viewer-title-area {
        order: 1;
        padding: 16px !important;
        pointer-events: auto;
        margin-top: 20px !important;
    }
    
    .viewer-title-print {
        font-size: 2.2rem !important;
        margin-left: 0 !important;
        line-height: 1 !important;
    }
    
    .viewer-title-print span {
        padding: 2px 8px !important;
        font-size: 2.2rem;
    }
    
    .viewer-company-print {
        margin-top: 0px !important;
        padding: 2px 8px !important;
    }
    
    #dynamic-content.is-viewer-active {
        overflow-x: visible !important;
    }
    
    .main-content--home3:has(#dynamic-content.is-viewer-active) {
        overflow-x: visible !important;
    }
    
    .viewer-title-right-image {
        order: 0;
        grid-column: 1 / -1 !important;
        width: calc(100% + 25px) !important;
        max-width: none !important;
        padding: 0 !important;
        margin-left: -5px !important;
        justify-content: center !important;
    }
    
    .viewer-title-right-image picture,
    .viewer-title-right-image .responsive-image {
        height: 260px !important;
        width: 100% !important;
    }
    
    .viewer-title-right-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        box-shadow: var(--text-shadow) !important;
    }
    
    /* SECTION 3: BODY */
    .viewer-print-body {
        flex-direction: column !important;
        padding: 20px 16px !important;
        gap: 30px !important;
    }
    
    .viewer-body-left-text {
        padding-right: 0 !important;
    }
    
    /* Right column wrapper: distrib + header-meta côte à côte */
    .viewer-body-right-column {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        gap: 20px !important;
    }

    .viewer-body-right-agenda {
        width: 100% !important;
    }
    
    .viewer-body-right-column > .viewer-body-right-distrib {
        flex: 0 0 calc(50% - 10px) !important;
    }
    
    /* Cache desktop header-meta, affiche mobile */
    .viewer-header-meta--desktop {
        display: none !important;
    }
    
    .viewer-header-meta--mobile {
        display: block !important;
        flex: 0 0 calc(50% - 10px) !important;
        padding-left: 20px !important;
        border-left: 1px solid #000 !important;
    }
    
    .viewer-header-meta--mobile .viewer-print-header-meta {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        padding: 0 !important;
        background: none !important;
    }
    
    .viewer-header-meta--mobile .print-meta-col {
        display: block !important;
        white-space: normal !important;
    }
    
    .viewer-header-meta--mobile .print-meta-col .value-print {
        font-size: 0.85rem !important;
        line-height: 1.2 !important;
        padding: 0 !important;
        border: none !important;
        width: auto !important;
        margin: 0 !important;
    }
    
    .text-presentation-print {
        font-size: 1rem !important;
        line-height: 1.4 !important;
    }
    
    .text-presentation-print p {
        font-size: 1rem !important;
    }
    
    /* Distribution */
    .distribution-list-print {
        margin-top: 30px !important;
    }
    

    .viewer-gallery-grid-print {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    .viewer-gallery-item-print {
        aspect-ratio: 16/10 !important;
    }
    
    /* SECTION 5: RELATED */
    .viewer-related-bottom {
        width: auto;
        margin: 0 -30px;
        padding: 20px 26px 130px !important;
    }
    
    .related-card {
        padding: 0 15px !important;
    }
    
    /* Mentions */
    .mentions-obligatoires-print {
        padding: 0 16px !important;
    }
    
    /* Videos / Audio */
    .viewer-videos-print,
    .viewer-audio-print {
        padding: 0 16px !important;
        box-sizing: border-box;
    }
    
    video {
        max-width: 100%;
    }
    
    /* Hide second photo on mobile rows */
    .affiche-row__photo--2 {
        display: none !important;
    }
    
    /* Agenda text overlay hover — désactivé sur mobile */
    .agenda-hover-overlay,
    .agenda-hover-box {
        display: none !important;
    }
    
    /* Soirée double viewer */
    .soiree-double-viewer-sandbox {
        padding: 16px !important;
    }
    
    /* Upcoming filter tickers */
    .upcoming-filters-tickers {
        padding: 0 16px !important;
    }
    
    /* Separator */
    .home-separator {
        padding: 0 16px !important;
    }

    /* Lightbox close on mobile */
    .viewer-lightbox-close {
        right: 10px !important;
        top: -50px !important;
    }
    
    .viewer-lightbox-content {
        max-width: 95vw !important;
    }
}

/* ════════════════════════════════════════════════════════════════
   PHONE — TRÈS PETITS ÉCRANS (≤ 480px)
   ════════════════════════════════════════════════════════════════ */
@media screen and (max-width: 480px) {
    
    .viewer-title-print {
        font-size: 1.6rem !important;
    }
    
    .viewer-company-print {
        font-size: 1.25rem !important;
    }
    
    .viewer-title-right-image picture,
    .viewer-title-right-image .responsive-image {
        height: 200px !important;
    }
    
    .text-presentation-print {
        font-size: 0.9rem !important;
    }
    
    .viewer-print-header-meta {
        padding:20px 15px 20px !important
    }
    
    .viewer-header-meta--mobile .viewer-print-header-meta {
        padding: 0 !important;
        gap: 15px !important;
    }
    
    .viewer-body-right-column {
        gap: 12px !important;
    }
    
    .viewer-header-meta--mobile {
        padding-left: 12px !important;
    }
    
    .viewer-print-body {
        padding: 16px 12px !important;
    }
    
    .viewer-print-gallery {
        padding: 0 30px !important;
    }
    
    .viewer-related-bottom {
        width: auto;
        margin: 0 -30px;
        padding: 16px 22px 130px !important;
    }
    
    .home-header {
        margin: 0 10px !important;
    }
    
    .sidebar-content ul {
        padding: 0 30px !important;
    }
    
    .agenda-item {
        padding: 20px 0 !important;
    }
    
    .agenda-item-middle .agenda-title a {
        font-size: 1.2rem !important;
    }
    
    .agenda-global-title {
        font-size: 1.6rem !important;
    }
    
    .main-content--home3.is-viewer-active .spectacle-viewer-main-content {
        padding-top: 45px;
    }

    /* Hide viewer meta on very small screens */
    .viewer-print-header-meta .print-meta-col:nth-child(3) {
        display: none;
    }
}

/* ════════════════════════════════════════════════════════════════
   TABLETTE — AJUSTEMENTS (769px – 1024px)
   ════════════════════════════════════════════════════════════════ */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    
    .viewer-title-print {
        font-size: 3.5rem !important;
    }
    
    .viewer-company-print {
        font-size: 1.3rem !important;
    }
    
    .viewer-print-body {
        gap: 40px !important;
    }
    
    .viewer-gallery-grid-print {
        gap: 8px !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BURGER MENU — 30px tab à droite → panneau par-dessus le contenu
   ═══════════════════════════════════════════════════════════════════════════ */

.menu-burger {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  display: flex;
  flex-direction: row;
  z-index: 3000;
}

.menu-burger-tab {
  width: var(--width-menu-right);
  min-width: var(--width-menu-right);
  height: 100vh;
  background: var(--home-bg-color);
  color: #000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: 'Brown-M', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: box-shadow 0.2s;
      box-shadow: rgba(0, 135, 207, 1) 1px 1px 10px, inset 0 0 2px var(--season-2627-blue-1);
}

.menu-burger-tab:hover {
      box-shadow: rgba(0, 135, 207, 1) 1px 1px 10px, inset 0 0 2px var(--season-2627-blue-1);
}

.menu-burger-tab-icon {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  padding: 10px;
}

.menu-burger-tab-label {
  display: none;
}

.menu-burger-panel {
  height: 100vh;
  width: 0;
  overflow: hidden;
  transition: width 0.35s ease;
  background: var(--home-bg-color);
  box-shadow: -2px 0 20px rgba(0,0,0,0.15);
}

.menu-burger.is-expanded .menu-burger-panel {
  width: 420px;
  max-width: 90vw;
  overflow-y: auto;
}

.menu-burger-panel-inner {
  width: 420px;
  max-width: 90vw;
  padding: 20px;
  box-sizing: border-box;
}

.menu-burger-header {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.menu-burger-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px 10px;
  color: var(--home-accent-color);
  font-family: 'Brown-M', sans-serif;
  transition: opacity 0.2s;
}

.mobile-drawer-close {
  display: none;
}

.menu-burger-close {
  display: none;
}

.menu-burger-close:hover {
  opacity: 0.5;
}

/* ════════════════════════════════════════════════════════════════
   EVENTS RP GRID
   ════════════════════════════════════════════════════════════════ */

.events-rp-grid .content-container {
    padding: 0px 60px;
    margin: 80px 0px;
    font-size: 1.3rem;
    line-height: 1.5;
    max-width: 1200px;
    font-family: 'Brown-L', sans-serif;
}

.events-rp-grid .events-rp-intro {
    max-width: 850px;
    margin-bottom: 60px;
}

.events-rp-grid .events-rp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    row-gap: 3rem;
    width: 100%;
}

.events-rp-grid .eventrp-grid-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.events-rp-grid .eventrp-grid-card-media {
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    line-height: 0;
}

.events-rp-grid .eventrp-grid-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-rp-grid .eventrp-grid-card-content {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.events-rp-grid .eventrp-grid-card-content .eventrp-linked {
    font-size: 0.85rem;
    line-height: 1.3;
    opacity: 0.75;
    font-family: 'Brown-M', sans-serif;
}

.events-rp-grid .eventrp-grid-card-content .spectacle-highlight-small-title {
    font-family: 'Brown-M', sans-serif;
    font-size: clamp(0.9rem, 1.4vw, 1.1rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin: 0;
}

.events-rp-grid .eventrp-grid-card-content .spectacle-highlight-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
    line-height: 1.4;
    font-family: 'Brown-L', sans-serif;
}

.events-rp-grid .eventrp-grid-card-content .spectacle-highlight-meta {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    margin-top: auto;
}

@media (max-width: 900px) {
    .events-rp-grid .events-rp-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .events-rp-grid .events-rp-grid {
        grid-template-columns: 1fr;
    }
    .events-rp-grid .content-container {
        padding: 0px 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   TARIFS & ABONNEMENT PAGE
   ═══════════════════════════════════════════════════════════════════════════ */

.tarif-abonnement {
  background-color: #f9f7f5;
}

.tarif-abonnement-intro {
  margin-bottom: 3rem;
  color: #232323;
  font-size: 1rem;
  line-height: 1.6;
}

.tarif-abonnement-content {
  margin-top: 2rem;
}

/* ── Filets : lignes de grille entre colonnes, rangées et blocs empilés ── */
.tarif-abonnement-row {
  position: relative;
  margin-bottom: 40px;
}

.tarif-abonnement-row-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.tarif-abonnement-col {
  flex: 1 1 100%;
  min-width: 0;
  position: relative;
}

/* Filet vertical entre les colonnes */
.tarif-abonnement-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: -20px;
  width: 1px;
  background-color: black;
}

/* Filet horizontal entre les rangées */
.tarif-abonnement-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: -20px;
  height: 1px;
  background-color: black;
}

/* Filet horizontal entre deux blocs empilés dans une même colonne 
.tarif-abonnement-col > * + *::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 5px;
  right: 5px;
  height: 1px;
  background-color: black;
}*/

.tarif-abonnement-col > * + * {
  overflow: visible !important;
}

.tarif-abonnement-col--span-12 {
  flex: 1 1 100%;
}

.tarif-abonnement-col--span-6 {
  flex: 1 1 calc(50% - 80px);
}

.tarif-abonnement-col--span-4 {
  flex: 1 1 calc(25.333% - 1rem);
}

.tarif-abonnement-row:first-child .tarif-abonnement-col--span-4:nth-child(-n+3) {
  /*background-image: url(../img/BACKGROUND-BLOB.png) !important;
  box-shadow: rgba(0, 135, 207, 0.9) 0px 0px 5px;
  background-size: cover !important;
  background-repeat: round !important;
  background-color: rgba(255, 255, 255, 0.21) !important;
  background-blend-mode: lighten !important;*/
      background-image: url(../img/AGENDA-BG-2.png) !important;
    box-shadow: rgba(0, 135, 207, 0.9) 0px 0px 5px;
    background-size: cover !important;
    background-repeat: round!important;
  padding: 20px !important;
  color: #fff !important;
}

.tarif-abonnement-row:first-child .tarif-abonnement-col--span-4:nth-child(-n+3) h2 {
  color: #fff !important;
}

.tarif-abonnement-col--span-8 {
  flex: 1 1 calc(66.666% - 0.75rem);
}

.tarif-abonnement-col--span-3 {
  flex: 1 1 calc(25% - 1rem);
}

.tarif-abonnement-col--span-9 {
  flex: 1 1 calc(75% - 0.75rem);
}

.tarif-block-horaires {
  height: 100%;
}

.tarif-block-horaires-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.tarif-block-horaires-list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 6px;
}

.tarif-block-horaires-item {
  display: flex;
  flex-direction: row;
  align-items: center;
    justify-content: space-between;
  padding: 10px 15px;
  flex: 1 1 200px;
  min-width: 180px;
  background-image: url(../img/AGENDA-BG-2.png) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.tarif-block-horaires-item:last-child {
  flex: 1 1 200px;
}

.tarif-block-horaires-day {
  font-family: 'Brown-M', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  color: #2a2a2a;
  background-color: var(--home-bg-color);
  padding: 4px 10px;
  display: inline-block;
  transform: rotate(-4deg);
  border: 1px solid black;
  box-shadow: var(--text-shadow);
}

.tarif-block-horaires-time {
  font-family: 'Brown-L', sans-serif;
  color: #fff;
  font-size: 0.9rem;
  margin-inline-start: 0px;
  align-self: flex-end;
  text-align: right;
}

.tarif-block-table {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tarif-block-table-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #2a2a2a;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.tarif-grid-table {
  margin: auto 0;
}

.tarif-grid-cell {
  border-bottom: 1px solid rgba(0,0,0,0.1);
  border-right: 1px solid rgba(0,0,0,0.1);
  padding: 8px 12px;
}

.tarif-grid-cell:nth-child(4n) {
  border-right: none;
}


.tarif-grid-header > .tarif-grid-cell:first-child {
  border: none;
}



@media (max-width: 768px) {
  .tarif-abonnement-col--span-6,
  .tarif-abonnement-col--span-4,
  .tarif-abonnement-col--span-8,
  .tarif-abonnement-col--span-3,
  .tarif-abonnement-col--span-9 {
    flex: 1 1 100%;
  }

}



/* ════════════════════════════════════════════════════════════════
   BAR MENU (bar-de-lhexagone)
   ════════════════════════════════════════════════════════════════ */

   /* IMP: Désactivé pour le moment */
.menu-bar {
  display: none;
}

/* Horaires sur la page bar : 5 items sur une ligne */
.bar-de-lhexagone .tarif-block-horaires-list {
  flex-wrap: nowrap;
}

.bar-de-lhexagone .tarif-block-horaires-item {
  flex: 0 0 calc(20% - 5px) !important;
  min-width: 0 !important;
}

.bar-de-lhexagone .menu-bar {
  margin-bottom: 60px;
}

.bar-de-lhexagone .menu-bar > h2 {
  font-family: 'Brown-M', sans-serif;
  font-size: 2rem;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 30px;
  border-bottom: 1px solid black;
  width: fit-content;
}

.menu-bar-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
  align-items: flex-start;
}

.menu-bar-item:first-child {
  padding-top: 0;
}

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

.menu-bar-item-photo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 0;
}

.menu-bar-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-bar-item-details {
  flex: 1;
  min-width: 0;
}

.menu-bar-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 8px;
}

.menu-bar-item-nom {
  font-family: 'Brown-M', sans-serif;
  font-size: 1.2rem;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
}

.menu-bar-item-prix {
  font-family: 'Brown-M', sans-serif;
  font-size: 1.1rem;
  white-space: nowrap;
  color: #2a2a2a;
}

.menu-bar-item-texte {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

.menu-bar-item-texte p {
  margin: 0;
}

@media (max-width: 600px) {
  .menu-bar-item {
    flex-direction: column;
    gap: 12px;
  }

  .menu-bar-item-photo {
    width: 80px;
    height: 80px;
  }

  .menu-bar-item-header {
    flex-direction: column;
    gap: 4px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE BOTTOM DRAWERS — 2 handles empilés en bas (Menu + Programmation)
   ═══════════════════════════════════════════════════════════════════════════ */

@media screen and (max-width: 768px) {
  /* ── Padding bas pour les 2 handles ── */
  .main-content--home3 {
    padding-bottom: 112px;
    margin-right: 0;
  }

  /* ═══════════════════════════════════════════════════
     DRAWER 2 — Menu burger (handle du haut)
     ═══════════════════════════════════════════════════ */
  .menu-burger {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: 56px;
    left: 0;
    width: 100%;
    height: auto;
    display: flex !important;
    flex-direction: column;
    z-index: 10000;
    transform: none !important;
  }

  .menu-burger-tab {
    width: 100%;
    min-width: 0;
    height: 56px;
    background: var(--home-bg-color);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    font-family: 'Brown-M', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: none;
    border-top: 1px solid #000;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    order: -1;
  }

  .menu-burger-tab-icon {
    display: none !important;
  }

  .menu-burger .logo {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .menu-burger-tab-label {
    font-size: 1.6rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }

  .menu-burger-tab-label::after {
    content: "";
    font-size: 0.7rem;
    transition: transform 0.35s ease;
    display: inline-block;
    line-height: 1;
  }

  .menu-burger.is-expanded .menu-burger-tab-label::after {
    transform: rotate(180deg);
  }

  .menu-burger-panel {
    height: 0;
    width: 100%;
    overflow: hidden;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--home-bg-color);
    box-shadow: none;
  }

  .menu-burger.is-expanded .menu-burger-panel {
    height: calc(100vh - 56px);
    width: 100%;
    max-width: none;
    overflow-y: auto;
  }

  .menu-burger-panel-inner {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .menu-burger-close {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px 12px;
    color: var(--home-accent-color);
    font-family: 'Brown-M', sans-serif;
    line-height: 1;
  }

  .menu-burger.is-expanded .menu-burger-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 15px;
    height: 56px;
    width: auto;
    z-index: 99999;
  }

  .menu-burger.is-expanded {
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh;
    z-index: 99998;
  }

  /* ── Overlay Menu ── */
  .menu-burger-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
  }

  .menu-burger-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* ═══════════════════════════════════════════════════
     DRAWER 1 — Programmation (handle du bas)
     ═══════════════════════════════════════════════════ */
  .expandable-sidebars {
    position: fixed !important;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 9999;
    transform: none !important;
    margin-right: 0 !important;
  }

  .expandable-sidebar.sidebar--agenda {
    width: 100%;
    min-width: 0;
    height: 56px;
    overflow: hidden;
    box-shadow: none;
    border-top: 1px solid #000;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .expandable-sidebars.is-mobile-expanded {
    top: 0 !important;
    bottom: 0 !important;
    height: 100vh;
    z-index: 99998;
  }

  .expandable-sidebars.is-mobile-expanded .expandable-sidebar.sidebar--agenda {
    height: 100vh;
    overflow-y: auto;
  }

  .expandable-sidebars .home-header {
    cursor: pointer;
    height: 56px;
    min-height: 56px;
    margin: 0;
    padding: 0 15px;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
  }

  .expandable-sidebars .home-header .logo {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .agenda-global-title {
    font-size: 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }

  .agenda-global-title::after {
    content: "";
    font-size: 0.7rem;
    transition: transform 0.35s ease;
    display: inline-block;
    line-height: 1;
 }

  .expandable-sidebars.is-mobile-expanded .agenda-global-title::after {
    transform: rotate(180deg);
  }

  .mobile-drawer-close {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 8px;
    color: var(--home-accent-color);
    font-family: 'Brown-M', sans-serif;
    line-height: 1;
    flex-shrink: 0;
  }

  .expandable-sidebars.is-mobile-expanded .mobile-drawer-close {
    display: block;
  }

  .sidebar--agenda .sidebar-content {
    height: calc(100vh - 56px);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding-bottom: 20px;
  }

  .expandable-sidebars.is-mobile-expanded .sidebar--agenda .sidebar-content {
    opacity: 1;
    visibility: visible;
  }

  /* ── Overlay Programmation ── */
  .mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    pointer-events: none;
  }

  .mobile-drawer-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* ═══════════════════════════════════════════════════════════════════════════
     MOBILE — curated-layout-area : padding + grille mono-colonne
     ═══════════════════════════════════════════════════════════════════════════ */

  :root {
    --home-padding-section: 0 15px;
  }

  .curated-layout-area {
    margin-top: 0 !important;
    margin-bottom: 40px;
  }

  .home-layout-row--vertical-style .home-layout-row-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-layout-row--vertical-style .home-layout-col {
    grid-column: span 1 !important;
  }

  .home-layout-row--vertical-style .home-layout-col--1\/1,
  .home-layout-row--vertical-style .home-layout-col--1\/2,
  .home-layout-row--vertical-style .home-layout-col--1\/3,
  .home-layout-row--vertical-style .home-layout-col--2\/3,
  .home-layout-row--vertical-style .home-layout-col--1\/4,
  .home-layout-row--vertical-style .home-layout-col--3\/4,
  .home-layout-row--vertical-style .home-layout-col--1\/6,
  .home-layout-row--vertical-style .home-layout-col--2\/6 {
    grid-column: span 1 !important;
  }

  .home-layout-row--vertical-style .home-layout-col:not(:last-child)::after {
    display: none;
  }

  .home-layout-row--vertical-style:not(:last-child)::after {
    left: 0;
    right: 0;
    bottom: -12px;
  }

  .home-layout-row--vertical-style {
    padding-top: 0;
  }

  .curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-link {
    flex-direction: column !important;
    min-height: 0;
  }

  .curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-media {
    width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
  }

  .curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-content {
    border-left: none !important;
    border-top: 1px solid var(--home-accent-color);
    margin-top: 0;
    padding: 15px;
  }

  .page-highlight {
    min-width: 0;
  }

  .page-highlight-inner {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }

  .page-highlight-media {
    width: 100%;
    height: 180px;
  }

  .page-highlight-title {
    font-size: 1.6rem;
  }

  .home-layout-col {
    font-size: 0.9rem;
  }

  .home-section-separator {
    margin: 20px 15px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE — Sub-pages (.content-container · .grid · columns)
   ═══════════════════════════════════════════════════════════════════════════ */

@media screen and (max-width: 768px) {
  .venir-hexagone .content-container,
  .faq .content-container,
  .cgu-cgv .content-container,
  .mentions-legales .content-container,
  .bar-de-lhexagone .content-container,
  .handi-accueil .content-container,
  .artistes-associes .content-container,
  .programmation-edito .content-container,
  .ressources .content-container,
  .tarif-abonnement .content-container,
  .information-experimenta .content-container {
    padding: 0px 15px;
    margin: 40px 0px;
  }

  .venir-hexagone-layout .grid,
  .faq .grid,
  .cgu-cgv .grid,
  .mentions-legales .grid,
  .bar-de-lhexagone .grid,
  .handi-accueil .grid,
  .artistes-associes .grid,
  .programmation-edito .grid,
  .ressources .grid,
  .information-experimenta .grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .venir-hexagone-layout .column,
  .faq .column,
  .cgu-cgv .column,
  .mentions-legales .column,
  .bar-de-lhexagone .column,
  .handi-accueil .column,
  .artistes-associes .column,
  .programmation-edito .column,
  .ressources .column,
  .information-experimenta .column {
    grid-column: span 12;
  }

  .venir-hexagone .content-container h1,
  .faq .content-container h1,
  .cgu-cgv .content-container h1,
  .mentions-legales .content-container h1,
  .bar-de-lhexagone .content-container h1,
  .handi-accueil .content-container h1,
  .artistes-associes .content-container h1,
  .programmation-edito .content-container h1,
  .ressources .content-container h1,
  .tarif-abonnement .content-container h1,
  .information-experimenta .content-container h1 {
    font-size: 3.2rem;
  }
}
