/* ============================================
   VARIABLES
   ============================================ */
   :root {
    --color-terracotta: #793A2A;
    --color-vert-bouteille: #1A4930;
    --color-vert-clair: #4F6F63;
    --color-ivoire: #F3EFE8;
    --color-noir: #1A1A1A;

    --color-text: var(--color-ivoire);
    --color-text-muted: #ffffff;
    --color-bg: var(--color-terracotta);
    --color-bg-alt: var(--color-vert-bouteille);
    --color-accent: var(--color-vert-clair);
    --color-border: rgba(243, 239, 232, 0.2);
}

/* ============================================
   RESET DE BASE
   ============================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', Helvetica, sans-serif;
    font-size: 16px;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

h1, .home-intro h1, .agenda-list h1, .about-text h1 {
    font-family: 'Playfair Display', serif;
}

.subtitle, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
}

.header-right a, .lang-switcher a {
    font-family: 'Inter', Helvetica, sans-serif;
    font-variant: small-caps;
    letter-spacing: 1.5px;
}

/* ============================================
   HEADER (fixe, colonne à droite)
   ============================================ */
   .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 35px;
}

.logo a,
.header-right a {
    color: var(--color-text);
    text-decoration: none;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.lang-switcher {
    margin-bottom: 25px;
}

.header-right ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-right a {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Sélecteur de langue : toujours en haut, horizontal */


.lang-switcher li {
    list-style: none;
}

.lang-switcher {
    order: -1;
    display: flex;
    align-items: center;
    gap: 0;
}

.lang-switcher li:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 1px;
    height: 0.8em;
    background-color: var(--color-text);
    margin: 0 10px;
    vertical-align: middle;
}

.lang-switcher a {
    font-size: 10px;
    letter-spacing: 1.5px;
}

.lang-switcher .pll-parent-menu-item {
    display: none;
}

/* Menu principal : vertical, aligné à droite */
.header-right nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* ============================================
   PAGES STATIQUES CLASSIQUES (fallback page.php)
   ============================================ */
.static-page,
.schedule-page,
.single-concert {
    padding: 140px 60px 60px;
}

/* ============================================
   COLONNES SPLIT PARTAGÉES (accueil / about / agenda)
   Photo 40% (sticky) / contenu 60% (défilant)
   ============================================ */
.home-split,
.about-split,
.agenda-split {
    display: flex;
    align-items: flex-start;
}

.about-photo,
.agenda-photo {
    flex: 0 0 40%;
    position: sticky;
    top: 0;
    height: 100vh;
    background-size: cover;
    background-position: center;
    align-self: flex-start;
}

.home-photo {
    flex: 0 0 35%;
    position: sticky;
    top: 0;
    height: 100vh;
    background-size: 85%;
    background-repeat: no-repeat;
    background-position: left top;
    background-color: var(--color-bg);
    align-self: flex-start;
}

.home-content,
.about-text,
.agenda-list {
    flex: 0 0 60%;
    min-height: 100vh;
    padding: 160px 220px 60px 60px; /* padding-right élargi pour ne pas passer sous le menu fixe */
}

/* ============================================
   ACCUEIL
   ============================================ */
   .home-intro {
    text-align: center;
    margin-bottom: 60px;
}

.home-intro h1 {
    font-size: 48px;
    font-weight: normal;
    line-height: 1.2;
}

.home-intro .subtitle {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text);
    margin-top: 15px;
}

.intro-divider {
    width: 40px;
    height: 1px;
    background-color: var(--color-text);
    margin: 20px auto;
}

.home-intro .tagline {
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}


/* ============================================
   ABOUT
   ============================================ */
.about-text h1 {
    font-size: 36px;
    font-weight: normal;
    margin-bottom: 30px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text * {
    color: var(--color-text);
}

/* ============================================
   AGENDA
   ============================================ */
.agenda-list h1 {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 50px;
    color: var(--color-accent);
}

.agenda-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px 0;
    border-bottom: 1px solid var(--color-border);
}

.agenda-date-block {
    flex-shrink: 0;
    width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.agenda-day {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--color-accent);
}

.agenda-daynum {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: var(--color-text);
}

.agenda-details {
    flex: 1;
}

.agenda-details h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--color-noir);
}

.agenda-venue {
    color: var(--color-text-muted);
    margin-bottom: 8px;
    font-size: 14px;
}

.agenda-program {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.agenda-ticket {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-bg);
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.agenda-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    overflow: hidden;
    border-radius: 6px;
}

.agenda-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   NEWS (accueil)
   ============================================ */
.news {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid var(--color-border);
    margin-top: 60px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .home-split,
    .about-split,
    .agenda-split {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .home-photo {
        background-size: 92%;
        background-repeat: no-repeat;
        background-position: center;
        background-color: var(--color-bg);
    }

    .home-content,
    .about-text,
    .agenda-list {
        height: auto;
        min-height: auto;
        overflow-y: visible;
        padding: 40px 20px;
        flex: none;
    }

    .agenda-item {
        flex-wrap: wrap;
    }
}

.about-text h1 {
    color: var(--color-accent);
}

/* ============================================
   AGENDA — style spécifique façon maquette
   (fond ivoire, blocs date terracotta)
   ============================================ */
   .agenda-split {
    background-color: var(--color-ivoire);
    color: var(--color-noir);
}

.agenda-list h1 {
    color: var(--color-terracotta);
}

.agenda-item {
    border-bottom: 1px solid rgba(26, 26, 26, 0.15);
}

.agenda-date-block {
    background-color: var(--color-terracotta);
    color: var(--color-ivoire);
    padding: 10px 8px;
    border-radius: 6px;
    text-align: center;
}

.agenda-day {
    color: var(--color-ivoire);
    font-size: 11px;
}

.agenda-daynum {
    color: var(--color-ivoire);
    font-size: 20px;
}

.agenda-details h3 {
    color: var(--color-noir);
}

.agenda-split .agenda-venue,
.agenda-split .agenda-program {
    color: #555;
}

.agenda-ticket {
    display: inline-block;
    background: none;
    color: var(--color-terracotta);
    text-decoration: underline;
    padding: 0;
    border-radius: 0;
    font-size: 13px;
    text-transform: none;
    letter-spacing: normal;
}

.agenda-ticket::after {
    content: ' →';
}

/* Section Événements passés */
.agenda-past {
    margin-top: 60px;
}

.agenda-past h2 {
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--color-terracotta);
    margin-bottom: 20px;
}

.agenda-past-item {
    display: flex;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    font-size: 14px;
}

.agenda-past-item .past-date {
    color: var(--color-terracotta);
    flex-shrink: 0;
    width: 90px;
}

.agenda-past-item a {
    color: var(--color-noir);
    text-decoration: none;
}

.agenda-past-item a:hover {
    text-decoration: underline;
}

/* Header sombre sur la page Agenda (fond clair) */
.page-template-page-agenda-template-php .logo a,
.page-template-page-agenda-template-php .header-right a {
    color: var(--color-terracotta);
}

.page-template-page-agenda-template-php .lang-switcher li:not(:last-child)::after {
    background-color: var(--color-terracotta);
}

/* ============================================
   ABOUT — fond clair
   ============================================ */
   .about-split {
    background-color: var(--color-ivoire);
}

.about-text {
    color: var(--color-noir);
}

.about-text * {
    color: var(--color-noir);
}

.about-text h1 {
    color: var(--color-terracotta);
}

/* Header sombre sur la page About (fond clair) */
.page-template-page-about-template-php .logo a,
.page-template-page-about-template-php .header-right a {
    color: var(--color-terracotta);
}

.page-template-page-about-template-php .lang-switcher li:not(:last-child)::after {
    background-color: var(--color-terracotta);
}

/* ============================================
   CONTACT — style formulaire façon maquette
   ============================================ */

.contact-split {
    display: flex;
    align-items: flex-start;
    background-color: var(--color-ivoire);
}

.contact-photo {
    flex: 0 0 40%;
    position: sticky;
    top: 0;
    height: 100vh;
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: left center;
    background-color: var(--color-ivoire);
}

.contact-content {
    flex: 0 0 60%;
    min-height: 100vh;
    padding: 160px 220px 60px 60px;
    color: var(--color-noir);
}

.contact-content h1 {
    color: var(--color-terracotta);
}

.contact-content label {
    display: block;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--color-noir);
}

.cf7-row {
    display: flex;
    gap: 20px;
}

.cf7-field {
    flex: 1;
    min-width: 0; /* empêche le champ de forcer la largeur du parent à s'étendre */
}

.cf7-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}

.contact-content input[type="text"],
.contact-content input[type="email"],
.contact-content textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid rgba(26, 26, 26, 0.2);
    border-radius: 4px;
    background-color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.contact-content textarea {
    min-height: 100px;
    resize: vertical;
}

.contact-content input[type="submit"] {
    display: inline-block;
    width: auto;
    background-color: var(--color-vert-bouteille);
    color: var(--color-ivoire);
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 14px;
}

.contact-content input[type="submit"]:hover {
    background-color: #1e332e;
}

/* Header sombre sur la page Contact (fond clair) */
.page-template-page-contact-template-php .logo a,
.page-template-page-contact-template-php .header-right a {
    color: var(--color-terracotta);
}

.page-template-page-contact-template-php .lang-switcher li:not(:last-child)::after {
    background-color: var(--color-terracotta);
}


/* ============================================
   ARRANGEMENT / HÉDONÉ — fond vert bouteille
   ============================================ */
   .arrangement-split {
    display: flex;
    align-items: flex-start;
    background-color: var(--color-bg-alt);
}
.arrangement-photo {
    flex: 0 0 40%;
    position: sticky;
    top: 0;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-color: var(--color-bg-alt);
}
.arrangement-content {
    flex: 0 0 60%;
    min-height: 100vh;
    padding: 160px 220px 60px 60px;
    color: var(--color-text);
}
.page-tagline {
    font-style: italic;
    color: var(--color-text-muted);
    margin: 15px 0;
}
.page-intro {
    margin-bottom: 30px;
    line-height: 1.8;
}
.section-label {
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin: 30px 0 15px;
}
.arrangement-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}
.arrangement-badge {
    flex-shrink: 0;
    background-color: var(--color-ivoire);
    color: var(--color-noir);
    font-size: 11px;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    width: 90px;
    line-height: 1.3;
}
.arrangement-details h3 {
    font-weight: normal;
    margin-bottom: 5px;
}
.arrangement-details a {
    color: var(--color-accent);
    font-size: 13px;
}
.arrangement-cta {
    margin-top: 40px;
    font-style: italic;
}
.hedone-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--color-ivoire);
    text-decoration: underline;
    font-size: 15px;
}

.hedone-link:hover {
    color: var(--color-text-muted);
}

/* ============================================
   TRANSMISSION — galerie photo
   ============================================ */
.transmission-gallery {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}
.transmission-gallery img {
    width: 33%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
}

/* ============================================
   MEDIA — fond noir
   ============================================ */
   .media-split {
    display: flex;
    align-items: flex-start;
    background-color: var(--color-noir);
}
.media-photo {
    flex: 0 0 40%;
    position: sticky;
    top: 0;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-color: var(--color-noir);
}
.media-content {
    flex: 0 0 60%;
    min-height: 100vh;
    padding: 160px 220px 60px 60px;
    color: var(--color-text);
}
.media-tabs {
    display: flex;
    gap: 25px;
    margin: 20px 0 30px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}
.media-tab {
    background: none;
    border: none;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
}
.media-tab.active {
    color: var(--color-text);
    font-weight: bold;
}

/* ============================================
   TRANSMISSION — fond terracotta (indépendant de About)
   ============================================ */
   .transmission-split {
    display: flex;
    align-items: flex-start;
    background-color: var(--color-bg-alt);
}

.transmission-photo {
    flex: 0 0 40%;
    position: sticky;
    top: 0;
    height: 100vh;
    background-size: 90%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--color-bg-alt);
}

.transmission-text {
    flex: 0 0 60%;
    min-height: 100vh;
    padding: 160px 220px 60px 60px;
    color: var(--color-text);
}

.transmission-text h1 {
    font-size: 36px;
    font-weight: normal;
    margin-bottom: 20px;
}

.transmission-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}


.about-text h1,
.agenda-list h1,
.arrangement-content h1,
.transmission-text h1,
.media-content h1,
.contact-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: normal;
}

.about-photo,
.agenda-photo,
.arrangement-photo,
.transmission-photo,
.media-photo,
.contact-photo {
    flex: 0 0 35% !important;
    background-size: 85% !important;
    background-repeat: no-repeat;
    background-position: left center;
}

.cf7-group {
    margin-bottom: 25px;
}

.contact-content .wpcf7-form-control-wrap {
    display: block;
    margin: 0;
}

.contact-content p {
    margin: 0;
}

.site-header {
    pointer-events: none;
}

.logo,
.header-right {
    pointer-events: auto;
}


/* ============================================
   LOGO (image)
   ============================================ */
   .logo img {
    display: block;
    height: 100px;
    width: auto;
    margin-left: -60px;
    margin-top: -40px;
}

@media (max-width: 768px) {
    .logo img {
        height: 60px;
        margin-left: -10px;
    }
}

/* ============================================
   UPCOMING (accueil)
   ============================================ */
   .home-content .upcoming {
    width: 100%;
    max-width: 640px;
    margin: 50px 0 0;
    text-align: left;
}

.home-content .upcoming h2 {
    display: flex;
    align-items: center;
    gap: 25px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 40px;
    color: var(--color-ivoire);
    margin-bottom: 25px;
}

.home-content .upcoming h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--color-ivoire);
}

.upcoming-card {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 24px 30px;
    margin-bottom: 15px;
    border: 1px solid rgba(243, 239, 232, 0.7);
    border-radius: 14px;
    color: var(--color-ivoire);
    text-decoration: none;
    transition: background-color 0.2s;
}

.upcoming-card:hover {
    background-color: rgba(243, 239, 232, 0.08);
}

.upcoming-date {
    flex-shrink: 0;
    padding-right: 30px;
    border-right: 1px solid rgba(243, 239, 232, 0.7);
}

.upcoming-day {
    display: block;
    font-family: 'Inter', Helvetica, sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.upcoming-daynum {
    display: block;
    font-family: 'Inter', Helvetica, sans-serif;
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 1px;
}

.upcoming-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    font-size: 26px;
    color: var(--color-ivoire);
    margin: 0 0 6px;
}

.upcoming-info p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--color-ivoire);
    margin: 0;
}

@media (max-width: 768px) {
    .home-content .upcoming h2 {
        font-size: 32px;
    }

    .upcoming-card {
        gap: 20px;
        padding: 20px;
    }

    .upcoming-date {
        padding-right: 20px;
    }
}


/* ============================================
   RESPONSIVE MOBILE — toutes les pages
   ============================================ */
   @media (max-width: 768px) {

    /* En-tête : plus fixe, menu en ligne qui passe à la ligne */
    .site-header {
        position: relative;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
        padding: 20px;
    }

    .header-right {
        width: 100%;
        align-items: flex-start;
        gap: 14px;
    }

    .lang-switcher {
        margin-bottom: 0;
    }

    .header-right nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px 18px;
    }

    .header-right a {
        font-size: 12px;
    }

    /* Toutes les pages : colonnes empilées */
    .arrangement-split,
    .transmission-split,
    .media-split,
    .contact-split {
        flex-direction: column;
    }

    /* Photos : bandeau en haut avec hauteur explicite */
    .home-photo,
    .about-photo,
    .agenda-photo,
    .arrangement-photo,
    .transmission-photo,
    .media-photo,
    .contact-photo {
        flex: none !important;
        width: 100%;
        height: 70vw;
        position: static;
        background-size: cover !important;
        background-position: center top !important;
    }

    /* Contenus : plus de marge droite géante */
    .arrangement-content,
    .transmission-text,
    .media-content,
    .contact-content {
        flex: none;
        min-height: auto;
        padding: 30px 20px 40px;
    }

    /* Titres */
    .home-intro h1 {
        font-size: 38px;
    }

    .about-text h1,
    .agenda-list h1,
    .arrangement-content h1,
    .transmission-text h1,
    .media-content h1,
    .contact-content h1 {
        font-size: 30px;
    }

    /* Media et Contact */
    .media-tabs {
        flex-wrap: wrap;
        gap: 10px 20px;
    }

    .media-panel img {
        max-width: 100%;
        height: auto;
    }

    .cf7-row {
        flex-direction: column;
        gap: 15px;
    }

    .cf7-field {
        flex: none;
        width: 100%;
    }
}

/* ============================================
   MOBILE — header sur fond clair (À propos, Agenda, Contact)
   ============================================ */
   @media (max-width: 768px) {
    .page-template-page-about-template-php .site-header,
    .page-template-page-agenda-template-php .site-header,
    .page-template-page-contact-template-php .site-header {
        background-color: var(--color-ivoire);
    }
}

/* ============================================
   LOGO coloré sur les pages à fond clair
   ============================================ */
/* ============================================
   LOGO coloré sur les pages à fond clair (mobile seulement)
   ============================================ */
   @media (max-width: 768px) {
    .page-template-page-about-template-php .logo a,
    .page-template-page-agenda-template-php .logo a,
    .page-template-page-contact-template-php .logo a {
        display: block;
        background-color: var(--color-terracotta);
        -webkit-mask-image: url('../../images/logo.png');
        mask-image: url('../../images/logo.png');
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-position: left center;
        mask-position: left center;
    }

    .page-template-page-about-template-php .logo img,
    .page-template-page-agenda-template-php .logo img,
    .page-template-page-contact-template-php .logo img {
        opacity: 0;
    }
}
   
   /* ============================================
      MOBILE — cadrage des photos
      ============================================ */
   @media (max-width: 768px) {
       .home-photo,
       .about-photo,
       .agenda-photo,
       .arrangement-photo,
       .transmission-photo,
       .media-photo,
       .contact-photo {
           height: 200vw;
           max-height: 120vh;
           background-position: center top !important;
       }
   }


   /* ============================================
   MEDIA — vidéos à la largeur de la colonne
   ============================================ */
.media-content {
    min-width: 0;
}

.media-panel iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border: 0;
}

/* ============================================
   PHOTOS — pleine hauteur (ordinateur)
   ============================================ */
   @media (min-width: 769px) {
    .home-photo,
    .about-photo,
    .agenda-photo,
    .arrangement-photo,
    .transmission-photo,
    .media-photo,
    .contact-photo {
        background-size: auto 100% !important;
        background-position: left top !important;
    }
}


/* ============================================
   MEDIA — visionneuse de photos (lightbox)
   ============================================ */
   .lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.92);
}

.lightbox.is-open {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox button {
    position: absolute;
    background: none;
    border: none;
    color: var(--color-ivoire);
    line-height: 1;
    padding: 10px 16px;
    cursor: pointer;
}

.lightbox button:hover {
    opacity: 0.7;
}

.lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 40px;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
}

.lightbox-prev {
    left: 15px;
}

.lightbox-next {
    right: 15px;
}

.lightbox-single .lightbox-prev,
.lightbox-single .lightbox-next {
    display: none;
}

body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 44px;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }
}

/* ============================================
   MOBILE — logo un peu plus bas
   ============================================ */
   @media (max-width: 768px) {
    .logo {
        margin-top: 18px;
    }
}



/* ============================================
   MEDIA — cartes de presse (aperçu des liens)
   ============================================ */
   .press-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.press-card {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    overflow: hidden;
    color: var(--color-ivoire);
    text-decoration: none;
    transition: background-color 0.2s;
}

.press-card:hover {
    background-color: rgba(243, 239, 232, 0.08);
}

.press-thumb {
    flex: 0 0 160px;
    display: block;
}

.press-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.press-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 18px 22px;
    min-width: 0;
}

.press-site {
    font-family: 'Inter', Helvetica, sans-serif;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0.7;
}

.press-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 21px;
    line-height: 1.25;
    color: var(--color-ivoire);
}

.press-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-muted);
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .press-card {
        flex-direction: column;
    }

    .press-thumb {
        flex: none;
        height: 180px;
    }

    .press-info {
        padding: 16px;
    }
}

/* ============================================
   UPCOMING (accueil) — version plus compacte
   ============================================ */
   .home-content .upcoming {
    max-width: 540px;
    margin-top: 40px;
}

.home-content .upcoming h2 {
    font-size: 32px;
    gap: 20px;
    margin-bottom: 18px;
}

.upcoming-card {
    gap: 22px;
    padding: 16px 22px;
    margin-bottom: 12px;
    border-radius: 12px;
}

.upcoming-date {
    padding-right: 22px;
}

.upcoming-day {
    font-size: 11px;
    margin-bottom: 3px;
}

.upcoming-daynum {
    font-size: 19px;
}

.upcoming-info h3 {
    font-size: 21px;
    margin-bottom: 4px;
}

.upcoming-info p {
    font-size: 15px;
}

@media (max-width: 768px) {
    .home-content .upcoming h2 {
        font-size: 26px;
    }

    .upcoming-card {
        gap: 16px;
        padding: 14px 16px;
    }

    .upcoming-date {
        padding-right: 16px;
    }

    .upcoming-daynum {
        font-size: 17px;
    }

    .upcoming-info h3 {
        font-size: 19px;
    }

    .upcoming-info p {
        font-size: 14px;
    }
}

/* ============================================
   TITRES — même espacement que Transmission
   (Arrangement, Hédoné, Contact)
   ============================================ */
   .arrangement-content h1,
   .contact-content h1 {
       margin-bottom: 20px;
   }

/* ============================================
   PAGE CONCERT — liens en blanc
   ============================================ */
   body.single-concert a,
   body.single-concert a:visited {
       color: #ffffff;
   }
   
   body.single-concert a:hover {
       opacity: 0.75;
   }



   /* ============================================
   AJOUTS — mobile, Upcoming, page Arrangement
   ============================================ */

/* Upcoming : lieu et programme */
.upcoming-info .upcoming-venue {
    margin-bottom: 2px;
}

.upcoming-info .upcoming-program {
    font-size: 14px;
    opacity: 0.85;
}

/* Arrangement / Hédoné : texte mis en forme dans l'éditeur */
.page-intro p {
    margin-bottom: 1em;
    line-height: 1.8;
}

.page-intro em,
.page-intro i {
    font-style: italic;
}

.page-intro hr {
    border: 0;
    border-top: 1px solid var(--color-border);
    margin: 25px 0;
}

.arrangement-extra {
    margin-bottom: 25px;
}

/* Téléphone */
@media (max-width: 768px) {
    .home-intro,
    .home-intro h1,
    .home-intro .subtitle,
    .home-intro .tagline {
        text-align: center;
    }

    .header-right .lang-switcher {
        align-self: flex-end;
    }

    .logo {
        margin-top: 32px;
    }
}


/* ============================================
   AJOUTS — texte en bas de page Arrangement, logo mobile
   ============================================ */
.arrangement-outro {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .site-header {
        padding: 6px 14px 18px;
    }

    .logo {
        margin-top: 0;
    }

    .logo img {
        height: 78px;
        margin: 0;
    }

    .site-header .lang-switcher {
        position: absolute;
        top: 22px;
        right: 20px;
        margin: 0;
    }
}


/* ============================================
   AGENDA — rectangles de date plus larges
   ============================================ */
.agenda-date-block {
    width: 120px;
    padding: 12px 10px;
}

.agenda-daynum {
    white-space: nowrap;
}


/* ============================================
   TABLETTE EN PORTRAIT — mise en page empilée
   ============================================ */
@media (min-width: 769px) and (max-width: 1100px) and (orientation: portrait) {

    .site-header {
        position: relative;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 30px 20px;
    }

    .header-right {
        width: 100%;
        align-items: flex-start;
        gap: 14px;
    }

    .lang-switcher {
        margin-bottom: 0;
    }

    .site-header .lang-switcher {
        position: absolute;
        top: 22px;
        right: 30px;
        margin: 0;
    }

    .header-right nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 8px 24px;
    }

    .logo {
        margin-top: 0;
    }

    .logo img {
        height: 80px;
        margin: 0;
    }

    /* Colonnes empilées */
    .home-split,
    .about-split,
    .agenda-split,
    .arrangement-split,
    .transmission-split,
    .media-split,
    .contact-split {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    /* Photo en bandeau en haut */
    .home-photo,
    .about-photo,
    .agenda-photo,
    .arrangement-photo,
    .transmission-photo,
    .media-photo,
    .contact-photo {
        flex: none !important;
        width: 100%;
        height: 155vw;
        max-height: 105vh;
        position: static;
        background-size: cover !important;
        background-position: center top !important;
    }

    /* Contenu sur toute la largeur */
    .home-content,
    .about-text,
    .agenda-list,
    .arrangement-content,
    .transmission-text,
    .media-content,
    .contact-content {
        flex: none;
        width: 100%;
        height: auto;
        min-height: auto;
        overflow-y: visible;
        padding: 40px 50px 50px;
    }

    /* Pages à fond clair : bandeau d'en-tête ivoire et logo terracotta */
    .page-template-page-about-template-php .site-header,
    .page-template-page-agenda-template-php .site-header,
    .page-template-page-contact-template-php .site-header {
        background-color: var(--color-ivoire);
    }

    .page-template-page-about-template-php .logo a,
    .page-template-page-agenda-template-php .logo a,
    .page-template-page-contact-template-php .logo a {
        display: block;
        background-color: var(--color-terracotta);
        -webkit-mask-image: url('../../images/logo.png');
        mask-image: url('../../images/logo.png');
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
        -webkit-mask-position: left center;
        mask-position: left center;
    }

    .page-template-page-about-template-php .logo img,
    .page-template-page-agenda-template-php .logo img,
    .page-template-page-contact-template-php .logo img {
        opacity: 0;
    }
}