/* Menu latéral partagé */
.menu-card { min-width: 0; overflow: hidden; background: var(--white); border: 1px solid var(--border); border-radius: 5px; }
.menu-card-title { margin: 0; padding: 5px 8px 6px; color: var(--white); background: var(--blue); font-family: "Gill Sans MT", "Gill Sans", Arial, sans-serif; font-size: var(--menu-title-size); font-weight: 400; line-height: 1.2; }
.bio-content { padding: var(--content-padding); font-size: var(--menu-text-size); line-height: 1.35; }
.bio-portrait { float: left; width: 108px; height: auto; margin: 0 10px 2px 0; object-fit: cover; }
.bio-text { margin: 0; }
/* Réduction du texte de la biographie, uniquement sur ordinateur */
@media (min-width: 761px) {
    .bio-card .bio-text {
        font-size: 0.90em;
        line-height: 1.22;
    }
}
.bio-text a { color: #39778A; text-decoration: underline; overflow-wrap: anywhere; }
.bio-text a:hover { color: var(--blue); }
/* Lien « Lire plus » : même couleur que les titres d'articles */
.bio-text .article-read-more {
    color: var(--blue);
}

.bio-text .article-read-more:hover {
    color: #39778A;
}
.bio-content::after { display: block; clear: both; content: ""; }
.visitor-counter { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); background: var(--white); }
.visitor-digit { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 3px 0 5px; border-right: 1px solid #BEBEBE; color: #111; font-size: clamp(20px, 2.1cqw, 2.5rem); font-weight: 400; line-height: 1.1; }
.visitor-digit:last-child { border-right: 0; }
.photos-content { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 3px; padding: 8px; aspect-ratio: 3 / 2; background: var(--white); }
.photos-link, .photos-empty { display: block; min-width: 0; min-height: 0; overflow: hidden; background: var(--white); }
.photos-link { color: inherit; text-decoration: none; }
.photos-collage { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.photos-link:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
.menu-list, .subject-list { margin: 0; padding: 7px 8px 10px; list-style: none; }
.menu-list li, .subject-list li { position: relative; margin: 0; padding: 0 0 2px 36px; font-size: var(--menu-text-size); font-weight: 700; line-height: 1.22; }
.menu-list li::before, .subject-list li::before { position: absolute; top: .27em; left: 3px; width: 0; height: 0; border-top: .38em solid transparent; border-bottom: .38em solid transparent; border-left: .42em solid #111; content: ""; }
.menu-list a, .subject-list a { color: #111; text-decoration: underline; overflow-wrap: anywhere; }
/* Les titres populaires restent sur une seule ligne ; le titre complet reste accessible au survol. */
.menu-list a { display: inline-block; max-width: 100%; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
.menu-list a:hover, .subject-list a:hover { color: #39778A; }
.subscribe-box { display: block; padding: 12px 8px; border-radius: 5px; background: var(--blue); color: var(--white); text-align: center; text-decoration: none; }
.subscribe-title { display: block; margin: 0 0 2px; font-size: 1.8rem; font-weight: 700; line-height: 1.15; }
.subscribe-subtitle { display: block; font-size: 1.2rem; line-height: 1.2; }
.subscribe-box:hover { background: #003779; }
.subscribe-box:focus-visible { outline: 3px solid #39778A; outline-offset: 3px; }
.sidebar-footer { padding: 0 8px 8px; font-size: 1.15rem; line-height: 1.3; overflow-wrap: anywhere; }
.footer-section { margin: 0 0 22px; }
.footer-section h2 { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.footer-section p { margin: 0; }
.sidebar-footer a { color: inherit; text-decoration: none; }
.sidebar-footer a:hover { color: #39778A; text-decoration: underline; }
.footer-legal-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-legal-links a { font-weight: 700; }
.footer-divider { width: 40%; margin: 12px 0; border: 0; border-top: 1px solid #777; }
.footer-copyright { margin: 0; font-size: 1rem; line-height: 1.3; }

/* Inscription en attente de confirmation : signal visuel rouge */
.subscribe-box.is-pending { background: #f00000; }
.subscribe-box.is-pending:hover { background: #d90000; }
