@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 */
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/*
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: 410px;

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

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

::-moz-selection { /* Code for Firefox */

padding: 12px 10px;
text-align:center;

  background: none;
  text-shadow: var(--season-2627-blue-1) -1px 1px 7px;
}


::selection {

  background: none;
  text-shadow: var(--season-2627-blue-1) -1px 1px 7px;
}

/* 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;
    /*margin-top: 40px;*/
}

#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) */

.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);*/
   /* box-shadow: -2px 0 20px rgba(0,0,0,0.15); */
   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;*/
  
     
}

p {
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: normal;
  overflow-wrap: normal;

  widows: 3;
  orphans: 3;

  hyphenate-limit-chars: 6 3 3;
}

/* 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;
}
@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;
    }
}

@media screen and (min-width: 768px) and (max-width: 1000px) {
    :root {
        --home-padding-section: 0 40px; 
    }
    

    .home-layout-col {
        font-size: 0.95rem;
    }
}


@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; 
    }
    
   

    .menu-burger {
        left: 0;
        right: 0;
    }
    
    .spectacle-viewer-close {
        right: 20px !important;
    }
}

@media screen and (max-width: 600px) {
    .main-content--home3 .theatre-name {
        font-size: 18px;
    }

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

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

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

.sidebar-toggle-btn {
    flex: 1;
    border: none;
    background: transparent;
    font-family: 'Brown-M', sans-serif;
    font-size: 14px;
    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;
    transform: none !important;
}
@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 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;
    margin-bottom: 8px;
    padding-top: 15px;
}

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


}

.home-title-back {
    font-size: 1.5rem;
    padding: 15px;
    line-height: 1.1;
    text-transform: uppercase;
    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;
}

.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;
    margin: 0;
    padding: 0;
}

#billetterie-link.is-mapado {
    color: #fff;
    text-decoration: underline;

    /* border-color: #fff; */
}

#billetterie-link {
    /* NOTE: BACKGROUND IMAGE LOU
    /* REVERT */
    font-size: 2.6rem;
    color: #fff;
   /*border: 1px solid #000;*/
    margin: 0;
    /*padding: 5px 10px;
    font-family: 'XanhI';*/
   /*border: #000 solid 1.5px;*/
    /*letter-spacing: 1.5px;*/
    font-family: 'Brown-M', sans-serif;
   transition: all 0.4s ease-in-out;

        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    width: fit-content;
    white-space: nowrap;
    gap: 0.5rem;
}

#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); */
}

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

.home-block-heading {
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    line-height: 0.9;
    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;
}

/* Variante */
.home-block--heading--sandbox-2 {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    box-sizing: border-box;
    text-align: left;
}

/* Boîte bleue du titre (alignée en haut, même rendu que home-text-block-inner) */
.home-block--heading--sandbox-2 .home-block-heading-inner {
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-size: 1.5rem;
    line-height: 1.5;
    text-align: center;
    box-shadow: rgba(0, 135, 207, 1) 1px 1px 10px;
    background-color: #aed8ed;
    background-image: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%);
    background-size: cover;
    color: #fff;
    padding: 5px 15px;
    align-self: flex-start;
    max-width: 100%;
    flex: none;
}

.home-block--heading--sandbox-2 .home-block-heading {
    font-family: 'Brown-M', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 0;
    padding: 0;
    color: inherit;
    line-height: inherit;
    font-size: inherit;
}

/* Alignement (défaut + valeurs panel appliquées sur le titre) */
.home-block--heading--sandbox-2 .home-block-heading--align-left {
    text-align: left;
}
.home-block--heading--sandbox-2 .home-block-heading--align-center {
    text-align: center;
}
.home-block--heading--sandbox-2 .home-block-heading--align-right {
    text-align: right;
}
.home-block--heading--sandbox-2 .home-block-heading--align-justify {
    text-align: justify;
}


.home-block--heading--sandbox-2 .spectacle-image-info-box.page-info-box {
    padding: 0 !important;
    flex: none !important;
    overflow: visible !important;
    margin-top: 12px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}
.home-block--heading--sandbox-2 .page-info-box .comment-box {
    width: 100%;
    box-sizing: border-box;
}
.home-block--heading--sandbox-2 .page-info-box .comment-box p {
    font-family: 'Brown-L', sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
    margin: 0;
    margin-top: 15px;
}

.home-block--mb-none { margin-bottom: 0; }
.home-block--mb-small { margin-bottom: 15px; }
.home-block--mb-medium { margin-bottom: 30px; }
.home-block--mb-large { margin-bottom: 55px; }

.card-tags {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px; 
}

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

.card-image {
    width: 100%;
}

.card-image img {
    width: 100%;
    height: auto;
    display: block;
    /* filtre threshold */
filter: brightness(100%) grayscale(100%) contrast(1000%)
        sepia(100%) hue-rotate(-50deg) saturate(600%);
    transition: filter 0.25s ease;
}

.sidebar--agenda .minor-menu--agenda {
    padding: 0 !important;
}



/* 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;
    margin: 40px;
    padding-top: 10px;
}

.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%;*/
}
.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;

    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;
    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%;
    position: relative;
}

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

/* Commentaire block : petit rectangle superposé à l'image, haut gauche */
.affiche-row__comment {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 5;
    padding: 4px 10px;
    background-color: var(--season-2627-blue-4, #0088cf);
    color: #fff;
    box-shadow: var(--text-shadow);
    max-width: calc(100% - 16px);
    box-sizing: border-box;
}

.affiche-row__comment-text {
    position: relative;
    margin: 0;
    font-family: 'Brown-M', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.2;
}

/* 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;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.55;
}
.affiche-row__title {
    font-family: 'Brown-M', sans-serif;
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    line-height: 1.0;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    letter-spacing: -0.01em;
}

.affiche-row__company {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem;
    margin: 0;
    padding: 0;
}

.affiche-row__text-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 14px;
    gap: 20px;
}

.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;   
    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;
    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);
}
.affiche-row__meta-item + .affiche-row__meta-item::before {
    content: '·';
    margin-right: 10px;
    opacity: 1;
}

.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; 
    text-transform: uppercase;
    line-height: 1.2;
}

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

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

.affiche-row__date-time {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    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;
    max-height: 300px !important;
    min-height: 200px !important;
    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: -1;
  pointer-events: none;
  background-size: contain;
  background-repeat: round;
  background-image: url("https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/40550ab9-0dde-4376-ae73-77355bb45d73/d37pwfa-82dd8ce8-a772-4e1d-9f03-e355a2aa1722.jpg/v1/fill/w_1024,h_768,q_75,strp/film_texture___grain_explosion_by_stephanepellennec_d37pwfa-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9NzY4IiwicGF0aCI6Ii9mLzQwNTUwYWI5LTBkZGUtNDM3Ni1hZTczLTc3MzU1YmI0NWQ3My9kMzdwd2ZhLTgyZGQ4Y2U4LWE3NzItNGUxZC05ZjAzLWUzNTVhMmFhMTcyMi5qcGciLCJ3aWR0aCI6Ijw9MTAyNCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.aSxRQd9L7FH8U94gUiuDk8_e8_keT49wAENCcODKIDw");
  /* opacity: 0.6; */
  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; }
/* NOTE: .scroll-arrow non utilisé (audit home).
.scroll-arrow          { display: none !important; }
*/

.main-menu-plus {
    background: none;
    border: none;
    cursor: pointer;
    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); 
    transition: transform 0.2s ease;
}
.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;
    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;
    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;
    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;
    opacity: 0.7;
    text-transform: uppercase;
}

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


.agenda-item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 
    background-color: var(--hover-bg); 
    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%);
    mix-blend-mode: screen; 
}

/* Gallery bg : image aléatoire de la galerie au survol */
.agenda-item-gallery-bg {
    position: absolute;
    inset: -12px -8px;
    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);
    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;
}

.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;
}
.agenda-item-middle .agenda-title a {
    font-size: 1.7rem;
    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;
    background: var(--home-bg-color-opacity); 
    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;
}
.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;
}

.agenda-hover-box.is-visible {
    opacity: 1;
    visibility: visible;
}
.agenda-hover-image {
    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; 
    box-sizing: border-box;
}

/* Carte de base (utilisée par les deux types de rectangles)  */
.agenda-hover-card {
    position: relative;
    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: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%) !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;
    display: none;
}

.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: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%) !important;
mix-blend-mode: lighten;
background-size: cover !important;
background-repeat: round !important; 
    z-index: 999999;
}

.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 */

.agenda-hover-text {
    background: transparent;
        z-index: 999999!important;
}

.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);
    z-index: 999999 !important;
    background-image: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%) !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: #fff;
    color: #000;
    border: 1px solid black;
    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;
    margin: 0;
    padding-bottom: 5px;
    text-align: center;
}
.minor-menu {
    padding: 25px !important;
    display: none; 
}

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

    .home-layout-col .home-text-block {
        height: 100%;
    }


    .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 h2{
    font-size: var(--home-font-size-xl);
    color: #fff;
    text-transform: uppercase;
    margin-top: 0px;
    }

    /* RP */ 


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


/* 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);
    margin-bottom: 5px;
    text-transform: uppercase;
}

.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%;
    }
    .spectacle-viewer-close {
        right: 20px !important;
    }
    
}




/* --- Parallax Background --- */

.viewer-parallax-bg {
  position: fixed;
 
  background-image: var(--parallax-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Couche 1 : au-dessus des fonds beiges des conteneurs de page (peints en flux),
     sous le contenu du viewer (.spectacle-viewer-main-content en z-index 2). */
  z-index: 1;
  pointer-events: none;
  opacity: 0; /* IMP: TOGGLE ON:OFF POUR PARALLAX 0.15 on 0 off*/
  will-change: transform;
}

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



.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: 4;
}

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

.home-vertical .spectacle-viewer-actions,
.home-vertical .soiree-double-viewer-actions {
    position: sticky;
    top: 120px;
    margin-left: 30px;
    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;
   
    position: relative;
    z-index: 2;
    background: transparent;
}



.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-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  pointer-events: auto;

}

/*
.agenda-item .agenda-item-line .spectacle-viewer-reserve-mini,
*/
.spectacle-viewer-inner .spectacle-viewer-reserve-mini {
    display: block;
    box-shadow: rgba(0, 135, 207, 1) 1px 1px 10px;
    background-color: #aed8ed;
    background-image: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%);
    background-size: cover;
    background-repeat: round;
    border-color: #fff;
    /* font-family: 'XanhI', monospace; */
    color: white;
    border: 1px solid white;
    text-align: center;
    /* transform: rotate(4deg); */
    font-size: 0.85rem;
    text-transform: uppercase;
    margin: 10px 0;
}

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


.spectacle-viewer-inner {
  display: flex;
  flex-direction: column;
  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 {
  
  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%;
}

.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-left: 180px;
  gap: 30px;
  /* background-color: var(--home-bg-color); */
}

.print-meta-col {
height: fit-content;
  white-space: nowrap;
  padding-bottom: 5px;
  border-bottom: 1px solid black;
}

.print-meta-col-double {
  white-space: nowrap;
    border-bottom: 1px solid black;
}

.label-print {
  font-size: 0.7rem;
  /* letter-spacing: 0.2rem; */
  text-transform: uppercase;
  margin: 0 0 12px 0; 
  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;
}

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



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

.tarif-range-detail {
  font-size: 0.85rem;
  line-height: 1.3;
  margin: 5px 0;
}

.tarif-range-tag {  
    position: relative;
  font-size: 0.85rem;
  line-height: 1.3;
      padding: 2px 5px;
    border: 1px solid black;
  width: fit-content;
  margin-bottom: 10px;
  text-transform: uppercase;
    /*  box-shadow: rgb(0, 135, 207) 1px 1px 10px;
    background-color: rgb(174, 216, 237);
    background-image: url(../img/AGENDA-BG-2.png);
    background-size: cover;
    background-repeat: round;
        transform: rotate(-10deg);*/
    }


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


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


.extra-logo {
  width: auto;
min-width: 35px;
    max-width: 65px;
    height: auto;
    min-height: 35px;
    max-height: 65px;
  object-fit: contain;
  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: 1.1rem;
  margin-bottom: 5px;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid #fff;
}

.satellite-item {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
}
@media (max-width: 600px) {
  .satellite-item { flex-direction: column; }
}
.satellite-meta {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: 4px;
  text-transform: none;
}



.value-print-textarea {
  font-size: 0.85rem;
  line-height: 1.4;
  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 {
  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: 60px 0px;
  /* background-color: var(--home-bg-color); */
}

.viewer-title-area {
  grid-column: 1 / 8; 
  grid-row: 1;
  padding: 40px 60px;
  box-sizing: border-box;
  position: relative;
  z-index: 6;
}

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

.viewer-title-right-image {
  grid-column: 4 / 11; 
  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; 
  position: relative;
}
.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;
  line-height: 1.15;
  margin-top: 20px;
  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: 60px 60px;
  min-height: min-content;
  align-items: flex-start;
  gap: 40px;
}

.viewer-body-left-text {
  flex: 2.5;
  padding-right: 30px;
  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;
}

.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;
 hyphens: auto;
  -webkit-hyphens: auto;

  text-align: left;
  word-break: normal;
  overflow-wrap: normal;

  hyphenate-limit-chars: 6 3 3;
  hyphenate-limit-lines: 2;

  widows: 3;
  orphans: 3;
}

.text-presentation-print a {
  text-decoration: underline;
}

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

.distrib-inline-production {
  margin-top: 15px;
  line-height: 1.5;
  font-size: 1rem;
 font-family: 'Brown-L', sans-serif;
    margin: 0;
  color: #000;
}


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

.soiree-double-spectacles-grid .distrib-inline-production{
    margin-top: 20px;
    text-decoration: none;
}

/* Distribution dropdown (caché par défaut) */
.distribution-dropdown {
  cursor: pointer;
}

.distribution-dropdown summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.distribution-dropdown summary::-webkit-details-marker {
  display: none;
}

.distribution-dropdown summary::marker {
  display: none;
  content: '';
}

.distribution-dropdown summary::before {
  content: ' ➝';
  font-size: 1.5em;
  vertical-align: middle;
  transition: transform 0.2s ease;
  display: inline-block;
}

.distribution-dropdown[open] summary::before {
  transform: rotate(90deg);
}

.distribution-dropdown .distrib-inline-production {
  margin-top: 10px;
}
/* Distribution + Coproduction côte à côte */
.distribution-co-wrap {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.distribution-co-wrap > div {
  flex: 1;
  min-width: 240px;
  width: 100%;
}
@media (max-width: 600px) {
  .distribution-co-wrap {
    flex-direction: column;
    gap: 8px;
  }
}

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

.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-wrap {
  filter: none;
}
.viewer-related-bottom {
  width: auto;
  margin-left: -30px;
    margin-right: -30px;
    bottom: -30px;
   /* background-color: #aed8ed;
    background-image: url(../img/AGENDA-BG-3.png); */
    border-color: #000;
    color: #000;
    border: 1px solid #000;
    text-transform: lowercase;
    text-align: center;
    padding: 45px 50px 60px 45px;
    clip-path: polygon(0 35px, 100% 0, 100% 100%, 0 100%);
}

/* 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;
  }
}

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

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

.home-hero-image-wrapper {
    width: auto;
    height: auto;
    margin: 20px 10px 0px 10px;
    /*margin: 20px -10px 0px -10px;*/
    background-image: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%);
    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; 
    line-height: 0.9;
    text-transform: uppercase;
    margin-top: 20px;
    font-weight: 900;
}


.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;
}
#dynamic-content.is-viewer-active {
    overflow: hidden !important; 
    align-items: stretch;
    padding: 0;
}


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

/* 7. SPECTACLE TEXT BLOCK (Block Spectacle Text) */
.home-block--spectacle-text {
    padding: 30px;
    display: flex;
    flex-direction: row; 
    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;
    align-items: center;
    height: 100%;
    gap: 40px;
    width: 100%;
}

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

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

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

.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;
  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-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: -20px;
    right: -26px;
    padding: 2px 5px;
    background-color: var(--season-2627-blue-4);
    object-fit: cover;
    transform: rotate(10deg);
    color: #fff;
    box-shadow: var(--text-shadow);
    cursor: pointer;
    transition: filter 0.2s ease;
}

.agenda-hexagone:hover {
    filter: brightness(1.25);
}


.agenda-hexagone--experimenta {
    top: 4px;
}

.agenda-hexagone--hors-les-murs {
    top: 4px;
    background-color: var(--season-2627-blue-4) !important;
}

.agenda-hexagone--experimenta + .agenda-hexagone--hors-les-murs {
    top: 26px;
}

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


.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;
      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;
}



.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;
}

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

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


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

.spectacle-text-month {
    display: flex;
    flex-direction: column;
    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-short-description {
    margin-bottom: 12px;
    font-size: 0.9rem;
    line-height: 1.3;
}


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




/* 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;
    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 {
    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 {
    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;
    border-bottom: 1px solid #000;
}

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

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

.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: 16px 0px ;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: #fff;
}




.related-tags-related-viewer {
    margin: 10px 0 0 10px;
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #fff;
    color: #000;
    background-color: #fff;
    border : 1px solid #000;
    width: fit-content;
    padding: 2px 6px;


}

.related-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.related-thumb .related-tags-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: 0;
    pointer-events: none;
}

.related-title {
    font-size: 1.4rem;
    margin: 0;
    line-height: 1.1;
    text-align: left;
    text-transform: uppercase;
    color: #000;
    width: fit-content;
}

.related-company {
    margin: 0;
    font-size: 0.9rem;
    color: #000;
    text-align: left;
    width: fit-content;
    text-transform: none;
}



.related-excerpt {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #000;
    /* text-align: left; */
      hyphens: auto;
  -webkit-hyphens: auto;
  text-align: left;
  word-break: normal;
  overflow-wrap: normal;
  text-transform: none;
  widows: 3;
  orphans: 3;

  hyphenate-limit-chars: 6 3 3;
}

.related-body .spectacle-text-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.related-body .spectacle-text-header-wrapper {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.related-body .affiche-row__date,
.related-body .affiche-row__date-day,
.related-body .affiche-row__date-numeric,
.related-body .affiche-row__date-year,
.related-body .affiche-row__date-time {
    color: #000;
}

@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 */
.spectacle-highlight-block {
    display: flex;
    flex-direction: row; 
    height: 100%;
    width: auto; 
    min-width: 600px; 
    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%);
}


/* Tags 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;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.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;
    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;
    margin-bottom: -5px;
    text-shadow: rgba(0, 135, 207, 0.9) 0px 0px 12px;
    
}

.spectacle-highlight-meta {
    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 {
}

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



.eventrp-highlight-block .eventrp-linked {
    font-size: 0.85rem;
    line-height: 1.2;
    opacity: 0.8;
}


.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: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%) !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-color: var(--season-2627-blue-2);
    /*border-top: 1px solid 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;
    text-transform: uppercase;
    color: inherit;
}





.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 ═ */
.hero-section,
.home-section-separator,
#info-grid-bandeau {
  scroll-snap-align: start;
  scroll-snap-stop: always; 
  scroll-margin-top: 40px;
}

.hero-section {
  position: relative;      
  width: 100%;
  overflow: visible;
  min-height: 260px;
  

}

/* 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;
  margin-top: 20px;
}

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



/* 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;
 
  
}


.hero-stack {
  position: relative;
  width: 100%;
  height: 100%;

}


.hero-stack-item {
  position: absolute;
  inset: 0;
  z-index: 1;   
  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);
}

/* 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  */

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

.bandeau-menu a,
.bandeau-menu button {
  pointer-events: auto;
}

.bandeau-menu-inner {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0px 10px;
  height: var(--header-height);
  border-bottom: 1px solid #000;
  transition: border-color 0.3s ease;
  background-color: transparent;
}

.bandeau-billetterie:has(#billetterie-link.is-mapado) {
    animation: tilt-shaking 0.5s ease-in-out;
}

@keyframes tilt-shaking {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(2deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}

/* Zone gauche : titre + logo + horaires du jour  */
.bandeau-left-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.bandeau-logo-text-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  height: fit-content;
  border-right: 1px solid #000;
  padding-right: 18px;
}

.bandeau-horaires-du-jour {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
}

.horaires-du-jour-label {
  font-family: 'Brown-M', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000;
}

.horaires-du-jour-value {
  font-family: 'Brown-L', sans-serif;
  font-size: 0.8rem;
  color: #000;
}

.bandeau-logo {
  flex-shrink: 0;
  display: block;
  align-self: center;
  margin-top: 0;
}

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

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

.text-line {
  font-family: 'Brown-M', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #000;
  gap: 10px;
  align-items: baseline;
}

#hexagone-title {
  align-self: baseline;
  line-height: 0.65;
}

#hexagone-title-H {
  display: block;
  font-size: 1.2rem;
}

#hexagone-title-S {
  display: block;
  font-size: 0.8rem;
}

/*  Rectangle "feuille" Billetterie  */
.bandeau-billetterie {
  position: absolute;
  top: -50px;
  right: 0;
  width: fit-content;
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0px 20px;
  margin-right: 30px;
  box-sizing: border-box;
  background-color: #aed8ed;
  background-image: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(4deg);
  border: 1px solid #fff;
    box-shadow: rgba(0, 135, 207, 0.9) 0px 0px 5px;
  transform-origin: top right;
  isolation: isolate;
}

.billetterie-button {
  display: block;
  color: #fff;
  font-family: 'Brown-M', sans-serif;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

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

/* Dans la pastille, on neutralise les styles du #billetterie-link du header */
.bandeau-billetterie #billetterie-link {
  display: inline-block;
  width: auto;
  white-space: nowrap;
  gap: 0;
  margin: 0;
  transition: none;
}

@media (max-width: 640px) {
  .bandeau-menu-inner {
    height: var(--header-height);
    padding: 0.5rem 10px;
  }

  .bandeau-billetterie {
    position: absolute;
    top: -32px;
    right: 0;
    width: fit-content;
    height: 86px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0 14px;
    margin-right: 15px;
    box-sizing: border-box;
    transform: rotate(4deg);
    transform-origin: top right;
    align-self: auto;
  }

  .bandeau-logo-text-wrapper {
    gap: 12px;
  }

  .bandeau-horaires-du-jour {
    display: none;
  }

  .bandeau-logo {
    height: auto;
  }

  .billetterie-button {
    font-size: 14px;
  }

  .text-line {
    font-size: 10px;
  }

  .bandeau-billetterie #billetterie-link {
    font-size: 1.1rem;
    font-weight: normal;
  }
}

/*  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;
}

.info-grid-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 60px 40px 40px 40px;
  box-sizing: border-box;
}


/* 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;
  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);
    grid-auto-rows: minmax(220px, auto);
    gap: 30px; 
}

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

.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; 
    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: -15px; 
    width: 0.5px;
    background-color: black;
}

/* Filet horizontal entre les rangées */
.home-layout-row--vertical-style:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 0px; 
    right: 0px;
    bottom: -20px; 
    height: 0.5px;
    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; }

.home-layout-row--vertical-style .home-layout-col > * {
    height: 100%;
    min-height: 0;
}

/* NOTE: sélecteurs EventRP / page-highlight morts retirés  */
.home-layout-row--vertical-style .spectacle-highlight-block,
.home-layout-row--vertical-style .home-text-block,
.home-layout-row--vertical-style .home-block--spectacle-text {
    height: 100%;
    overflow: hidden;
    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; 
    left: 5px;
    right: 5px;
    height: 1px;
    background-color: black;
}

.home-layout-row--vertical-style .home-layout-col > * + * {
    margin-top: 60px;
    overflow: visible !important;
}

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

/* NOTE: .home-block-eventrp-text-inner mort retiré  */
.home-layout-row--vertical-style .home-block-spectacle-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;  */
    display: flex !important;
    flex-direction: column-reverse !important;
    overflow-y: auto !important;
    box-sizing: border-box;
    text-align: center !important;
}

.info-box-desc {
    display: flex;
    flex-direction: column-reverse;
}

.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;
}

/* Block Texte libret */
.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;
    min-height: 0;       
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: 'Brown-M', sans-serif;
    font-size: 1.5rem;
    line-height: 1.5;
    box-sizing: border-box;
    text-align: center;

    color: #000;
    padding: 5px 15px;
}

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


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

.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: 0.5px;
    background-color: #000;
}

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

.agenda-month-separator .month-name {
    font-family: 'XanhI', sans-serif;
    font-size: 14px;
    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;
}
/* 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,
.equipe .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,
.equipe .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,
.equipe .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;
}


.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%;
 

}

.equipe .content-container h2,
.tarif-abonnement .content-container h2{
    font-family: 'Brown-M', sans-serif;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 30px;

    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: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%) !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;
    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: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%) !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;

    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: 0 !important;
    min-height: 0;
}

.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-image: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%) !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;
}


/* NOTE: ajout fusionné dans le bloc principal (audit home).
.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 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,
.equipe .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 {
    display: flex;
    flex-direction: column;
    margin: 40px 0px;
}

.faq-layout .grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-layout .column[data-span] {
    width: 100%;
    grid-column: span 12;
}


.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,
.equipe .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,
.equipe .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"],
.equipe .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"],
.equipe .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"],
.equipe .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"],
.equipe .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 PDF */
.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   */

.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%;
  margin: auto 0;
}

.tarif-grid-row {
  display: contents;
}


.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;
    border-bottom: 2px solid #000;
    padding: 16px 15px;
}

.horaires-grid-cell--label {
    font-family: 'Brown-M', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.horaires-grid-cell--hours {
    font-family: 'Brown-L', sans-serif;
}

/* 
   CURATED LAYOUT AREA 
   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 
    */


/* 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  */

/* affiche-row */
.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;
}

/* Img */
.curated-layout-area .home-layout-col--1\/3 .affiche-row__photo--1 {
    width: 100% !important;
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
    min-height: 200px !important;
    max-height: 380px !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);
}

.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;
    text-transform: uppercase !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
}

.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;
}
.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;
}


.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  */
.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);
}
.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;
    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;
    justify-content: space-around;
}

/* 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);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    margin: 0;

}

/* Dates */
.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-meta {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem;
    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;
}

.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;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: fit-content;
    white-space: nowrap;
    height: auto;
    border: 1px solid white;
    color: #fff;
    padding: 5px 10px;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: none;
    pointer-events: auto;
    box-shadow: rgba(0, 135, 207, 1) 1px 1px 10px;
    background-color: #aed8ed;
    background-image: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%);
    background-size: cover;
    text-align: center;
    transform: rotate(180deg);
}

.spectacle-item-booking .booking-button {
    writing-mode: vertical-rl;
    display: block;
}

.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;
  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 {
  position: relative;
  /*display: flex; IMP: Désac pour l'instant*/
  display: none;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.spectacle-day-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: min-content;
}

.spectacle-day-header {
  margin: 0;
  width: fit-content;
  white-space: nowrap;
  border: 1px solid #000;
  color: #000;
  padding: 4px 8px;
  font-family: 'Brown-M', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.spectacle-day-slots {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.spectacle-item-date {
  font-family: 'Brown-M', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}

.spectacle-item-date-row {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.3rem;
}

.spectacle-item-lieu {
  font-size: 0.75rem;
  font-family: 'Brown-M', sans-serif;
  margin: 0;
  width: 100%;
  color: #666;
}

.viewer-print-spectacles-list--no-overall {
  padding-top: 0;
}

.date-day-number {
  font-size: 1.2rem;
}

.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;
}



.curated-layout-area .home-layout-col--1\/3 .spectacle-highlight-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 8px;
    
    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;
    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*/


.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;
}

.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: auto !important;
    height: fit-content !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;
}

.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;
}

.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;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1;
    margin-bottom: 12px;
}

.curated-layout-area .home-layout-col--2\/3 .spectacle-highlight-meta {
    font-size: 1rem;
    line-height: 1.4;
}

.curated-layout-area .home-layout-col--2\/3 .eventrp-linked {
    font-size: 0.82rem;
    margin-top: 8px;
    opacity: 0.7;
}

.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;
}

.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;
}

.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;
}

.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: 380px !important;
    min-height: 200px !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);
}

.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;
}

.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;
}

.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;
}

.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;

    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;
}

.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;
}
.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 .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 DU BLOC : description et tag */
.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;
    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)
    */

.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;
}
.curated-layout-area .home-layout-col--1\/1 .affiche-row__company {
    font-size: 0.75rem !important;
    opacity: 0.55 !important;
}
.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;
}
.curated-layout-area .home-layout-col--1\/1 .affiche-row__meta-item {
    font-size: 0.65rem !important;
}

.curated-layout-area .home-layout-col--1\/1 .affiche-row__tag {
    font-size: 0.62rem !important;
}


.curated-layout-area .home-layout-col--1\/1 .affiche-row__date-numeric {
    font-size: 1.6rem !important;
}


.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);
}
.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);
}
.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;
}
.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;
}
.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;
}
.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;
}

.spectacle-highlight-info {
        padding: 0px 20px !important;
    flex: 1 !important;
    overflow-y: auto !important;
    box-sizing: border-box;
}
.curated-layout-area .home-layout-col--1\/1 .eventrp-linked {
    font-size: 0.72rem;
    opacity: 0.65;
}
.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;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 7px !important;
    background: #000 !important;
    color: #fff !important;
}


/* 
   COLONNES 1/2 et 1/1 Même mise en page que la colonne 1/3 (nickel) */

.curated-layout-area .home-layout-col--1\/2 .affiche-row-actuality,
.curated-layout-area .home-layout-col--1\/2 .page-link-actuality,
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-link,
.curated-layout-area .home-layout-col--1\/1 .affiche-row-actuality,
.curated-layout-area .home-layout-col--1\/1 .page-link-actuality,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-link {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-around;
    align-items: stretch;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-media,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-media {
    width: 100% !important;
    min-width: 0 !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: none;
}
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-media img,
.curated-layout-area .home-layout-col--1\/1 .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\/2 .affiche-row-actuality:hover .spectacle-highlight-media img,
.curated-layout-area .home-layout-col--1\/2 .page-link-actuality:hover .spectacle-highlight-media img,
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-link:hover .spectacle-highlight-media img,
.curated-layout-area .home-layout-col--1\/1 .affiche-row-actuality:hover .spectacle-highlight-media img,
.curated-layout-area .home-layout-col--1\/1 .page-link-actuality:hover .spectacle-highlight-media img,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-link:hover .spectacle-highlight-media img {
    transform: scale(1.03);
}

.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-image-title,
.curated-layout-area .home-layout-col--1\/1 .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\/2 .spectacle-highlight-image-title h3,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-image-title h3 {
    margin: 0;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.15;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-content,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-content {
    padding: 0 !important;
    border-left: none !important;
    flex: 1;
    margin-top: 12px !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    justify-content: space-between;
}

/* Surtitre / titre */
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-small-title,
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-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.4vw, 1.2rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1.05;
    margin: 0;
}

.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-meta,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-meta {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.75rem;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-meta .meta-date,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-meta .meta-date {
    opacity: 1;
}

.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-desc,
.curated-layout-area .home-layout-col--1\/1 .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;
}

.spectacle-highlight-desc--full {
    display: block !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    overflow: visible !important;
}

.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-footer,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 8px;
    margin-top: auto;
}
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-footer .footer-info,
.curated-layout-area .home-layout-col--1\/2 .tag-pill,
.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;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 7px !important;
    background: #000 !important;
    color: #fff !important;
}

/**/
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-block.page-highlight-block,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-block.page-highlight-block {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-block.page-highlight-block > *,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-block.page-highlight-block > * {
    width: 100% !important;
    min-width: 0 !important;
    flex-shrink: 0;
}
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-block.page-highlight-block .affiche-row-actuality,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-block.page-highlight-block .affiche-row-actuality {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 100%;
}
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-block.page-highlight-block .spectacle-highlight-media,
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-block.page-highlight-block .spectacle-highlight-content,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-block.page-highlight-block .spectacle-highlight-media,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-block.page-highlight-block .spectacle-highlight-content {
    width: 100% !important;
    min-width: 0 !important;
    flex: 0 0 auto;
}
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-block.page-highlight-block .spectacle-highlight-media,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-block.page-highlight-block .spectacle-highlight-media {
    aspect-ratio: 3 / 2 !important;
    height: auto !important;
    min-height: 160px !important;
    max-height: 550px !important;
}
.curated-layout-area .home-layout-col--1\/2 .spectacle-highlight-block.page-highlight-block .spectacle-highlight-content,
.curated-layout-area .home-layout-col--1\/1 .spectacle-highlight-block.page-highlight-block .spectacle-highlight-content {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
}


/* RESPONSIVE — curated-layout-area */

@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) */
@media screen and (max-width: 768px) {
    
    .main-content--home3.is-viewer-active ~ .expandable-sidebars {
        visibility: hidden;
    }

    .home-vertical .spectacle-viewer-actions {
        position: fixed !important;
        top: 100px !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;
    }
    
    .main-content--home3.is-viewer-active .spectacle-viewer-main-content {
        padding-top: 50px;
    }

    .viewer-lightbox-content img {
        max-height: 70vh;
    }
}

/* RESPONSIVE TEL — SPECTACLE VIEWER VERTICAL  */
@media screen and (max-width: 768px) {
    
    .viewer-print-header-meta {
        flex-wrap: wrap !important;
        gap: 20px !important;
        padding: 20px 16px 10px !important;
    }
    
    .print-meta-col {
        white-space: normal !important;
    }
    
    .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: hidden !important;
    }
    
    .main-content--home3:has(#dynamic-content.is-viewer-active) {
        overflow-x: hidden !important;
    }
    
    .viewer-title-right-image {
        order: 0;
        grid-column: 1 / -1 !important;
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin-left: 0 !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;
    }
    .viewer-print-body {
        flex-direction: column !important;
        padding: 20px 16px !important;
        gap: 30px !important;
    }
    
    .viewer-body-left-text {
        padding-right: 0 !important;
    }
    .viewer-body-right-column {
        display: flex !important;
        flex-direction: row !important;
        width: 100% !important;
        gap: 20px !important;
    }
    .viewer-body-right-column > .viewer-body-right-distrib {
        flex: 0 0 calc(50% - 10px) !important;
    }
    .viewer-header-meta--desktop {
        display: none !important;
    }
    
    .viewer-title-right-image {
        position: relative !important;
    }
    
    .viewer-header-meta--mobile {
        display: block !important;
        position: absolute;
        right: 8px;
        bottom: 8px;
        left: auto;
        top: auto;
        padding: 0 !important;
        border-left: none !important;
        max-width: calc(100% - 16px);
        z-index: 2;
        pointer-events: none;
    }
    
    .viewer-header-meta--mobile .viewer-print-header-meta {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 6px !important;
        padding: 0 !important;
        background: none !important;
    }
    
    .viewer-header-meta--mobile .print-meta-col {
        display: inline-block !important;
        white-space: nowrap !important;
        border: 1px solid #000 !important;
        background: var(--home-bg-color) !important;
        padding: 3px 10px !important; 
        box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    }
    
    .viewer-header-meta--mobile .print-meta-col .value-print {
        font-size: 0.7rem !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;
    }
    
    .viewer-related-bottom {
        width: auto;
        margin: 0 -30px;
        padding: 45px 50px 20px 45px !important;
    }
    
    .related-card {
        padding: 0 15px !important;
    }
    .viewer-videos-print,
    .viewer-audio-print {
        padding: 0 16px !important;
        box-sizing: border-box;
    }
    
    video {
        max-width: 100%;
    }
    .affiche-row__photo--2 {
        display: none !important;
    }
    
    
    .agenda-hover-overlay,
    .agenda-hover-box {
        display: none !important;
    }

    .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: 6px !important;
    }
    
    .viewer-body-right-column {
        gap: 12px !important;
    }
    
    .viewer-header-meta--mobile {
        padding: 0 !important;
    }
    
    .viewer-print-body {
        padding: 16px 12px !important;
    }
    
    .viewer-print-gallery {
        padding: 0 30px !important;
    }
    
    .viewer-related-bottom {
        width: auto;
        margin: 0 -30px;
        padding: 45px 50px 20px 45px!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;
    }
    
    
    .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 */

.menu-burger {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  display: flex;
  flex-direction: row;
  z-index: 9999;
}

.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;
  flex-direction: column;
  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::before,
.menu-burger-tab::after {
  content: "";
  width: 1px;
  flex: 1;
  background-color: #000;
  margin: 15px 0;
}

.menu-burger-tab .logo {
  display: none;
}

.menu-burger-tab-icon {
  writing-mode: vertical-rl;
  /*transform: rotate(180deg);*/
  padding: 10px;
      text-orientation: upright;
    font-size: 1.8rem;
    letter-spacing: -1px;
}

.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-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;
}

/* Liste du menu dans le panneau burger */
.menu-burger .menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* 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-content {
  margin-top: 2rem;
}

.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;
}

.tarif-abonnement-col:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  right: -20px;
  width: 0.5px;
  background-color: black;
}

.tarif-abonnement-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: -20px;
  height: 0.5px;
  background-color: black;
}

.tarif-abonnement-col > * + * {
  overflow: visible !important;
}

/*
.equipe-col--span-12,
*/
.tarif-abonnement-col--span-12 {
  flex: 1 1 100%;
}

/*
.equipe-col--span-6,
*/
.tarif-abonnement-col--span-6 {
  flex: 1 1 calc(50% - 80px);
}

/*
.equipe-col--span-4,
*/
.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: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%) !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;
  color: #000;
  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: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
      box-shadow: rgba(0, 135, 207, 1) 1px 1px 10px;
    background-color: #aed8ed;
    /* background-image: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%); */
    /* background-size: cover; */
    border-color: #fff;
    /* font-family: 'XanhI', monospace; */
    color: white;
    border: 1px solid white;
}

.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;
  color: #2a2a2a;
  margin-bottom: 15px;
  text-transform: uppercase;
}

/* NOTE: ajout fusionné dans le bloc principal (audit home).
.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;
    font-size: 1rem;
}

.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%;
  }

  .tarif-abonnement-row:not(:last-child)::after {
    display: none;
  }

}



/* 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;
  }
}

/*  MENU MOBILE-> BOTTOM (Menu + Programmation) */

@media screen and (max-width: 768px) {
  /* ── Padding bas pour les 2 handles ── */
  .main-content--home3 {
    padding-bottom: 88px;
    margin-right: 0;
  }
  .menu-burger {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: 44px;
    left: 0;
    width: 100%;
    height: 44px;
    display: flex !important;
    flex-direction: column;
    z-index: 10000;
    transform: none !important;
    transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .menu-burger-tab {
    width: 100%;
    min-width: 0;
    height: 44px;
    background: var(--home-bg-color);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 25px;
    font-family: 'Brown-M', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: none;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    order: -1;
  }

  /* Sur mobile, on retire les faux filets verticaux (::before / ::after) */
  .menu-burger-tab::before,
  .menu-burger-tab::after {
    display: none !important;
    content: none;
  }

  .menu-burger-tab-icon {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    gap: 8px;
    writing-mode: initial;
    text-orientation: initial;
    padding: 0;
    font-size: 1.25rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1.5px;
  }

  .partners-inner {
    gap: 10px;
  }

  .menu-burger-tab-label,
  .menu-burger .logo {
    display: none !important;
  }

  .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 - 88px);
    height: calc(100dvh - 88px);
    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: none !important;
  }

  .menu-burger.is-expanded {
    height: calc(100vh - 44px);
    z-index: 9998;
    flex-direction: column-reverse;
  }
  
  .menu-burger-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9997;
    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;
  }

  .tarif-abonnement-col:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 0px;
    bottom: 0px;
    right: 0px;
    width: 0px;
    background-color: none;
  }

  /*DRAWER 1 — Programmation */
  .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: 44px;
    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 {
    z-index: 9999;
  }

  .expandable-sidebars.is-mobile-expanded .expandable-sidebar.sidebar--agenda {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column-reverse;
  }

  .expandable-sidebars .home-header {
    cursor: pointer;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0 25px;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #000;
    font-size: 1.25rem;
  }

  .expandable-sidebars .home-header .logo {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .agenda-global-title {
    font-size: 1.25rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    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: none !important;
  }

  .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 {
    flex: 1;
    height: auto;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .expandable-sidebars.is-mobile-expanded .sidebar--agenda .sidebar-content::before {
    content: "Programmation";
    display: block;
    font-family: 'Brown-M', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.05em;
    padding: 10px 10px;
    border-bottom: 1px solid #000;
  }

  .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;
  }

 
  :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: minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 30px;
  }

  .home-layout-row--vertical-style .home-layout-col {
    grid-column: span 1 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
  }

  .home-layout-row--vertical-style .home-layout-col > * {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
  }

  .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;
  }
  

  .home-layout-col {
    font-size: 0.9rem;
  }

  .home-section-separator {
    margin: 20px 15px;
  }
}

/* MOBILE — Sous-pages */

@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,
  .histoire-hexagone .content-container,
  .equipe .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,
  .histoire-hexagone .grid,
  .equipe .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,
  .histoire-hexagone .column,
  .equipe .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,
  .histoire-hexagone .content-container h1,
  .equipe .content-container h1 {
    font-size: 3.2rem;
  }
}

.error-page {
  width: 100%;
  height: 100%;
  padding: 60px;
  text-align: center;
}

/* EVENT RP - FRISE TIMELINE  */

.rp-satellites {
  margin-top: 8px;
}


/* ── Layout TIMELINE ── */
.rp-timeline-heading {
  font-family: 'Brown-M', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  margin: 0 0 20px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--home-accent-color);
}

.rp-timeline-inner {
  position: relative;
  padding-left: 24px;
}

.rp-timeline-inner::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--home-accent-color);
}

.rp-timeline-node {
  position: relative;
  margin-bottom: 10px;
}

.rp-timeline-node::marker,
.rp-timeline-node summary::-webkit-details-marker,
.rp-timeline-node summary::marker {
  display: none;
  content: "";
}

.rp-timeline-summary {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
  transform-origin: center center;
  transition: transform 0.25s ease, background-color 0.25s ease;
  border-radius: 6px;
}

.rp-timeline-summary:hover {
  background-color: rgba(47, 169, 225, 0.06);
  transform: translateX(4px);
}

.rp-timeline-summary:hover .rp-timeline-chevron {
  transform: translateX(3px);
}

.rp-timeline-summary::-webkit-details-marker {
  display: none;
}

.rp-timeline-node::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 14px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--season-2627-blue-1, #2fa9e1);
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--season-2627-blue-1, #2fa9e1);
}

.rp-timeline-node--spectacle::before {
  background:  var(--season-2627-blue-3, #2fa9e1);
  width: 15px;
  height: 15px;
  box-shadow: 0 0 0 1px  var(--season-2627-blue-3, #2fa9e1);
  top: 13px;
}

.rp-timeline-node--spectacle .rp-timeline-title {
  color: var(--home-accent-color, #2fa9e1);
}

.rp-timeline-node--spectacle .rp-timeline-summary {
  padding-left: 12px;
}


.rp-timeline-node--rp::before {

    background: var(--home-accent-color, #2fa9e1);
    width: 15px;
    height: 15px;
    box-shadow: 0 0 0 1px var(--home-accent-color, #2fa9e1);
    top: 13px;
}

.rp-timeline-node--rp .rp-timeline-summary {
  padding-left: 12px;
}

.rp-timeline-chevron-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Chevron rotationnel à droite */
.rp-timeline-chevron {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-left: auto;
  font-size: 2.6rem;
  line-height: 0.3;
  color: var(--home-accent-color, #2fa9e1);
  transition: transform 0.25s ease;
  padding-right: 15px;
      transform-origin: 50% 50%;
}

.rp-timeline-more-info {
    font-family: 'Brown-M', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.rp-timeline-node[open] .rp-timeline-chevron {
    transform: rotate(90deg);
    
}

.rp-timeline-date {
  flex: 0 0 65px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.rp-timeline-weekday {
  font-family: 'Brown-M', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.rp-timeline-daynum {
  font-family: 'Brown-M', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.rp-timeline-month {
  font-family: 'Brown-M', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.rp-timeline-time {
  font-family: 'Brown-L', sans-serif;
  font-size: 0.8rem;
  opacity: 0.9;
}

.rp-timeline-body {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rp-timeline-body .rp-tl-info-value-tags {
  align-self: flex-end;
  margin-top: 2px;
}

.rp-timeline-type {
  display: block;
  font-family: 'Brown-M', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  opacity: 0.55;
  margin-bottom: 4px;
}

.rp-timeline-title {
  font-family: 'Brown-M', sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 4px;
}

.rp-timeline-lieu {
  font-family: 'Brown-M', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.8;
}

/* Bouton Réserver en badge, à la manière des pills agenda-hexagone */
.rp-timeline-body .spectacle-viewer-reserve-mini {
position: relative;
    padding: 2px 8px;
    background-color: var(--season-2627-blue-4);
    background-image: radial-gradient(ellipse at 20% 8%, #0066b0 0%, transparent 55%), radial-gradient(ellipse at 82% 82%, #2fa9e1 0%, transparent 58%), linear-gradient(135deg, #0088cf 0%, #0066b0 100%);
    background-size: cover;
    background-repeat: round;
    transform: rotate(6deg);
    color: #fff;
    box-shadow: var(--text-shadow);
    border: 1px solid white;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
    z-index: 1;
}

/* Dropdown (contenu détaillé) */
.rp-timeline-dropdown {
  margin: 4px 0 8px;
  padding: 16px 18px;
  border: 1px solid rgba(0,0,0,0.12);
  animation: rp-tl-open 0.22s ease;
  max-width: 92%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px 22px;
  align-items: start;
}
.rp-timeline-dropdown .rp-tl-desc,
.rp-timeline-dropdown .rp-tl-media,
.rp-timeline-dropdown .rp-tl-section {
  grid-column: 1 / -1;
}

@keyframes rp-tl-open {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.rp-tl-desc {
  font-family: 'Brown-L', sans-serif;
  font-size: 1.2rem;
  line-height: 1.5;
  padding-bottom : 24px;
}

.rp-tl-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: flex-start;
}

.rp-tl-info-label {
  flex: none;
  font-family: 'Brown-M', sans-serif;
  font-size: 0.7rem;
  width: 100%;
  border-bottom: 1px solid #000;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.rp-tl-info-value {
  flex: none;
  font-family: 'Brown-L', sans-serif;
  font-size: 0.9rem;
  margin: 0;
}

.rp-tl-info-value-tags {
        font-family: 'Brown-M', sans-serif;
    width: fit-content;
    border: 1px solid #000;
    padding: 0px 6px;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.rp-tl-info-value .rp-tl-tarifs {
  margin: 0;
}
.rp-tl-info-value .rp-tl-tarifs p {
  margin: 0 0 4px;
}

.rp-tl-info-value .rp-tl-tarifs .tarif-range-tag,
.rp-tl-info-value .rp-tl-tarifs .tarif-range-detail {
  border: none;
  background: none;
  box-shadow: none;
  padding: 0;
  margin: 0 0 4px;
  width: auto;
  font-size: 0.9rem;
  line-height: 1.5;
  text-transform: none;
}

.rp-tl-info-value .rp-tl-tarifs .tarif-range-tag {
  text-transform: uppercase;
}
.rp-tl-info-value .rp-tl-tarifs .tarif-range-link {
  text-decoration: underline;
}

.rp-tl-section {
  margin-top: 14px;
  padding-top: 10px;
}

.rp-tl-section-label {
  font-family: 'Brown-M', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #000;
  margin: 0 0 8px;
}

.rp-tl-extra-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 8px;
}

.rp-tl-extra-logo,
.rp-tl-extra-img {
  max-width: 64px;
  height: auto;
}

.rp-tl-extra-text {
  font-family: 'Brown-L', sans-serif;
  font-size: 0.88rem;
  line-height: 1.5;
}

.rp-tl-dist {
  font-family: 'Brown-L', sans-serif;
  font-size: 0.88rem;
  line-height: 1.55;
}

.rp-tl-section-body {
  font-family: 'Brown-L', sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Média de couverture sous la description 
*/
.rp-tl-media {
  margin-bottom: 20px;
}

.rp-tl-media-img,
.rp-tl-media-video {
  display: block;
  width: auto;
  max-height: 315px;
  height: auto;
  border: 1px solid rgba(0,0,0,0.12);
}

/* Image cliquable : ouvre la même lightbox que la galerie */
.rp-tl-media-zoom {
  display: inline-block;
  line-height: 0;
  cursor: zoom-in;
}

.rp-tl-media-doc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Brown-L', sans-serif;
  font-size: 0.9rem;
  text-decoration: underline;
}

.rp-tl-media-doc-icon {
  width: 20px;
  height: 20px;
  flex: none;
}

@media (max-width: 600px) {
  .rp-timeline-summary { flex-direction: row; gap: 12px; }
  .rp-timeline-date { flex-basis: 58px; }
  .rp-timeline-chevron { display: none; }
  .rp-timeline-dropdown {
    max-width: 100%;
    grid-template-columns: 1fr 1fr;
  }
}

/* NOTE:*/
.home-block--heading--sandbox-2 .home-block-heading-inner,
.spectacle-viewer-inner .spectacle-viewer-reserve-mini,
.page-highlight-block,
.home-hero-image-wrapper,
.agenda-hover-card,
.venir-hexagone .content-container h5,
.tarif-abonnement .content-container h5,
.technique-acces .grid .column[data-span="4"],
.spectacle-item-booking,
.tarif-abonnement-row:first-child .tarif-abonnement-col--span-4:nth-child(-n+3),
.tarif-block-horaires-item,
.rp-timeline-body .spectacle-viewer-reserve-mini {
  position: relative;
  isolation: isolate;
}


.home-block--heading--sandbox-2 .home-block-heading-inner::before,
.spectacle-viewer-inner .spectacle-viewer-reserve-mini::before,
.page-highlight-block::before,
.home-hero-image-wrapper::before,
.agenda-hover-card::before,
.venir-hexagone .content-container h5::before,
.tarif-abonnement .content-container h5::before,
.technique-acces .grid .column[data-span="4"]::before,
.spectacle-item-booking::before,
.tarif-abonnement-row:first-child .tarif-abonnement-col--span-4:nth-child(-n+3)::before,
.tarif-block-horaires-item::before,
.rp-timeline-body .spectacle-viewer-reserve-mini::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-size: contain;
  background-repeat: round;
  background-image: url("https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/40550ab9-0dde-4376-ae73-77355bb45d73/d37pwfa-82dd8ce8-a772-4e1d-9f03-e355a2aa1722.jpg/v1/fill/w_1024,h_768,q_75,strp/film_texture___grain_explosion_by_stephanepellennec_d37pwfa-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9NzY4IiwicGF0aCI6Ii9mLzQwNTUwYWI5LTBkZGUtNDM3Ni1hZTczLTc3MzU1YmI0NWQ3My9kMzdwd2ZhLTgyZGQ4Y2U4LWE3NzItNGUxZC05ZjAzLWUzNTVhMmFhMTcyMi5qcGciLCJ3aWR0aCI6Ijw9MTAyNCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.aSxRQd9L7FH8U94gUiuDk8_e8_keT49wAENCcODKIDw");
  opacity: 0.4;
  mix-blend-mode: overlay;
}

.bandeau-billetterie::before {
content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-size: contain;
  background-image: url("https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/40550ab9-0dde-4376-ae73-77355bb45d73/d37pwfa-82dd8ce8-a772-4e1d-9f03-e355a2aa1722.jpg/v1/fill/w_1024,h_768,q_75,strp/film_texture___grain_explosion_by_stephanepellennec_d37pwfa-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7ImhlaWdodCI6Ijw9NzY4IiwicGF0aCI6Ii9mLzQwNTUwYWI5LTBkZGUtNDM3Ni1hZTczLTc3MzU1YmI0NWQ3My9kMzdwd2ZhLTgyZGQ4Y2U4LWE3NzItNGUxZC05ZjAzLWUzNTVhMmFhMTcyMi5qcGciLCJ3aWR0aCI6Ijw9MTAyNCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS5vcGVyYXRpb25zIl19.aSxRQd9L7FH8U94gUiuDk8_e8_keT49wAENCcODKIDw");
  opacity: 0.4;
  mix-blend-mode: overlay;
}
