﻿/* =========================================
   Main CSS � component & page-specific styles
   (global resets & base styles live in style.css)
   ========================================= */

/* =========================================
   Design tokens � Header
   ========================================= */

:root {
    --header-bg:        rgba(8, 18, 40, 0.55);
    --header-border:    rgba(197, 162, 92, 0.18);
    --gold:             #c5a25c;
    --gold-hover:       #dfc080;
    --amber:            #d97706;
    --amber-hover:      #b45309;
    --header-text:      #f0ece4;
    --header-text-muted: rgba(240, 236, 228, 0.65);
    --header-height:    80px;

    /* Typography */
    --font-title: 'Baskerville Display PT', Baskerville, "Baskerville Old Face", Georgia, serif;
    --font-body:  'Inter', system-ui, sans-serif;
    --font-ui:    'Raleway', system-ui, sans-serif;
}

/* =========================================
   Header � Structure pleine largeur superpos�e
   ========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background:
        radial-gradient(
            ellipse 70% 100% at 50% 0%,
            rgba(8, 18, 40, 0.72) 0%,
            rgba(8, 18, 40, 0.38) 60%,
            rgba(8, 18, 40, 0.10) 100%
        );
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(197, 162, 92, 0.10);
    transition: background 0.3s ease;
}

/* Compense le header fixe pour le contenu */

.header-inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 1.5rem;
}

/* =========================================
   Header � Branding (gauche)
   ========================================= */

.site-branding__link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    flex-shrink: 0;
}

.site-branding__link:hover {
    text-decoration: none;
}

.site-branding__emblem {
    font-size: 1.9rem;
    line-height: 1;
    color: var(--gold);
    flex-shrink: 0;
    filter: drop-shadow(0 0 8px rgba(197, 162, 92, 0.45));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.site-branding__link:hover .site-branding__emblem {
    filter: drop-shadow(0 0 14px rgba(197, 162, 92, 0.75));
    transform: rotate(15deg);
}

.site-branding__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.site-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--header-text);
    line-height: 1.15;
    transition: color 0.25s ease;
}

.site-description {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(197, 162, 92, 0.8);
    line-height: 1;
}

.site-branding__link:hover .site-title {
    color: var(--gold);
}

/* Logo WordPress personnalis� */
.site-branding .custom-logo-link img {
    max-height: 52px;
    width: auto;
}

/* =========================================
   Header � Navigation principale (centre)
   ========================================= */

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

#primary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

#primary-menu > li > a {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--header-text-muted);
    text-decoration: none;
    padding: 0.5rem 1.1rem;
    display: block;
    position: relative;
    transition: color 0.25s ease;
}

/* Trait dor� sous le lien � animation depuis le centre */
#primary-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.3s ease;
}

#primary-menu > li > a:hover {
    color: var(--header-text);
    text-decoration: none;
}

#primary-menu > li > a:hover::after {
    width: calc(100% - 2.2rem);
}

/* Lien actif */
#primary-menu > li.current-menu-item > a,
#primary-menu > li.current_page_item > a,
#primary-menu > li.current-menu-ancestor > a {
    color: var(--header-text);
}

#primary-menu > li.current-menu-item > a::after,
#primary-menu > li.current_page_item > a::after,
#primary-menu > li.current-menu-ancestor > a::after {
    width: calc(100% - 2.2rem);
}

/* =========================================
   Header � Actions (droite)
   ========================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Bouton CTA Soutenir */
.btn-soutenir {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--amber);
    padding: 0.55rem 1.35rem;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    box-shadow: 0 2px 14px rgba(217, 119, 6, 0.4);
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-soutenir:hover {
    background: var(--amber-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(217, 119, 6, 0.55);
}

.btn-soutenir__icon {
    display: none;
    flex-shrink: 0;
}

/* Ic�ne loupe */
.search-toggle {
    background: none;
    border: none;
    padding: 0.4rem;
    cursor: pointer;
    color: var(--header-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: color 0.25s ease;
    line-height: 0;
}

.search-toggle:hover,
.search-toggle[aria-expanded="true"] {
    color: var(--gold);
}

/* Bouton hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.menu-toggle:hover,
.menu-toggle:focus,
.menu-toggle:active,
.menu-toggle[aria-expanded="true"] {
    background: transparent;
    outline: none;
}

.menu-toggle__bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--header-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* =========================================
   Header � Panneau de recherche (redesign)
   ========================================= */

.header-search-panel {
    background: rgba(4, 14, 34, 0.98);
    border-top: 1px solid rgba(197, 162, 92, 0.18);
    border-bottom: 1px solid rgba(197, 162, 92, 0.06);
    padding: 2rem 2.5rem 2.25rem;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.header-search-panel:not([hidden]) {
    -webkit-animation: search-panel-in 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation: search-panel-in 0.22s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@-webkit-keyframes search-panel-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes search-panel-in {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.header-search-panel[hidden] {
    display: none;
}

/* Hint au-dessus du champ */
.header-search-panel__hint {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(197, 162, 92, 0.45);
    margin-bottom: 1rem;
}

/* Label wraps the input in WP's search form � must grow as the flex child */
.header-search-panel .search-form > label {
    flex: 1;
    display: block;
    min-width: 0;
}

/* Algolia wraps the input in a span � make it fill its parent label */
.header-search-panel .algolia-autocomplete {
    display: block !important;
    width: 100% !important;
}

.header-search-panel__row {
    max-width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-search-panel .search-form {
    flex: 1;
    display: flex;
    gap: 0;
}

.header-search-close {
    flex-shrink:     0;
    background:      rgba(255, 255, 255, 0.06);
    border:          1.5px solid rgba(197, 162, 92, 0.35);
    border-radius:   50%;
    width:           2.5rem;
    height:          2.5rem;
    min-width:       2.5rem;
    display:         flex;
    align-items:     center;
    justify-content: center;
    color:           rgba(240, 236, 228, 0.7);
    cursor:          pointer;
    transition:      background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    outline:         none;
}

.header-search-close:hover {
    background:    rgba(197, 162, 92, 0.2);
    border-color:  var(--gold);
    color:         #fff;
}

.header-search-close:focus-visible {
    outline:        2px solid var(--gold);
    outline-offset: 2px;
}

.header-search-close svg {
    width:      16px;
    height:     16px;
    min-width:  16px;
    min-height: 16px;
    display:    block;
    flex-shrink: 0;
}

.header-search-panel .search-field,
.header-search-panel .algolia-search-input,
.header-search-panel .aa-input {
    flex: 1;
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(197, 162, 92, 0.22);
    border-right: none;
    border-radius: 3px 0 0 3px;
    padding: 1.25rem 1.75rem;
    color: var(--header-text);
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 1.125rem;
    letter-spacing: 0.02em;
    outline: none;
    transition: border-color 0.22s ease, background 0.22s ease;
    -webkit-appearance: none;
    appearance: none;
}

.header-search-panel .search-field:focus,
.header-search-panel .algolia-search-input:focus,
.header-search-panel .aa-input:focus {
    border-color: rgba(197, 162, 92, 0.55);
    background: rgba(255, 255, 255, 0.09);
}

.header-search-panel .search-field::placeholder,
.header-search-panel .algolia-search-input::placeholder,
.header-search-panel .aa-input::placeholder {
    color: rgba(240, 236, 228, 0.28);
}

.header-search-panel .search-submit {
    flex-shrink: 0;
    background: var(--gold);
    border: 1px solid var(--gold);
    border-radius: 0 3px 3px 0;
    padding: 0.9rem 1.5rem;
    color: #04102a;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.22s ease, border-color 0.22s ease;
    -webkit-appearance: none;
    appearance: none;
}

.header-search-panel .search-submit:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
}

/* =========================================
   Header � Responsive mobile
   ========================================= */

@media (max-width: 960px) {
    .header-inner {
        /* Pas de position: relative — .site-header (fixed) sert de bloc conteneur */
        flex-wrap: wrap;
        height: auto;
        padding: 0.8rem 1.5rem;
        gap: 0.75rem;
    }

    .menu-toggle {
        display: flex;
        order: 1;
        flex-shrink: 0;
    }

    .site-branding {
        order: 2;
        position: absolute;   /* ancré sur .site-header (position: fixed) */
        left: 50%;
        top: 0;               /* épinglé en haut — ne bouge pas quand le menu s'ouvre */
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
        display: flex;
        align-items: center;
        transform: translateX(-50%);
        max-width: calc(100% - 180px);
    }

    .header-actions {
        order: 3;
        margin-left: auto;
    }

    .main-navigation {
        order: 4;
        flex: 0 0 100%;
        justify-content: flex-start;
    }

    /* Soutenir : icône seule sur mobile */
    .btn-soutenir__text {
        display: none;
    }

    .btn-soutenir__icon {
        display: block;
    }

    .btn-soutenir {
        padding: 0.5rem;
        min-width: 2.2rem;
        justify-content: center;
    }

    .site-content {
        padding-top: 0;
    }

    #primary-menu {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0.75rem 0 1rem;
        border-top: 1px solid var(--header-border);
        gap: 0;
    }

    #primary-menu.toggled {
        display: flex;
    }

    #primary-menu > li {
        width: 100%;
    }

    #primary-menu > li > a {
        padding: 0.7rem 0;
        font-size: 0.85rem;
        letter-spacing: 0.1em;
    }

    #primary-menu > li > a::after {
        display: none;
    }
}

@media (max-width: 580px) {
    .header-inner {
        padding: 0.75rem 1rem;
    }

    .site-branding__text {
        display: none;
    }
}

/* =========================================
   Posts � List and Single
   ========================================= */

.entry-header {
    margin-bottom: 1rem;
}

.entry-meta {
    font-size: 0.85rem;
    color: #777;
    margin-top: 0.4rem;
}

.entry-meta .byline {
    margin-left: 0.5rem;
}

.entry-footer {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #777;
}

.entry-footer span + span::before {
    content: " ✦ ";
}

/* =========================================
   Post Thumbnail
   ========================================= */

.post-thumbnail {
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 6px;
}

.post-thumbnail img {
    width: 100%;
    transition: transform 0.3s ease;
}

.post-thumbnail a:hover img {
    transform: scale(1.02);
}

/* =========================================
   Post Navigation
   ========================================= */

.post-navigation,
.posts-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.nav-subtitle {
    display: block;
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =========================================
   Sidebar / Widget Area
   ========================================= */

.content-sidebar-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 960px) {
    .content-sidebar-wrap {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   404 / No Results
   ========================================= */

.error-404,
.no-results {
    padding: 2rem 0;
}

.error-404 .page-title,
.no-results .page-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* =========================================
   Comments
   ========================================= */

.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.comment-author {
    font-weight: 600;
    font-size: 0.95rem;
}

/* =========================================
   Search Form
   ========================================= */

.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-field {
    flex: 1;
}

/* =========================================
   Pagination
   ========================================= */

.page-numbers {
    display: inline-flex;
    gap: 0.25rem;
    margin-top: 2rem;
}

.page-numbers a,
.page-numbers span {
    padding: 0.4rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.page-numbers .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* =========================================
   Hero Section � Page d'accueil
   ========================================= */

/* Sur la page d'accueil le hero g�re lui-m�me son offset,
   on retire le padding-top de .site-content */
.home .site-content,
.front-page .site-content {
    padding-top: 0;
}

.site-main--front {
    padding-top: 0;
    background: #f9f7f3;
}

/* Conteneur principal */
.hero-section {
    position: relative;
    min-height: 65vh;
    display: flex;
    align-items: center;
    background-color: #0d1b2a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding-bottom: 5rem;
    border-bottom-left-radius: 50% 5rem;
    border-bottom-right-radius: 50% 5rem;
}

/* Overlay en d�grad� directionnel � plus sombre � gauche */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(7, 14, 30, 0.90) 0%,
        rgba(8, 18, 40, 0.75) 40%,
        rgba(8, 18, 40, 0.20) 70%,
        rgba(4, 10, 22, 0.05) 100%
    );
    z-index: 1;
}

/* ��� Bloc contenu gauche ��� */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 630px;
    padding: calc(var(--header-height, 80px) + 2.5rem) 2rem 2.5rem clamp(2rem, 8vw, 8rem);
}

/* Label eyebrow */
.hero-eyebrow {
    display: inline-block;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold, #c5a25c);
    margin-bottom: 1.2rem;
    opacity: 0.95;
}

/* Titre principal */
.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 4.8vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    color: #f8f4ee;
    letter-spacing: 0.01em;
    margin: 0 0 1.4rem;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.5);
}

.hero-title__line {
    display:    block;
    white-space: nowrap;
}

/* Sous-titre */
.hero-subtitle {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    font-weight: 400;
    line-height: 1.8;
    color: rgba(240, 236, 228, 0.78);
    margin-bottom: 2.5rem;
    max-width: 470px;
}

/* Zone boutons */
.hero-cta {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    align-items: center;
}

/* Base bouton */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.9rem 2.1rem;
    border-radius: 50px;
    white-space: nowrap;
    transition: transform 0.22s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.2s ease;
}

.hero-btn:hover {
    text-decoration: none;
    transform: translateY(-3px);
}

/* CTA principal � orange ambr� */
.hero-btn--primary {
    background: var(--amber, #d97706);
    color: #fff;
    box-shadow: 0 4px 22px rgba(217, 119, 6, 0.5);
}

.hero-btn--primary:hover {
    background: var(--amber-hover, #b45309);
    color: #fff;
    box-shadow: 0 9px 30px rgba(217, 119, 6, 0.65);
}

/* CTA secondaire � bleu institutionnel glac� */
.hero-btn--secondary {
    background: rgba(22, 50, 105, 0.72);
    color: #e8e4da;
    border: 1px solid rgba(197, 162, 92, 0.38);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-btn--secondary:hover {
    background: rgba(22, 50, 105, 0.96);
    color: #fff;
    border-color: rgba(197, 162, 92, 0.65);
    box-shadow: 0 9px 26px rgba(0, 0, 0, 0.48);
}

/* ��� Sidebar r�seaux sociaux � fixe sur toutes les pages ��� */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    background: rgba(8, 18, 40, 0.82);
    border-radius: 10px 0 0 10px;
    border: 1px solid rgba(197, 162, 92, 0.20);
    border-right: none;
    padding: 0.6rem 0.3rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.32);
    transition: opacity 0.3s ease;
}

.social-sidebar__link,
.social-sidebar__link--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: rgba(197, 162, 92, 0.65);
    text-decoration: none;
    border-radius: 7px;
    transition: color 0.25s ease, background 0.25s ease;
    cursor: pointer;
    line-height: 0;
}

.social-sidebar__link:hover {
    color: var(--gold, #c5a25c);
    background: rgba(197, 162, 92, 0.13);
    text-decoration: none;
}

.social-sidebar__link--placeholder {
    opacity: 0.4;
    cursor: default;
}

/* Trait s�parateur discret entre ic�nes */
.social-sidebar__link + .social-sidebar__link,
.social-sidebar__link + .social-sidebar__link--placeholder,
.social-sidebar__link--placeholder + .social-sidebar__link,
.social-sidebar__link--placeholder + .social-sidebar__link--placeholder {
    border-top: 1px solid rgba(197, 162, 92, 0.10);
}

/* ��� Indicateur de scroll ��� */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(197, 162, 92, 0.55);
    line-height: 0;
    animation: heroScrollBounce 2.2s ease-in-out infinite;
}

@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.55; }
    50%       { transform: translateX(-50%) translateY(7px); opacity: 0.9;  }
}

/* =========================================
   Hero � Responsive
   ========================================= */

@media (max-width: 1024px) {
    .hero-section {
        background-position: 65% center;
    }

    .hero-content {
        padding-left: clamp(2rem, 5vw, 4rem);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 55vh;
        background-position: 60% center;
        border-bottom-left-radius: 50% 3.5rem;
        border-bottom-right-radius: 50% 3.5rem;
    }

    .hero-content {
        padding: calc(var(--header-height, 80px) + 2rem) 1.5rem 2.5rem;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .social-sidebar {
        top: auto;
        bottom: 5rem;
        transform: none;
    }
}

@media (max-width: 540px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        justify-content: center;
        width: 100%;
    }

    /* Barre horizontale centr�e en bas sur mobile */
    .social-sidebar {
        flex-direction: row;
        right: auto;
        left: 50%;
        bottom: 1.5rem;
        top: auto;
        transform: translateX(-50%);
        border-radius: 50px;
        border: 1px solid rgba(197, 162, 92, 0.20);
        padding: 0.3rem 0.6rem;
    }

    .social-sidebar__link + .social-sidebar__link,
    .social-sidebar__link + .social-sidebar__link--placeholder,
    .social-sidebar__link--placeholder + .social-sidebar__link,
    .social-sidebar__link--placeholder + .social-sidebar__link--placeholder {
        border-top: none;
        border-left: 1px solid rgba(197, 162, 92, 0.10);
    }

    .hero-scroll-hint {
        display: none;
    }
}

/* =========================================
   Footer Premium � 4 colonnes
   ========================================= */

/* Zone sup�rieure */
.footer-top {
    padding: 5rem clamp(1.5rem, 5vw, 4rem) 4rem;
    max-width: 1360px;
    margin: 0 auto;
}

/* Grille 4 colonnes � 1�re colonne plus large (� Propos) */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3.5rem;
}

/* Titre de colonne */
.footer-col__title {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold, #c5a25c);
    margin: 0 0 1.4rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(197, 162, 92, 0.18);
}

/* ��� Colonne � Propos ��� */
.footer-brand__link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    margin-bottom: 1.1rem;
}

.footer-brand__link:hover {
    text-decoration: none;
}

.footer-brand__emblem {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--gold, #c5a25c);
    filter: drop-shadow(0 0 6px rgba(197, 162, 92, 0.35));
}

.footer-brand__name {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(240, 236, 228, 0.92);
    line-height: 1;
}

.footer-col__body {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.84rem;
    line-height: 1.85;
    color: rgba(240, 236, 228, 0.50);
    margin: 0;
    padding-top: 20px;
}

/* ��� Colonne Ressources (menu footer) ��� */
.footer-col--resources #footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col--resources #footer-menu > li > a {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.84rem;
    font-weight: 400;
    color: rgba(240, 236, 228, 0.58);
    text-decoration: none;
    display: block;
    padding: 0.48rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.22s ease, padding-left 0.22s ease;
}

.footer-col--resources #footer-menu > li:last-child > a {
    border-bottom: none;
}

.footer-col--resources #footer-menu > li > a:hover {
    color: var(--gold, #c5a25c);
    padding-left: 0.5rem;
    text-decoration: none;
}

/* ��� Colonne Nous Suivre ��� */
.footer-social-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-social__link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.84rem;
    font-weight: 400;
    color: rgba(240, 236, 228, 0.58);
    text-decoration: none;
    padding: 0.48rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.22s ease;
    line-height: 1.3;
}

.footer-social-list li:last-child .footer-social__link {
    border-bottom: none;
}

.footer-social__link svg {
    flex-shrink: 0;
    color: rgba(197, 162, 92, 0.55);
    transition: color 0.22s ease;
}

.footer-social__link:hover {
    color: var(--gold, #c5a25c);
    text-decoration: none;
}

.footer-social__link:hover svg {
    color: var(--gold, #c5a25c);
}

/* ��� Colonne Contact ��� */
.footer-contact__item {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.84rem;
    line-height: 1.75;
    color: rgba(240, 236, 228, 0.58);
    margin: 0 0 0.75rem;
}

.footer-contact__item a {
    color: inherit;
    text-decoration: none;
    transition: color 0.22s ease;
}

.footer-contact__item a:hover {
    color: var(--gold, #c5a25c);
    text-decoration: none;
}

.footer-contact__address {
    font-style: normal;
}

/* ��� Barre inf�rieure ��� */
.footer-bottom {
    border-top: 1px solid rgba(197, 162, 92, 0.13);
}

.footer-bottom__inner {
    max-width: 1360px;
    margin: 0 auto;
    padding: 1.35rem clamp(1.5rem, 5vw, 4rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom__copy {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: rgba(240, 236, 228, 0.35);
    margin: 0;
}

.footer-bottom__copy a {
    color: rgba(240, 236, 228, 0.50);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom__copy a:hover {
    color: var(--gold, #c5a25c);
    text-decoration: none;
}

.footer-bottom__legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom__legal a {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: rgba(240, 236, 228, 0.35);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom__legal a:hover {
    color: var(--gold, #c5a25c);
    text-decoration: none;
}

/* =========================================
   Footer � Responsive
   ========================================= */

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 3rem;
    }
}

@media (max-width: 640px) {
    .footer-top {
        padding: 3rem 1.5rem 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.2rem 1.5rem;
    }

    .footer-bottom__legal {
        justify-content: center;
    }
}

/* =========================================
   Article Hero � single post cinematic header
   ========================================= */

.article-hero {
    position: relative;
    min-height: clamp(45vh, 52vh, 60vh);
    display: flex;
    align-items: flex-end;
    background-color: #0a1628;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: 0;          /* flush under the fixed header */
}

/* Overlay d�grad� : opaque en bas pour le texte, transparent en haut */
.article-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 10, 22, 0.15) 0%,
        rgba(4, 10, 22, 0.45) 45%,
        rgba(4, 10, 22, 0.88) 100%
    );
    z-index: 1;
}

/* Ligne de contenu : titre � gauche, auteur � droite */
.article-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 3.5rem clamp(1.5rem, 5vw, 4rem) 3rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
}

/* ��� Bloc gauche : cat�gorie + titre + date ��� */
.article-hero__main {
    flex: 1;
    min-width: 0;
}

.article-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.article-hero__category {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    background: #877D7C;
    border: none;
    padding: 0.35rem 1.1rem;
    border-radius: 6px 6px 0 0;
    white-space: nowrap;
}

.article-hero__category.cat-histoire        { background: #D29C68; }
.article-hero__category.cat-spiritualite    { background: #b8a478; }
.article-hero__category.cat-liturgie        { background: #5aab62; }
.article-hero__category.cat-theologie       { background: #6b84a8; }
.article-hero__category.cat-ecriture-sainte { background: #073552; }
.article-hero__category.cat-actualite       { background: #877D7C; }

.article-hero__reading-time {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(240, 236, 228, 0.50);
    text-transform: uppercase;
}

.article-hero__title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0.01em;
    color: #f8f4ee;
    margin: 0 0 1.1rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

.article-hero__date {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(240, 236, 228, 0.48);
    margin: 0;
}

/* ��� Bloc droit : auteur ��� */
.article-hero__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    background: rgba(8, 18, 40, 0.62);
    border: 1px solid rgba(197, 162, 92, 0.18);
    border-radius: 12px;
    padding: 1rem 1.35rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.article-hero__author-avatar-link {
    display: block;
    flex-shrink: 0;
    line-height: 0;
}

.article-hero__author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(197, 162, 92, 0.45);
    box-shadow: 0 0 0 4px rgba(197, 162, 92, 0.10);
    display: block;
}

.article-hero__author-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.article-hero__author-label {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(240, 236, 228, 0.40);
    line-height: 1;
}

.article-hero__author-name {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(240, 236, 228, 0.92);
    text-decoration: none;
    transition: color 0.22s ease;
    line-height: 1.2;
}

.article-hero__author-name:hover {
    color: var(--gold, #c5a25c);
    text-decoration: none;
}

.article-hero__author-bio {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 400;
    color: rgba(240, 236, 228, 0.48);
    line-height: 1.45;
    max-width: 200px;
}

/* ��� Corps de l'article sous le hero ��� */
.article-body {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.article-content-wrap {
    margin: 0 auto;
}

/* =============================================================================
   Entry Content � Syst�me typographique �ditorial
   Appliqu� � .entry-content dans .article-content-wrap (single.php, page.php).
   Hi�rarchie h1�h6, corps de texte, blockquotes, listes, liens, s�parateurs.
   ============================================================================= */

/* -- Variables locales ------------------------------------------------------ */
.article-content-wrap .entry-content {
    --ec-serif:   var(--font-title);
    --ec-sans:    'Raleway', system-ui, sans-serif;
    --ec-ink:     #1e1a16;          /* headings */
    --ec-body:    #2e2a26;          /* body text  */
    --ec-muted:   #6b6157;          /* captions, metadata */
    --ec-gold:    #c5a25c;
    --ec-gold-2:  #d97706;
    --ec-rule:    rgba(197, 162, 92, 0.22);
    --ec-bq-bg:   #faf8f4;          /* blockquote background */
    --ec-bq-border: #c5a25c;

    font-family:  var(--ec-serif);
    font-size:    1.175rem;         /* � 18.8px */
    line-height:  1.95;
    color:        var(--ec-body);
}

/* -- Paragraphes ------------------------------------------------------------ */
.article-content-wrap .entry-content p {
    margin-top: 0;
    margin-bottom: 1.55rem;
}

/* First paragraph after a heading � tighter gap */
.article-content-wrap .entry-content h1 + p,
.article-content-wrap .entry-content h2 + p,
.article-content-wrap .entry-content h3 + p,
.article-content-wrap .entry-content h4 + p,
.article-content-wrap .entry-content h5 + p,
.article-content-wrap .entry-content h6 + p {
    margin-top: 0.25rem;
}

/* -- Hi�rarchie de titres --------------------------------------------------- */
.article-content-wrap .entry-content h1,
.article-content-wrap .entry-content h2,
.article-content-wrap .entry-content h3,
.article-content-wrap .entry-content h4,
.article-content-wrap .entry-content h5,
.article-content-wrap .entry-content h6 {
    font-family:   var(--ec-serif);
    color:         var(--ec-ink);
    line-height:   1.22;
    font-style:    normal;
    margin-top:    2.75rem;
    margin-bottom: 0.85rem;
    scroll-margin-top: 5rem; /* offset for sticky nav */
}

/* H1 � rarement utilis� dans le corps, mais d�fini pour coh�rence */
.article-content-wrap .entry-content h1 {
    font-size:      clamp(1.875rem, 4vw, 2.5rem);
    font-weight:    400;
    letter-spacing: -0.025em;
}

/* H2 � titre de section principal */
.article-content-wrap .entry-content h2 {
    font-size:      clamp(1.5rem, 3vw, 1.9rem);
    font-weight:    400;
    letter-spacing: -0.018em;
    padding-bottom: 0.5rem;
    border-bottom:  1px solid var(--ec-rule);
}

/* H3 � sous-section */
.article-content-wrap .entry-content h3 {
    font-size:      clamp(1.2rem, 2.5vw, 1.45rem);
    font-weight:    600;
    letter-spacing: -0.01em;
}

/* H4 � intertitres tertiaires */
.article-content-wrap .entry-content h4 {
    font-size:      1.125rem;
    font-weight:    600;
    font-style:     italic;
    color:          #2a2420;
}

/* H5 � �tiquette ou titre courant */
.article-content-wrap .entry-content h5 {
    font-family:    var(--ec-sans);
    font-size:      0.8125rem;
    font-weight:    800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color:          var(--ec-gold);
    margin-bottom:  0.5rem;
}

/* H6 � mention discr�te, label */
.article-content-wrap .entry-content h6 {
    font-family:    var(--ec-sans);
    font-size:      0.75rem;
    font-weight:    700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color:          var(--ec-muted);
    margin-bottom:  0.4rem;
}

/* Heading directly following another heading � collapse top margin */
.article-content-wrap .entry-content h1 + h2,
.article-content-wrap .entry-content h2 + h3,
.article-content-wrap .entry-content h3 + h4 {
    margin-top: 0.75rem;
}

/* -- Liens ------------------------------------------------------------------ */
.article-content-wrap .entry-content a {
    color:                  var(--ec-gold-2);
    text-decoration:        underline;
    text-underline-offset:  3px;
    text-decoration-color:  rgba(217, 119, 6, 0.40);
    text-decoration-thickness: 1.5px;
    transition:             color 0.15s ease, text-decoration-color 0.15s ease;
}
.article-content-wrap .entry-content a:hover,
.article-content-wrap .entry-content a:focus-visible {
    color:                  #b45309;
    text-decoration-color:  rgba(180, 83, 9, 0.65);
}

/* -- Listes ----------------------------------------------------------------- */
.article-content-wrap .entry-content ul,
.article-content-wrap .entry-content ol {
    padding-left:  1.6rem;
    margin-bottom: 1.55rem;
    color:         var(--ec-body);
}
.article-content-wrap .entry-content li {
    margin-bottom: 0.4rem;
    line-height:   1.85;
}
.article-content-wrap .entry-content ul li::marker {
    color: var(--ec-gold);
}
.article-content-wrap .entry-content ol li::marker {
    font-family:  var(--ec-sans);
    font-weight:  700;
    font-size:    0.85em;
    color:        var(--ec-gold);
}

/* -- S�parateur horizontal -------------------------------------------------- */
.article-content-wrap .entry-content hr {
    border: none;
    height: 1px;
    background: var(--ec-rule);
    margin: 2.75rem auto;
    width: 60%;
}

/* -- Blockquote ------------------------------------------------------------- */
.article-content-wrap .entry-content blockquote {
    position:      relative;
    margin:        2.25rem 0;
    padding:       1.625rem 1.75rem 1.625rem 2rem;
    background:    var(--ec-bq-bg);
    border-left:   3.5px solid var(--ec-bq-border);
    border-radius: 0 0.5rem 0.5rem 0;
    box-shadow:    0 2px 18px rgba(197, 162, 92, 0.07),
                   inset 4px 0 0 rgba(197, 162, 92, 0.06);
}

/* Guillemet d�coratif en fond */
.article-content-wrap .entry-content blockquote::before {
    content:     '\201C';
    position:    absolute;
    top:         -0.25rem;
    left:        1.25rem;
    font-family: var(--ec-serif);
    font-size:   5rem;
    line-height: 1;
    color:       rgba(197, 162, 92, 0.18);
    pointer-events: none;
    user-select: none;
    aria-hidden: true;
}

/* Texte de la citation */
.article-content-wrap .entry-content blockquote p {
    font-size:      1.075rem;
    font-style:     italic;
    line-height:    1.8;
    color:          #2a2016;
    margin-bottom:  0;
    position:       relative; /* above ::before */
    z-index:        1;
}

/* Si plusieurs paragraphes dans la citation */
.article-content-wrap .entry-content blockquote p + p {
    margin-top: 0.85rem;
}

/* Source � <cite> � l'int�rieur du blockquote */
.article-content-wrap .entry-content blockquote cite,
.article-content-wrap .entry-content blockquote footer {
    display:        block;
    margin-top:     1rem;
    font-family:    var(--ec-sans);
    font-size:      0.75rem;
    font-style:     normal;
    font-weight:    700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color:          var(--ec-gold);
    position:       relative;
    z-index:        1;
}
.article-content-wrap .entry-content blockquote cite::before,
.article-content-wrap .entry-content blockquote footer::before {
    content:      '✦ ';
    opacity:      0.6;
}

/* -- Images & m�dias -------------------------------------------------------- */
.article-content-wrap .entry-content img {
    max-width:     100%;
    height:        auto;
    border-radius: 0.5rem;
    display:       block;
    margin:        0 auto 1.55rem;
}
.article-content-wrap .entry-content figcaption {
    text-align:   center;
    font-family:  var(--ec-sans);
    font-size:    0.75rem;
    letter-spacing: 0.05em;
    color:        var(--ec-muted);
    margin-top:   0.4rem;
    font-style:   italic;
}

/* -- Code inline & pr�-formatt� -------------------------------------------- */
.article-content-wrap .entry-content code {
    font-size:        0.875em;
    padding:          0.15em 0.4em;
    background:       rgba(197, 162, 92, 0.10);
    border-radius:    3px;
    color:            #7c3111;
    font-family:      'Courier New', Courier, monospace;
}
.article-content-wrap .entry-content pre {
    background:    #f4f1ec;
    border-radius: 0.5rem;
    padding:       1.25rem 1.5rem;
    overflow-x:    auto;
    margin-bottom: 1.55rem;
    font-size:     0.85rem;
    line-height:   1.7;
    border-left:   3px solid var(--ec-rule);
}
.article-content-wrap .entry-content pre code {
    background: none;
    padding:    0;
    color:      inherit;
}

/* -- Tableau ---------------------------------------------------------------- */
.article-content-wrap .entry-content table {
    width:         100%;
    border-collapse: collapse;
    margin-bottom: 1.55rem;
    font-size:     0.9375rem;
}
.article-content-wrap .entry-content th {
    font-family:    var(--ec-sans);
    font-size:      0.75rem;
    font-weight:    700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color:          var(--ec-gold);
    border-bottom:  2px solid var(--ec-rule);
    padding:        0.6rem 0.75rem;
    text-align:     left;
}
.article-content-wrap .entry-content td {
    padding:        0.55rem 0.75rem;
    border-bottom:  1px solid rgba(197, 162, 92, 0.12);
    color:          var(--ec-body);
    vertical-align: top;
}
.article-content-wrap .entry-content tr:last-child td {
    border-bottom: none;
}

/* =========================================
   Article Hero � Responsive
   ========================================= */

@media (max-width: 860px) {
    .article-hero {
        min-height: 55vh;
        align-items: flex-end;
    }

    .article-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.75rem;
        padding-bottom: 2.5rem;
    }

    .article-hero__author {
        width: 100%;
    }

    .article-hero__author-bio {
        max-width: none;
    }
}

@media (max-width: 540px) {
    .article-hero {
        min-height: 60vh;
        background-position: 60% center;
    }

    .article-hero__title {
        font-size: 1.9rem;
    }

    .article-hero__author {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* =========================================
   ? LA UNE  Section contenus phares
   ========================================= */

/*  Section outer  */
.aune-section {
    background: transparent;
    padding: 0 1.5rem 2.5rem;
    position: relative;
    z-index: 10;
    margin-top: -4.5rem;
}

/*  Conteneur textur?  */
.aune-wrap {
    max-width: 1240px;
    margin: 0 auto;
    background: linear-gradient(145deg, #060e22 0%, #07122b 100%);
    border: 1px solid rgba(197, 162, 92, 0.12);
    border-radius: 1.5rem;
    padding: 2rem 2.25rem 1.75rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(197, 162, 92, 0.06),
        0 32px 100px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(197, 162, 92, 0.10);
    position: relative;
    overflow: visible;
}

/* Grain texture */
.aune-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.07) 1px, transparent 0);
    background-size: 4px 4px;
    pointer-events: none;
    z-index: 0;
}

.aune-wrap > * {
    position: relative;
    z-index: 1;
}

/* Variante image de fond (d�finie via le Customizer) */
.aune-wrap--has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay sombre par-dessus l'image pour pr�server la lisibilit� */
.aune-wrap--has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(6, 14, 34, 0.82) 0%, rgba(7, 18, 43, 0.78) 100%);
    border-radius: inherit;
    z-index: 0;
}

/*  En-t?te ?ditorial  */
.aune-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.aune-heading {
    font-family: var(--font-title);
    font-size: clamp(1.375rem, 2.8vw, 2.125rem);
    font-weight: 400;
    color: #f0ece4;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin: 0;
}

.aune-heading__accent {
    font-style: italic;
    color: #c5a25c;
}

.aune-heading__sep {
    margin: 0 0.55em;
    color: rgba(197, 162, 92, 0.45);
    font-style: normal;
}

/*  Onglets de filtre  */
.aune-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.aune-tab {
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.5rem 1.375rem;
    border: 1.5px solid rgba(197, 162, 92, 0.3);
    border-radius: 100px;
    background: transparent;
    color: rgba(240, 236, 228, 0.55);
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    line-height: 1;
}

.aune-tab:hover {
    border-color: rgba(197, 162, 92, 0.6);
    color: #f0ece4;
    background: rgba(197, 162, 92, 0.08);
}

.aune-tab--active {
    background: #c5a25c;
    border-color: #c5a25c;
    color: #04102a;
}

.aune-tab--active:hover {
    background: #dfc080;
    border-color: #dfc080;
    color: #04102a;
}

/*  Carousel  */
.aune-carousel {
    position: relative;
    padding-bottom: 2rem; /* space for dots */
}

.aune-track-wrap {
    overflow: hidden;
    border-radius: 0.75rem;
}

.aune-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.46s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/*  Cartes premium  */
.aune-card {
    flex: 0 0 calc(25% - 0.9375rem);
    min-width: 0;
    height: 280px;
    border-radius: 0.875rem;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.aune-card__link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    outline-offset: 3px;
}

/* Image de fond */
.aune-card__bg {
    position: absolute;
    inset: 0;
    background: #0b1f3a center / cover no-repeat;
    transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aune-card:hover .aune-card__bg {
    transform: scale(1.05);
}

/* Overlay gradient sombre */
.aune-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 16, 42, 0.10) 0%,
        rgba(4, 16, 42, 0.42) 42%,
        rgba(3, 10, 26, 0.90) 100%
    );
    transition: opacity 0.3s ease;
}

.aune-card:hover .aune-card__overlay {
    opacity: 0.88;
}

/* Corps de la carte */
.aune-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

/* Badge cat?gorie */
.aune-card__cat {
    display: inline-block;
    align-self: flex-start;
    margin-left: -1.25rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 0.3rem 0.9rem 0.3rem 1.25rem;
    background: #877D7C;
    line-height: 1.6;
}

/* Titre */
.aune-card__title {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 400;
    color: #f0ece4;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* M?ta action */
.aune-card__meta {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #c5a25c;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.125rem;
    transition: color 0.2s ease;
}

.aune-card:hover .aune-card__meta {
    color: #dfc080;
}

/*  Fl?ches navigation  */
.aune-arrow {
    position: absolute;
    top: calc(50% - 1.75rem); /* l�g�rement au-dessus du centre, hors des dots */
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #e2ddd6;
    color: #2d2518;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(4, 16, 42, 0.10);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    z-index: 4;
}

.aune-arrow--prev {
    left: -1.375rem;
}

.aune-arrow--next {
    right: -1.375rem;
}

.aune-arrow:hover:not(:disabled) {
    background: #ffffff;
    border-color: #c5a25c;
    color: #c5a25c;
    box-shadow: 0 4px 18px rgba(4, 16, 42, 0.15);
}

.aune-arrow:disabled {
    opacity: 0.30;
    cursor: default;
}

.aune-arrow svg {
    display: block;
    flex-shrink: 0;
}

.aune-arrow svg path {
    stroke: #2d2518;
    transition: stroke 0.2s ease;
}

.aune-arrow:hover:not(:disabled) svg path {
    stroke: #c5a25c;
}

/*  Points de navigation  */
.aune-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    height: 2rem;
}

.aune-dot {
    width: 0.4375rem;
    height: 0.4375rem;
    border-radius: 100px;
    background: rgba(197, 162, 92, 0.25);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: width 0.28s ease, background 0.28s ease;
    flex-shrink: 0;
}

.aune-dot--active {
    width: 1.75rem;
    background: #c5a25c;
}

.aune-dot:hover:not(.aune-dot--active) {
    background: rgba(197, 162, 92, 0.5);
}

/* ?tat vide */
.aune-empty {
    color: rgba(240, 236, 228, 0.45);
    text-align: center;
    font-style: italic;
    padding: 4rem 0;
    margin: 0;
}

/*  Panel cach?  */
.aune-panel[hidden] {
    display: none;
}

/* =========================================
   ? LA UNE  Responsive
   ========================================= */

@media (max-width: 900px) {
    .aune-wrap {
        padding: 2.5rem 2rem 2.5rem;
    }

    .aune-card {
        flex: 0 0 calc(50% - 0.625rem);
        height: 260px;
    }
}

@media (max-width: 640px) {
    .aune-section {
        padding: 0 0.875rem 3rem;
        margin-top: -2.5rem;
    }

    .aune-wrap {
        padding: 2rem 1.25rem 2rem;
        border-radius: 1.125rem;
    }

    .aune-heading {
        font-size: 1.25rem;
    }

    .aune-heading__sep {
        display: none;
    }

    .aune-card {
        flex: 0 0 100%;
        height: 320px;
    }

    .aune-arrow {
        display: none;
    }

    .aune-carousel {
        padding-bottom: 2.5rem;
    }
}
/* =========================================
   Hero curve + A la Une overlap  540px
   ========================================= */
@media (max-width: 540px) {
    .hero-section {
        min-height: 60vh;
        border-bottom-left-radius: 50% 3rem;
        border-bottom-right-radius: 50% 3rem;
        padding-bottom: 3.5rem;
    }

    .aune-section {
        margin-top: -2rem;
    }
}
/* =========================================
   Cat?gories Homepage  Rang?e ?ditoriale
   ========================================= */

.cathome-section {
    background: #f9f7f3;
    padding: 0 1.5rem 4rem;
}

.cathome-inner {
    max-width: 1240px;
    margin: 0 auto;
}

/*  S?parateur d?coratif  */
.cathome-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.cathome-divider__line {
    flex: 1;
    height: 1px;
    background: #e2ddd4;
}

.cathome-divider__icon {
    font-size: 0.6rem;
    color: #c5a25c;
    letter-spacing: 0.2em;
    flex-shrink: 0;
}

/*  Grille 3 colonnes  */
.cathome-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/*  Carte cat?gorie  */
.cathome-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow:
        0 2px 12px rgba(4, 16, 42, 0.08),
        0 8px 32px rgba(4, 16, 42, 0.10);
    position: relative;
    min-height: 220px;
    transition: box-shadow 0.28s ease, transform 0.28s ease;
}

.cathome-card:hover {
    box-shadow:
        0 4px 20px rgba(4, 16, 42, 0.14),
        0 16px 48px rgba(4, 16, 42, 0.18);
    transform: translateY(-4px);
}

.cathome-card__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    min-height: 220px;
}

/* Image de fond */
.cathome-card__bg {
    position: absolute;
    inset: 0;
    background: #0a1f3a center / cover no-repeat;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cathome-card:hover .cathome-card__bg {
    transform: scale(1.04);
}

/* Overlay bleu profond */
.cathome-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(4, 12, 30, 0.50) 0%,
        rgba(5, 18, 48, 0.62) 55%,
        rgba(4, 10, 26, 0.76) 100%
    );
    transition: opacity 0.28s ease;
}

.cathome-card:hover .cathome-card__overlay {
    opacity: 0.88;
}

/* Corps de la carte */
.cathome-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 220px;
    padding: 1.75rem 1.5rem 1.35rem;
}

.cathome-card__content {
    flex: 1;
}

/* Eyebrow */
.cathome-card__eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(197, 162, 92, 0.75);
    margin: 0 0 0.55rem;
}

/* Titre cat?gorie */
.cathome-card__title {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f8f4ee;
    margin: 0 0 0.75rem;
    line-height: 1.1;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

/* Description */
.cathome-card__desc {
    font-family: 'Raleway', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(240, 236, 228, 0.60);
    margin: 0;
    max-width: 30ch;
}

/* Bouton fl?ch? orange */
.cathome-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #d97706;
    color: #fff;
    flex-shrink: 0;
    margin-top: 1.25rem;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.50);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.cathome-card:hover .cathome-card__cta {
    background: #b45309;
    transform: translateX(3px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.65);
}

/* =========================================
   Cat?gories Homepage  Responsive
   ========================================= */

@media (max-width: 900px) {
    .cathome-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .cathome-card,
    .cathome-card__link,
    .cathome-card__body {
        min-height: 180px;
    }

    .cathome-card__desc {
        max-width: none;
    }
}

@media (max-width: 640px) {
    .cathome-section {
        padding: 0 0.875rem 3rem;
    }

    .cathome-card__title {
        font-size: 1.5rem;
    }
}
/* =========================================
   Newsletter  Bandeau horizontal
   ========================================= */

.newsletter-band {
    background: #f9f7f3;
    padding: 0 1.5rem 3.5rem;
}

.newsletter-band__inner {
    max-width: 1240px;
    margin: 0 auto;
    background: #fffdf8;
    border: 1px solid #ede8df;
    border-radius: 1rem;
    padding: 2.25rem 2.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    box-shadow: 0 2px 16px rgba(4, 16, 42, 0.06);
}

/*  Colonne texte  */
.newsletter-band__text {
    flex: 1;
    min-width: 0;
}

.newsletter-band__title {
    font-family: var(--font-title);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 600;
    color: #1a1410;
    margin: 0 0 0.45rem;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.newsletter-band__desc {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.75;
    color: rgba(40, 32, 24, 0.58);
    margin: 0;
}

/*  Colonne bouton  */
.newsletter-band__action {
    flex-shrink: 0;
}

.newsletter-band__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: #d97706;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(217, 119, 6, 0.38);
    transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.newsletter-band__btn:hover {
    background: #b45309;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(217, 119, 6, 0.52);
}

/* =========================================
   Newsletter  Responsive
   ========================================= */

@media (max-width: 680px) {
    .newsletter-band__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.75rem 1.5rem;
    }

    .newsletter-band__btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .newsletter-band {
        padding: 0 0.875rem 3rem;
    }
}
/* =========================================
   Contenus R�cents  Derniers Articles + Podcasts
   ========================================= */

.recents-section {
    background: #ffffff;
    padding: 4rem 1.5rem 4.5rem;
}

.recents-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 3.5rem;
    align-items: start;
}

/* En-t�te de colonne */
.recents-col__header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #f0ece4;
    position: relative;
}

.recents-col__header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 2.5rem;
    height: 2px;
    background: #c5a25c;
}

.recents-col__eyebrow {
    display: block;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #c5a25c;
    margin-bottom: 0.4rem;
}

.recents-col__title {
    font-family: var(--font-title);
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 600;
    color: #1a1410;
    margin: 0;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

/* S�parateur vertical */
.recents-sep {
    width: 1px;
    background: #e8e2d8;
    align-self: stretch;
}

/* Liste */
.recents-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.recents-item {
    border-radius: 6px;
    overflow: hidden;
}

.recents-item__link {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
    text-decoration: none;
    color: inherit;
    border-radius: 6px;
    overflow: hidden;
    transition: none;
}

.recents-item__link:hover {
    text-decoration: none;
}

/* Thumbnail articles */
.recents-item__thumb {
    flex-shrink: 0;
    position: relative;
    width: 92px;
    min-height: 72px;
    overflow: hidden;
    background: #f0ece4;
}

/* Fond coloré par catégorie (fond de ligne) */
.recents-item.cat-histoire         { background: rgba(210, 156, 104, 0.40); border-radius: 6px; }
.recents-item.cat-spiritualite     { background: rgba(220, 206, 170, 0.40); border-radius: 6px; }
.recents-item.cat-liturgie         { background: rgba(151, 219, 157, 0.40); border-radius: 6px; }
.recents-item.cat-theologie        { background: rgba(129, 150, 177, 0.40); border-radius: 6px; }
.recents-item.cat-ecriture-sainte  { background: rgba(7,   53,  82,  0.40); border-radius: 6px; }
.recents-item.cat-actualite        { background: rgba(135, 125, 124, 0.40); border-radius: 6px; }

.recents-item__thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.recents-item__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5bfb5;
}

/* Body texte */
.recents-item__body {
    flex: 1;
    min-width: 0;
    align-self: center;
    padding: 0.75rem 0.5rem 0.75rem 1rem;
}

.recents-item__title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1410;
    margin: 0 0 0.3rem;
    line-height: 1.35;
    letter-spacing: 0.005em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recents-item__excerpt {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(40, 32, 24, 0.55);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Ic�ne fl�che */
.recents-item__arrow {
    flex-shrink: 0;
    align-self: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1.5px solid #e2ddd6;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a7a68;
    margin-right: 0.75rem;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.recents-item__arrow svg path {
    stroke: currentColor;
}

/* Items Podcast */
.recents-item--podcast {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f0ece4;
    margin-bottom: 0.75rem;
}

.recents-item--podcast:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recents-item--podcast .recents-item__play {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    background: #f0ece4;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.recents-item--podcast .recents-item__play img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recents-item__play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 22, 40, 0.45);
    color: #fff;
    opacity: 0;
    transition: opacity 0.2s ease;
    border-radius: 8px;
}

.recents-item--podcast .recents-item__link:hover .recents-item__play-icon {
    opacity: 1;
}

.recents-item--podcast .recents-item__play:not(:has(img)) .recents-item__play-icon {
    opacity: 1;
    background: rgba(197, 162, 92, 0.15);
    color: #c5a25c;
}

.recents-item__meta {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: rgba(40, 32, 24, 0.45);
    display: block;
    margin-top: 0.25rem;
}

/* Lien "Voir tout" */
.recents-col__more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.5rem;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c5a25c;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.recents-col__more:hover {
    color: #8a6d2f;
    gap: 0.65rem;
    text-decoration: none;
}

.recents-col__more svg path {
    stroke: currentColor;
}

.recents-empty {
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.875rem;
    color: rgba(40, 32, 24, 0.45);
    font-style: italic;
    padding: 1rem 0;
}

/* =========================================
   Contenus R�cents  Responsive
   ========================================= */

@media (max-width: 860px) {
    .recents-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .recents-sep {
        width: 100%;
        height: 1px;
        margin: 2.5rem 0;
    }
}

@media (max-width: 540px) {
    .recents-section {
        padding: 3rem 1rem 3.5rem;
    }

    .recents-item__thumb {
        width: 58px;
        min-height: 58px;
    }

    .recents-item--podcast .recents-item__play {
        width: 44px;
        height: 44px;
    }
}
/* =========================================
   Navigation entre articles (post-navigation)
   ========================================= */

.postnav {
    background: #0d1b2a;
    padding: 0;
    margin-top: 4rem;
}

.postnav__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    min-height: 140px;
}

/*  S�parateur vertical  */
.postnav__divider {
    width: 1px;
    background: rgba(197, 162, 92, 0.18);
    align-self: stretch;
}

/*  Slot  */
.postnav__slot {
    display: flex;
    align-items: stretch;
}

.postnav__slot--empty {
    background: rgba(255, 255, 255, 0.02);
}

/*  Carte de navigation  */
.postnav__card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 2.5rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease;
}

.postnav__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(197, 162, 92, 0.04);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.postnav__card:hover {
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
}

.postnav__card:hover::before {
    opacity: 1;
}

/* Article pr�c�dent : texte | image */
.postnav__card--prev {
    flex-direction: row;
}

/* Article suivant : image | texte */
.postnav__card--next {
    flex-direction: row;
}

/*  Texte  */
.postnav__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.postnav__text--right {
    text-align: right;
    align-items: flex-end;
}

/* Label directionnel */
.postnav__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(197, 162, 92, 0.7);
    transition: color 0.2s ease;
}

.postnav__label svg path {
    stroke: currentColor;
}

.postnav__label--right {
    flex-direction: row-reverse;
}

.postnav__card:hover .postnav__label {
    color: #c5a25c;
}

/* Titre */
.postnav__title {
    font-family: var(--font-title);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 600;
    line-height: 1.35;
    color: #f0ece4;
    letter-spacing: 0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.postnav__card:hover .postnav__title {
    color: #ffffff;
}

.postnav__title--right {
    text-align: right;
}

/*  Miniature  */
.postnav__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(197, 162, 92, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.22s ease, transform 0.25s ease;
}

.postnav__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.postnav__card:hover .postnav__thumb {
    border-color: rgba(197, 162, 92, 0.45);
}

.postnav__card:hover .postnav__thumb img {
    transform: scale(1.06);
}

.postnav__thumb--placeholder {
    color: rgba(197, 162, 92, 0.3);
}

/* =========================================
   Navigation entre articles  Responsive
   ========================================= */

@media (max-width: 768px) {
    .postnav__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .postnav__divider {
        width: 100%;
        height: 1px;
        background: rgba(197, 162, 92, 0.18);
    }

    .postnav__card {
        padding: 1.5rem 1.25rem;
    }

    /* Sur mobile le "suivant" revient � la disposition standard (image � gauche) */
    .postnav__card--next {
        flex-direction: row;
    }

    .postnav__text--right {
        text-align: left;
        align-items: flex-start;
    }

    .postnav__title--right {
        text-align: left;
    }

    .postnav__label--right {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .postnav__thumb {
        width: 62px;
        height: 62px;
        border-radius: 6px;
    }

    .postnav__card {
        gap: 1rem;
        padding: 1.25rem 1rem;
    }
}
/* =========================================
   Navigation entre articles (post-navigation)
   ========================================= */

.postnav {
    background: #0d1b2a;
    padding: 0;
    margin-top: 4rem;
}

.postnav__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    min-height: 140px;
}

/*  S�parateur vertical  */
.postnav__divider {
    width: 1px;
    background: rgba(197, 162, 92, 0.18);
    align-self: stretch;
}

/*  Slot  */
.postnav__slot {
    display: flex;
    align-items: stretch;
}

.postnav__slot--empty {
    background: rgba(255, 255, 255, 0.02);
}

/*  Carte de navigation  */
.postnav__card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 2.5rem;
    text-decoration: none;
    color: inherit;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease;
}

.postnav__card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(197, 162, 92, 0.04);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.postnav__card:hover {
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
}

.postnav__card:hover::before {
    opacity: 1;
}

/* Article pr�c�dent : texte | image */
.postnav__card--prev {
    flex-direction: row;
}

/* Article suivant : image | texte */
.postnav__card--next {
    flex-direction: row;
}

/*  Texte  */
.postnav__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.postnav__text--right {
    text-align: right;
    align-items: flex-end;
}

/* Label directionnel */
.postnav__label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(197, 162, 92, 0.7);
    transition: color 0.2s ease;
}

.postnav__label svg path {
    stroke: currentColor;
}

.postnav__label--right {
    flex-direction: row-reverse;
}

.postnav__card:hover .postnav__label {
    color: #c5a25c;
}

/* Titre */
.postnav__title {
    font-family: var(--font-title);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 600;
    line-height: 1.35;
    color: #f0ece4;
    letter-spacing: 0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.postnav__card:hover .postnav__title {
    color: #ffffff;
}

.postnav__title--right {
    text-align: right;
}

/*  Miniature  */
.postnav__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(197, 162, 92, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.22s ease, transform 0.25s ease;
}

.postnav__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.postnav__card:hover .postnav__thumb {
    border-color: rgba(197, 162, 92, 0.45);
}

.postnav__card:hover .postnav__thumb img {
    transform: scale(1.06);
}

.postnav__thumb--placeholder {
    color: rgba(197, 162, 92, 0.3);
}

/* =========================================
   Navigation entre articles  Responsive
   ========================================= */

@media (max-width: 768px) {
    .postnav__inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .postnav__divider {
        width: 100%;
        height: 1px;
        background: rgba(197, 162, 92, 0.18);
    }

    .postnav__card {
        padding: 1.5rem 1.25rem;
    }

    /* Sur mobile le "suivant" revient � la disposition standard (image � gauche) */
    .postnav__card--next {
        flex-direction: row;
    }

    .postnav__text--right {
        text-align: left;
        align-items: flex-start;
    }

    .postnav__title--right {
        text-align: left;
    }

    .postnav__label--right {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .postnav__thumb {
        width: 62px;
        height: 62px;
        border-radius: 6px;
    }

    .postnav__card {
        gap: 1rem;
        padding: 1.25rem 1rem;
    }
}
/* =========================================
   Page hero -- variante page statique (page.php)
   Reprend article-hero sans auteur ni meta
   ========================================= */

.article-hero--page {
    min-height: 38vh;
}

.article-hero__inner--centered {
    justify-content: center;
    align-items: flex-end;
}

.article-hero__inner--centered .article-hero__main {
    max-width: 860px;
    text-align: center;
}

.article-hero__inner--centered .article-hero__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

@media (max-width: 768px) {
    .article-hero--page {
        min-height: 28vh;
    }
}
/* =========================================
   Page hero -- variante page statique (page.php)
   Reprend article-hero sans auteur ni meta
   ========================================= */

.article-hero--page {
    min-height: 38vh;
}

.article-hero__inner--centered {
    justify-content: center;
    align-items: flex-end;
}

.article-hero__inner--centered .article-hero__main {
    max-width: 860px;
    text-align: center;
}

.article-hero__inner--centered .article-hero__title {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

@media (max-width: 768px) {
    .article-hero--page {
        min-height: 28vh;
    }
}

/* =========================================
   Badge cat�gorie  cartes d'articles
   Fond transparent, bordure + texte color�s
   selon la cat�gorie (classe cat-{slug})
   ========================================= */

.post-category-badge {
    display: inline-block;
    padding: 2px 8px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1.5px solid;
    border-radius: 3px;
    background: transparent;
    line-height: 1.7;
    /* Couleur de repli (cat�gorie non reconnue) */
    color: #877D7C;
    border-color: #877D7C;
}

/* Badges sur fond blanc (.post-category-badge) � transparent, texte color� */
.post-category-badge.cat-histoire         { color: #D29C68; border-color: #D29C68; }
.post-category-badge.cat-spiritualite     { color: #DCCEAA; border-color: #DCCEAA; }
.post-category-badge.cat-liturgie         { color: #97DB9D; border-color: #97DB9D; }
.post-category-badge.cat-theologie        { color: #8196B1; border-color: #8196B1; }
.post-category-badge.cat-ecriture-sainte  { color: #073552; border-color: #073552; }
.post-category-badge.cat-actualite        { color: #877D7C; border-color: #877D7C; }

.aune-card .aune-card__cat.cat-histoire         { background: #D29C68; color: #fff; }
.aune-card .aune-card__cat.cat-spiritualite     { background: #b8a478; color: #fff; }
.aune-card .aune-card__cat.cat-liturgie         { background: #5aab62; color: #fff; }
.aune-card .aune-card__cat.cat-theologie        { background: #6b84a8; color: #fff; }
.aune-card .aune-card__cat.cat-ecriture-sainte  { background: #073552; color: #fff; }
.aune-card .aune-card__cat.cat-actualite        { background: #877D7C; color: #fff; }

/* =========================================
   Category Archive  cat-hero + archive-grid
   ========================================= */

/*  Fond de page  */
.site-main--archive {
    background: #f9f7f3;
    padding-top: 0;
}

/* =========================================
   Cat Hero  banni�re cat�gorie
   ========================================= */

.cat-hero {
    position: relative;
    min-height: 32vh;
    display: flex;
    align-items: flex-end;
    background-color: #0a1628;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.cat-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(4, 10, 22, 0.30) 0%,
        rgba(4, 10, 22, 0.60) 50%,
        rgba(4, 10, 22, 0.90) 100%
    );
    z-index: 1;
}

.cat-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 3rem clamp(1.5rem, 5vw, 3.5rem) 2.75rem;
}

.cat-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

/* Badge catégorie — centré en bas du hero, même style que .article-hero__category */
.cat-hero__badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
    background: #877D7C;
    border: none;
    padding: 0.35rem 1.1rem;
    border-radius: 6px 6px 0 0;
    white-space: nowrap;
    display: inline-block;
}

.cat-hero__badge.cat-histoire        { background: #D29C68; color: #fff; border: none; }
.cat-hero__badge.cat-spiritualite    { background: #b8a478; color: #fff; border: none; }
.cat-hero__badge.cat-liturgie        { background: #5aab62; color: #fff; border: none; }
.cat-hero__badge.cat-theologie       { background: #6b84a8; color: #fff; border: none; }
.cat-hero__badge.cat-ecriture-sainte { background: #073552; color: #fff; border: none; }
.cat-hero__badge.cat-actualite       { background: #877D7C; color: #fff; border: none; }

.cat-hero__count {
    font-family: 'Raleway', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(240, 236, 228, 0.55);
    text-transform: uppercase;
}

.cat-hero__title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #f0ece4;
    line-height: 1.15;
    margin: 0 0 0.75rem;
    max-width: 760px;
}

.cat-hero__desc {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    font-weight: 400;
    color: rgba(240, 236, 228, 0.70);
    line-height: 1.65;
    max-width: 620px;
    margin: 0;
}

/* =========================================
   Archive Grid  grille d'articles
   ========================================= */

.archive-grid {
    padding: 3.5rem 0 4rem;
}

.archive-grid__inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.archive-grid__posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* =========================================
   Archive Card  carte d'article premium
   ========================================= */

.archive-card {
    position: relative; /* ancrage pour le badge épinglé */
    background: #ffffff;
    border-radius: 0.875rem;
    overflow: hidden;
    box-shadow:
        0 2px 8px rgba(0, 0, 0, 0.06),
        0 0 0 1px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* Badge article épinglé */
.archive-card__pin {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    background: #c5a25c;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.32rem 0.65rem 0.32rem 0.45rem;
    border-radius: 0 0 6px 0;
    pointer-events: none;
    user-select: none;
}

.archive-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(197, 162, 92, 0.15);
}

/* Vignette */
.archive-card__link {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #0d1b2a;
    flex-shrink: 0;
}

.archive-card__link img,
.archive-card__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.archive-card:hover .archive-card__link img,
.archive-card:hover .archive-card__thumb img {
    transform: scale(1.04);
}

.archive-card__thumb {
    width: 100%;
    height: 100%;
}

.archive-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(197, 162, 92, 0.35);
}

/* Corps de carte */
.archive-card__body {
    padding: 1.25rem 1.375rem 1.375rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.5rem;
}

/* Bandeau catégorie — onglet centré sous l'image */
.archive-card__badge {
    display: table;
    margin: 0 auto;
    padding: 0.3rem 1.1rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.7;
    border-width: 0;
    border-radius: 0 0 6px 6px;
    background: #877D7C;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.archive-card__badge.cat-histoire         { background: #D29C68; color: #fff; }
.archive-card__badge.cat-spiritualite     { background: #b8a478; color: #fff; }
.archive-card__badge.cat-liturgie         { background: #5aab62; color: #fff; }
.archive-card__badge.cat-theologie        { background: #6b84a8; color: #fff; }
.archive-card__badge.cat-ecriture-sainte  { background: #073552; color: #fff; }
.archive-card__badge.cat-actualite        { background: #877D7C; color: #fff; }

/* Titre */
.archive-card__title {
    font-family: var(--font-title);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 400;
    line-height: 1.35;
    color: #1a1008;
    margin: 0;
}

/* Contre .article-content-wrap .entry-content h2 quand le shortcode
   est rendu dans the_content() */
.article-content-wrap .entry-content .archive-card__title,
.entry-content .archive-card__title {
    font-size:          clamp(1rem, 1.5vw, 1.15rem);
    font-weight:        400;
    line-height:        1.35;
    margin-top:         0;
    margin-bottom:      0;
    padding-bottom:     0;
    border-bottom:      none;
    letter-spacing:     normal;
    scroll-margin-top:  0;
    color:              #1a1008;
}

.archive-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.archive-card__title a:hover {
    color: #c5a25c;
}

/* Extrait */
.archive-card__excerpt {
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem;
    color: #5c4a32;
    line-height: 1.65;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer de carte : date + cta */
.archive-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.875rem;
    border-top: 1px solid #f0ece4;
    gap: 0.75rem;
}

.archive-card__meta {
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #9c8570;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.archive-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #c5a25c;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease, gap 0.2s ease;
    /* Reset <button> si utilis� comme �l�ment interactif */
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    line-height: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.archive-card__cta:hover {
    color: #b45309;
    gap: 0.55rem;
    background: none;
}

/* -- Podcast variant dans l'archive de tags -- */

/* Bordure gauche or + fond tr�s l�g�rement teint� */
.archive-card--podcast {
    border-left: 3px solid #c5a25c;
}

/* Thumb : position relative pour les overlays absolus */
.archive-card--podcast .archive-card__link {
    position: relative;
}

/* Overlay sombre semi-transparent au hover */
.archive-card--podcast .archive-card__link::after {
    content:    '';
    position:   absolute;
    inset:      0;
    background: rgba(10, 22, 40, 0.25);
    opacity:    0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.archive-card--podcast:hover .archive-card__link::after {
    opacity: 1;
}

/* Bouton play centr� sur la vignette */
.archive-card__podcast-overlay {
    position:        absolute;
    inset:           0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    z-index:         2;
    pointer-events:  none;
}

.archive-card__podcast-play {
    width:            44px;
    height:           44px;
    border-radius:    50%;
    background:       rgba(197, 162, 92, 0.9);
    display:          flex;
    align-items:      center;
    justify-content:  center;
    color:            #fffdf9;
    transition:       transform 0.22s ease, background 0.22s ease;
    backdrop-filter:  blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.archive-card--podcast:hover .archive-card__podcast-play {
    transform:  scale(1.1);
    background: #c5a25c;
}

.archive-card__podcast-play svg {
    width:       17px;
    height:      17px;
    margin-left: 2px; /* centrage optique triangle */
}

/* Badge "Audio" / "Vid�o" � coin sup�rieur droit */
.archive-card__podcast-badge {
    position:       absolute;
    top:            0.55rem;
    right:          0.55rem;
    z-index:        3;
    font-family:    'Raleway', sans-serif;
    font-size:      0.6rem;
    font-weight:    700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color:          #f0ece4;
    background:     rgba(10, 22, 40, 0.8);
    padding:        0.2em 0.5em;
    border-radius:  3px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

/* Dur�e dans le footer */
.archive-card__podcast-duration {
    display:     inline-flex;
    align-items: center;
    gap:         0.3em;
}

.archive-card__podcast-duration svg {
    flex-shrink: 0;
    color:       #9ca3af;
}

/* CTA "�couter" � couleur l�g�rement diff�rente du "Lire" */
.archive-card__cta--podcast {
    gap: 0.4rem;
}

.archive-card__cta--podcast svg {
    flex-shrink: 0;
}

/* =========================================
   Archive Card — Variante Série Podcast
   Réutilise toutes les règles .archive-card.
   Seuls les éléments spécifiques aux séries
   sont surchargés ci-dessous.
   ========================================= */

/* Fond sombre + photo en background-image + waveform en overlay */
.archive-card__series-placeholder {
    width:               100%;
    height:              100%;
    display:             flex;
    align-items:         center;
    justify-content:     center;
    position:            relative;
    background-color:    #0a1628;
    background-size:     cover;
    background-position: center;
    overflow:            hidden;
}

/* Gradient sombre par-dessus la photo (ou fond brut si pas de photo) */
.archive-card__series-placeholder::before {
    content:        '';
    position:       absolute;
    inset:          0;
    background:     linear-gradient(160deg, rgba(10,22,40,0.68) 0%, rgba(17,34,64,0.52) 100%);
    pointer-events: none;
}

/* Le waveform SVG passe au-dessus de l'overlay */
.archive-card__series-placeholder svg {
    position: relative;
    z-index:  1;
    opacity:  0.45;
    color:    #c5a25c;
}

/* Sans photo : gradient plein + waveform bien visible */
.archive-card__series-placeholder:not([style]) svg {
    opacity: 0.25;
}

/* Overlay sombre au hover */
.archive-card--series .archive-card__link {
    position: relative;
}

.archive-card--series .archive-card__link::after {
    content:       '';
    position:      absolute;
    inset:         0;
    background:    rgba(10, 22, 40, 0.25);
    opacity:       0;
    transition:    opacity 0.28s ease;
    pointer-events:none;
}

.archive-card--series:hover .archive-card__link::after {
    opacity: 1;
}

/* Badge « Série Podcast » — fond or, onglet centré sous l'image */
.archive-card__badge--series {
    background: #c5a25c;
    color:      #fff;
}

/* Compteur d'épisodes dans le footer */
.archive-card__ep-count {
    display:     inline-flex;
    align-items: center;
    gap:         0.35em;
}

.archive-card__ep-count svg {
    flex-shrink: 0;
    color:       #9ca3af;
}

/* Grille des séries — miroir de .archive-grid__posts */
.archive-grid__series {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   2rem;
}

/* =========================================
   Pagination archive
   ========================================= */

.archive-pagination {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

/* Reset complet des <ul>/<li> générés par paginate_links(type=list) */
.archive-pagination ul.page-numbers {
    display:        flex;
    flex-wrap:      wrap;
    align-items:    center;
    justify-content:center;
    gap:            0.4rem;
    list-style:     none;
    margin:         0;
    padding:        0;
    border:         none;
    background:     none;
}

.archive-pagination ul.page-numbers li {
    display:     flex;
    margin:      0;
    padding:     0;
    border:      none;
    background:  none;
    list-style:  none;
}

.archive-pagination ul.page-numbers li::before,
.archive-pagination ul.page-numbers li::after {
    display: none;
}

.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.85rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    color: #5c4a32;
    background: #ffffff;
    border: 1.5px solid #e2ddd6;
    border-radius: 0.5rem;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    min-width: 2.5rem;
    justify-content: center;
}

.archive-pagination .page-numbers:hover {
    border-color: #c5a25c;
    color: #c5a25c;
}

.archive-pagination .page-numbers.current {
    background: #c5a25c;
    border-color: #c5a25c;
    color: #ffffff;
}

.archive-pagination .page-numbers.dots {
    background: transparent;
    border-color: transparent;
    pointer-events: none;
}

.archive-pagination .prev,
.archive-pagination .next {
    padding: 0.45rem 1rem;
}

/* =========================================
   Archive vide
   ========================================= */

.archive-empty {
    padding: 4rem clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
    color: #5c4a32;
    font-family: 'Raleway', sans-serif;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 1024px) {
    .archive-grid__posts,
    .archive-grid__series {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .cat-hero {
        min-height: 26vh;
    }

    .archive-grid__posts,
    .archive-grid__series {
        grid-template-columns: 1fr;
    }

    .archive-grid {
        padding: 2rem 0 2.5rem;
    }
}

/* =============================================================================
   Breadcrumb � .claves-breadcrumb
   Semantic BreadcrumbList with schema.org markup.
   Appears on single posts, pages, and category archives.
   ============================================================================= */

.claves-breadcrumb {
    padding: 0.625rem 0 0.5rem;
    margin-bottom: 1.875rem;
    border-bottom: 1px solid rgba(197, 162, 92, 0.20);
}

.claves-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-family: 'Raleway', sans-serif;
    font-size: 0.6875rem;       /* 11px */
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.5;
}

.claves-breadcrumb__item {
    display: flex;
    align-items: center;
}

/* Separator chevron rendered via ::after on all non-last items */
.claves-breadcrumb__item:not(.claves-breadcrumb__item--current)::after {
    content: '✦';
    margin: 0 0.5rem;
    color: rgba(197, 162, 92, 0.45);
    font-weight: 400;
    font-size: 1.1em;
    line-height: 1;
    speak: none;          /* decorative � excluded from screen readers */
}

.claves-breadcrumb__link {
    color: #c5a25c;
    text-decoration: none;
    transition: color 0.16s ease, text-decoration-color 0.16s ease;
    text-decoration-color: transparent;
}

.claves-breadcrumb__link:hover,
.claves-breadcrumb__link:focus-visible {
    color: #d97706;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(217, 119, 6, 0.55);
    outline: none;
}

.claves-breadcrumb__link:focus-visible {
    outline: 2px solid #c5a25c;
    outline-offset: 2px;
    border-radius: 2px;
}

/* Current (last, non-clickable) item */
.claves-breadcrumb__current {
    color: #9a8a76;
    max-width: 30ch;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category archive: breadcrumb lives in its own narrow band between the hero and the grid */
.archive-breadcrumb-wrap {
    background: #f9f7f3;
    border-bottom: 1px solid rgba(197, 162, 92, 0.12);
}

.archive-breadcrumb-wrap .claves-breadcrumb {
    margin-bottom: 0;
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    border-bottom: none;
}

/* Responsive � tighten the current-item truncation on narrow viewports */
@media (max-width: 640px) {
    .claves-breadcrumb__current {
        max-width: 18ch;
    }

    .claves-breadcrumb__item:not(.claves-breadcrumb__item--current)::after {
        margin: 0 0.35rem;
    }
}

/* =============================================================================
   Author Archive � .author-hero
   Same editorial weight as .cat-hero; adapts to avatar + bio layout.
   ============================================================================= */

.author-hero {
    position: relative;
    min-height: 32vh;
    display: flex;
    align-items: center;
    background-color: #0a1628;
    background-size: cover;
    background-position: center top;
    overflow: hidden;
}

.author-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        155deg,
        rgba(6, 14, 34, 0.88) 0%,
        rgba(7, 18, 43, 0.72) 100%
    );
    z-index: 0;
}

.author-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 5.5rem 2rem 3.5rem;
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

/* Avatar circle */
.author-hero__avatar {
    flex-shrink: 0;
}

.author-hero__avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2.5px solid rgba(197, 162, 92, 0.65);
    object-fit: cover;
    display: block;
}

/* Text column */
.author-hero__meta {
    flex: 1;
    min-width: 0;
}

.author-hero__eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c5a25c;
    margin: 0 0 0.6rem;
}

.author-hero__count {
    color: rgba(197, 162, 92, 0.70);
    font-weight: 400;
    letter-spacing: 0.04em;
}

.author-hero__name {
    font-family: var(--font-title);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 400;
    color: #f0ece4;
    line-height: 1.15;
    margin: 0 0 0.65rem;
    letter-spacing: -0.01em;
}

.author-hero__bio {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(240, 236, 228, 0.72);
    margin: 0;
    max-width: 56ch;
}

/* Responsive */
@media (max-width: 640px) {
    .author-hero__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        padding: 2.5rem 1.25rem;
    }

    .author-hero__avatar img {
        width: 64px;
        height: 64px;
    }

    .author-hero__name {
        font-size: 1.625rem;
    }
}

/* =============================================================================
   Typographie .entry-content � Responsive
   ============================================================================= */

@media (max-width: 860px) {
    .article-content-wrap .entry-content {
        font-size: 1.1rem;
    }

    .article-content-wrap .entry-content h2 {
        font-size: 1.55rem;
    }

    .article-content-wrap .entry-content h3 {
        font-size: 1.25rem;
    }

    .article-content-wrap .entry-content blockquote {
        padding: 1.25rem 1.25rem 1.25rem 1.5rem;
    }

    .article-content-wrap .entry-content blockquote::before {
        font-size: 4rem;
    }
}

@media (max-width: 540px) {
    .article-content-wrap .entry-content {
        font-size: 1.05rem;
        line-height: 1.85;
    }

    .article-content-wrap .entry-content h1 { font-size: 1.625rem; }
    .article-content-wrap .entry-content h2 { font-size: 1.375rem; }
    .article-content-wrap .entry-content h3 { font-size: 1.175rem; }
    .article-content-wrap .entry-content h4 { font-size: 1.05rem;  }

    .article-content-wrap .entry-content blockquote {
        margin: 1.75rem 0;
        padding: 1rem 1rem 1rem 1.25rem;
        border-left-width: 3px;
    }

    .article-content-wrap .entry-content blockquote::before {
        font-size: 3rem;
        top: -0.125rem;
        left: 0.75rem;
    }

    .article-content-wrap .entry-content blockquote p {
        font-size: 1rem;
    }

    .article-content-wrap .entry-content hr {
        width: 80%;
    }
}

/* =============================================================================
   Footnotes plugin � popover �ditorial
   Compatible avec le HTML g�n�r� par le plugin WordPress Footnotes :
     .footnote_referrer  >  a > sup.footnote_plugin_tooltip_text
                         >  span.footnote_tooltip
   Pas de modification du HTML du plugin.
   ============================================================================= */

/* -- Num�ro de note dans le texte ------------------------------------------ */
.footnote_plugin_tooltip_text {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    min-width:       1.15em;
    padding:         0.05em 0.25em;
    font-family:     'Raleway', system-ui, sans-serif;
    font-size:       0.62rem;
    font-weight:     700;
    font-style:      normal;
    line-height:     1.4;
    vertical-align:  super;
    color:           #c5a25c;
    border:          1px solid rgba(197, 162, 92, 0.45);
    border-radius:   3px;
    background:      transparent;
    letter-spacing:  0.02em;
    cursor:          pointer;
    transition:      color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    /* Reset browser sup sizing */
    font-size:       0.7rem !important;
    top:             -0.45em;
    position:        relative;
}

.footnote_referrer a:hover  .footnote_plugin_tooltip_text,
.footnote_referrer a:focus  .footnote_plugin_tooltip_text,
.footnote_referrer--open    .footnote_plugin_tooltip_text {
    color:            #fff;
    background:       #c5a25c;
    border-color:     #c5a25c;
}

/* Focus ring on the anchor itself */
.footnote_referrer > a {
    text-decoration: none;
    outline:         none;
}
.footnote_referrer > a:focus-visible .footnote_plugin_tooltip_text {
    outline:        2px solid #c5a25c;
    outline-offset: 2px;
}

/* -- Conteneur .footnote_referrer � positioning context ----------------- */
.footnote_referrer {
    position: relative;
    display:  inline;
}

/* -- Popover / tooltip ------------------------------------------------- */
.footnote_tooltip {
    /* Hidden by default */
    display:          none;
    visibility:       hidden;
    opacity:          0;
    pointer-events:   none;

    /* Floating card */
    position:         absolute;
    bottom:           calc(100% + 12px);
    left:             50%;
    transform:        translateX(-50%);
    z-index:          9000;

    /* Sizing */
    width:            320px;
    max-width:        min(320px, calc(100vw - 2rem));

    /* Visual */
    background:       #fffdf9;
    border:           1px solid rgba(197, 162, 92, 0.25);
    border-radius:    0.625rem;
    box-shadow:
        0 4px 6px -1px  rgba(0, 0, 0, 0.07),
        0 12px 32px -4px rgba(0, 0, 0, 0.12),
        0 0 0 1px        rgba(197, 162, 92, 0.08);
    padding:          1rem 1.125rem 0.875rem;

    /* Typography */
    font-family:      'Raleway', system-ui, sans-serif;
    font-size:        0.8125rem;
    font-style:       normal;
    line-height:      1.65;
    color:            #2e2a26;
    font-weight:      400;
    letter-spacing:   0.005em;
    text-align:       left;

    /* Transition */
    transition:       opacity 0.18s ease, transform 0.18s ease;
    will-change:      opacity, transform;
}

/* Arrow pointing down toward the footnote number */
.footnote_tooltip::after {
    content:      '';
    position:     absolute;
    top:          100%;
    left:         50%;
    transform:    translateX(-50%);
    border:       6px solid transparent;
    border-top-color: #fffdf9;
    filter:       drop-shadow(0 1px 0 rgba(197, 162, 92, 0.20));
}
.footnote_tooltip::before {
    content:      '';
    position:     absolute;
    top:          100%;
    left:         50%;
    transform:    translateX(-50%);
    border:       7px solid transparent;
    border-top-color: rgba(197, 162, 92, 0.25);
    margin-top:   1px;
}

/* Label ��Note�� discret en haut du popover */
.footnote_tooltip::before {
    /* Repurpose for border arrow (already defined) � label added via JS */
}

/* Em/italic inside the tooltip (e.g. book titles) */
.footnote_tooltip em {
    font-style: italic;
    color:      #4a3e30;
}

/* Revealed state � JS adds .is-open to .footnote_referrer */
.footnote_referrer--open > .footnote_tooltip {
    display:        block;
    visibility:     visible;
    opacity:        1;
    pointer-events: auto;
    transform:      translateX(-50%) translateY(0);
}

/* Entry animation (from slightly lower) */
.footnote_referrer > .footnote_tooltip {
    transform: translateX(-50%) translateY(4px);
}
.footnote_referrer--open > .footnote_tooltip {
    transform: translateX(-50%) translateY(0);
}

/* -- Keep visible when the user hovers the popover itself -------------- */
.footnote_referrer:hover > .footnote_tooltip,
.footnote_referrer:focus-within > .footnote_tooltip {
    display:        block;
    visibility:     visible;
    opacity:        1;
    pointer-events: auto;
    transform:      translateX(-50%) translateY(0);
}

/* -- Viewport clipping guard (adjusted by JS) ------------------------ */
.footnote_tooltip.is-flipped {
    bottom: auto;
    top:    calc(100% + 12px);
}
.footnote_tooltip.is-flipped::after {
    top:           auto;
    bottom:        100%;
    border-top-color:    transparent;
    border-bottom-color: #fffdf9;
}
.footnote_tooltip.is-flipped::before {
    top:           auto;
    bottom:        100%;
    border-top-color:    transparent;
    border-bottom-color: rgba(197, 162, 92, 0.25);
    margin-top:    0;
    margin-bottom: 1px;
}

/* -- Responsive --------------------------------------------------------------- */
@media (max-width: 540px) {
    /* On mobile: full-width anchored to viewport edges via JS */
    .footnote_tooltip {
        width:     calc(100vw - 2rem);
        max-width: none;
        font-size: 0.8rem;
        padding:   0.875rem 1rem 0.75rem;
    }
}

/* -- Liste des notes en bas de page (rendu plugin) --------------------- */
.footnote_container_prepare,
.footnote_container_prepare ~ div {
    font-family:  'Raleway', system-ui, sans-serif;
    font-size:    0.8125rem;
    color:        #6b6157;
    line-height:  1.7;
    margin-top:   2.5rem;
    padding-top:  1.5rem;
    border-top:   1px solid rgba(197, 162, 92, 0.20);
}
.footnote_container_prepare p {
    font-weight:    700;
    font-size:      0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color:          #c5a25c;
    margin-bottom:  0.75rem;
}
.footnote_plugin_index_arrowed {
    color: #c5a25c;
}
.footnotes_list li {
    margin-bottom: 0.4rem;
}

.entry-content iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: 100%;
}

/* =============================================================================
   Tag Archive � .tag-hero
   Structure identique � .cat-hero et .author-hero.
   ============================================================================= */

.tag-hero {
    position:          relative;
    min-height:        30vh;
    display:           flex;
    align-items:       center;
    background-color:  #0a1628;
    background-size:   cover;
    background-position: center top;
    overflow:          hidden;
}

.tag-hero__overlay {
    position: absolute;
    inset:    0;
    background: linear-gradient(
        155deg,
        rgba(6, 14, 34, 0.88) 0%,
        rgba(7, 18, 43, 0.72) 100%
    );
    z-index:  0;
}

.tag-hero__inner {
    position:   relative;
    z-index:    1;
    width:      100%;
    max-width:  900px;
    margin:     0 auto;
    padding:    3rem 2rem;
}

.tag-hero__eyebrow {
    display:        flex;
    align-items:    center;
    gap:            0.75rem;
    font-family:    'Raleway', system-ui, sans-serif;
    font-size:      0.6875rem;
    font-weight:    700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color:          #c5a25c;
    margin-bottom:  0.75rem;
}

.tag-hero__label {
    display:     inline-flex;
    align-items: center;
    gap:         0.35rem;
}

.tag-hero__count {
    color:       rgba(197, 162, 92, 0.70);
    font-weight: 400;
    letter-spacing: 0.04em;
}

.tag-hero__name {
    font-family:    var(--font-title);
    font-size:      clamp(1.75rem, 4vw, 2.75rem);
    font-weight:    400;
    color:          #f0ece4;
    line-height:    1.15;
    margin:         0 0 0.65rem;
    letter-spacing: -0.01em;
}

.tag-hero__desc {
    font-size:   0.9375rem;
    line-height: 1.65;
    color:       rgba(240, 236, 228, 0.72);
    margin:      0;
    max-width:   56ch;
}

@media (max-width: 640px) {
    .tag-hero__inner {
        padding: 2.25rem 1.25rem;
    }

    .tag-hero__name {
        font-size: 1.625rem;
    }
}

/* =============================================================================
   PODCAST ARCHIVE � Hero
   ============================================================================= */

.podcast-hero {
    position:         relative;
    min-height:       30vh;
    background-color: #0a1628;
    background-size:  cover;
    background-position: center;
    overflow:         hidden;
    display:          flex;
    align-items:      flex-end;
}

.podcast-hero__overlay {
    position:   absolute;
    inset:      0;
    background: linear-gradient(
        160deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(10, 22, 40, 0.82) 100%
    );
    pointer-events: none;
    z-index:        1;
}

/* Waveform SVG d�coratif */
.podcast-hero__wave {
    position:    absolute;
    inset:       0;
    display:     flex;
    align-items: center;
    opacity:     0.08;
    z-index:     1;
    pointer-events: none;
}

.podcast-hero__wave svg {
    width:  100%;
    height: 100%;
    color:  #c5a25c;
}

.podcast-hero__inner {
    position:   relative;
    z-index:    2;
    width:      100%;
    max-width:  900px;
    margin:     0 auto;
    padding:    3.25rem 2rem 2.75rem;
}

.podcast-hero__eyebrow {
    display:        flex;
    align-items:    center;
    gap:            0.45rem;
    font-family:    'Raleway', sans-serif;
    font-size:      0.6875rem;
    font-weight:    700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color:          #c5a25c;
    margin-bottom:  0.85rem;
}

.podcast-hero__icon {
    display:     flex;
    align-items: center;
    color:       #c5a25c;
    flex-shrink: 0;
}

.podcast-hero__count {
    font-weight: 500;
    opacity:     0.8;
}

.podcast-hero__title {
    font-family:    var(--font-title);
    font-size:      clamp(1.875rem, 4.5vw, 3rem);
    font-weight:    400;
    color:          #f0ece4;
    line-height:    1.1;
    margin:         0 0 0.75rem;
    letter-spacing: -0.015em;
}

.podcast-hero__desc {
    font-size:   0.9375rem;
    line-height: 1.65;
    color:       rgba(240, 236, 228, 0.72);
    margin:      0;
    max-width:   58ch;
}

.podcast-hero__desc + .podcast-hero__desc {
    margin-top: 1.25rem;
}

@media (max-width: 640px) {
    .podcast-hero__inner {
        padding: 2.25rem 1.25rem 2rem;
    }

    .podcast-hero__title {
        font-size: 1.75rem;
    }
}

/* =============================================================================
   PODCAST ARCHIVE � Grid & Cards
   ============================================================================= */

.podcast-grid__posts {
    display:               grid;
    grid-template-columns: repeat(2, 1fr);
    gap:                   1rem;
}

/* -- Card shell -- */
.podcast-card {
    display:         flex;
    flex-direction:  row;
    background:      #fffdf9;
    border:          1px solid rgba(197, 162, 92, 0.18);
    border-radius:   6px;
    overflow:        hidden;
    transition:      box-shadow 0.22s ease, transform 0.22s ease;
}

.podcast-card:hover {
    box-shadow: 0 8px 28px rgba(10, 22, 40, 0.13);
    transform:  translateY(-3px);
}

/* -- Thumbnail + play overlay -- */
.podcast-card__thumb-link {
    display:     block;
    position:    relative;
    overflow:    hidden;
    width:       180px;
    min-width:   180px;
    flex-shrink: 0;
    background:  #0a1628;
}

.podcast-card__thumb {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
    transition: transform 0.35s ease, opacity 0.3s ease;
}

.podcast-card:hover .podcast-card__thumb {
    transform: scale(1.04);
    opacity:   0.88;
}

/* SVG placeholder (no featured image) */
.podcast-card__thumb--placeholder {
    width:            100%;
    height:           100%;
    display:          flex;
    align-items:      center;
    justify-content:  center;
    background:       linear-gradient(135deg, #0d1e38 0%, #1a2f50 100%);
}

.podcast-card__thumb--placeholder svg {
    width:   56px;
    height:  56px;
    opacity: 0.22;
    color:   #c5a25c;
}

/* Play button overlay */
.podcast-card__play {
    position:        absolute;
    inset:           0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    z-index:         2;
    pointer-events:  none;
}

.podcast-card__play-btn {
    width:            40px;
    height:           40px;
    border-radius:    50%;
    background:       rgba(197, 162, 92, 0.92);
    display:          flex;
    align-items:      center;
    justify-content:  center;
    transition:       transform 0.22s ease, background 0.22s ease;
    backdrop-filter:  blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.podcast-card:hover .podcast-card__play-btn {
    transform:  scale(1.1);
    background: #c5a25c;
}

.podcast-card__play-btn svg {
    width:        15px;
    height:       15px;
    color:        #fffdf9;
    margin-left:  1px; /* optical centering for play triangle */
}

/* -- Type badge (Audio / Vid�o) -- */
.podcast-card__type-badge {
    position:       absolute;
    top:            0.6rem;
    right:          0.6rem;
    z-index:        3;
    font-family:    'Raleway', sans-serif;
    font-size:      0.6rem;
    font-weight:    700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color:          #f0ece4;
    background:     rgba(10, 22, 40, 0.82);
    padding:        0.2em 0.55em;
    border-radius:  3px;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.podcast-card__type-badge--video {
    background: rgba(217, 119, 6, 0.88);
}

/* -- Card body -- */
.podcast-card__body {
    display:        flex;
    flex-direction: column;
    flex:           1;
    padding:        1rem 1.1rem 1rem;
    gap:            0.45rem;
}

/* Season / Episode + Duration row */
.podcast-card__meta-top {
    display:     flex;
    align-items: center;
    gap:         0.75rem;
    font-family: 'Raleway', sans-serif;
    font-size:   0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color:       #c5a25c;
    line-height: 1;
}

.podcast-card__ep {
    /* Season�Episode label � inherits meta-top styles */
}

.podcast-card__duration {
    display:     flex;
    align-items: center;
    gap:         0.3em;
    color:       #6b7280;
    font-weight: 500;
}

.podcast-card__duration svg {
    width:      11px;
    height:     11px;
    flex-shrink: 0;
    color:      #9ca3af;
}

/* Title */
.podcast-card__title {
    font-family:  var(--font-title);
    font-size:    1.0625rem;
    font-weight:  400;
    line-height:  1.35;
    margin:       0;
    letter-spacing: -0.005em;
}

.podcast-card__title a {
    color:           #0a1628;
    text-decoration: none;
}

.podcast-card__title a:hover {
    color: #c5a25c;
}

/* Excerpt */
.podcast-card__excerpt {
    font-size:   0.8375rem;
    line-height: 1.6;
    color:       #4b5563;
    margin:      0;
    flex:        1;
    display:     -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow:    hidden;
}

/* -- Card footer -- */
.podcast-card__footer {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    padding:         0.75rem 1.1rem;
    border-top:      1px solid rgba(197, 162, 92, 0.12);
    background:      rgba(249, 247, 243, 0.6);
    gap:             0.5rem;
}

.podcast-card__date {
    font-family:    'Raleway', sans-serif;
    font-size:      0.7rem;
    font-weight:    500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color:          #9ca3af;
    flex-shrink:    0;
}

.podcast-card__cta {
    display:         inline-flex;
    align-items:     center;
    gap:             0.4em;
    font-family:     'Raleway', sans-serif;
    font-size:       0.7rem;
    font-weight:     700;
    letter-spacing:  0.1em;
    text-transform:  uppercase;
    color:           #c5a25c;
    text-decoration: none;
    padding:         0.35em 0.75em;
    border:          1px solid rgba(197, 162, 92, 0.45);
    border-radius:   3px;
    transition:      background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    white-space:     nowrap;
    /* Reset <button> */
    background:         transparent;
    cursor:             pointer;
    line-height:        inherit;
    -webkit-appearance: none;
    appearance:         none;
}

.podcast-card__cta:hover {
    background:   #c5a25c;
    color:        #fffdf9;
    border-color: #c5a25c;
}

.podcast-card__cta svg {
    width:  10px;
    height: 10px;
    flex-shrink: 0;
}

/* -- Responsive -- */
@media (max-width: 640px) {
    .podcast-grid__posts {
        grid-template-columns: 1fr;
    }

    .podcast-card {
        flex-direction: column;
    }

    .podcast-card__thumb-link {
        width:        100%;
        min-width:    0;
        aspect-ratio: 4 / 3;
    }
}
/* =========================================
   � LIRE AUSSI   Articles li�s (single.php)
   R�utilise les cartes .aune-card et le
   carousel .aune-carousel existants.
   ========================================= */

.related-posts {
    padding: 3.5rem 0 4rem;
    background: #f7f4ef;
    border-top: 1px solid #e8e3da;
}

.related-posts__container {
    max-width: 1140px;
    margin-inline: auto;
}

.related-posts__header {
    margin-bottom: 2rem;
}

.related-posts__title {
    font-family: var(--font-title);
    font-size: 1.625rem;
    font-weight: 400;
    color: #04102a;
    margin: 0;
    line-height: 1.3;
}

.related-posts__title-accent {
    position: relative;
    display: inline-block;
}

.related-posts__title-accent::after {
    content: '';
    display: block;
    width: 2.5rem;
    height: 2px;
    background: #c5a25c;
    margin-top: 0.4rem;
    border-radius: 2px;
}

/* Ajustement de la hauteur des cartes dans ce contexte */
.related-posts .aune-card {
    height: 260px;
}

/* Responsive */
@media (max-width: 900px) {
    .related-posts {
        padding: 2.5rem 0 3rem;
    }

    .related-posts .aune-card {
        height: 240px;
    }
}

@media (max-width: 640px) {
    .related-posts {
        padding: 2rem 0 2.5rem;
    }

    .related-posts__title {
        font-size: 1.25rem;
    }

    .related-posts .aune-card {
        height: 220px;
    }
}

/* =========================================
   ARTICLE LAYOUT  Corps article + Sidebar
   ========================================= */

/*
 * Sur desktop : grid 2 colonnes  texte principal | sidebar fine
 * Sur mobile  : colonne unique, sidebar sous le contenu
 */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 272px;
    gap: 0 3.5rem;
    align-items: start;
}

/* Dans le contexte du grid, le max-width fixe est g�r� par la colonne ;
   on neutralise le centrage auto de .article-content-wrap. */
.article-layout .article-content-wrap {
    max-width: 100%;
    margin: 0;
}

@media (max-width: 1080px) {
    .article-layout {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 0 2.5rem;
    }
}

@media (max-width: 800px) {
    /* Sidebar passe sous le contenu */
    .article-layout {
        display: block;
    }
}

/* =========================================
   ARTICLE SIDEBAR  S�lection "� la Une"
   ========================================= */

.article-sidebar {
    /* non sticky � d�file avec le contenu */
}

.aside-inner {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
    padding-bottom: 1rem;
}

/*  Groupe (un onglet � la Une)  */
.aside-group {
    border-top: 1px solid #e8e3da;
    padding-top: 1.25rem;
}

.aside-group:first-child {
    border-top: none;
    padding-top: 0;
}

.aside-group__heading {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #c5a25c;
    margin: 0 0 1rem;
    line-height: 1.4;
}

/*  Liste  */
.aside-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/*  Item  */
.aside-item {
    border-bottom: 1px solid #f0ece4;
}

.aside-item:last-child {
    border-bottom: none;
}

.aside-item__link {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.875rem 0;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.aside-item__link:hover {
    opacity: 0.72;
}

/* Vignette */
.aside-item__thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #e8e3da;
    position: relative;
}

.aside-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.aside-item__link:hover .aside-item__thumb img {
    transform: scale(1.04);
}

.aside-item__thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #b8b0a4;
}

/* Corps */
.aside-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-top: 0.125rem;
}

.aside-item__action {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #c5a25c;
    line-height: 1.4;
}

.aside-item__title {
    font-family: var(--font-title);
    font-size: 0.875rem;
    font-weight: 400;
    color: #1e1a16;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*  Desktop drawer header (injected by JS at >= 1100 px)  */
.aside-header {
    display: none;
}

@media (min-width: 1100px) {
    .aside-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 0 0.875rem;
        border-bottom: 1px solid #e8e3da;
        margin-bottom: 1.5rem;
    }

    .aside-title {
        font-family: 'Raleway', sans-serif;
        font-size: 0.6875rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #c5a25c;
        line-height: 1;
    }

    .aside-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        background: none;
        border: 1px solid #d9d3cc;
        border-radius: 50%;
        color: #8a8078;
        cursor: pointer;
        transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
        flex-shrink: 0;
        padding: 0;
        line-height: 1;
    }

    .aside-toggle:hover {
        background: var(--gold);
        border-color: var(--gold);
        color: #fff;
    }

    /* Closed state: hide content, keep toggle visible */
    .article-sidebar--closed .aside-inner {
        display: none;
    }

    .article-sidebar--closed .aside-title {
        display: none;
    }

    .article-sidebar--closed .aside-header {
        justify-content: center;
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 0;
    }

    /* Sticky when collapsed so toggle stays in view */
    .article-sidebar--closed {
        position: sticky;
        top: calc(var(--header-height) + 2rem);
        align-self: start;
    }
}

/*  Responsive : sidebar sous le contenu  */
@media (max-width: 800px) {
    .article-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 1px solid #e8e3da;
    }

    .aside-inner {
        /* Groupes c�te � c�te sur tablette */
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .aside-group {
        flex: 1 1 200px;
        border-top: none;
        padding-top: 0;
        border-left: 2px solid #e8e3da;
        padding-left: 1.25rem;
    }

    .aside-group:first-child {
        border-left: none;
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    .aside-inner {
        flex-direction: column;
    }

    .aside-group {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #e8e3da;
        padding-top: 1.25rem;
    }

    .aside-group:first-child {
        border-top: none;
        padding-top: 0;
    }
}

/* Sidebar d�sactiv�e depuis le Customizer */
.article-layout--no-sidebar {
    grid-template-columns: 1fr;
}

.article-layout--no-sidebar .article-content-wrap {
    max-width: 740px;
    margin-inline: auto;
}

/* =========================================
   WP Popular Posts — aligne sur .aside-list
   ========================================= */

/* Conteneur widget : identique à .aside-group */
#secondary.widget-area {
    border-top: 1px solid #e8e3da;
    padding-top: 1.25rem;
    margin: 0;
}

#secondary .widget {
    margin: 0;
    padding: 0;
}

/* Titre du widget : identique à .aside-group__heading */
#secondary .widget-title,
#secondary .wp-block-heading {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #c5a25c;
    margin: 0 0 1rem;
    line-height: 1.4;
}

/* Supprimer toute decoration parasite autour du bloc WPP */
.popular-posts,
.popular-posts-sr {
    margin: 0;
    padding: 0;
}

.wpp-list {
    list-style:     none;
    margin:         0;
    padding:        0;
    display:        flex;
    flex-direction: column;
    gap:            0;
}

.wpp-list > li {
    border-bottom: 1px solid #f0ece4;
    padding:       0.875rem 0;
    display:       flex;
    align-items:   flex-start;
    gap:           0.875rem;
}

.wpp-list > li:last-child {
    border-bottom: none;
}

/* Format avec <article> intermédiaire */
.wpp-list > li > article {
    display:     flex;
    align-items: flex-start;
    gap:         0.875rem;
    width:       100%;
}

/* Vignette — identique à .aside-item__thumb
   Dans le layout cards-compact, .wpp-thumbnail EST le <img> lui-même */
.wpp-thumbnail {
    flex-shrink:   0;
    flex-grow:     0;
    width:         56px;
    height:        56px;
    border-radius: 0.5rem;
    overflow:      hidden;
    background:    #e8e3da;
    display:       block;
    object-fit:    cover;
    margin:        0;          /* reset WPP default margin-right */
    border:        none;
    transition:    transform 0.4s ease;
}

/* Cas où .wpp-thumbnail est un wrapper avec <img> ou .wpp-img dedans */
.wpp-thumbnail img,
.wpp-thumbnail .wpp-img {
    width:       100%;
    height:      100%;
    object-fit:  cover;
    display:     block;
    transition:  transform 0.4s ease;
}

/* Hover scale */
.wpp-list > li:hover .wpp-thumbnail {
    transform: scale(1.04);
}

.wpp-list > li:hover .wpp-thumbnail img,
.wpp-list > li:hover .wpp-thumbnail .wpp-img {
    transform: scale(1.04);
}

/* Titre — identique à .aside-item__title
   Dans le layout cards-compact, .wpp-post-title est enfant direct du <li> */
.wpp-post-title {
    flex:               1;
    min-width:          0;
    font-family:        var(--font-title);
    font-size:          0.875rem;
    font-weight:        400;
    color:              #1e1a16;
    line-height:        1.45;
    display:            -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow:           hidden;
    text-decoration:    none;
    margin:             0;
}

.wpp-post-title:hover {
    opacity: 0.72;
}

/* Zone texte si présente (.wpp-item-data) — identique à .aside-item__body */
.wpp-item-data {
    flex:           1;
    min-width:      0;
    display:        flex;
    flex-direction: column;
    gap:            0.3rem;
    padding-top:    0.125rem;
}

/* Titre dans .wpp-item-data */
.wpp-item-title,
.wpp-item-title a {
    font-family:        var(--font-title);
    font-size:          0.875rem;
    font-weight:        400;
    color:              #1e1a16;
    line-height:        1.45;
    display:            -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow:           hidden;
    text-decoration:    none;
    margin:             0;
}

.wpp-item-title a:hover,
.wpp-post-title:hover {
    opacity: 0.72;
}

/* Métadonnées (vues) — couleur dorée comme .aside-item__action */
.wpp-meta,
.post-stats {
    font-family:    'Raleway', sans-serif;
    font-size:      0.6rem;
    font-weight:    700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color:          #c5a25c;
    line-height:    1.4;
}

/* =========================================
   MINI-PLAYER PODCAST  sticky global
   ========================================= */

.podcast-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: #04102a;
    color: #f0ece4;
    box-shadow: 0 -2px 24px rgba(4, 16, 42, 0.55);
    /* Entr�e par le bas */
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.podcast-player--visible {
    transform: translateY(0);
}

/* Barre de progression  tout en haut du player */
.podcast-player__progress-wrap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    cursor: pointer;
    outline: none;
}

.podcast-player__progress-wrap:focus-visible {
    outline: 2px solid #c5a25c;
    outline-offset: 0;
}

.podcast-player__progress-track {
    width: 100%;
    height: 100%;
    background: rgba(240, 236, 228, 0.12);
}

.podcast-player__progress-fill {
    height: 100%;
    background: #c5a25c;
    transition: width 0.4s linear;
    pointer-events: none;
}

/* Corps du player */
.podcast-player__body {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.25rem 0.875rem;
    max-width: 1140px;
    margin: 0 auto;
}

/* Vignette */
.podcast-player__thumb {
    flex-shrink: 0;
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: rgba(240, 236, 228, 0.08);
}

.podcast-player__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.podcast-player__thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(240, 236, 228, 0.4);
}

/* Infos textuelles */
.podcast-player__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.podcast-player__label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c5a25c;
    line-height: 1.3;
}

.podcast-player__title {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 400;
    color: #f0ece4;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podcast-player__time {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(240, 236, 228, 0.45);
    letter-spacing: 0.04em;
    display: flex;
    gap: 0.2rem;
    align-items: center;
    line-height: 1;
    margin-top: 0.1rem;
}

.podcast-player__sep {
    opacity: 0.4;
}

/* Contr�les */
.podcast-player__controls {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.podcast-player__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: #f0ece4;
    border-radius: 50%;
    transition: color 0.18s ease, background 0.18s ease;
    padding: 0;
    line-height: 1;
}

.podcast-player__btn:focus-visible {
    outline: 2px solid #c5a25c;
    outline-offset: 2px;
}

/* Bouton seek (15s)  plus petit */
.podcast-player__btn--seek {
    width: 2rem;
    height: 2rem;
    color: rgba(240, 236, 228, 0.6);
}

.podcast-player__btn--seek:hover {
    color: #f0ece4;
    background: rgba(240, 236, 228, 0.08);
}

/* Bouton play/pause  pro�minent */
.podcast-player__btn--play {
    width: 2.75rem;
    height: 2.75rem;
    background: #c5a25c;
    color: #04102a;
    border-radius: 50%;
    transition: background 0.18s ease, transform 0.15s ease;
}

.podcast-player__btn--play:hover {
    background: #dfc080;
    transform: scale(1.07);
}

.podcast-player__btn--play:active {
    transform: scale(0.96);
}

/* Bouton fermer */
.podcast-player__btn--close {
    width: 2rem;
    height: 2rem;
    color: rgba(240, 236, 228, 0.45);
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.podcast-player__btn--close:hover {
    color: #f0ece4;
    background: rgba(240, 236, 228, 0.08);
    border-radius: 50%;
}

/* Espace au bas de page pour que le player ne recouvre pas le footer */
body.podcast-player-open .site-footer {
    padding-bottom: 5.5rem;
}

/*  Responsive  */
@media (max-width: 640px) {
    .podcast-player__body {
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .podcast-player__thumb {
        width: 40px;
        height: 40px;
    }

    .podcast-player__btn--seek {
        display: none; /* masqu� sur petit �cran pour gagner de la place */
    }

    .podcast-player__btn--play {
        width: 2.25rem;
        height: 2.25rem;
    }

    .podcast-player__title {
        font-size: 0.825rem;
    }

    .podcast-player__label {
        display: none;
    }
}

/* =========================================
   SSP BRIDGE  Modale  Continuer l'écoute 
   ========================================= */

/* Overlay plein �cran */
.ssp-modal {
    position: fixed;
    inset: 0;
    z-index: 10100; /* au-dessus du mini-player (z-index: 9000) */
    display: flex;
    align-items: center;
    justify-content: center;
}

.ssp-modal[hidden] {
    display: none;
}

/* Fond semi-transparent avec flou */
.ssp-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 16, 42, 0.55);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

/* Bo�te de dialogue */
.ssp-modal__box {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem 2rem 1.75rem;
    max-width: 420px;
    width: calc(100% - 2rem);
    box-shadow: 0 12px 56px rgba(4, 16, 42, 0.22);
    text-align: center;
    -webkit-animation: ssp-modal-in 0.22s ease both;
    animation: ssp-modal-in 0.22s ease both;
}

@-webkit-keyframes ssp-modal-in {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}
@keyframes ssp-modal-in {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

/* Ic�ne casque */
.ssp-modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 1.125rem;
    background: #f0ece4;
    border-radius: 50%;
    color: #c5a25c;
}

/* Titre */
.ssp-modal__title {
    font-family: var(--font-title);
    font-size: 1.375rem;
    font-weight: 400;
    color: #04102a;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

/* Texte explicatif */
.ssp-modal__text {
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 1.75rem;
    line-height: 1.55;
}

/* Groupe de boutons */
.ssp-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

/* Base commune aux deux boutons */
.ssp-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    padding: 0.8rem 1.5rem;
    border-radius: 0.5rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.14s ease;
    line-height: 1;
}

/* Bouton principal  or */
.ssp-modal__btn--continue {
    background: #c5a25c;
    color: #ffffff;
}

.ssp-modal__btn--continue:hover {
    background: #b8924a;
    transform: translateY(-1px);
}

.ssp-modal__btn--continue:active {
    transform: translateY(0);
}

.ssp-modal__btn--continue:focus-visible {
    outline: 2px solid #c5a25c;
    outline-offset: 3px;
}

/* Bouton secondaire  discret */
.ssp-modal__btn--quit {
    background: transparent;
    color: #04102a;
    border: 1.5px solid rgba(4, 16, 42, 0.15);
}

.ssp-modal__btn--quit:hover {
    background: rgba(4, 16, 42, 0.04);
}

.ssp-modal__btn--quit:focus-visible {
    outline: 2px solid #04102a;
    outline-offset: 3px;
}

/* Responsive mobile */
@media (max-width: 480px) {
    .ssp-modal__box {
        padding: 1.5rem 1.25rem 1.375rem;
        border-radius: 0.875rem;
    }

    .ssp-modal__title {
        font-size: 1.2rem;
    }
}

/* =========================================
   PAGE 404  Design premium �ditorial
   ========================================= */

.site-main--404 {
    padding-top: 0;
    background: #04102a;
}

.page-404 {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 1.5rem 5rem;
    background: linear-gradient(160deg, #060e22 0%, #07122b 55%, #04102a 100%);
}

/* Grain texture */
.page-404::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.05) 1px, transparent 0);
    background-size: 4px 4px;
    pointer-events: none;
    z-index: 0;
}

/* Grand nombre fant�me en arri�re-plan */
.page-404__ghost {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(320px, 70vw, 860px);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    opacity: 0.18;
    mix-blend-mode: luminosity;
}

.page-404__ghost img {
    display: block;
    width: 100%;
    height: auto;
}

/* Contenu centr� */
.page-404__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Eyebrow */
.page-404__eyebrow {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #c5a25c;
    margin-bottom: 1.25rem;
}

/* Titre principal */
.page-404__title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #f0ece4;
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin: 0 0 1.25rem;
}

/* Texte corps */
.page-404__text {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: rgba(240, 236, 228, 0.55);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto 2.5rem;
}

/* Groupe de CTA */
.page-404__cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

/* S�parateur texte */
.page-404__sep {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 420px;
    margin-bottom: 1.5rem;
    color: rgba(240, 236, 228, 0.2);
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-404__sep::before,
.page-404__sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(197, 162, 92, 0.18);
}

.page-404__sep span {
    white-space: nowrap;
    color: rgba(240, 236, 228, 0.35);
}

/* Champ de recherche  th�me sombre */
.page-404__search {
    width: 100%;
    max-width: 440px;
}

.page-404__search .search-form {
    display: flex;
    gap: 0;
    border: 1px solid rgba(197, 162, 92, 0.25);
    border-radius: 50px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.page-404__search .search-form:focus-within {
    border-color: rgba(197, 162, 92, 0.55);
    background: rgba(255, 255, 255, 0.07);
}

.page-404__search .search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.85rem 1.25rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem;
    color: #f0ece4;
    outline: none;
    min-width: 0;
}

.page-404__search .search-field::placeholder {
    color: rgba(240, 236, 228, 0.3);
}

.page-404__search .search-submit {
    flex-shrink: 0;
    background: #c5a25c;
    border: none;
    padding: 0.75rem 1.5rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #04102a;
    cursor: pointer;
    transition: background 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.page-404__search .search-submit:hover {
    background: #dfc080;
}

/* Responsive */
@media (max-width: 640px) {
    .page-404__cta {
        flex-direction: column;
        align-items: center;
    }

    .page-404__cta .hero-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }

    .page-404__ghost {
        width: 90vw;
        opacity: 0.12;
    }
}

/* =========================================
   EMPTY STATE  Composant r�utilisable
   ========================================= */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 1.5rem;
    max-width: 520px;
    margin: 0 auto;
}

/* Ic�ne */
.empty-state__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0ece4;
    border-radius: 50%;
    color: #c5a25c;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

/* Titre */
.empty-state__title {
    font-family: var(--font-title);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    color: #04102a;
    margin: 0 0 0.75rem;
    line-height: 1.3;
}

/* Texte */
.empty-state__text {
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 2rem;
}

.empty-state__text a {
    color: #c5a25c;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.empty-state__text a:hover {
    color: #b8924a;
}

/* Champ de recherche */
.empty-state__search {
    width: 100%;
    max-width: 420px;
    margin-bottom: 1.75rem;
}

.empty-state__search .search-form {
    display: flex;
    gap: 0;
    border: 1.5px solid #e2ddd6;
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.empty-state__search .search-form:focus-within {
    border-color: #c5a25c;
}

.empty-state__search .search-field {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1.25rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem;
    color: #04102a;
    outline: none;
    min-width: 0;
}

.empty-state__search .search-field::placeholder {
    color: #b0a898;
}

.empty-state__search .search-submit {
    flex-shrink: 0;
    background: #c5a25c;
    border: none;
    padding: 0.625rem 1.25rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #04102a;
    cursor: pointer;
    transition: background 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.empty-state__search .search-submit:hover {
    background: #dfc080;
}

/* Lien retour */
.empty-state__back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #c5a25c;
    text-decoration: none;
    transition: color 0.2s ease, gap 0.2s ease;
}

.empty-state__back:hover {
    color: #b8924a;
    gap: 0.65rem;
}

/* =========================================
   ALGOLIA  Autocomplete (WP Search with Algolia)
   Overrides complets pour correspondre au design �ditorial du th�me.
   Les s�lecteurs sont volontairement sp�cifiques pour prendre le dessus
   sur les styles inject�s par autocomplete.js.
   ========================================= */

/*  1. Wrapper Algolia (span.algolia-autocomplete)  */

.header-search-panel .algolia-autocomplete,
.algolia-autocomplete {
    position: relative;
}

/*  2. Dropdown  panneau flottant  */

.aa-dropdown-menu {
    background: #ffffff !important;
    border: 1px solid rgba(4, 16, 42, 0.1) !important;
    border-top: none !important;
    border-radius: 0 0 8px 8px !important;
    box-shadow: 0 12px 48px rgba(4, 16, 42, 0.15) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    min-width: 100% !important;
    max-height: 540px;
    overscroll-behavior: contain;
    z-index: 9999 !important;

    /* Scrollbar discr�te */
    scrollbar-width: thin;
    scrollbar-color: rgba(4, 16, 42, 0.15) transparent;
}

.aa-dropdown-menu::-webkit-scrollbar { width: 4px; }
.aa-dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.aa-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(4, 16, 42, 0.15);
    border-radius: 2px;
}

/*  3. S�parateur entre sections de datasets  */

.aa-dropdown-menu [class^="aa-dataset-"] + [class^="aa-dataset-"] {
    border-top: 1px solid rgba(4, 16, 42, 0.06);
}

/*  4. R�sultat individuel (aa-suggestion)  */

.aa-suggestion {
    display: block !important;
    cursor: pointer;
    transition: background 0.14s ease;
}

/* Hover */
.aa-suggestion:hover,
.aa-suggestion.aa-cursor {
    background: rgba(197, 162, 92, 0.07) !important;
    outline: none;
}

/* Focus clavier uniquement */
.aa-suggestion:focus-visible {
    outline: 2px solid rgba(197, 162, 92, 0.6);
    outline-offset: -2px;
}

/*  5. Structure interne d'un r�sultat (.suggestion)  */

.aa-suggestion .suggestion {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
}

/*  6. Vignette  */

.aa-suggestion .suggestion--image {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.aa-suggestion .suggestion--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*  7. Bloc texte  */

.aa-suggestion .suggestion--wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

/*  8. Titre du r�sultat  */

.aa-suggestion .suggestion--title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 400;
    color: #04102a;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.14s ease;
}

.aa-suggestion:hover .suggestion--title,
.aa-suggestion.aa-cursor .suggestion--title {
    color: #04102a;
}

/* Terme mis en �vidence (highlight Algolia) */
.aa-suggestion .suggestion--title em,
.aa-suggestion .suggestion--snippet em,
.aa-suggestion .suggestion--name em,
.aa-suggestion em.suggestion--em {
    font-style: normal;
    color: #c5a25c;
    background: rgba(197, 162, 92, 0.1);
    border-radius: 2px;
    padding: 0 1px;
}

/*  9. Extrait / snippet  */

.aa-suggestion .suggestion--snippet {
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    color: rgba(4, 16, 42, 0.5);
    line-height: 1.5;
    /* Tronquer � 2 lignes */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*  10. Badge type de contenu  */

.aa-suggestion .suggestion--type-badge {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(197, 162, 92, 0.7);
    margin-bottom: 0.1rem;
    line-height: 1;
}

/* Badges auto par classe du type de post */
.aa-suggestion .suggestion-post-type-podcast .suggestion--wrapper::before {
    content: 'Podcast';
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(197, 162, 92, 0.65);
    line-height: 1;
    margin-bottom: 0.2rem;
}

.aa-suggestion .suggestion-post-type-page .suggestion--wrapper::before {
    content: 'Page';
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(197, 162, 92, 0.45);
    line-height: 1;
    margin-bottom: 0.2rem;
}

/*  11. Ligne  Rechercher tout  X  (dataset header / query)  */

.aa-dataset-header {
    background: rgba(4, 16, 42, 0.02);
    border-bottom: 1px solid rgba(4, 16, 42, 0.06);
}

.aa-suggestion .suggestion-query {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
}

.aa-suggestion .suggestion--name {
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(4, 16, 42, 0.5);
    letter-spacing: 0.03em;
}

.aa-suggestion.aa-cursor .suggestion--name {
    color: #c5a25c;
}

/* Ic�ne loupe avant "Rechercher" */
.aa-suggestion .suggestion-query::before {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(197,162,92,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.7;
}

/*  12. �tat vide (aucun r�sultat)  */

.aa-dropdown-menu .aa-dataset-posts:empty,
.aa-dropdown-menu .aa-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    gap: 0.625rem;
    color: rgba(4, 16, 42, 0.3);
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-align: center;
}

.aa-empty::before {
    content: '';
    display: block;
    width: 32px;
    height: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='rgba(197,162,92,0.3)' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: 0.375rem;
    opacity: 0.6;
}

/*  13. Pied  Powered by Algolia   */

.aa-poweredby {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    padding: 0.5rem 1.25rem 0.625rem;
    border-top: 1px solid rgba(4, 16, 42, 0.06);
    font-family: 'Raleway', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(4, 16, 42, 0.3) !important;
}

.aa-poweredby a {
    color: rgba(197, 162, 92, 0.35) !important;
    text-decoration: none;
    transition: color 0.18s ease;
}

.aa-poweredby a:hover {
    color: rgba(197, 162, 92, 0.65) !important;
}

.aa-poweredby-logo {
    height: 12px;
    width: auto;
    opacity: 0.3;
    transition: opacity 0.18s ease;
    vertical-align: middle;
}

.aa-poweredby a:hover .aa-poweredby-logo {
    opacity: 0.55;
}

/*  14. Responsive  */

@media (max-width: 960px) {
    .header-search-panel {
        padding: 1.25rem 1.25rem 1.5rem;
    }

    .header-search-panel__row {
        max-width: 100%;
    }

    .header-search-panel .search-field,
    .header-search-panel .algolia-search-input,
    .header-search-panel .aa-input {
        padding: 0.9rem 1.1rem;
        font-size: 1rem;
    }

    .header-search-panel .search-submit {
        padding: 0.7rem 1rem;
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }

    /* Autocomplete dropdown pleine largeur */
    .header-search-panel .algolia-autocomplete,
    .header-search-panel .aa-dropdown-menu {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
    }
}

@media (max-width: 580px) {
    .header-search-panel {
        padding: 1rem 1rem 1.25rem;
    }

    .header-search-panel__hint {
        display: none;
    }

    .header-search-panel__row {
        gap: 0.5rem;
    }

    .header-search-panel .search-field,
    .header-search-panel .algolia-search-input,
    .header-search-panel .aa-input {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }

    /* Bouton recherche : icône seule sur mobile */
    .header-search-panel .search-submit {
        padding: 0 1rem;
        font-size: 0;
        letter-spacing: 0;
        min-width: 2.75rem;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2304102a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 18px 18px;
    }

    .header-search-close {
        width:     2.25rem;
        height:    2.25rem;
        min-width: 2.25rem;
    }
}

@media (max-width: 640px) {
    .aa-dropdown-menu {
        max-height: 72vh;
    }

    .aa-suggestion .suggestion {
        padding: 0.625rem 1rem;
        gap: 0.625rem;
    }

    .aa-suggestion .suggestion--image {
        width: 40px;
        height: 40px;
    }

    .aa-suggestion .suggestion--title {
        font-size: 0.875rem;
    }

    .aa-poweredby {
        padding: 0.5rem 1rem;
    }
}

/* =========================================
   Search Results Page  (search.php)
   Editorial compact list � optimised for scanning
   ========================================= */

/* ��� Page shell ��� */
.search-results-page {
    background: #f9f7f3;
    min-height: 100vh;
    padding-top: var(--header-height);
}

/* ��� Header band ��� */
.search-results-header {
    background: #04102a;
    border-bottom: 1px solid rgba(197, 162, 92, 0.12);
    padding: 3rem 0 2.75rem;
}

.search-results-header__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

.search-results-header__eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(197, 162, 92, 0.55);
    margin-bottom: 0.75rem;
}

.search-results-header__title {
    font-family: var(--font-title);
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 400;
    color: #f0ece4;
    line-height: 1.2;
    margin: 0 0 0.625rem;
}

.search-results-header__query {
    font-style: italic;
    color: var(--gold);
}

.search-results-header__count {
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: rgba(240, 236, 228, 0.45);
    margin: 0;
}

/* ��� Body ��� */
.search-results-body {
    padding: 2.5rem 0 4rem;
}

.search-results-body__inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 2.5rem);
}

/* ��� Result list ��� */
.search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.search-results-list > li {
    border-bottom: 1px solid rgba(4, 16, 42, 0.08);
}

.search-results-list > li:first-child {
    border-top: 1px solid rgba(4, 16, 42, 0.08);
}

/* ��� Single result item ��� */
.search-result-item {
    margin: 0;
}

.search-result-item__link {
    display: flex;
    align-items: flex-start;
    gap: 1.125rem;
    padding: 1.25rem 0.75rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.15s ease;
}

.search-result-item__link:hover {
    background: rgba(4, 16, 42, 0.04);
    text-decoration: none;
}

/* ��� Thumbnail (optional) ��� */
.search-result-item__thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 0.125rem;
    background: #e8e4dc;
}

.search-result-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ��� Body ��� */
.search-result-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

/* ��� Meta row (type + date) ��� */
.search-result-item__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 0.1rem;
}

/* Article / podcast type pill */
.search-result-item__type {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

/* Reuse .post-category-badge � sizes override come from the class itself */
.search-result-item__type.post-category-badge {
    font-size: 0.6rem;
    padding: 2px 7px;
}

.search-result-item__type--article {
    color: rgba(4, 16, 42, 0.4);
}

.search-result-item__type--podcast {
    color: var(--gold);
}

.search-result-item__type--podcast svg {
    opacity: 0.8;
}

.search-result-item__date {
    font-family: 'Raleway', sans-serif;
    font-size: 0.68rem;
    color: rgba(4, 16, 42, 0.35);
    letter-spacing: 0.02em;
}

/* ��� Title ��� */
.search-result-item__title {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 400;
    color: #04102a;
    line-height: 1.35;
    margin: 0;
    transition: color 0.15s ease;
}

.search-result-item__link:hover .search-result-item__title {
    color: #6a4e20;
}

/* ��� Excerpt ��� */
.search-result-item__excerpt {
    font-family: 'Raleway', sans-serif;
    font-size: 0.83rem;
    line-height: 1.6;
    color: rgba(4, 16, 42, 0.55);
    margin: 0;
    /* Clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ��� Highlight keyword ��� */
.search-highlight {
    background: rgba(197, 162, 92, 0.18);
    color: #6a4e20;
    border-radius: 2px;
    padding: 0 2px;
    font-style: normal;
    font-weight: inherit;
}

/* Algolia already wraps hits in <em> inside excerpts � style them too */
.search-result-item__excerpt em,
.search-result-item__title em {
    font-style: normal;
    background: rgba(197, 162, 92, 0.18);
    color: #6a4e20;
    border-radius: 2px;
    padding: 0 2px;
}

/* ��� Pagination ��� */
.search-pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(4, 16, 42, 0.08);
}

.search-pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.45rem 0.875rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(4, 16, 42, 0.6);
    border: 1px solid rgba(4, 16, 42, 0.12);
    border-radius: 3px;
    background: #ffffff;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.search-pagination .page-numbers:hover {
    background: #04102a;
    border-color: #04102a;
    color: #f0ece4;
    text-decoration: none;
}

.search-pagination .page-numbers.current {
    background: var(--gold);
    border-color: var(--gold);
    color: #04102a;
}

.search-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: rgba(4, 16, 42, 0.35);
    pointer-events: none;
}

.search-pagination .prev.page-numbers,
.search-pagination .next.page-numbers {
    padding: 0.45rem 1rem;
    gap: 0.375rem;
}

/* ��� Responsive ��� */
@media (max-width: 680px) {
    .search-results-header {
        padding: 2rem 0 1.75rem;
    }

    .search-result-item__link {
        gap: 0.875rem;
        padding: 1rem 0.5rem;
    }

    .search-result-item__thumb {
        width: 56px;
        height: 56px;
    }

    .search-result-item__title {
        font-size: 1rem;
    }

    .search-result-item__excerpt {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 440px) {
    .search-result-item__thumb {
        display: none;
    }
}

/* =========================================
   TABLE OF CONTENTS  (article-toc)
   ========================================= */

/*  Desktop grid activation (>= 1100 px)  */
@media (min-width: 1100px) {
    .article-layout--has-toc {
        grid-template-columns: 240px minmax(0, 1fr) 272px;
        gap: 0 2rem;
    }

    .article-layout--has-toc.article-layout--no-sidebar {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    /* Closed: narrow strip replaces full TOC column */
    .article-layout--has-toc.article-layout--toc-closed {
        grid-template-columns: 48px minmax(0, 1fr) 272px;
    }

    .article-layout--has-toc.article-layout--toc-closed.article-layout--no-sidebar {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    /* Sidebar closed: narrow strip for right column */
    .article-layout--sidebar-closed {
        grid-template-columns: minmax(0, 1fr) 48px;
    }

    .article-layout--has-toc.article-layout--sidebar-closed {
        grid-template-columns: 240px minmax(0, 1fr) 48px;
    }

    .article-layout--has-toc.article-layout--toc-closed.article-layout--sidebar-closed {
        grid-template-columns: 48px minmax(0, 1fr) 48px;
    }
}

/*  Drawer base  hidden until JS activates  */
.article-toc-drawer {
    display: none;
}

/*  Desktop: sticky left column  */
@media (min-width: 1100px) {
    .article-layout--has-toc .article-toc-drawer {
        display: block;
        position: sticky;
        top: calc(var(--header-height) + 2rem);
        align-self: start;
        max-height: calc(100vh - var(--header-height) - 4rem);
        overflow: visible;
        border-right: 1px solid #e8e3da;
        padding-right: 1.25rem;
        transition: border-color 0.25s ease;
    }

    /* Collapse: hide list & title, keep toggle button */
    .article-toc-drawer--closed {
        border-right: none;
        padding-right: 0;
    }

    .article-toc-drawer--closed .article-toc__list,
    .article-toc-drawer--closed .article-toc__title {
        display: none;
    }

    .article-toc-drawer--closed .article-toc__header {
        justify-content: center;
        padding-bottom: 0;
        border-bottom: none;
        margin-bottom: 0;
    }

    .article-toc__mobile-close {
        display: none;
    }
}

/*  Mobile: fixed bottom sheet (<= 1099 px)  */
@media (max-width: 1099px) {
    .article-layout--has-toc .article-toc-drawer {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1200;
        background: #04102a;
        color: #f0ece4;
        max-height: 72vh;
        border-radius: 1.125rem 1.125rem 0 0;
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 -4px 32px rgba(4, 16, 42, 0.6);
    }

    .article-toc-drawer--mobile-open {
        transform: translateY(0) !important;
    }
}

/*  Header bar (title + toggle)  */
.article-toc__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0.875rem;
    border-bottom: 1px solid rgba(197, 162, 92, 0.25);
    margin-bottom: 0.875rem;
}

@media (max-width: 1099px) {
    .article-toc__header {
        padding: 1.25rem 1.5rem 1rem;
        border-bottom: 1px solid rgba(240, 236, 228, 0.12);
        margin-bottom: 0;
    }
}

/*  Title  */
.article-toc__title {
    font-family: var(--font-ui);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    line-height: 1;
}

@media (max-width: 1099px) {
    .article-toc__title {
        font-size: 0.75rem;
    }
}

/*  Desktop toggle button  */
.article-toc__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: 1px solid #d9d3cc;
    border-radius: 50%;
    color: #8a8078;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    flex-shrink: 0;
    padding: 0;
    line-height: 1;
}

.article-toc__toggle:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

@media (max-width: 1099px) {
    .article-toc__toggle {
        display: none;
    }
}

/* ── Tooltips sur les boutons de masquage ──────────────────────────────── */
.aside-toggle,
.article-toc__toggle {
    position: relative;
}

/* Bulle */
.aside-toggle::before,
.article-toc__toggle::before {
    content: attr(aria-label);
    position: absolute;
    bottom: calc(100% + 9px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1e1a16;
    color: #f0ece4;
    font-family: 'Raleway', sans-serif;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 20;
}

/* Flèche */
.aside-toggle::after,
.article-toc__toggle::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1e1a16;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.18s ease;
    z-index: 20;
}

/* Affichage au survol */
.aside-toggle:hover::before,
.article-toc__toggle:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.aside-toggle:hover::after,
.article-toc__toggle:hover::after {
    opacity: 1;
}

/*  Mobile close button  */
.article-toc__mobile-close {
    display: none;
}

@media (max-width: 1099px) {
    .article-toc__mobile-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 1.125rem;
        right: 1.25rem;
        width: 32px;
        height: 32px;
        background: rgba(240, 236, 228, 0.1);
        border: none;
        border-radius: 50%;
        color: #f0ece4;
        cursor: pointer;
        transition: background 0.15s ease;
        padding: 0;
    }

    .article-toc__mobile-close:hover {
        background: rgba(240, 236, 228, 0.2);
    }

    /* Offset header to make room for close button */
    .article-toc__header {
        padding-right: 3rem;
    }

    /* Makes close button position: absolute work */
    .article-toc {
        position: relative;
    }
}

/*  TOC list  */
.article-toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    max-height: calc(100vh - var(--header-height) - 10rem);
    scrollbar-width: thin;
    scrollbar-color: #ddd8d0 transparent;
}

.article-toc__list::-webkit-scrollbar {
    width: 3px;
}

.article-toc__list::-webkit-scrollbar-track {
    background: transparent;
}

.article-toc__list::-webkit-scrollbar-thumb {
    background: #ddd8d0;
    border-radius: 2px;
}

@media (max-width: 1099px) {
    .article-toc__list {
        max-height: calc(72vh - 76px);
        padding: 0.625rem 1.5rem 2.5rem;
        scrollbar-width: thin;
        scrollbar-color: rgba(240, 236, 228, 0.25) transparent;
    }

    .article-toc__list::-webkit-scrollbar-thumb {
        background: rgba(240, 236, 228, 0.25);
    }
}

/*  Indentation by heading level  */
.article-toc__item--h2 { padding-left: 0; }
.article-toc__item--h3 { padding-left: 0.875rem; }
.article-toc__item--h4 { padding-left: 1.75rem; }
.article-toc__item--h5 { padding-left: 2.5rem; }
.article-toc__item--h6 { padding-left: 3rem; }

/*  Links  */
.article-toc__link {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.45;
    color: #7a7068;
    text-decoration: none;
    padding: 0.375rem 0 0.375rem 0.75rem;
    border-left: 2px solid transparent;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.article-toc__link:hover {
    color: #1e1a16;
    border-left-color: #e8e3da;
}

@media (max-width: 1099px) {
    .article-toc__link {
        font-size: 0.875rem;
        color: rgba(240, 236, 228, 0.65);
        padding: 0.5rem 0 0.5rem 0.75rem;
    }

    .article-toc__link:hover {
        color: #f0ece4;
        border-left-color: rgba(197, 162, 92, 0.5);
    }
}

/*  Active (current section)  */
.article-toc__link.toc-active {
    color: var(--gold);
    border-left-color: var(--gold);
    font-weight: 500;
}

@media (max-width: 1099px) {
    .article-toc__link.toc-active {
        color: #c5a25c;
        border-left-color: #c5a25c;
    }
}

/*  Mobile FAB  */
.toc-mobile-fab {
    display: none;
}

@media (max-width: 1099px) {
    .toc-mobile-fab {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        position: fixed;
        bottom: 5.75rem;
        left: 1.25rem;
        z-index: 1100;
        background: #04102a;
        color: #f0ece4;
        border: 1px solid rgba(197, 162, 92, 0.35);
        border-radius: 2rem;
        padding: 0.5rem 1rem 0.5rem 0.75rem;
        font-family: var(--font-ui);
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        cursor: pointer;
        box-shadow: 0 4px 20px rgba(4, 16, 42, 0.4);
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .toc-mobile-fab:hover {
        background: #0a1d3a;
        border-color: rgba(197, 162, 92, 0.6);
    }

    .toc-mobile-fab--active {
        background: var(--gold);
        border-color: var(--gold);
        color: #04102a;
    }

    .toc-mobile-fab--active:hover {
        background: #b8914d;
        border-color: #b8914d;
    }
}

/*  Mobile backdrop overlay  */
.toc-mobile-overlay {
    display: none;
}

@media (max-width: 1099px) {
    .toc-mobile-overlay--active {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(4, 16, 42, 0.55);
        z-index: 1150;
        animation: toc-overlay-in 0.25s ease forwards;
    }
}

@keyframes toc-overlay-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* =========================================
   BACK TO TOP  button (article pages)
   ========================================= */

.back-to-top {
    /* Hidden by default */
    display:         flex;
    align-items:     center;
    justify-content: center;

    /* Positioning */
    position:        fixed;
    bottom:          2rem;
    right:           2rem;
    z-index:         800;

    /* Shape */
    width:           44px;
    height:          44px;
    border-radius:   50%;
    padding:         0;

    /* Visual */
    background:      #04102a;
    color:           #c5a25c;
    border:          1px solid rgba(197, 162, 92, 0.35);
    box-shadow:      0 4px 20px rgba(4, 16, 42, 0.40);
    cursor:          pointer;

    /* Appear/disappear */
    opacity:         0;
    transform:       translateY(10px);
    pointer-events:  none;
    transition:      opacity 0.25s ease, transform 0.25s ease, background 0.18s ease, border-color 0.18s ease;
}

.back-to-top--visible {
    opacity:        1;
    transform:      translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background:    #0b1f42;
    border-color:  rgba(197, 162, 92, 0.7);
    color:         #dfc080;
}

.back-to-top:focus-visible {
    outline:        2px solid #c5a25c;
    outline-offset: 3px;
}

/* Slightly smaller on mobile, shifted left to avoid podcast player FAB */
@media (max-width: 640px) {
    .back-to-top {
        width:  40px;
        height: 40px;
        bottom: 1.25rem;
        right:  1.25rem;
    }
}

/* =========================================
   BACK TO TOP  button (article pages)
   ========================================= */

.back-to-top {
    /* Hidden by default */
    display:         flex;
    align-items:     center;
    justify-content: center;

    /* Positioning */
    position:        fixed;
    bottom:          2rem;
    right:           2rem;
    z-index:         800;

    /* Shape */
    width:           44px;
    height:          44px;
    border-radius:   50%;
    padding:         0;

    /* Visual */
    background:      #04102a;
    color:           #c5a25c;
    border:          1px solid rgba(197, 162, 92, 0.35);
    box-shadow:      0 4px 20px rgba(4, 16, 42, 0.40);
    cursor:          pointer;

    /* Appear/disappear */
    opacity:         0;
    transform:       translateY(10px);
    pointer-events:  none;
    transition:      opacity 0.25s ease, transform 0.25s ease, background 0.18s ease, border-color 0.18s ease;
}

.back-to-top--visible {
    opacity:        1;
    transform:      translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background:    #0b1f42;
    border-color:  rgba(197, 162, 92, 0.7);
    color:         #dfc080;
}

.back-to-top:focus-visible {
    outline:        2px solid #c5a25c;
    outline-offset: 3px;
}

/* Slightly smaller on mobile, shifted left to avoid podcast player FAB */
@media (max-width: 640px) {
    .back-to-top {
        width:  40px;
        height: 40px;
        bottom: 1.25rem;
        right:  1.25rem;
    }
}

/* =========================================
   Blog Articles  Rangée de filtres catégories
   ========================================= */

.blog-cat-filter {
    background: #f9f7f3;
    padding: 1.75rem 1.5rem 0;
}

.blog-cat-filter__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #e8e2d9;
}

/* Badge de base  hérite de .post-category-badge pour les couleurs */
.blog-cat-filter__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 50px;
    border-width:  1.5px;
    border-style:  solid;
    background:    transparent;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
    white-space: nowrap;
}

.blog-cat-filter__badge:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.55);
}

/* Compteur d'articles dans le badge */
.blog-cat-filter__count {
    font-size:   0.62rem;
    font-weight: 500;
    opacity:     0.62;
    letter-spacing: 0;
    font-family: 'Raleway', system-ui, sans-serif;
}

/* =========================================
   Blog Articles  Filtres  Responsive
   ========================================= */

@media (max-width: 640px) {
    .blog-cat-filter {
        padding: 1.25rem 0.875rem 0;
    }

    .blog-cat-filter__inner {
        gap: 0.5rem;
        padding-bottom: 1.25rem;
    }

    .blog-cat-filter__badge {
        font-size: 0.68rem;
        padding: 0.35rem 0.85rem;
    }
}

/* =========================================
   Blog Articles  Rangée de filtres catégories
   ========================================= */

.blog-cat-filter {
    background: #f9f7f3;
    padding: 1.75rem 1.5rem 0;
}

.blog-cat-filter__inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid #e8e2d9;
}

/* Badge de base  hérite de .post-category-badge pour les couleurs */
.blog-cat-filter__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 1rem;
    font-family: 'Raleway', system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 50px;
    border-width:  1.5px;
    border-style:  solid;
    background:    transparent;
    text-decoration: none;
    transition: background 0.22s ease, color 0.22s ease, transform 0.18s ease, box-shadow 0.22s ease;
    white-space: nowrap;
}

.blog-cat-filter__badge:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
    background: rgba(255, 255, 255, 0.55);
}

/* Compteur d'articles dans le badge */
.blog-cat-filter__count {
    font-size:   0.62rem;
    font-weight: 500;
    opacity:     0.62;
    letter-spacing: 0;
    font-family: 'Raleway', system-ui, sans-serif;
}

/* =========================================
   Blog Articles  Filtres  Responsive
   ========================================= */

@media (max-width: 640px) {
    .blog-cat-filter {
        padding: 1.25rem 0.875rem 0;
    }

    .blog-cat-filter__inner {
        gap: 0.5rem;
        padding-bottom: 1.25rem;
    }

    .blog-cat-filter__badge {
        font-size: 0.68rem;
        padding: 0.35rem 0.85rem;
    }
}

/* =============================================================================
   Article Taxonomy Block  --  .article-taxonomy
   Editorial end-of-article block: category pills (colored) + tag pills (neutral)
   ============================================================================= */

.article-taxonomy {
    margin: 2.75rem 0 1.5rem;
    background: #f9f7f3;
    border: 1px solid rgba(7, 53, 82, 0.09);
    border-radius: 10px;
    padding: 1.75rem 2rem;
    box-shadow: 0 2px 8px rgba(7, 53, 82, 0.045);
}

.article-taxonomy__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2.5rem;
}

/* Single section present: full width */
.article-taxonomy__inner > :only-child {
    grid-column: 1 / -1;
}

.article-taxonomy__group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.article-taxonomy__label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(7, 53, 82, 0.38);
    margin: 0;
    padding: 0;
}

.article-taxonomy__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

/* Category pills -- extend .post-category-badge sizing */

.article-taxonomy__pill--cat {
    font-size: 0.71rem;
    padding: 5px 15px;
    border-radius: 999px;
    border-width: 1.5px;
    text-decoration: none;
    line-height: 1.6;
    transition: background 0.18s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.article-taxonomy__pill--cat:hover {
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(7, 53, 82, 0.10);
    filter: brightness(0.92) saturate(1.1);
}

.article-taxonomy__pill--cat.cat-histoire:hover        { background: rgba(210, 156, 104, 0.13); }
.article-taxonomy__pill--cat.cat-spiritualite:hover    { background: rgba(220, 206, 170, 0.18); }
.article-taxonomy__pill--cat.cat-liturgie:hover        { background: rgba(151, 219, 157, 0.16); }
.article-taxonomy__pill--cat.cat-theologie:hover       { background: rgba(129, 150, 177, 0.16); }
.article-taxonomy__pill--cat.cat-ecriture-sainte:hover { background: rgba(7, 53, 82, 0.09); }
.article-taxonomy__pill--cat.cat-actualite:hover       { background: rgba(135, 125, 124, 0.12); }

/* Tag pills */

.article-taxonomy__pill--tag {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: 0.67rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: #4a6070;
    background: rgba(7, 53, 82, 0.055);
    border: 1px solid rgba(7, 53, 82, 0.13);
    border-radius: 999px;
    padding: 4px 13px;
    text-decoration: none;
    line-height: 1.6;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.article-taxonomy__pill--tag:hover {
    background: rgba(7, 53, 82, 0.11);
    border-color: rgba(7, 53, 82, 0.24);
    color: #0a1628;
    text-decoration: none;
}

/* Responsive */

@media (max-width: 768px) {
    .article-taxonomy__inner {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

@media (max-width: 640px) {
    .article-taxonomy {
        padding: 1.25rem 1.25rem;
        margin: 2rem 0 1rem;
    }
}

/* =============================================================================
   Newsletter Modal  --  .nl-modal
   Popup contenant le formulaire Brevo, ouvert au clic sur le bouton bandeau.
   ============================================================================= */

.nl-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.nl-modal[hidden] {
    display: none;
}

/* Scroll lock when modal is open */
body.nl-modal-open {
    overflow: hidden;
}

/* Semi-transparent backdrop */
.nl-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 10, 22, 0.62);
    backdrop-filter: blur(3px);
    cursor: pointer;
}

/* Dialog box */
.nl-modal__box {
    position: relative;
    z-index: 1;
    background: #fffdf8;
    border-radius: 14px;
    padding: 2.5rem 2.75rem 2.75rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(4, 10, 22, 0.28);
    border: 1px solid rgba(197, 162, 92, 0.18);
    animation: nl-modal-in 0.22s cubic-bezier(0.34, 1.3, 0.64, 1) both;
}

@keyframes nl-modal-in {
    from { opacity: 0; transform: translateY(18px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)  scale(1); }
}

/* Close button */
.nl-modal__close {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    color: rgba(40, 32, 24, 0.38);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: color 0.15s ease, background 0.15s ease;
}

.nl-modal__close:hover {
    color: #1a1410;
    background: rgba(7, 53, 82, 0.07);
}

/* Eyebrow */
.nl-modal__eyebrow {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c5a25c;
    margin: 0 0 0.625rem;
}

/* Title */
.nl-modal__title {
    font-family: var(--font-title);
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    font-weight: 600;
    color: #1a1410;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

/* Description */
.nl-modal__desc {
    font-family: 'Raleway', sans-serif;
    font-size: 0.84rem;
    color: rgba(40, 32, 24, 0.55);
    line-height: 1.75;
    margin: 0 0 1.75rem;
}

/* Brevo form wrapper  reset injected styles */
.nl-modal__form {
    font-family: 'Raleway', sans-serif;
}

.nl-modal__form input[type="email"],
.nl-modal__form input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid rgba(7, 53, 82, 0.2);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.875rem;
    color: #1a1410;
    background: #fff;
    transition: border-color 0.15s ease;
}

.nl-modal__form input[type="email"]:focus,
.nl-modal__form input[type="text"]:focus {
    outline: none;
    border-color: #c5a25c;
    box-shadow: 0 0 0 3px rgba(197, 162, 92, 0.15);
}

.nl-modal__form input[type="submit"],
.nl-modal__form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.8rem 1.5rem;
    margin-top: 0.75rem;
    background: #d97706;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(217, 119, 6, 0.35);
    transition: background 0.2s ease, transform 0.2s ease;
}

.nl-modal__form input[type="submit"]:hover,
.nl-modal__form button[type="submit"]:hover {
    background: #b45309;
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 540px) {
    .nl-modal__box {
        padding: 2rem 1.5rem 2rem;
        border-radius: 10px;
    }
}

/* =============================================================================
   PODCAST SERIES — Refonte UI Premium (2025)
   Namespace : .ps-*
   ============================================================================= */

/* ──────────────────────────────────────────────────────────────────────────────
   1. SERIES LISTING — Cartes premium
   ────────────────────────────────────────────────────────────────────────────── */

/* Grille : 4 cols → 3 → 2 → 1 */
.ps-series-grid {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   1.75rem;
    padding:               2.5rem 0;
}

/* Shell carte */
.ps-series-card {
    display:        flex;
    flex-direction: column;
}

/* Cover link : carré, ratio 1:1, rounded, overflow hidden */
.ps-series-card__cover-link {
    display:         block;
    position:        relative;
    aspect-ratio:    1 / 1;
    overflow:        hidden;
    border-radius:   10px;
    background-color: #0a1628;
    text-decoration: none;
    box-shadow:      0 8px 28px rgba(10, 22, 40, 0.28);
    transition:      box-shadow 0.3s ease, transform 0.3s ease;
}

.ps-series-card:hover .ps-series-card__cover-link {
    box-shadow: 0 18px 48px rgba(10, 22, 40, 0.46);
    transform:  translateY(-4px);
}

/* Image background */
.ps-series-card__cover {
    position:            absolute;
    inset:               0;
    background-size:     cover;
    background-position: center;
    background-color:    #0d1e38;
    transition:          transform 0.5s ease;
}

.ps-series-card:hover .ps-series-card__cover {
    transform: scale(1.04);
}

/* Gradient sombre bas de la cover */
.ps-series-card__cover::after {
    content:        '';
    position:       absolute;
    inset:          0;
    background:     linear-gradient(
        to top,
        rgba(10, 22, 40, 0.82) 0%,
        rgba(10, 22, 40, 0.10) 52%,
        transparent 100%
    );
    pointer-events: none;
}

/* Waveform SVG placeholder (pas d'image) */
.ps-series-card__cover-wave {
    position:        absolute;
    inset:           0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    opacity:         0.22;
    color:           #c5a25c;
}

.ps-series-card__cover-wave svg {
    width:  65%;
    height: auto;
}

/* Bouton play — centré, apparaît au hover */
.ps-series-card__play {
    position:   absolute;
    inset:      0;
    display:    flex;
    align-items:     center;
    justify-content: center;
    z-index:    2;
    opacity:    0;
    transform:  translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.ps-series-card:hover .ps-series-card__play {
    opacity:   1;
    transform: translateY(0);
}

.ps-series-card__play-btn {
    width:         52px;
    height:        52px;
    border-radius: 50%;
    background:    #c5a25c;
    display:       flex;
    align-items:   center;
    justify-content: center;
    color:         #fff;
    box-shadow:    0 4px 20px rgba(197, 162, 92, 0.55);
    transition:    transform 0.18s ease;
}

.ps-series-card:hover .ps-series-card__play-btn {
    transform: scale(1.08);
}

/* Badge compte d'épisodes (bas-gauche de la cover) */
.ps-series-card__ep-count {
    position:        absolute;
    bottom:          0.7rem;
    left:            0.75rem;
    z-index:         3;
    display:         inline-flex;
    align-items:     center;
    gap:             0.35em;
    font-family:     'Raleway', sans-serif;
    font-size:       0.6875rem;
    font-weight:     700;
    letter-spacing:  0.04em;
    color:           rgba(255, 255, 255, 0.92);
    background:      rgba(10, 22, 40, 0.68);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding:         0.25rem 0.6rem;
    border-radius:   999px;
}

.ps-series-card__ep-count svg {
    flex-shrink: 0;
    opacity:     0.8;
}

/* Zone info (sous la cover) */
.ps-series-card__info {
    padding: 0.85rem 0.1rem 0;
}

.ps-series-card__title {
    font-family:  var(--font-title, 'Raleway', sans-serif);
    font-size:    0.9375rem;
    font-weight:  600;
    line-height:  1.3;
    margin:       0 0 0.35rem;
    color:        #1a2540;
}

.ps-series-card__title a {
    color:           inherit;
    text-decoration: none;
    transition:      color 0.2s ease;
}

.ps-series-card__title a:hover {
    color: #c5a25c;
}

.ps-series-card__excerpt {
    font-size:              0.8125rem;
    line-height:            1.55;
    color:                  #6b7280;
    margin:                 0;
    display:                -webkit-box;
    -webkit-line-clamp:     2;
    -webkit-box-orient:     vertical;
    overflow:               hidden;
}

/* Responsive */
@media (max-width: 1200px) {
    .ps-series-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .ps-series-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

@media (max-width: 480px) {
    .ps-series-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
}

/* ──────────────────────────────────────────────────────────────────────────────
   2. SERIES DETAIL — Hero immersif 2 colonnes
   ────────────────────────────────────────────────────────────────────────────── */

.ps-series-hero {
    position:         relative;
    background-color: #0a1628;
    overflow:         hidden;
    padding:          4rem 2rem 3.5rem;
}

/* Blurred cover en fond (profondeur) */
.ps-series-hero__bg {
    position:            absolute;
    inset:               0;
    background-size:     cover;
    background-position: center;
    opacity:             0.18;
    filter:              blur(60px) saturate(1.6);
    transform:           scale(1.15);
    pointer-events:      none;
    z-index:             0;
}

/* Gradient sombre par-dessus le flou */
.ps-series-hero__noise {
    position:       absolute;
    inset:          0;
    background:     linear-gradient(
        175deg,
        rgba(7, 53, 82, 0.45) 0%,
        rgba(10, 22, 40, 0.90) 55%
    );
    z-index:        1;
    pointer-events: none;
}

/* Intérieur 2 colonnes */
.ps-series-hero__inner {
    position:    relative;
    z-index:     2;
    display:     flex;
    align-items: center;
    gap:         3.5rem;
    max-width:   960px;
    margin:      0 auto;
}

/* Pochette carrée (colonne gauche) */
.ps-series-hero__cover {
    flex-shrink:  0;
    width:        220px;
    height:       220px;
    border-radius: 12px;
    overflow:     hidden;
    background-color: #112244;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.60),
        0 4px  16px rgba(0, 0, 0, 0.35),
        0 0    0  1px rgba(255, 255, 255, 0.06);
}

.ps-series-hero__cover img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
}

/* Placeholder waveform quand pas d'image */
.ps-series-hero__cover-placeholder {
    width:           100%;
    height:          100%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      linear-gradient(135deg, #0d1f3c 0%, #1c3566 100%);
}

.ps-series-hero__cover-placeholder svg {
    width:   60%;
    height:  auto;
    color:   #c5a25c;
    opacity: 0.3;
}

/* Colonne texte (droite) */
.ps-series-hero__body {
    flex:      1;
    min-width: 0;
}

.ps-series-hero__eyebrow {
    display:        inline-flex;
    align-items:    center;
    gap:            0.4rem;
    font-family:    'Raleway', sans-serif;
    font-size:      0.6875rem;
    font-weight:    700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color:          #c5a25c;
    margin-bottom:  0.9rem;
}

.ps-series-hero__title {
    font-family:    var(--font-title, 'Playfair Display', serif);
    font-size:      clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight:    400;
    color:          #f0ece4;
    line-height:    1.1;
    margin:         0 0 1rem;
    letter-spacing: -0.015em;
}

.ps-series-hero__desc {
    font-size:   0.9375rem;
    line-height: 1.65;
    color:       rgba(240, 236, 228, 0.70);
    margin:      0 0 1.5rem;
    max-width:   52ch;
}

.ps-series-hero__meta {
    display:      flex;
    align-items:  center;
    gap:          1.25rem;
    margin-bottom: 1.75rem;
    flex-wrap:    wrap;
}

.ps-series-hero__ep-count,
.ps-series-hero__label {
    display:     inline-flex;
    align-items: center;
    gap:         0.4rem;
    font-size:   0.8125rem;
    color:       rgba(240, 236, 228, 0.60);
}

.ps-series-hero__ep-count svg,
.ps-series-hero__label svg {
    flex-shrink: 0;
    color:       #c5a25c;
}

/* CTA "Écouter les épisodes" */
.ps-series-hero__cta {
    display:         inline-flex;
    align-items:     center;
    gap:             0.55rem;
    background:      #c5a25c;
    color:           #fff;
    font-family:     'Raleway', sans-serif;
    font-size:       0.875rem;
    font-weight:     700;
    letter-spacing:  0.04em;
    text-decoration: none;
    padding:         0.7rem 1.5rem;
    border-radius:   999px;
    transition:      background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow:      0 4px 16px rgba(197, 162, 92, 0.40);
}

.ps-series-hero__cta:hover {
    background: #b8914a;
    transform:  translateY(-2px);
    box-shadow: 0 8px 28px rgba(197, 162, 92, 0.52);
}

.ps-series-hero__cta svg { flex-shrink: 0; }

/* Responsive hero */
@media (max-width: 768px) {
    .ps-series-hero { padding: 3rem 1.5rem 2.5rem; }

    .ps-series-hero__inner {
        flex-direction: column;
        gap:            1.75rem;
        align-items:    flex-start;
    }

    .ps-series-hero__cover {
        width:  160px;
        height: 160px;
    }
}

@media (max-width: 480px) {
    .ps-series-hero { padding: 2.25rem 1.15rem 2rem; }

    .ps-series-hero__cover {
        width:  130px;
        height: 130px;
    }
}

/* ──────────────────────────────────────────────────────────────────────────────
   3. SERIES DETAIL — Playlist épisodes style Spotify
   ────────────────────────────────────────────────────────────────────────────── */

.ps-playlist-section {
    padding: 2.5rem 0 4rem;
}

/* Container white card */
.ps-playlist {
    background:    #fff;
    border-radius: 12px;
    overflow:      hidden;
    border:        1px solid rgba(10, 22, 40, 0.08);
    box-shadow:    0 2px 14px rgba(10, 22, 40, 0.06);
}

/* Header de la playlist (labels colonnes) */
.ps-playlist__header {
    display:               grid;
    grid-template-columns: 2.5rem 3.75rem 1fr 5rem 1.75rem;
    gap:                   1rem;
    align-items:           center;
    padding:               0.55rem 1.25rem;
    border-bottom:         1px solid rgba(10, 22, 40, 0.07);
    font-family:           'Raleway', sans-serif;
    font-size:             0.65rem;
    font-weight:           700;
    letter-spacing:        0.12em;
    text-transform:        uppercase;
    color:                 #9ca3af;
}

.ps-playlist__header-dur { text-align: right; }

/* Ligne épisode */
.ps-playlist__row {
    display:               grid;
    grid-template-columns: 2.5rem 3.75rem 1fr 5rem 1.75rem;
    gap:                   1rem;
    align-items:           center;
    padding:               0.8rem 1.25rem;
    border-bottom:         1px solid rgba(10, 22, 40, 0.05);
    transition:            background 0.18s ease;
}

.ps-playlist__row:last-child { border-bottom: none; }

.ps-playlist__row:hover { background: #fffdf7; }

/* Numéro */
.ps-playlist__num {
    font-family:    'Raleway', sans-serif;
    font-size:      0.8125rem;
    font-weight:    600;
    color:          #c5a25c;
    text-align:     center;
    line-height:    1;
}

/* Vignette + play overlay */
.ps-playlist__thumb {
    position:      relative;
    width:         3.75rem;
    height:        3.75rem;
    border-radius: 6px;
    overflow:      hidden;
    flex-shrink:   0;
    background:    #e5e7eb;
}

/* =============================================================================
   PAGE VIDÉOS YOUTUBE
   ============================================================================= */

/* ── Hero variant ─────────────────────────────────────────────────────────── */
.hero-section--videos {
    min-height: clamp(420px, 52vh, 520px);
}

/* ── Modal lecteur vidéo ───────────────────────────────────────────────────── */
.yt-modal {
    position:        fixed;
    inset:           0;
    z-index:         9000;
    display:         flex;
    align-items:     center;
    justify-content: center;
    padding:         1rem;
}

.yt-modal[hidden] { display: none; }

.yt-modal__backdrop {
    position:          absolute;
    inset:             0;
    background:        rgba(4, 10, 24, 0.88);
    backdrop-filter:   blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.yt-modal-open { overflow: hidden; }

.yt-modal__dialog {
    position:      relative;
    z-index:       1;
    width:         min(94vw, 1260px);
    max-height:    90vh;
    background:    #07111e;
    border-radius: 16px;
    border:        1px solid rgba(197, 162, 92, 0.15);
    box-shadow:    0 40px 100px rgba(0, 0, 0, 0.75),
                   0  0   0   1px rgba(197, 162, 92, 0.08);
    display:       flex;
    overflow:      hidden;
    animation:     yt-modal-in 0.28s ease;
}

@keyframes yt-modal-in {
    from { opacity: 0; transform: scale(0.96); }
    to   { opacity: 1; transform: scale(1); }
}

/* ─ Côté lecteur (gauche) ──────────────────────────────────────────────────── */
.yt-modal__main {
    flex:           1 1 0;
    min-width:      0;
    min-height:     0;
    display:        flex;
    flex-direction: column;
    padding:        1.75rem 1.5rem 1.5rem;
}

.yt-modal__embed {
    position:      relative;
    width:         100%;
    aspect-ratio:  16 / 9;
    background:    #000;
    border-radius: 10px;
    overflow:      hidden;
    flex-shrink:   0;
    box-shadow:    0 4px 32px rgba(0, 0, 0, 0.5);
}

.yt-modal__embed iframe,
.yt-modal__embed #yt-iframe-container {
    position: absolute;
    inset:    0;
    width:    100%;
    height:   100%;
    border:   none;
}

.yt-modal__info {
    padding:   0.9rem 0 0;
    flex:      0 0 auto;
    min-width: 0;
}

.yt-modal__title {
    font-family: var(--font-title);
    font-size:   clamp(0.95rem, 1.8vw, 1.25rem);
    font-weight: 400;
    color:       #f8f4ee;
    margin:      0 0 0.35rem;
    white-space: nowrap;
    overflow:    hidden;
    text-overflow: ellipsis;
}

.yt-modal__meta {
    font-family: var(--font-ui, 'Raleway', sans-serif);
    font-size:   0.78rem;
    color:       rgba(240, 236, 228, 0.48);
    margin:      0;
}

/* ─ Bouton fermer ──────────────────────────────────────────────────────────── */
.yt-modal__close {
    flex-shrink:     0;
    align-self:      center;
    margin-left:     auto;
    background:      rgba(197, 162, 92, 0.15);
    border:          1.5px solid rgba(197, 162, 92, 0.5);
    border-radius:   50%;
    width:           2.25rem;
    height:          2.25rem;
    min-width:       2.25rem;
    aspect-ratio:    1 / 1;
    display:         flex;
    align-items:     center;
    justify-content: center;
    cursor:          pointer;
    color:           var(--gold);
    transition:      background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    outline:         none;
}

.yt-modal__close:hover {
    background:    rgba(197, 162, 92, 0.30);
    border-color:  var(--gold);
    color:         #fff;
    transform:     scale(1.08);
}

.yt-modal__close:focus-visible {
    outline:        2px solid var(--gold);
    outline-offset: 2px;
}

.yt-modal__close svg {
    width:         16px;
    height:        16px;
    min-width:     16px;
    min-height:    16px;
    display:       block;
    flex-shrink:   0;
    stroke:        #ffffff;
}

/* ─ Côté playlist (droite) ─────────────────────────────────────────────────── */
.yt-modal__playlist {
    width:          300px;
    flex-shrink:    0;
    min-height:     0;
    border-left:    1px solid rgba(197, 162, 92, 0.1);
    display:        flex;
    flex-direction: column;
    overflow:       hidden;
    background:     rgba(0, 0, 0, 0.18);
}

.yt-modal__pl-header {
    padding:     1rem 1.25rem 0.8rem;
    border-bottom: 1px solid rgba(197, 162, 92, 0.1);
    display:     flex;
    align-items: center;
    gap:         0.5rem;
    flex-shrink: 0;
}

.yt-modal__pl-title {
    font-family:    var(--font-ui, 'Raleway', sans-serif);
    font-size:      0.68rem;
    font-weight:    700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color:          var(--gold);
    margin:         0;
}

.yt-modal__pl-count { display: none; }

.yt-modal__pl-list {
    flex:           1 1 0;
    min-height:     0;
    overflow-y:     auto;
    overflow-x:     hidden;
    padding:        0.4rem 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 162, 92, 0.28) transparent;
}

.yt-modal__pl-list::-webkit-scrollbar      { width: 4px; }
.yt-modal__pl-list::-webkit-scrollbar-track { background: transparent; }
.yt-modal__pl-list::-webkit-scrollbar-thumb {
    background:    rgba(197, 162, 92, 0.28);
    border-radius: 2px;
}

/* Item playlist */
.yt-pl-item {
    display:     flex;
    align-items: flex-start;
    gap:         0.65rem;
    padding:     0.6rem 1.1rem;
    cursor:      pointer;
    border:      none;
    background:  transparent;
    width:       100%;
    text-align:  left;
    border-left: 2px solid transparent;
    transition:  background 0.15s ease;
    outline:     none;
}

.yt-pl-item:hover { background: rgba(197, 162, 92, 0.07); }

.yt-pl-item--active {
    background:       rgba(197, 162, 92, 0.1);
    border-left-color: var(--gold);
}

.yt-pl-item:focus-visible {
    outline:        2px solid var(--gold);
    outline-offset: -2px;
}

.yt-pl-item__thumb {
    width:         88px;
    aspect-ratio:  16 / 9;
    flex-shrink:   0;
    border-radius: 5px;
    overflow:      hidden;
    background:    #0d1f3c;
    position:      relative;
}

.yt-pl-item__thumb img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
}

.yt-pl-item__duration {
    position:      absolute;
    bottom:        3px;
    right:         4px;
    background:    rgba(0, 0, 0, 0.78);
    color:         #fff;
    font-family:   var(--font-ui, 'Raleway', sans-serif);
    font-size:     0.6rem;
    font-weight:   600;
    letter-spacing: 0.03em;
    padding:       1px 4px;
    border-radius: 3px;
    pointer-events: none;
}

.yt-pl-item__body {
    min-width: 0;
    flex:      1;
}

.yt-pl-item__title {
    font-family:        var(--font-title);
    font-size:          0.82rem;
    font-weight:        400;
    line-height:        1.38;
    color:              rgba(248, 244, 238, 0.78);
    display:            -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow:           hidden;
    margin:             0 0 0.22rem;
    transition:         color 0.15s ease;
}

.yt-pl-item--active .yt-pl-item__title,
.yt-pl-item:hover   .yt-pl-item__title { color: #f8f4ee; }

.yt-pl-item__date {
    font-family: var(--font-ui, 'Raleway', sans-serif);
    font-size:   0.67rem;
    color:       rgba(240, 236, 228, 0.35);
    display:     block;
}

/* Égaliseur animé « en lecture » */
.yt-pl-item__eq {
    display:     none;
    align-items: flex-end;
    gap:         2px;
    height:      12px;
    margin-bottom: 0.2rem;
}

.yt-pl-item--active .yt-pl-item__eq { display: flex; }

.yt-pl-item__eq span {
    display:       block;
    width:         3px;
    border-radius: 2px;
    background:    var(--gold);
    animation:     yt-eq 1.1s ease-in-out infinite;
}

.yt-pl-item__eq span:nth-child(1) { height: 7px;  animation-delay: 0s;    }
.yt-pl-item__eq span:nth-child(2) { height: 12px; animation-delay: 0.18s; }
.yt-pl-item__eq span:nth-child(3) { height: 5px;  animation-delay: 0.36s; }
.yt-pl-item__eq span:nth-child(4) { height: 10px; animation-delay: 0.54s; }

@keyframes yt-eq {
    0%, 100% { transform: scaleY(0.45); }
    50%       { transform: scaleY(1);    }
}

/* Sentinel + indicateur de chargement scroll infini */
.yt-pl-sentinel { height: 1px; flex-shrink: 0; }

.yt-pl-loader {
    display:         flex;
    justify-content: center;
    align-items:     center;
    gap:             5px;
    padding:         1rem 0;
    flex-shrink:     0;
}

.yt-pl-loader span {
    display:       block;
    width:         6px;
    height:        6px;
    border-radius: 50%;
    background:    rgba(197, 162, 92, 0.5);
    animation:     yt-pl-pulse 1.1s ease-in-out infinite;
}

.yt-pl-loader span:nth-child(1) { animation-delay: 0s;    }
.yt-pl-loader span:nth-child(2) { animation-delay: 0.18s; }
.yt-pl-loader span:nth-child(3) { animation-delay: 0.36s; }

@keyframes yt-pl-pulse {
    0%, 100% { opacity: 0.3;  transform: scale(0.75); }
    50%       { opacity: 1;    transform: scale(1);    }
}

/* ── Section / grille ─────────────────────────────────────────────────────── */
.yt-section {
    padding:    3rem 0 4rem;
    background: #f9f7f3;
}

.yt-section__inner {
    max-width: 1200px;
    margin:    0 auto;
    padding:   0 clamp(1rem, 4vw, 2.5rem);
}

.yt-grid {
    display:               grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap:                   1.5rem;
}

/* ── Carte vidéo ──────────────────────────────────────────────────────────── */
.yt-card {
    background:    #fff;
    border-radius: 12px;
    overflow:      hidden;
    box-shadow:
        0 2px 12px rgba(10, 22, 40, 0.07),
        0 0  0    1px rgba(10, 22, 40, 0.05);
    transition:    box-shadow 0.25s ease, transform 0.25s ease;
}

.yt-card:hover {
    box-shadow:
        0 8px 28px rgba(10, 22, 40, 0.14),
        0 0   0   2px rgba(197, 162, 92, 0.45);
    transform: translateY(-3px);
}

.yt-card--active {
    box-shadow:
        0 8px 28px rgba(10, 22, 40, 0.14),
        0 0   0   2px var(--gold);
}

.yt-card__btn {
    display:     block;
    width:       100%;
    background:  transparent;
    border:      none;
    padding:     0;
    cursor:      pointer;
    text-align:  left;
    outline:     none;
    color:       inherit;
    -webkit-appearance: none;
    appearance:  none;
}

.yt-card__btn:hover {
    background: transparent;
    color:      inherit;
}

.yt-card__btn:focus-visible {
    outline:        2px solid var(--gold);
    outline-offset: 3px;
    border-radius:  12px;
}

.yt-card__thumb-wrap {
    position:       relative;
    aspect-ratio:   16 / 9;
    overflow:       hidden;
    background:     #0d1f3c;
}

.yt-card__thumb {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
    transition: transform 0.5s ease;
}

.yt-card:hover .yt-card__thumb {
    transform: scale(1.05);
}

.yt-card__thumb-placeholder {
    width:      100%;
    height:     100%;
    background: linear-gradient(135deg, #0d1f3c 0%, #1a3060 100%);
}

/* Icône play */
.yt-card__play {
    position:        absolute;
    inset:           0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    opacity:         0;
    transition:      opacity 0.2s ease;
}

.yt-card:hover .yt-card__play,
.yt-card__btn:focus-visible .yt-card__play {
    opacity: 1;
}

.yt-card__play svg {
    width:  52px;
    height: 52px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s ease;
}

.yt-card:hover .yt-card__play svg {
    transform: scale(1.12);
}

/* Durée */
.yt-card__duration {
    position:      absolute;
    bottom:        6px;
    right:         8px;
    background:    rgba(0, 0, 0, 0.78);
    color:         #fff;
    font-family:   var(--font-ui, 'Raleway', sans-serif);
    font-size:     0.7rem;
    font-weight:   600;
    letter-spacing: 0.04em;
    padding:       2px 6px;
    border-radius: 4px;
    pointer-events: none;
}

/* Corps de la carte */
.yt-card__body {
    padding: 0.9rem 1rem 1rem;
}

.yt-card__title {
    font-family:    var(--font-title);
    font-size:      0.975rem;
    font-weight:    400;
    line-height:    1.4;
    color:          #0a1628;
    margin:         0 0 0.4rem;
    display:        -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow:       hidden;
}

.yt-card__meta {
    font-family: var(--font-ui, 'Raleway', sans-serif);
    font-size:   0.75rem;
    color:       #888;
    display:     block;
}

/* ── Pagination ───────────────────────────────────────────────────────────── */
.yt-pagination {
    display:         flex;
    justify-content: center;
    align-items:     center;
    gap:             1rem;
    margin-top:      2.5rem;
    flex-wrap:       wrap;
}

.yt-pagination__btn {
    display:         inline-flex;
    align-items:     center;
    gap:             0.4rem;
    font-family:     var(--font-ui, 'Raleway', sans-serif);
    font-size:       0.85rem;
    font-weight:     600;
    letter-spacing:  0.04em;
    color:           #0a1628;
    text-decoration: none;
    padding:         0.6rem 1.2rem;
    border:          1px solid rgba(10, 22, 40, 0.18);
    border-radius:   999px;
    background:      #fff;
    transition:      background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.yt-pagination__btn:hover {
    background:    #0a1628;
    border-color:  #0a1628;
    color:         #f0ece4;
    text-decoration: none;
}

.yt-pagination__btn--next {
    background:   #c5a25c;
    border-color: #c5a25c;
    color:        #fff;
}

.yt-pagination__btn--next:hover {
    background:   #dfc080;
    border-color: #dfc080;
    color:        #0a1628;
}

/* ── Fallback / erreur ────────────────────────────────────────────────────── */
.yt-fallback {
    text-align:  center;
    padding:     3rem 1rem;
    color:       #666;
    font-family: var(--font-ui, 'Raleway', sans-serif);
}

.yt-fallback svg {
    display:      block;
    margin:       0 auto 1rem;
    color:        #c5a25c;
    opacity:      0.7;
}

.yt-fallback__debug {
    font-size:   0.78rem;
    color:       #999;
    margin-top:  0.5rem;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .yt-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal responsive — tablette + mobile */
@media (max-width: 860px) {

    /* Plein écran, pas de padding autour */
    .yt-modal {
        padding:     0;
        align-items: flex-start;
    }

    .yt-modal__dialog {
        flex-direction: column;
        width:          100vw;
        max-width:      100vw;
        height:         100vh;
        height:         100dvh;
        max-height:     100vh;
        max-height:     100dvh;
        border-radius:  0;
        border:         none;
    }

    /* Lecteur — hauteur naturelle (ne pas grandir) */
    .yt-modal__main {
        flex:    0 0 auto;
        padding: 0.75rem 0.75rem 0.5rem;
    }

    .yt-modal__embed {
        border-radius: 8px;
    }

    .yt-modal__info {
        padding: 0.4rem 0 0;
    }

    .yt-modal__title {
        font-size: 0.95rem;
    }

    /* Playlist — prend tout l'espace restant, défile verticalement */
    .yt-modal__playlist {
        flex:        1 1 0;
        min-height:  0;
        width:       100%;
        max-height:  none;
        border-left: none;
        border-top:  1px solid rgba(197, 162, 92, 0.1);
    }

    .yt-modal__pl-list {
        display:    block;       /* annule le flex-row du desktop */
        overflow-x: hidden;
        overflow-y: auto;
        padding:    0.4rem 0;
    }

    /* Items en ligne (vignette à gauche, texte à droite) */
    .yt-pl-item {
        flex-direction: row;
        min-width:      auto;
        max-width:      none;
        padding:        0.5rem 0.9rem;
        border-top:     none;
        border-left:    2px solid transparent;
    }

    .yt-pl-item--active {
        border-left-color: var(--gold);
        border-top-color:  transparent;
    }

    .yt-pl-item__thumb {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .yt-modal__main   { padding: 0.5rem 0.5rem 0.35rem; }
    .yt-pl-item__thumb { width: 68px; }
}

/* ── Onglets Vidéos / Shorts ─────────────────────────────────────────────── */
.yt-tabs {
    display:         flex;
    flex-wrap:       wrap;
    justify-content: center;
    gap:             0.6rem;
    margin-bottom:   2rem;
}

.yt-tab-btn {
    display:         inline-flex;
    align-items:     center;
    gap:             0.45rem;
    padding:         0.4rem 1.25rem;
    font-family:     'Raleway', system-ui, sans-serif;
    font-size:       0.7rem;
    font-weight:     700;
    letter-spacing:  0.1em;
    text-transform:  uppercase;
    border-radius:   50px;
    border:          1.5px solid rgba(10, 22, 40, 0.25);
    background:      transparent;
    color:           #0a1628;
    cursor:          pointer;
    transition:      background 0.22s ease, color 0.22s ease, border-color 0.22s ease,
                     transform 0.18s ease, box-shadow 0.22s ease;
    white-space:     nowrap;
    -webkit-appearance: none;
    appearance:      none;
}

.yt-tab-btn:hover {
    transform:  translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}

.yt-tab-btn[aria-selected="true"] {
    background:   var(--gold, #c5a25c);
    border-color: var(--gold, #c5a25c);
    color:        #fff;
}

.yt-tab-panel[hidden] {
    display: none;
}

/* Grille Shorts — cartes portrait */
.yt-grid--shorts {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
}

.yt-card--short .yt-card__thumb-wrap {
    aspect-ratio: 9 / 16;
}


.ps-playlist__thumb img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
}

.ps-playlist__thumb-default {
    width:           100%;
    height:          100%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      linear-gradient(135deg, #0d1f3c 0%, #1a3060 100%);
    color:           #c5a25c;
    opacity:         0.75;
}

/* Bouton play overlay */
.ps-playlist__play {
    position:        absolute;
    inset:           0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      rgba(10, 22, 40, 0.72);
    color:           #fff;
    opacity:         0;
    transition:      opacity 0.18s ease;
    border:          none;
    cursor:          pointer;
    border-radius:   6px;
    padding:         0;
}

.ps-playlist__row:hover .ps-playlist__play { opacity: 1; }

/* Info : titre + meta + excerpt */
.ps-playlist__info { min-width: 0; }

.ps-playlist__meta-top {
    display:       flex;
    align-items:   center;
    gap:           0.4rem;
    flex-wrap:     wrap;
    margin-bottom: 0.2rem;
}

.ps-playlist__ep-label {
    font-family:    'Raleway', sans-serif;
    font-size:      0.6875rem;
    font-weight:    700;
    letter-spacing: 0.05em;
    color:          #c5a25c;
}

.ps-playlist__date {
    font-size: 0.6875rem;
    color:     #9ca3af;
}

.ps-playlist__dot {
    width:         3px;
    height:        3px;
    border-radius: 50%;
    background:    #d1d5db;
    flex-shrink:   0;
}

.ps-playlist__title {
    font-size:     0.9375rem;
    font-weight:   600;
    color:         #1a2540;
    line-height:   1.3;
    margin:        0 0 0.18rem;
    white-space:   nowrap;
    overflow:      hidden;
    text-overflow: ellipsis;
}

.ps-playlist__title a {
    color:           inherit;
    text-decoration: none;
    transition:      color 0.18s ease;
}

.ps-playlist__title a:hover { color: #c5a25c; }

.ps-playlist__excerpt {
    font-size:     0.8125rem;
    line-height:   1.45;
    color:         #6b7280;
    margin:        0;
    white-space:   nowrap;
    overflow:      hidden;
    text-overflow: ellipsis;
}

/* Durée (colonne droite) */
.ps-playlist__duration {
    display:         inline-flex;
    align-items:     center;
    justify-content: flex-end;
    gap:             0.3em;
    font-size:       0.8125rem;
    color:           #9ca3af;
    white-space:     nowrap;
}

.ps-playlist__duration svg { flex-shrink: 0; }

/* Lien → épisode */
.ps-playlist__link {
    display:         flex;
    align-items:     center;
    justify-content: center;
    color:           #9ca3af;
    text-decoration: none;
    transition:      color 0.18s ease;
    width:           1.75rem;
    height:          1.75rem;
}

.ps-playlist__link:hover { color: #c5a25c; }

/* Responsive playlist */
@media (max-width: 900px) {
    .ps-playlist__header { display: none; }

    .ps-playlist__row {
        grid-template-columns: 3.75rem 1fr auto;
        gap: 0.75rem;
    }

    .ps-playlist__num  { display: none; }
    .ps-playlist__link { display: none; }
}

@media (max-width: 480px) {
    .ps-playlist__row { padding: 0.7rem 0.9rem; gap: 0.6rem; }

    .ps-playlist__thumb {
        width:  3.25rem;
        height: 3.25rem;
    }

    .ps-playlist__title { font-size: 0.875rem; }
}

/* =============================================================================
   PAGE D'ACCUEIL PODCASTS — Hero extensions + sections
   ============================================================================= */

/* Hero home — conteneur élargi */
.podcast-hero--home .podcast-hero__inner--home {
    max-width: 900px;
    padding:   4rem 2rem 3.5rem;
}

/* Stats (ex. « 4 séries · 38 épisodes ») */
.podcast-hero__stats {
    display:     flex;
    align-items: center;
    gap:         0.65rem;
    flex-wrap:   wrap;
    margin:      1rem 0 1.75rem;
}

.podcast-hero__stat {
    display:     inline-flex;
    align-items: center;
    gap:         0.38em;
    font-family: 'Raleway', sans-serif;
    font-size:   0.8125rem;
    font-weight: 500;
    color:       rgba(240, 236, 228, 0.68);
}

.podcast-hero__stat svg {
    flex-shrink: 0;
    color:       #c5a25c;
}

.podcast-hero__stat-sep {
    color:   rgba(240, 236, 228, 0.30);
    font-size: 0.875rem;
}

/* Boutons CTA dans le hero */
.podcast-hero__ctas {
    display:  flex;
    gap:      0.85rem;
    flex-wrap: wrap;
}

.podcast-hero__cta--primary {
    display:         inline-flex;
    align-items:     center;
    gap:             0.55rem;
    background:      #c5a25c;
    color:           #fff;
    font-family:     'Raleway', sans-serif;
    font-size:       0.875rem;
    font-weight:     700;
    letter-spacing:  0.04em;
    text-decoration: none;
    padding:         0.72rem 1.5rem;
    border-radius:   999px;
    transition:      background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
    box-shadow:      0 4px 18px rgba(197, 162, 92, 0.40);
}

.podcast-hero__cta--primary:hover {
    background:  #b8914a;
    transform:   translateY(-2px);
    box-shadow:  0 8px 28px rgba(197, 162, 92, 0.52);
}

.podcast-hero__cta--primary svg { flex-shrink: 0; }

.podcast-hero__cta--secondary {
    display:         inline-flex;
    align-items:     center;
    gap:             0.5rem;
    background:      transparent;
    color:           rgba(240, 236, 228, 0.88);
    border:          1.5px solid rgba(240, 236, 228, 0.32);
    font-family:     'Raleway', sans-serif;
    font-size:       0.875rem;
    font-weight:     600;
    text-decoration: none;
    padding:         0.68rem 1.4rem;
    border-radius:   999px;
    transition:      border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.podcast-hero__cta--secondary:hover {
    border-color: rgba(240, 236, 228, 0.65);
    color:        #f0ece4;
    transform:    translateY(-2px);
}

.podcast-hero__cta--secondary svg { flex-shrink: 0; }

/* ── Bande plateformes d'écoute (entre épisodes et séries) ─────────────────── */

.podcast-platforms-band {
    background:    #1e3a5f;
    padding:       1.75rem 0;
    border-top:    1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align:    center;
}

.podcast-platforms {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    gap:            0.75rem;
    text-align:     center;
}

.podcast-platforms__label {
    font-family:    'Raleway', system-ui, sans-serif;
    font-size:      0.7rem;
    font-weight:    700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color:          rgba(240, 236, 228, 0.6);
    flex-shrink:    0;
}

.podcast-platforms__links {
    display:     flex;
    align-items: center;
    gap:         0.65rem;
    flex-wrap:   wrap;
}

.podcast-platform-btn {
    display:         inline-flex;
    align-items:     center;
    gap:             0.55rem;
    padding:         0.65rem 1.25rem;
    border-radius:   50px;
    font-family:     'Raleway', system-ui, sans-serif;
    font-size:       0.85rem;
    font-weight:     700;
    letter-spacing:  0.04em;
    text-decoration: none;
    border:          2px solid rgba(255, 255, 255, 0.28);
    color:           #f0ece4;
    background:      rgba(255, 255, 255, 0.1);
    transition:      background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space:     nowrap;
}

.podcast-platform-btn:hover {
    text-decoration: none;
    transform:       translateY(-2px);
    box-shadow:      0 4px 16px rgba(0, 0, 0, 0.25);
}

.podcast-platform-btn--spotify:hover  { background: rgba(29, 185, 84, 0.28);  border-color: #1DB954; color: #1DB954; }
.podcast-platform-btn--apple:hover    { background: rgba(188, 95, 245, 0.25); border-color: #bc5ff5; color: #d08fff; }
.podcast-platform-btn--youtube:hover  { background: rgba(255, 68, 68, 0.22);  border-color: #FF4444; color: #ff8080; }
.podcast-platform-btn--amazon:hover   { background: rgba(255, 153, 0, 0.22);  border-color: #FF9900; color: #FFB733; }

.podcast-platform-btn svg {
    flex-shrink: 0;
    width:       18px;
    height:      18px;
    min-width:   18px;
}

@media (max-width: 480px) {
    .podcast-platforms-band    { padding: 1.25rem 0; }
    .podcast-platforms         { gap: 0.75rem; }
    .podcast-platform-btn      { padding: 0.55rem 1rem; font-size: 0.8rem; }
    .podcast-platforms__label  { width: 100%; }
}

@media (max-width: 640px) {
    .podcast-hero--home .podcast-hero__inner--home {
        padding: 2.5rem 1.25rem 2.25rem;
    }

    .podcast-hero__ctas { flex-direction: column; align-items: flex-start; }
}

/* ─── Sections de la page d'accueil podcasts ────────────────────────────────── */

.ps-home-section {
    padding: 3.5rem 0;
}

.ps-home-section + .ps-home-section {
    border-top: 1px solid rgba(10, 22, 40, 0.07);
}

/* Section séries : fond crème légèrement teinté */
.ps-home-section--series {
    background: #f9f7f3;
}

/* En-tête de section : titre gauche, lien "voir tout" droite */
.ps-home-section__head {
    display:         flex;
    align-items:     baseline;
    justify-content: space-between;
    gap:             1rem;
    flex-wrap:       wrap;
    margin-bottom:   2rem;
}

.ps-home-section__title {
    font-family:    var(--font-title, 'Playfair Display', serif);
    font-size:      clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight:    400;
    color:          #0a1628;
    margin:         0;
    letter-spacing: -0.01em;
}

.ps-home-section__more {
    display:         inline-flex;
    align-items:     center;
    gap:             0.4rem;
    font-family:     'Raleway', sans-serif;
    font-size:       0.8125rem;
    font-weight:     700;
    letter-spacing:  0.06em;
    text-transform:  uppercase;
    color:           #c5a25c;
    text-decoration: none;
    white-space:     nowrap;
    transition:      gap 0.2s ease, color 0.2s ease;
}

.ps-home-section__more:hover {
    gap:   0.7rem;
    color: #b8914a;
}

.ps-home-section__more svg { flex-shrink: 0; }

@media (max-width: 640px) {
    .ps-home-section { padding: 2.5rem 0; }
}

/* Variante hauteur du hero pour la page d'accueil Podcasts */
.hero-section--podcast {
    min-height: clamp(450px, 55vh, 550px);
}

/* =============================================================================
   SECTION : PODCAST À LA UNE + DERNIERS ÉPISODES
   ============================================================================= */

.ps-split-section {
    padding: 3.5rem 0 4rem;
}

/* Grille 2 colonnes ~60/40 */
.ps-split-section__inner {
    display:               grid;
    grid-template-columns: 3fr 2fr;
    gap:                   2rem;
    align-items:           start;
}

/* Titre de colonne */
.ps-split-col-title {
    font-family:    var(--font-title, 'Playfair Display', serif);
    font-size:      clamp(1.125rem, 2vw, 1.5rem);
    font-weight:    400;
    color:          #0a1628;
    margin:         0 0 1.1rem;
    letter-spacing: -0.01em;
}

/* ─── Carte épisode à la une ──────────────────────────────────────────────── */

.ps-featured-ep {
    background:     #faf9f5;
    border-radius:  16px;
    overflow:       hidden;
    box-shadow:
        0 2px 16px rgba(10, 22, 40, 0.07),
        0 0  0    1px rgba(10, 22, 40, 0.06);
    display:        flex;
    flex-direction: row;
    min-height:     320px;
    transition:     box-shadow 0.28s ease;
}

.ps-featured-ep:hover {
    box-shadow:
        0 8px 36px rgba(10, 22, 40, 0.12),
        0 0  0    1px rgba(197, 162, 92, 0.18);
}

/* Zone texte — gauche */
.ps-featured-ep__body {
    flex:           1;
    min-width:      0;
    padding:        2rem;
    display:        flex;
    flex-direction: column;
    gap:            0.8rem;
    position:       relative;
    z-index:        1;
}

/* Zone image — droite */
.ps-featured-ep__img-wrap {
    flex:            0 0 45%;
    position:        relative;
    overflow:        hidden;
    background:      #0d1f3c;
    text-decoration: none;
}

/* Fondu crème → transparent sur le bord gauche de l'image */
.ps-featured-ep__img-wrap::before {
    content:        '';
    position:       absolute;
    inset:          0 auto 0 0;
    width:          80px;
    background:     linear-gradient(to right, #faf9f5 0%, transparent 100%);
    z-index:        2;
    pointer-events: none;
}

.ps-featured-ep__img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
    transition: transform 0.55s ease;
}

.ps-featured-ep:hover .ps-featured-ep__img { transform: scale(1.04); }

.ps-featured-ep__img-placeholder {
    width:           100%;
    height:          100%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      linear-gradient(135deg, #0d1f3c 0%, #1a3060 100%);
    color:           #c5a25c;
}

/* Label « ÉPISODE À LA UNE » — amber, uppercase, sans fond */
.ps-featured-ep__badge {
    display:        inline-flex;
    align-self:     flex-start;
    font-family:    'Raleway', sans-serif;
    font-size:      0.625rem;
    font-weight:    800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color:          #c5a25c;
}

.ps-featured-ep__meta-row {
    display:     flex;
    align-items: center;
    gap:         0.55rem;
    flex-wrap:   wrap;
    font-family: 'Raleway', sans-serif;
    font-size:   0.72rem;
    font-weight: 500;
    color:       #9ca3af;
}

.ps-featured-ep__meta-item {
    display:     inline-flex;
    align-items: center;
    gap:         0.3em;
}

.ps-featured-ep__meta-item svg { flex-shrink: 0; color: #c5a25c; opacity: 0.75; }

.ps-featured-ep__dot {
    width:         3px;
    height:        3px;
    border-radius: 50%;
    background:    #d1d5db;
    flex-shrink:   0;
}

.ps-featured-ep__title {
    font-family:    var(--font-title, 'Playfair Display', serif);
    font-size:      clamp(1.25rem, 2.2vw, 1.625rem);
    font-weight:    700;
    color:          #0a1628;
    margin:         0;
    line-height:    1.25;
    letter-spacing: -0.02em;
}

.ps-featured-ep__title a {
    color:           inherit;
    text-decoration: none;
    transition:      color 0.2s;
}

.ps-featured-ep__title a:hover { color: #c5a25c; }

.ps-featured-ep__excerpt {
    font-size:           0.875rem;
    line-height:         1.65;
    color:               #6b7280;
    margin:              0;
    display:             -webkit-box;
    -webkit-line-clamp:  4;
    -webkit-box-orient:  vertical;
    overflow:            hidden;
}

.ps-featured-ep__footer {
    margin-top:  auto;
    padding-top: 0.5rem;
}

.ps-featured-ep__cta {
    display:         inline-flex;
    align-items:     center;
    gap:             0.5rem;
    background:      #0a1628;
    color:           #fff;
    font-family:     'Raleway', sans-serif;
    font-size:       0.8125rem;
    font-weight:     700;
    letter-spacing:  0.04em;
    text-decoration: none;
    padding:         0.7rem 1.5rem;
    border-radius:   999px;
    border:          none;
    cursor:          pointer;
    transition:      background 0.22s, transform 0.22s, box-shadow 0.22s;
    box-shadow:      0 3px 14px rgba(10, 22, 40, 0.22);
}

.ps-featured-ep__cta:hover {
    background: #073552;
    transform:  translateY(-2px);
    box-shadow: 0 6px 22px rgba(10, 22, 40, 0.30);
}

.ps-featured-ep__cta svg { flex-shrink: 0; }

/* ─── Liste des épisodes (colonne droite) ─────────────────────────────────── */

.ps-ep-list {
    background:     #fff;
    border-radius:  14px;
    overflow:       hidden;
    box-shadow:
        0 4px 24px rgba(10, 22, 40, 0.08),
        0 0  0    1px rgba(10, 22, 40, 0.05);
    display:        flex;
    flex-direction: column;
}

.ps-ep-list__row {
    display:       flex;
    align-items:   center;
    gap:           0.85rem;
    padding:       0.75rem 1.1rem;
    border-bottom: 1px solid rgba(10, 22, 40, 0.05);
    transition:    background 0.18s;
}

.ps-ep-list__row:last-of-type { border-bottom: none; }

.ps-ep-list__row:hover { background: #fffdf7; }

.ps-ep-list__thumb {
    position:      relative;
    width:         52px;
    height:        52px;
    border-radius: 7px;
    overflow:      hidden;
    flex-shrink:   0;
    background:    #0d1f3c;
}

.ps-ep-list__thumb img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
    transition: opacity 0.2s;
}

.ps-ep-list__row:hover .ps-ep-list__thumb img { opacity: 0.72; }

.ps-ep-list__thumb-default {
    width:           100%;
    height:          100%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      linear-gradient(135deg, #0d1f3c 0%, #1a3060 100%);
    color:           #c5a25c;
    opacity:         0.6;
}

.ps-ep-list__play {
    position:        absolute;
    inset:           0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      rgba(10, 22, 40, 0.72);
    color:           #fff;
    opacity:         0;
    transition:      opacity 0.18s;
    border:          none;
    cursor:          pointer;
    border-radius:   7px;
    padding:         0;
    text-decoration: none;
}

.ps-ep-list__row:hover .ps-ep-list__play { opacity: 1; }

.ps-ep-list__info {
    flex:      1;
    min-width: 0;
}

.ps-ep-list__title {
    font-size:     0.875rem;
    font-weight:   600;
    color:         #1a2540;
    margin:        0 0 0.18rem;
    line-height:   1.35;
    white-space:   nowrap;
    overflow:      hidden;
    text-overflow: ellipsis;
}

.ps-ep-list__title a {
    color:           inherit;
    text-decoration: none;
    transition:      color 0.18s;
}

.ps-ep-list__title a:hover { color: #c5a25c; }

.ps-ep-list__sub {
    display:     flex;
    align-items: center;
    gap:         0.42rem;
    font-size:   0.72rem;
    color:       #9ca3af;
}

.ps-ep-list__sub-dot {
    width:         2.5px;
    height:        2.5px;
    border-radius: 50%;
    background:    currentColor;
    flex-shrink:   0;
}

.ps-ep-list__link {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           28px;
    height:          28px;
    border-radius:   50%;
    color:           #9ca3af;
    text-decoration: none;
    flex-shrink:     0;
    transition:      color 0.18s, background 0.18s;
}

.ps-ep-list__link:hover {
    color:      #c5a25c;
    background: rgba(197, 162, 92, 0.10);
}

.ps-ep-list__footer {
    padding:    0.8rem 1.1rem;
    border-top: 1px solid rgba(10, 22, 40, 0.07);
    text-align: center;
}

.ps-ep-list__all {
    display:         inline-flex;
    align-items:     center;
    gap:             0.4rem;
    font-family:     'Raleway', sans-serif;
    font-size:       0.72rem;
    font-weight:     700;
    letter-spacing:  0.1em;
    text-transform:  uppercase;
    color:           #c5a25c;
    text-decoration: none;
    transition:      gap 0.2s, color 0.2s;
}

.ps-ep-list__all:hover { gap: 0.7rem; color: #b8914a; }

@media (max-width: 900px) {
    .ps-split-section__inner          { grid-template-columns: 1fr; }
    .ps-split-section__inner > div    { min-width: 0; } /* empêche le débordement de la cellule grille */
    .ps-featured-ep                   { flex-direction: column; min-height: unset; }
    .ps-featured-ep__img-wrap         { flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 9; order: -1; }
    .ps-featured-ep__img-wrap::before { display: none; }
    .ps-featured-ep__body             { padding: 1.5rem; }
    .ps-featured-ep__title            { overflow-wrap: break-word; word-break: break-word; }
}

@media (max-width: 640px) {
    .ps-split-section        { padding: 2.5rem 0 3rem; }
    .ps-featured-ep__body    { padding: 1.25rem; gap: 0.65rem; }
    .ps-ep-list__row         { padding: 0.65rem 0.85rem; gap: 0.65rem; }
    .ps-ep-list__title       { font-size: 0.8125rem; }
    .ps-featured-ep__cta     { width: 100%; justify-content: center; }
}

/* =============================================================================
   SECTION : SÉRIES DE PODCASTS
   ============================================================================= */

.ps-series-home-section {
    padding: 3.5rem 0 4.5rem;
    background: #f7f5f0;
}

.ps-series-home-section__head {
    display:         flex;
    align-items:     baseline;
    justify-content: space-between;
    gap:             1rem;
    margin-bottom:   1.75rem;
}

.ps-series-home-section__title {
    font-family:    var(--font-title, 'Playfair Display', serif);
    font-size:      clamp(1.375rem, 2.5vw, 1.875rem);
    font-weight:    400;
    color:          #0a1628;
    margin:         0;
    letter-spacing: -0.02em;
}

.ps-series-home-section__more {
    display:         inline-flex;
    align-items:     center;
    gap:             0.4rem;
    font-family:     'Raleway', sans-serif;
    font-size:       0.72rem;
    font-weight:     700;
    letter-spacing:  0.12em;
    text-transform:  uppercase;
    color:           #c5a25c;
    text-decoration: none;
    white-space:     nowrap;
    transition:      gap 0.2s, color 0.2s;
}

.ps-series-home-section__more:hover { gap: 0.7rem; color: #b8914a; }

/* Grille 4 colonnes */
.ps-series-home-grid {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   1.25rem;
}

/* ─── Carte de série ──────────────────────────────────────────────────────── */

.ps-series-home-card {
    position:        relative;
    display:         flex;
    flex-direction:  column;
    border-radius:   18px;
    overflow:        hidden;
    aspect-ratio:    3 / 4;
    text-decoration: none;
    color:           #fff;
    background:      #0a1628;
    box-shadow:
        0 4px 20px rgba(10, 22, 40, 0.18),
        0 0  0    1px rgba(10, 22, 40, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.ps-series-home-card:hover {
    transform:  translateY(-6px) scale(1.015);
    box-shadow:
        0 16px 48px rgba(10, 22, 40, 0.28),
        0 0   0    1px rgba(197, 162, 92, 0.20);
}

/* Image de fond */
.ps-series-home-card__bg {
    position:   absolute;
    inset:      0;
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
    transition: transform 0.55s ease;
    z-index:    0;
}

.ps-series-home-card:hover .ps-series-home-card__bg { transform: scale(1.06); }

.ps-series-home-card__bg--empty {
    background: linear-gradient(160deg, #0d1f3c 0%, #1a3060 50%, #073552 100%);
}

/* Overlay dégradé bleu marine */
.ps-series-home-card__overlay {
    position:   absolute;
    inset:      0;
    z-index:    1;
    background: linear-gradient(
        to top,
        rgba(7, 20, 46, 0.95)  0%,
        rgba(7, 20, 46, 0.60) 45%,
        rgba(7, 20, 46, 0.10) 100%
    );
    transition: opacity 0.3s;
}

.ps-series-home-card:hover .ps-series-home-card__overlay {
    opacity: 0.92;
}

/* Contenu (par-dessus l'overlay) */
.ps-series-home-card__content {
    position:        relative;
    z-index:         2;
    display:         flex;
    flex-direction:  column;
    justify-content: flex-end;
    flex:            1;
    padding:         1.2rem 1.1rem 1.1rem;
    gap:             0.45rem;
}

/* Icône ronde avec initiale */
.ps-series-home-card__title {
    font-family:    var(--font-title, 'Playfair Display', serif);
    font-size:      clamp(0.95rem, 1.4vw, 1.125rem);
    font-weight:    600;
    color:          #fff;
    margin:         0;
    line-height:    1.25;
    letter-spacing: -0.01em;
}

.ps-series-home-card__desc {
    font-size:           0.75rem;
    line-height:         1.55;
    color:               rgba(255, 255, 255, 0.68);
    margin:              0;
    display:             -webkit-box;
    -webkit-line-clamp:  2;
    -webkit-box-orient:  vertical;
    overflow:            hidden;
}

.ps-series-home-card__footer {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    margin-top:      0.35rem;
    padding-top:     0.6rem;
    border-top:      1px solid rgba(255, 255, 255, 0.12);
}

.ps-series-home-card__count {
    display:     inline-flex;
    align-items: center;
    gap:         0.35em;
    font-family: 'Raleway', sans-serif;
    font-size:   0.67rem;
    font-weight: 600;
    color:       rgba(255, 255, 255, 0.55);
    letter-spacing: 0.05em;
}

.ps-series-home-card__count svg { color: #c5a25c; flex-shrink: 0; }

.ps-series-home-card__arrow {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           28px;
    height:          28px;
    border-radius:   50%;
    background:      rgba(255, 255, 255, 0.08);
    color:           rgba(255, 255, 255, 0.55);
    transition:      background 0.22s, color 0.22s, transform 0.3s;
    flex-shrink:     0;
}

.ps-series-home-card:hover .ps-series-home-card__arrow {
    background: rgba(197, 162, 92, 0.20);
    color:      #c5a25c;
    transform:  translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .ps-series-home-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
    .ps-series-home-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .ps-series-home-grid {
        grid-template-columns: 1fr;
    }
    .ps-series-home-card {
        aspect-ratio: 4 / 3;
    }
}

/* =============================================================================
   SECTION : NOUVEAU ICI ?
   ============================================================================= */

.ps-intro-section {
    padding:    4rem 0 5rem;
    background: #faf9f5;
}

/* En-tête de section */
.ps-intro-section__head {
    text-align:    center;
    margin-bottom: 2.5rem;
}

.ps-intro-section__eyebrow {
    display:        block;
    font-family:    'Raleway', sans-serif;
    font-size:      0.65rem;
    font-weight:    800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color:          #c5a25c;
    margin-bottom:  0.6rem;
}

.ps-intro-section__title {
    font-family:    var(--font-title, 'Playfair Display', serif);
    font-size:      clamp(1.625rem, 3vw, 2.25rem);
    font-weight:    400;
    color:          #0a1628;
    margin:         0 0 0.75rem;
    letter-spacing: -0.02em;
    line-height:    1.2;
}

.ps-intro-section__sub {
    font-size:   0.9375rem;
    line-height: 1.65;
    color:       #6b7280;
    margin:      0 auto;
    max-width:   520px;
}

/* Grille 3 colonnes */
.ps-intro-grid {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   1.5rem;
}

/* ─── Carte épisode recommandé ─────────────────────────────────────────────── */

.ps-intro-card {
    background:     #fff;
    border-radius:  16px;
    overflow:       hidden;
    box-shadow:
        0 2px 16px rgba(10, 22, 40, 0.07),
        0 0  0    1px rgba(10, 22, 40, 0.06);
    display:        flex;
    flex-direction: column;
    transition:     box-shadow 0.28s ease, transform 0.28s ease;
}

.ps-intro-card:hover {
    transform:  translateY(-4px);
    box-shadow:
        0 10px 36px rgba(10, 22, 40, 0.12),
        0 0   0    1px rgba(197, 162, 92, 0.15);
}

/* Image */
.ps-intro-card__img-wrap {
    position:     relative;
    aspect-ratio: 16 / 9;
    overflow:     hidden;
    background:   #0a1628;
    flex-shrink:  0;
}

.ps-intro-card__img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
    transition: transform 0.55s ease;
}

.ps-intro-card:hover .ps-intro-card__img { transform: scale(1.04); }

.ps-intro-card__img-placeholder {
    width:           100%;
    height:          100%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      linear-gradient(135deg, #0d1f3c 0%, #1a3060 100%);
    color:           #c5a25c;
}

.ps-intro-card__badge {
    position:       absolute;
    top:            0.75rem;
    left:           0.75rem;
    font-family:    'Raleway', sans-serif;
    font-size:      0.575rem;
    font-weight:    800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color:          #0a1628;
    background:     #c5a25c;
    padding:        0.28em 0.8em;
    border-radius:  999px;
}

/* Corps de la carte */
.ps-intro-card__body {
    padding:        1.35rem 1.4rem 0.75rem;
    display:        flex;
    flex-direction: column;
    gap:            0.5rem;
    flex:           1;
}

.ps-intro-card__num {
    font-family:    'Raleway', sans-serif;
    font-size:      0.65rem;
    font-weight:    800;
    letter-spacing: 0.15em;
    color:          #d1d5db;
    line-height:    1;
}

.ps-intro-card__title {
    font-family:    var(--font-title, 'Playfair Display', serif);
    font-size:      clamp(1rem, 1.5vw, 1.125rem);
    font-weight:    600;
    color:          #0a1628;
    margin:         0;
    line-height:    1.3;
    letter-spacing: -0.01em;
}

.ps-intro-card__title a {
    color:           inherit;
    text-decoration: none;
    transition:      color 0.2s;
}

.ps-intro-card__title a:hover { color: #c5a25c; }

.ps-intro-card__excerpt {
    font-size:           0.84375rem;
    line-height:         1.6;
    color:               #6b7280;
    margin:              0;
    display:             -webkit-box;
    -webkit-line-clamp:  3;
    -webkit-box-orient:  vertical;
    overflow:            hidden;
}

.ps-intro-card__meta {
    display:     inline-flex;
    align-items: center;
    gap:         0.3em;
    font-family: 'Raleway', sans-serif;
    font-size:   0.72rem;
    font-weight: 600;
    color:       #9ca3af;
}

.ps-intro-card__meta svg { color: #c5a25c; flex-shrink: 0; }

/* Pied de carte */
.ps-intro-card__footer {
    padding: 0.85rem 1.4rem 1.4rem;
}

.ps-intro-card__cta {
    display:         inline-flex;
    align-items:     center;
    gap:             0.5rem;
    background:      #0a1628;
    color:           #fff;
    font-family:     'Raleway', sans-serif;
    font-size:       0.78125rem;
    font-weight:     700;
    letter-spacing:  0.04em;
    text-decoration: none;
    padding:         0.6rem 1.3rem;
    border-radius:   999px;
    border:          none;
    cursor:          pointer;
    transition:      background 0.22s, transform 0.22s, box-shadow 0.22s;
    box-shadow:      0 3px 12px rgba(10, 22, 40, 0.22);
    width:           100%;
    justify-content: center;
}

.ps-intro-card__cta:hover {
    background: #073552;
    transform:  translateY(-1px);
    box-shadow: 0 5px 18px rgba(10, 22, 40, 0.30);
}

.ps-intro-card__cta svg { flex-shrink: 0; }

/* Responsive */
@media (max-width: 900px) {
    .ps-intro-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .ps-intro-grid         { grid-template-columns: 1fr; }
    .ps-intro-section      { padding: 3rem 0 4rem; }
    .ps-intro-card__footer { padding-bottom: 1.2rem; }
}

/* =============================================================================
   TYPE DE CONTENU : BADGE VIDÉO + ICÔNE PLAY
   ============================================================================= */

/* Badge "Vidéo" dans l'en-tête des cartes d'articles */
.entry-type-badge {
    display:         inline-flex;
    align-items:     center;
    gap:             0.32em;
    font-family:     'Raleway', sans-serif;
    font-size:       0.62rem;
    font-weight:     800;
    letter-spacing:  0.14em;
    text-transform:  uppercase;
    padding:         0.28em 0.75em;
    border-radius:   999px;
    margin-bottom:   0.45rem;
    line-height:     1;
}

.entry-type-badge--video {
    color:      #fff;
    background: #0a1628;
}

.entry-type-badge svg { flex-shrink: 0; }

/* Icône Play en overlay sur la vignette */
.post-thumbnail { position: relative; }

.post-thumbnail__play {
    position:        absolute;
    inset:           0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    opacity:         0;
    transition:      opacity 0.22s;
    pointer-events:  none;
}

.post-thumbnail--video .post-thumbnail__play {
    opacity: 0.85;
}

.post-thumbnail--video:hover .post-thumbnail__play,
.post-thumbnail--video a:focus .post-thumbnail__play {
    opacity: 1;
}

.post-thumbnail--video .post-thumbnail__play svg circle {
    fill: rgba(197, 162, 92, 0.88);
}

/* Variante visuelle carte vidéo dans recents-list */
.recents-item--video .recents-item__thumb {
    position: relative;
}

.recents-item--video .recents-item__thumb::after {
    content:         '';
    position:        absolute;
    inset:           0;
    background:      rgba(10, 22, 40, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 9-14 9V3Z' fill='%23fff'/%3E%3C/svg%3E") center / 14px no-repeat;
    border-radius:   inherit;
    pointer-events:  none;
}

/* =============================================================================
   EMBED VIDÉO DANS L'ARTICLE
   ============================================================================= */

.article-video-embed {
    margin-bottom: 2rem;
}

.article-video-embed__inner {
    position:       relative;
    width:          100%;
    aspect-ratio:   16 / 9;
    background:     #0a1628;
    border-radius:  12px;
    overflow:       hidden;
    box-shadow:     0 4px 28px rgba(10, 22, 40, 0.18);
}

.article-video-embed__inner iframe,
.article-video-embed__inner video {
    position: absolute;
    inset:    0;
    width:    100%;
    height:   100%;
    border:   0;
    display:  block;
}

/* =============================================================================
   PAGE TEMPLATE : SÉRIES DE PODCASTS  (page-series-podcast.php)
   Préfixe : sp-  (series page)
   ============================================================================= */

/* ─── Conteneur principal ─────────────────────────────────────────────────── */

.sp-series-list {
    padding: 3.5rem 0 5rem;
    background: #f7f5f0;
    min-height: 40vh;
}

.sp-series-stack {
    display:        flex;
    flex-direction: column;
    gap:            2.25rem;
}

/* ─── Bloc série (grande carte) ──────────────────────────────────────────── */

.sp-series-block {
    background:    #fff;
    border-radius: 16px;
    overflow:      hidden;
    box-shadow:
        0 2px 20px rgba(10, 22, 40, 0.07),
        0 0  0    1px rgba(10, 22, 40, 0.06);
    transition:    box-shadow 0.28s ease;
}

.sp-series-block:hover {
    box-shadow:
        0 8px 40px rgba(10, 22, 40, 0.11),
        0 0  0    1px rgba(197, 162, 92, 0.15);
}

/* Grille intérieure : info (gauche fixe) + playlist (droite) */
.sp-series-block__inner {
    display:               grid;
    grid-template-columns: 280px 1fr;
    min-height:            420px;
}

/* ─── Colonne info (gauche) ───────────────────────────────────────────────── */

.sp-series-block__info {
    display:          flex;
    flex-direction:   column;
    background:       linear-gradient(170deg, #0d1e38 0%, #0a1628 100%);
    padding:          2rem 1.75rem;
    gap:              0;
    position:         relative;
    overflow:         hidden;
}

/* Halo décoratif amber en fond */
.sp-series-block__info::before {
    content:       '';
    position:      absolute;
    bottom:        -60px;
    left:          -40px;
    width:         200px;
    height:        200px;
    border-radius: 50%;
    background:    radial-gradient(circle, rgba(197, 162, 92, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* Pochette (cover image ou placeholder) */
.sp-series-block__cover-link {
    display:         block;
    text-decoration: none;
    margin-bottom:   1.25rem;
    align-self:      flex-start;
}

.sp-series-block__cover {
    width:         140px;
    height:        140px;
    border-radius: 10px;
    object-fit:    cover;
    display:       block;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.45),
        0 0  0    1px rgba(255, 255, 255, 0.07);
    transition:    transform 0.3s ease, box-shadow 0.3s ease;
}

.sp-series-block__cover-link:hover .sp-series-block__cover {
    transform:  translateY(-3px);
    box-shadow:
        0 14px 42px rgba(0, 0, 0, 0.52),
        0 0  0    1px rgba(197, 162, 92, 0.22);
}

.sp-series-block__cover--empty {
    width:           140px;
    height:          140px;
    border-radius:   10px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      linear-gradient(135deg, #112244 0%, #1c3566 100%);
    color:           #c5a25c;
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.45),
        0 0  0    1px rgba(255, 255, 255, 0.07);
    margin-bottom:   1.25rem;
    align-self:      flex-start;
}

/* Zone texte sous la cover */
.sp-series-block__text {
    flex:           1;
    display:        flex;
    flex-direction: column;
    gap:            0.6rem;
    position:       relative;
    z-index:        1;
}

.sp-series-block__eyebrow {
    font-family:    'Raleway', sans-serif;
    font-size:      0.6rem;
    font-weight:    800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color:          #c5a25c;
}

.sp-series-block__name {
    font-family:    var(--font-title, 'Playfair Display', serif);
    font-size:      clamp(1.1rem, 1.8vw, 1.375rem);
    font-weight:    400;
    color:          #f0ece4;
    margin:         0;
    line-height:    1.2;
    letter-spacing: -0.01em;
}

.sp-series-block__name a {
    color:           inherit;
    text-decoration: none;
    transition:      color 0.2s;
}

.sp-series-block__name a:hover { color: #c5a25c; }

.sp-series-block__desc {
    font-size:           0.8125rem;
    line-height:         1.6;
    color:               rgba(240, 236, 228, 0.62);
    margin:              0;
    display:             -webkit-box;
    -webkit-line-clamp:  4;
    -webkit-box-orient:  vertical;
    overflow:            hidden;
    flex:                1;
}

/* Footer info : count + lien */
.sp-series-block__footer {
    display:     flex;
    align-items: center;
    gap:         1rem;
    flex-wrap:   wrap;
    margin-top:  auto;
    padding-top: 0.75rem;
}

.sp-series-block__ep-count {
    display:     inline-flex;
    align-items: center;
    gap:         0.35em;
    font-family: 'Raleway', sans-serif;
    font-size:   0.72rem;
    font-weight: 600;
    color:       rgba(240, 236, 228, 0.55);
}

.sp-series-block__ep-count svg { flex-shrink: 0; color: #c5a25c; }

.sp-series-block__all-link {
    display:         inline-flex;
    align-items:     center;
    gap:             0.35em;
    font-family:     'Raleway', sans-serif;
    font-size:       0.72rem;
    font-weight:     700;
    letter-spacing:  0.08em;
    text-transform:  uppercase;
    color:           #c5a25c;
    text-decoration: none;
    transition:      color 0.2s, gap 0.2s;
}

.sp-series-block__all-link:hover {
    color: #dfc080;
    gap:   0.55em;
}

/* ─── Colonne playlist (droite) ──────────────────────────────────────────── */

.sp-series-block__playlist {
    display:        flex;
    flex-direction: column;
    border-left:    1px solid rgba(10, 22, 40, 0.07);
    min-height:     0;
}

/* En-tête colonnes */
.sp-ep-header {
    display:               grid;
    grid-template-columns: 2.25rem 3rem 1fr 5.5rem 2rem;
    gap:                   0.75rem;
    align-items:           center;
    padding:               0.6rem 1.25rem;
    border-bottom:         1px solid rgba(10, 22, 40, 0.07);
    font-family:           'Raleway', sans-serif;
    font-size:             0.6rem;
    font-weight:           700;
    letter-spacing:        0.14em;
    text-transform:        uppercase;
    color:                 #9ca3af;
    flex-shrink:           0;
}

/* Scroll interne sur la liste d'épisodes */
.sp-ep-list {
    overflow-y:      auto;
    overflow-x:      hidden;
    max-height:      420px;
    scrollbar-width: thin;
    scrollbar-color: rgba(197, 162, 92, 0.25) transparent;
}

.sp-ep-list::-webkit-scrollbar       { width: 4px; }
.sp-ep-list::-webkit-scrollbar-track  { background: transparent; }
.sp-ep-list::-webkit-scrollbar-thumb  {
    background:    rgba(197, 162, 92, 0.28);
    border-radius: 999px;
}

/* Ligne épisode */
.sp-ep-row {
    display:               grid;
    grid-template-columns: 2.25rem 3rem 1fr 5.5rem 2rem;
    gap:                   0.75rem;
    align-items:           center;
    padding:               0.65rem 1.25rem;
    border-bottom:         1px solid rgba(10, 22, 40, 0.04);
    transition:            background 0.15s ease;
    min-width:             0;
}

.sp-ep-row:last-child   { border-bottom: none; }
.sp-ep-row:hover        { background: #fffdf7; }

/* Numéro */
.sp-ep-row__num {
    font-family:  'Raleway', sans-serif;
    font-size:    0.75rem;
    font-weight:  600;
    color:        #c5a25c;
    text-align:   center;
    line-height:  1;
    flex-shrink:  0;
}

/* Vignette + play */
.sp-ep-row__thumb {
    position:      relative;
    width:         3rem;
    height:        3rem;
    border-radius: 5px;
    overflow:      hidden;
    flex-shrink:   0;
    background:    #e5e7eb;
}

.sp-ep-row__thumb img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    display:    block;
    transition: opacity 0.15s;
}

.sp-ep-row:hover .sp-ep-row__thumb img { opacity: 0.65; }

.sp-ep-row__thumb-default {
    width:           100%;
    height:          100%;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      linear-gradient(135deg, #0d1f3c 0%, #1a3060 100%);
    color:           #c5a25c;
    opacity:         0.5;
}

/* Bouton play (overlay sur la vignette) */
.sp-ep-row__play-btn {
    position:        absolute;
    inset:           0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      rgba(10, 22, 40, 0.72);
    color:           #fff;
    opacity:         0;
    transition:      opacity 0.15s;
    border:          none;
    cursor:          pointer;
    border-radius:   5px;
    padding:         0;
    text-decoration: none;
}

.sp-ep-row:hover .sp-ep-row__play-btn { opacity: 1; }

/* Zone info titre + date */
.sp-ep-row__info {
    min-width:      0;
    display:        flex;
    flex-direction: column;
    gap:            0.15rem;
}

.sp-ep-row__title {
    font-size:     0.8125rem;
    font-weight:   600;
    color:         #1a2540;
    margin:        0;
    line-height:   1.3;
    white-space:   nowrap;
    overflow:      hidden;
    text-overflow: ellipsis;
}

.sp-ep-row__title a {
    color:           inherit;
    text-decoration: none;
    transition:      color 0.15s;
}

.sp-ep-row__title a:hover { color: #c5a25c; }

.sp-ep-row__date {
    font-size:  0.68rem;
    color:      #9ca3af;
    line-height: 1;
    white-space: nowrap;
}

/* Durée */
.sp-ep-row__dur {
    font-family:  'Raleway', sans-serif;
    font-size:    0.72rem;
    font-weight:  500;
    color:        #6b7280;
    text-align:   right;
    white-space:  nowrap;
}

/* Flèche lien discret */
.sp-ep-row__link {
    display:         flex;
    align-items:     center;
    justify-content: center;
    width:           2rem;
    height:          2rem;
    border-radius:   50%;
    color:           #9ca3af;
    text-decoration: none;
    transition:      color 0.15s, background 0.15s;
    flex-shrink:     0;
}

.sp-ep-row__link:hover {
    color:      #c5a25c;
    background: rgba(197, 162, 92, 0.1);
}

/* Footer "voir tous les épisodes" */
.sp-ep-list__more {
    padding:    0.7rem 1.25rem;
    border-top: 1px solid rgba(10, 22, 40, 0.07);
    text-align: center;
    flex-shrink: 0;
}

.sp-ep-list__more-link {
    display:         inline-flex;
    align-items:     center;
    gap:             0.4rem;
    font-family:     'Raleway', sans-serif;
    font-size:       0.72rem;
    font-weight:     700;
    letter-spacing:  0.1em;
    text-transform:  uppercase;
    color:           #c5a25c;
    text-decoration: none;
    transition:      gap 0.2s, color 0.2s;
}

.sp-ep-list__more-link:hover { gap: 0.65rem; color: #b8914a; }

.sp-ep-list__empty {
    padding:     2rem 1.25rem;
    font-size:   0.875rem;
    color:       #9ca3af;
    text-align:  center;
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

/* Tablette (900px → 1100px) : colonne info un peu moins large */
@media (max-width: 1100px) {
    .sp-series-block__inner {
        grid-template-columns: 240px 1fr;
    }
}

/* Tablette basse / grand mobile (≤ 900px) : bascule en colonnes empilées */
@media (max-width: 900px) {
    .sp-series-block__inner {
        grid-template-columns: 1fr;
    }

    .sp-series-block__info {
        flex-direction: row;
        align-items:    flex-start;
        gap:            1.25rem;
        padding:        1.5rem;
    }

    /* Cover en ligne avec le texte */
    .sp-series-block__cover,
    .sp-series-block__cover--empty {
        width:         100px;
        height:        100px;
        flex-shrink:   0;
        margin-bottom: 0;
    }

    .sp-series-block__cover-link {
        flex-shrink:   0;
        margin-bottom: 0;
    }

    .sp-series-block__playlist {
        border-left:  none;
        border-top:   1px solid rgba(10, 22, 40, 0.07);
    }

    .sp-ep-list {
        max-height: 320px;
    }

    .sp-series-block__desc {
        -webkit-line-clamp: 3;
    }
}

/* Petit mobile (≤ 640px) : simplifier la grille épisodes */
@media (max-width: 640px) {
    .sp-series-list { padding: 2.5rem 0 4rem; }

    .sp-series-stack { gap: 1.5rem; }

    .sp-series-block__info {
        padding:        1.25rem;
        gap:            1rem;
    }

    .sp-series-block__cover,
    .sp-series-block__cover--empty {
        width:  80px;
        height: 80px;
    }

    .sp-series-block__name { font-size: 1rem; }

    /* Sur mobile, masquer la colonne durée et la col numéro pour économiser l'espace */
    .sp-ep-header,
    .sp-ep-row {
        grid-template-columns: 3rem 1fr 1.75rem;
    }

    .sp-ep-header { display: none; } /* pas nécessaire sur mobile */

    .sp-ep-row__num  { display: none; }
    .sp-ep-row__dur  { display: none; }

    .sp-ep-row {
        gap:     0.6rem;
        padding: 0.55rem 1rem;
    }

    .sp-ep-row__thumb {
        width:  3rem;
        height: 3rem;
    }

    .sp-ep-list { max-height: 280px; }

    .sp-ep-list__more { padding: 0.6rem 1rem; }
}

/* =========================================
   MODALE — LECTURES DU JOUR
   ========================================= */

/* Overlay plein écran */
.ldj-modal {
    position: fixed;
    inset: 0;
    z-index: 10100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ldj-modal[hidden] {
    display: none;
}

/* Bloquer le scroll de la page quand le modal est ouvert */
body.ldj-modal-open {
    overflow: hidden;
}

/* Fond semi-transparent avec flou */
.ldj-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 16, 42, 0.60);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* Boîte de dialogue */
.ldj-modal__box {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 1.125rem;
    width: 100%;
    max-width: 680px;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    box-shadow: 0 20px 72px rgba(4, 16, 42, 0.30);
    -webkit-animation: ldj-modal-in 0.25s ease both;
    animation: ldj-modal-in 0.25s ease both;
}

@-webkit-keyframes ldj-modal-in {
    from { opacity: 0; transform: scale(0.94) translateY(14px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}
@keyframes ldj-modal-in {
    from { opacity: 0; transform: scale(0.94) translateY(14px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

/* ── En-tête ──────────────────────────────────────────────── */
.ldj-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.375rem 1.75rem 1.125rem;
    border-bottom: 1px solid rgba(4, 16, 42, 0.08);
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 2;
    border-radius: 1.125rem 1.125rem 0 0;
}

.ldj-modal__header-left {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.ldj-modal__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #f5efe3;
    border-radius: 50%;
    color: #c5a25c;
}

.ldj-modal__title {
    font-family: var(--font-title, 'Baskerville Display PT', Georgia, serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: #04102a;
    margin: 0;
    line-height: 1.2;
}

.ldj-modal__date {
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: capitalize;
    color: #9ca3af;
    margin: 0.2rem 0 0;
}

.ldj-modal__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.ldj-modal__close:hover {
    background: rgba(4, 16, 42, 0.07);
    color: #04102a;
}

.ldj-modal__close:focus-visible {
    outline: 2px solid #c5a25c;
    outline-offset: 2px;
}

/* ── États chargement / erreur ────────────────────────────── */
.ldj-modal__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 2rem;
    gap: 1rem;
    color: #9ca3af;
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem;
}

.ldj-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(197, 162, 92, 0.18);
    border-top-color: #c5a25c;
    border-radius: 50%;
    -webkit-animation: ldj-spin 0.8s linear infinite;
    animation: ldj-spin 0.8s linear infinite;
}

@-webkit-keyframes ldj-spin {
    to { transform: rotate(360deg); }
}
@keyframes ldj-spin {
    to { transform: rotate(360deg); }
}

.ldj-modal__error {
    padding: 2.5rem 1.75rem;
    text-align: center;
    color: #b45309;
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem;
}

/* ── Contenu principal ────────────────────────────────────── */
.ldj-modal__content {
    padding: 1.5rem 1.75rem 2rem;
}

/* Saint du jour */
.ldj-modal__saint {
    margin-bottom: 1.75rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(4, 16, 42, 0.07);
}

.ldj-modal__section-label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #c5a25c;
    margin: 0 0 0.35rem;
}

.ldj-modal__liturgic-title {
    font-family: var(--font-title, 'Baskerville Display PT', Georgia, serif);
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
    color: #04102a;
    margin: 0 0 0.875rem;
    line-height: 1.4;
}

.ldj-saint-content {
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.65;
    text-align: center;
}

.ldj-saint-content a {
    color: #c5a25c;
    text-decoration: none;
}

.ldj-saint-content a:hover {
    text-decoration: underline;
}

/* ── Onglets ──────────────────────────────────────────────── */
.ldj-modal__tab-nav {
    display: flex;
    border-bottom: 2px solid rgba(4, 16, 42, 0.08);
    margin-bottom: 1.375rem;
}

.ldj-tab-btn {
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #9ca3af;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.6rem 1.25rem;
    margin-bottom: -2px;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
}

.ldj-tab-btn:hover {
    color: #04102a;
}

.ldj-tab-btn--active {
    color: #04102a;
    border-bottom-color: #c5a25c;
}

.ldj-tab-btn:focus-visible {
    outline: 2px solid #c5a25c;
    outline-offset: 2px;
    border-radius: 3px;
}

/* ── Contenu d'un onglet ──────────────────────────────────── */
.ldj-modal__reading-title {
    font-family: var(--font-title, 'Baskerville Display PT', Georgia, serif);
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    color: #04102a;
    margin: 0 0 1rem;
    line-height: 1.45;
}

.ldj-modal__reading-text {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.85;
}

/* ── Responsive mobile ────────────────────────────────────── */
@media (max-width: 560px) {
    .ldj-modal {
        padding: 0;
        align-items: flex-end;
    }

    .ldj-modal__box {
        max-height: 92vh;
        border-radius: 1.125rem 1.125rem 0 0;
    }

    .ldj-modal__header {
        padding: 1.125rem 1.25rem 1rem;
        border-radius: 1.125rem 1.125rem 0 0;
    }

    .ldj-modal__content {
        padding: 1.25rem 1.25rem 1.75rem;
    }

    .ldj-modal__title {
        font-size: 1.125rem;
    }
}

/* =========================================
   PAGE SAINT DU JOUR
   ========================================= */

/* Contenu du saint — normalise le tableau evangelizo */
.saint-du-jour-content table {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    border-collapse: collapse;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.9375rem;
    line-height: 1.75;
    color: #1f2937;
}

.saint-du-jour-content td,
.saint-du-jour-content th {
    padding: 0.6rem 0.75rem;
    vertical-align: top;
    /* Neutraliser les couleurs inline de l'API */
    color: inherit !important;
    border: none;
}

/* Images du saint */
.saint-du-jour-content img {
    display: block;
    max-width: 220px;
    height: auto;
    border-radius: 0.75rem;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 24px rgba(4, 16, 42, 0.15);
}

/* Nom du saint mis en valeur */
.saint-du-jour-content b,
.saint-du-jour-content strong {
    font-family: var(--font-title, 'Baskerville Display PT', Georgia, serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: #04102a;
}

/* Liens dans la fiche */
.saint-du-jour-content a {
    color: #c5a25c;
    text-decoration: none;
}

.saint-du-jour-content a:hover {
    text-decoration: underline;
}

/* État d'erreur */
.saint-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 3rem 2rem;
    text-align: center;
    color: #6b7280;
    font-family: 'Raleway', sans-serif;
    font-size: 0.9rem;
}

.saint-error svg {
    color: #c5a25c;
    opacity: 0.7;
}

.saint-error__back {
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #c5a25c;
    text-decoration: none;
}

.saint-error__back:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════════
   DOSSIERS — Archive & Single
   ═══════════════════════════════════════════════════════════════ */

/* ── Archive : grille ─────────────────────────────────────────── */
.dossiers-grid {
    padding: 3rem 0 5rem;
}

.dossiers-grid__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.dossiers-grid__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

/* ── Dossier card ─────────────────────────────────────────────── */
.dossier-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(4,10,30,.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s ease, transform .2s ease;
}

.dossier-card:hover {
    box-shadow: 0 8px 28px rgba(4,10,30,.13);
    transform: translateY(-3px);
}

/* Vignette */
.dossier-card__thumb-link {
    display: block;
    text-decoration: none;
}

.dossier-card__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #f3f4f6;
}

.dossier-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.dossier-card:hover .dossier-card__thumb img {
    transform: scale(1.04);
}

.dossier-card__thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5a25c;
    background: linear-gradient(135deg, #f0ece4 0%, #f8f5ef 100%);
}

/* Corps */
.dossier-card__body {
    padding: 1.25rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    flex: 1;
}

/* Badge nb articles */
.dossier-card__meta {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.dossier-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Raleway', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #c5a25c;
}

/* Titre */
.dossier-card__title {
    font-family: var(--font-title, 'Baskerville Display PT', Georgia, serif);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.35;
    margin: 0;
    color: #04102a;
}

.dossier-card__title a {
    color: inherit;
    text-decoration: none;
}

.dossier-card__title a:hover {
    color: #c5a25c;
}

/* Extrait */
.dossier-card__excerpt {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .875rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* Liste des articles (aperçu) */
.dossier-card__articles {
    list-style: none;
    margin: .25rem 0 0;
    padding: 0;
    border-top: 1px solid #f0ece4;
    padding-top: .75rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    flex: 1;
}

.dossier-card__article {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .8rem;
    color: #374151;
    display: flex;
    align-items: baseline;
    gap: .4rem;
}

.dossier-card__article::before {
    content: '—';
    color: #c5a25c;
    flex-shrink: 0;
    font-size: .65rem;
}

.dossier-card__article a {
    color: inherit;
    text-decoration: none;
    line-height: 1.45;
}

.dossier-card__article a:hover {
    color: #c5a25c;
    text-decoration: underline;
}

.dossier-card__article--more a {
    font-weight: 600;
    color: #c5a25c;
}

/* CTA */
.dossier-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: .9rem;
    font-family: 'Raleway', sans-serif;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #c5a25c;
    text-decoration: none;
}

.dossier-card__cta:hover {
    gap: 10px;
}

/* ── Single dossier ──────────────────────────────────────────── */
.site-main--single-dossier .cat-hero--dossier {
    min-height: 360px;
}

.cat-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: 'Raleway', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.75);
    text-decoration: none;
    transition: color .15s;
}

.cat-hero__back:hover {
    color: #fff;
}

/* Corps éditorial optionnel */
.dossier-intro {
    max-width: 760px;
    margin: 2.5rem auto;
    padding: 0 1.5rem;
}

.dossier-intro__content {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: .9375rem;
    line-height: 1.75;
    color: #1f2937;
}

.dossier-intro__content p:first-child {
    margin-top: 0;
}

/* Section articles */
.dossier-articles {
    padding: 2.5rem 0 5rem;
    background: #faf8f5;
}

.dossier-articles__heading {
    font-family: var(--font-title, 'Baskerville Display PT', Georgia, serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: #04102a;
    margin: 0 0 2rem;
}

.dossier-articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

/* État vide */
.dossier-empty {
    padding: 4rem 1.5rem;
    text-align: center;
    color: #6b7280;
    font-family: 'Raleway', sans-serif;
}

.dossiers-empty {
    color: #6b7280;
    font-family: 'Raleway', sans-serif;
    font-size: .9rem;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .dossiers-grid__list {
        grid-template-columns: 1fr;
    }

    .dossier-articles__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dossier-card__body {
        padding: 1rem;
    }
}
