/* ==========================================================================
   Je Geek Je Play : feuille de style du thème
   Structure et système inspirés de la référence fournie (reference/design/DESIGN.md) ;
   identité propre : accent orange, polices libres auto-hébergées.
   Pour changer les couleurs de marque, ne modifier que les tokens ci-dessous.
   ========================================================================== */

:root {
	/* --- Couleurs de marque (tokens à modifier ici seulement) --- */
	--brand: #eb5436;          /* orange JeGeekJePlay : fonds (en-tête, boutons ronds), soulignements, éléments graphiques */
	--brand-text: #c23a1b;     /* variante assombrie pour le TEXTE orange (4,9:1 sur crème, 5,4:1 sur blanc) */
	--on-brand: #1a1b28;       /* texte posé sur fond orange (4,75:1 : blanc ne ferait que 3,6:1) */

	/* --- Neutres --- */
	--ink: #1a1b28;            /* texte principal */
	--cream: #f6f4ef;          /* fond de page */
	--white: #ffffff;
	--text-article: #575760;   /* corps d'article (6,5:1 sur crème) */
	--text-muted: #6b6b75;
	--text-caption: rgba(26, 27, 40, .6);
	--rule-20: rgba(26, 27, 40, .2);
	--rule-10: rgba(26, 27, 40, .1);
	--overlay: rgba(0, 0, 0, .8);
	--gradient-une: linear-gradient(rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .65) 100%);

	/* --- Polices --- */
	--font-ui: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-display: "Fraunces", Georgia, "Times New Roman", serif;
	--font-serif: "PT Serif", Georgia, serif;

	/* --- Échelle typographique (taille / interligne 1,2) --- */
	--fs-display: 40px;
	--fs-h2: 30px;
	--fs-menu: 24px;
	--fs-chapo: 22px;
	--fs-article: 21px;
	--fs-base: 18px;
	--fs-lead: 17px;
	--fs-link: 16px;
	--fs-small: 14px;
	--fs-label: 12px;

	/* --- Échelle d'espacement --- */
	--sp-1: 2.5px; --sp-2: 5px; --sp-3: 10px; --sp-4: 15px; --sp-5: 30px;
	--sp-6: 35px; --sp-7: 40px; --sp-8: 50px; --sp-9: 60px; --sp-10: 70px; --sp-11: 80px;

	/* --- Mise en page --- */
	--container: 1100px;
	--gutter: 30px;
	--hdr-top: 90px;
	--hdr-bottom: 50px;
	--hdr-top-compact: 70px;
	--menu-w: 300px;
	--adminbar: 0px;

	--radius-img: 4px;
}

@media (max-width: 767px) {
	:root { --hdr-top: 64px; --hdr-bottom: 44px; --hdr-top-compact: 56px; --fs-display: 28px; --fs-h2: 24px; --fs-article: 19px; --fs-chapo: 19px; }
}
body.admin-bar { --adminbar: 32px; }
@media (max-width: 782px) { body.admin-bar { --adminbar: 46px; } }

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	padding-top: calc(var(--hdr-top) + var(--hdr-bottom) + var(--adminbar));
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-ui);
	font-weight: 500;
	font-size: var(--fs-base);
	line-height: 1.2;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus { clip: auto; clip-path: none; width: auto; height: auto; margin: 0; z-index: 1000; top: calc(var(--adminbar) + 10px); left: 10px; background: var(--white); color: var(--ink); padding: 12px 18px; font-weight: 700; }

/* --- Conteneur de 1100 px (même largeur que la référence Korii, mesurée), gouttière 30 px --- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter)); margin-inline: auto; padding-inline: calc(var(--gutter) / 2); }
.grid { display: grid; gap: var(--gutter); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) { .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .grid--2, .grid--4 { grid-template-columns: 1fr; gap: 20px; } }

/* --- Boutons ronds --- */
.round-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: transparent; color: var(--on-brand); }
.round-btn svg { width: 18px; height: 18px; }
.round-btn:hover { text-decoration: none; }
.round-btn--brand { background: var(--brand); color: var(--on-brand); }
.round-btn--brand:hover, .round-btn--brand:focus-visible { background: var(--ink); color: var(--white); }
.social-btns { display: flex; flex-wrap: wrap; gap: var(--sp-3); list-style: none; }

/* --- En-tête fixe, deux états --- */
.site-header { position: fixed; z-index: 100; top: var(--adminbar); left: 0; width: 100%; background: var(--brand); color: var(--on-brand); }
.site-header__top { height: var(--hdr-top); transition: height .5s ease; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-logo { display: flex; align-items: center; color: var(--on-brand); }
.site-logo img { height: 56px; width: auto; transition: height .5s ease; }
.site-header__tools { display: flex; align-items: center; gap: var(--sp-3); }
.round-btn--search { background: rgba(255, 255, 255, .22); }
.round-btn--search:hover, .round-btn--search:focus-visible { background: rgba(255, 255, 255, .4); }
.round-btn--burger { background: var(--white); }
.burger { position: relative; width: 20px; height: 14px; display: block; }
.burger i { position: absolute; left: 0; width: 20px; height: 2px; background: var(--brand-text); border-radius: 1px; transition: transform .3s ease, opacity .2s ease, top .3s ease; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
[aria-expanded="true"] .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.site-header__bottom { height: var(--hdr-bottom); overflow: hidden; border-top: 1px solid transparent; transition: height .5s ease, opacity .3s ease; }
.site-header__bottom .container { height: 100%; }
.topnav { display: flex; align-items: center; justify-content: center; gap: 0 var(--sp-4); height: 100%; list-style: none; font-size: var(--fs-small); font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.topnav a { display: block; padding: 8px 6px; color: var(--on-brand); }
.topnav .current-menu-item > a, .topnav .current-menu-parent > a, .topnav .current-post-ancestor > a, .topnav .current-menu-ancestor > a, .topnav a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
@media (max-width: 767px) { .topnav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; } .topnav::-webkit-scrollbar { display: none; } .site-logo img { height: 44px; } }

.site-header.is-compact .site-header__top { height: var(--hdr-top-compact); border-bottom: 1px solid rgba(255, 255, 255, .2); }
.site-header.is-compact .site-header__bottom { height: 0; opacity: 0; }
.site-header.is-compact .site-logo img { height: 44px; }
@media (max-width: 767px) { .site-header.is-compact .site-logo img { height: 36px; } }

.search-panel { background: var(--white); border-bottom: 1px solid var(--rule-10); padding: var(--sp-4) 0; }
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: var(--sp-3); }
.search-field { flex: 1; min-width: 0; font: inherit; font-size: var(--fs-link); padding: 12px 15px; border: 1px solid var(--rule-20); border-radius: var(--radius-img); background: var(--white); color: var(--ink); }
.search-submit, .btn, .form-submit input[type=submit] { font: inherit; font-weight: 700; font-size: var(--fs-link); padding: 12px 22px; border: 0; border-radius: var(--radius-img); background: var(--brand); color: var(--on-brand); cursor: pointer; }
.search-submit:hover, .btn:hover, .form-submit input[type=submit]:hover { background: var(--ink); color: var(--white); }

/* --- Menu latéral --- */
.menu-overlay { position: fixed; inset: 0; z-index: 90; background: var(--overlay); }
.menu-overlay[hidden] { display: none; }
.side-menu {
	position: fixed; z-index: 95; top: calc(var(--hdr-top-compact) + var(--adminbar)); right: 0; bottom: 0; width: min(var(--menu-w), 100%);
	background: var(--white); overflow-y: auto; padding-bottom: 60px; transform: translateX(100%); visibility: hidden;
	transition: transform .4s ease, visibility 0s linear .4s;
}
.side-menu.is-open { transform: none; visibility: visible; transition: transform .4s ease; }
@media (max-width: 767px) { .side-menu { top: calc(var(--hdr-top-compact) + var(--adminbar)); } }
.side-menu__title { font-size: var(--fs-menu); line-height: 1.2; font-weight: 800; color: var(--brand-text); padding: 18px 0 10px 15px; }
.side-menu__list, .side-menu__links { list-style: none; }
.side-menu__list { background: var(--brand); margin-bottom: var(--sp-4); padding-bottom: var(--sp-4); }
.side-menu__list a { display: flex; align-items: center; gap: 10px; padding: 12px 15px; font-size: var(--fs-link); font-weight: 700; color: var(--on-brand); border-bottom: 1px solid rgba(26, 27, 40, .15); }
.side-menu__list svg { width: 18px; height: 18px; }
.side-menu__links a { display: block; padding: 10px 0 2.5px 15px; font-size: var(--fs-link); font-weight: 700; }

/* --- Cartes --- */
.card { display: flex; flex-direction: column; background: transparent; }
.card__media { display: block; border-radius: var(--radius-img); overflow: hidden; background: var(--rule-10); }
.card__img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-img); }
.card__img--empty { display: flex; align-items: center; justify-content: center; background: var(--rule-10); }
.card__img--empty img { width: 25%; opacity: .7; }
.card__body { padding: var(--sp-4) 0 0; }
.card__category { font-size: var(--fs-label); line-height: 1.2; font-weight: 700; text-transform: uppercase; min-height: 0; }
.card__category:empty { display: none; }
.card__title { margin-top: var(--sp-3); font-size: var(--fs-base); line-height: 1.2; font-weight: 700; }
.card__title a:hover { text-decoration: underline; }
.card__excerpt { margin-top: var(--sp-3); font-size: var(--fs-link); line-height: 1.35; font-weight: 500; color: var(--ink); }
.card__meta { margin-top: var(--sp-3); font-size: var(--fs-small); line-height: 1.2; }
.card__meta time { text-transform: lowercase; }
.card--large .card__title { font-size: var(--fs-h2); line-height: 1.2; }
.card--large .card__excerpt { font-size: var(--fs-base); }
@media (max-width: 767px) {
	.card { flex-direction: row; align-items: flex-start; }
	.card__media { flex: 0 0 40%; }
	.card__body { padding: 0 0 0 var(--sp-4); }
	.card--large .card__title { font-size: var(--fs-base); }
	.card--large .card__excerpt { display: none; }
}

/* --- Accueil --- */
.front { padding-top: var(--sp-5); }
.hero { position: relative; border-radius: var(--radius-img); overflow: hidden; background: var(--ink); color: var(--white); }
.hero__link { position: relative; display: block; aspect-ratio: 16 / 9; color: var(--white); }
.hero__link:hover { text-decoration: none; }
.hero__link:hover .hero__title { text-decoration: underline; }
.hero__link:focus-visible { outline-color: var(--white); outline-offset: -4px; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-img); }
.hero__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 40px 50px; background: var(--gradient-une); border-radius: 0 0 var(--radius-img) var(--radius-img); }
.hero__category { font-size: var(--fs-label); line-height: 1.2; font-weight: 700; text-transform: uppercase; }
.hero__title { margin-top: var(--sp-4); max-width: 825px; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-display); line-height: 1.2; }
.hero__excerpt { margin-top: var(--sp-4); max-width: 825px; font-size: var(--fs-base); line-height: 1.3; }
.hero__meta { margin-top: var(--sp-4); font-size: var(--fs-small); }
.hero__meta time { text-transform: lowercase; }
@media (max-width: 767px) {
	.hero__link { aspect-ratio: 4 / 5; }
	.hero__content { padding: 80px 20px 24px; }
	.hero__excerpt { display: none; }
}
.home__main { margin-top: var(--sp-8); }
.home__main { row-gap: var(--sp-8); }
.home__main .card__title { font-size: var(--fs-menu); }
@media (max-width: 767px) { .home__main { margin-top: var(--sp-5); row-gap: 20px; } .home__main .card__title { font-size: var(--fs-base); } }

.section { margin-top: var(--sp-11); }
@media (max-width: 767px) { .section { margin-top: var(--sp-8); } }
.section__title { margin-bottom: var(--sp-5); font-size: var(--fs-h2); line-height: 1.2; font-weight: 800; }
.section__title a:hover { text-decoration: underline; }
.section .card__body { padding-top: var(--sp-4); }
.five { display: grid; gap: var(--gutter); grid-template-columns: 1fr 2fr 1fr; grid-template-areas: "a center c" "b center d"; align-items: start; }
.five__a { grid-area: a; } .five__b { grid-area: b; } .five__c { grid-area: c; } .five__d { grid-area: d; } .five__center { grid-area: center; }
@media (max-width: 991px) { .five { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "center center" "a c" "b d"; } }
@media (max-width: 767px) { .five { grid-template-columns: 1fr; grid-template-areas: "center" "a" "b" "c" "d"; gap: 20px; } }

/* --- Archives --- */
.listing { padding-top: var(--sp-5); }
.archive__header { margin-bottom: var(--sp-8); max-width: 825px; }
.archive__kicker { font-size: var(--fs-label); font-weight: 700; text-transform: uppercase; margin-bottom: var(--sp-3); }
.archive__kicker:empty { display: none; }
.archive__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-display); line-height: 1.2; }
.archive__desc { margin-top: var(--sp-4); font-size: var(--fs-base); line-height: 1.4; color: var(--text-article); }
.archive__search { margin-top: var(--sp-5); }
.empty { font-size: var(--fs-base); }
.pagination { margin-top: var(--sp-9); }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); list-style: none; }
.pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 20px; font-weight: 700; font-size: var(--fs-link); }
.pagination a:hover { background: var(--rule-10); text-decoration: none; }
.pagination .current { background: var(--brand); color: var(--on-brand); }

/* --- Article --- */
.article { padding-top: var(--sp-5); }
.article__header-inner { max-width: 825px; margin-inline: auto; text-align: center; }
.article__category { font-size: var(--fs-label); line-height: 1.2; font-weight: 700; text-transform: uppercase; margin-bottom: var(--sp-3); }
.article__title { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-display); line-height: 1.2; margin-bottom: var(--sp-4); text-wrap: balance; }
/* Ligne auteur et date, bouton de partage à sa droite (au bord droit sur mobile, comme la référence). */
.article__infos { position: relative; display: flex; align-items: center; justify-content: center; gap: var(--sp-3); padding-bottom: var(--sp-4); margin-bottom: var(--sp-4); border-bottom: 1px solid var(--rule-10); font-size: var(--fs-small); line-height: 1.2; color: #000; }
.article__byline { min-width: 0; }
.article__author { color: var(--brand-text); font-weight: 700; }
.article__date time { text-transform: lowercase; }
.article__chapo { font-size: var(--fs-chapo); line-height: 1.35; color: var(--text-article); }
/* Image à la une : 1200 px au plus ; en dessous, elle va d'un bord à l'autre de l'écran (comme la référence). */
.article__figure { max-width: 1200px; margin: var(--sp-7) auto 0; }
.article__image { width: 100%; border-radius: var(--radius-img); }
.article__figure figcaption { padding-top: var(--sp-3); font-size: var(--fs-small); color: var(--text-caption); }
@media (max-width: 1229px) { .article__figure figcaption { padding-inline: calc(var(--gutter) / 2); } }
@media (max-width: 1199px) { .article__image { border-radius: 0; } }
.article__body { margin-top: var(--sp-5); }
.article__reading { font-size: var(--fs-lead); line-height: 1.3; font-weight: 700; color: var(--text-article); }
.article__single { max-width: 733px; margin-inline: auto; }
.article--page .article__body { display: block; }
/* Partage : rangée d'icônes en bas d'article (cibles de 48 px), bouton et panneau de l'en-tête (mêmes boutons).
   Au repos : cercle en contour (fond transparent), icône de la couleur du contour : --brand-text, 4,9:1 sur le fond crème.
   Survol, focus clavier, appui : cercle plein de cette même couleur, icône blanche (5,4:1).
   Ces règles ne visent que .article__share et .share-menu : les autres boutons ronds (recherche, menu, pied de page) gardent leur style. */
.article__share { display: flex; flex-wrap: wrap; gap: var(--sp-3); list-style: none; margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--rule-10); scroll-margin-top: calc(var(--hdr-top) + var(--hdr-bottom) + var(--adminbar) + var(--sp-5)); }
.article__share .round-btn, .share-menu .round-btn { width: 48px; height: 48px; border: 1px solid var(--brand-text); background: transparent; color: var(--brand-text); font-size: var(--fs-small); font-weight: 700; transition: background-color .2s ease, color .2s ease; -webkit-tap-highlight-color: transparent; }
.article__share .round-btn svg, .share-menu .round-btn svg { width: 22px; height: 22px; }
.article__share .round-btn:focus-visible, .article__share .round-btn:active,
.share-menu a.round-btn:focus-visible, .share-menu a.round-btn:active, .share-toggle[aria-expanded="true"],
.share-copy:focus-visible .share-copy__icon, .share-copy:active .share-copy__icon { background: var(--brand-text); color: var(--white); }
/* Appui : plein tout de suite (un appui tactile dure moins longtemps que la transition) ; le retour au contour reste progressif. */
.article__share .round-btn:active, .share-menu a.round-btn:active, .share-copy:active .share-copy__icon { transition-duration: 0s; }
/* Survol réservé aux pointeurs qui survolent vraiment : sur écran tactile, :hover resterait « collé » après l'appui. */
@media (hover: hover) { .article__share .round-btn:hover, .share-menu a.round-btn:hover, .share-copy:hover .share-copy__icon { background: var(--brand-text); color: var(--white); } }

/* Bouton de partage de l'en-tête d'article : 44 px, à droite de la date. Le panneau s'ouvre dessous, centré sur le bouton ;
   sur mobile il est centré sur la ligne (jamais plus large que l'écran) et le bouton est poussé au bord droit. */
.share-menu { position: relative; flex: none; }
.share-menu .share-toggle { width: 44px; height: 44px; }
.share-menu .share-toggle svg { width: 20px; height: 20px; }
.share-panel { position: absolute; z-index: 20; top: calc(100% + var(--sp-3)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: var(--sp-3) var(--sp-4); width: max-content; max-width: calc(100vw - var(--gutter)); padding: var(--sp-4); background: var(--white); border: 1px solid var(--rule-10); border-radius: var(--radius-img); box-shadow: 0 6px 24px rgba(26, 27, 40, .16); text-align: left; }
.share-panel[hidden] { display: none; }
.share-panel__list { display: flex; gap: var(--sp-3); list-style: none; }
.share-copy { display: inline-flex; align-items: center; gap: var(--sp-3); padding: 0; border: 0; border-radius: 24px; background: transparent; color: var(--ink); font-size: var(--fs-small); font-weight: 700; white-space: nowrap; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.share-copy__label { min-width: 7.5em; text-align: left; }
@media (max-width: 767px) {
	.article__infos { justify-content: space-between; text-align: left; }
	.share-menu { position: static; }
	.share-panel { top: calc(100% - var(--sp-2)); flex-wrap: wrap; justify-content: center; max-width: 100%; }
}

/* Corps d'article : colonne de lecture */
.entry-content { font-family: var(--font-serif); font-weight: 400; font-size: var(--fs-article); line-height: 30px; color: var(--text-article); overflow-wrap: break-word; }
@media (max-width: 767px) { .entry-content { line-height: 1.55; } }
.entry-content > * { margin-top: var(--sp-5); margin-bottom: 0; }
.entry-content > :first-child { margin-top: var(--sp-3); }
.entry-content p { margin-bottom: 0; }
.entry-content a { color: var(--text-article); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--ink); }
.entry-content h2, .entry-content h3, .entry-content h4 { font-family: var(--font-ui); font-weight: 800; color: var(--brand-text); line-height: 1.2; margin-top: var(--sp-8); }
.entry-content h2 { font-size: var(--fs-h2); }
.entry-content h3 { font-size: 26px; }
.entry-content h4 { font-size: var(--fs-menu); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: 8px; }
.entry-content blockquote { margin-left: 0; padding-left: var(--sp-5); border-left: 4px solid var(--brand); font-style: italic; }
.entry-content figure, .entry-content .wp-block-image { margin-inline: 0; }
.entry-content img { border-radius: var(--radius-img); }
.entry-content figcaption { font-family: var(--font-ui); font-size: var(--fs-small); color: var(--text-caption); padding-top: var(--sp-3); line-height: 1.3; }
.entry-content .wp-block-embed iframe, .entry-content iframe { width: 100%; border: 0; }
.entry-content .wp-block-embed__wrapper { position: relative; }
.entry-content .wp-has-aspect-ratio iframe { position: absolute; inset: 0; height: 100%; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: var(--fs-link); line-height: 1.4; }
.entry-content th, .entry-content td { padding: 10px; border-bottom: 1px solid var(--rule-20); text-align: left; }
.entry-content pre { overflow-x: auto; padding: var(--sp-4); background: var(--white); font-size: 15px; line-height: 1.5; border-radius: var(--radius-img); }
.entry-content hr { border: 0; border-top: 1px solid var(--rule-20); }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: 0 var(--sp-5) var(--sp-3) 0; }
.entry-content .alignright { float: right; margin: 0 0 var(--sp-3) var(--sp-5); }
.page-links { font-family: var(--font-ui); }

/* --- Pied de page --- */
.site-footer { margin-top: var(--sp-11); background: var(--white); padding-top: var(--sp-6); font-size: var(--fs-link); }
.site-footer__cols { display: grid; grid-template-columns: 240px 250px minmax(0, 1fr); gap: var(--sp-5) var(--sp-9); align-items: start; padding-bottom: var(--sp-5); }
.footer-logo img { height: 56px; width: auto; }
.footer-follow { margin-top: var(--sp-4); font-size: var(--fs-base); }
.site-footer .social-btns { margin-top: var(--sp-3); }
.subnav ul { list-style: none; }
.subnav li { margin-bottom: var(--sp-4); }
.subnav .menu--secondary { padding-top: var(--sp-4); border-top: 1px solid var(--rule-20); }
.satellite__block { padding-bottom: var(--sp-4); margin-bottom: var(--sp-4); border-bottom: 1px solid var(--rule-20); }
.satellite__block:last-child { border-bottom: 0; margin-bottom: 0; }
.satellite__title { font-size: var(--fs-link); font-weight: 800; margin-bottom: var(--sp-2); }
.satellite p { line-height: 1.4; }
.satellite__list { list-style: none; }
.satellite__list li { padding: 4px 0; line-height: 1.3; }
.footer-bottom { display: flex; width: 100%; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: var(--sp-4); padding-block: var(--sp-4); border-top: 1px solid var(--rule-20); font-size: var(--fs-small); }
.footer-bottom ul { display: flex; gap: var(--sp-4); list-style: none; }
.footer-bottom { max-width: calc(var(--container) + var(--gutter)); margin-inline: auto; padding-inline: calc(var(--gutter) / 2); }
@media (max-width: 991px) { .site-footer__cols { grid-template-columns: 1fr 1fr; gap: var(--sp-5); } .site-footer__col--about { grid-column: 1 / -1; } }
@media (max-width: 575px) { .site-footer__cols { grid-template-columns: 1fr; } }

/* --- Éditeur / accessibilité divers --- */
.wp-block-image img { height: auto; }
.gb-container img { max-width: 100%; }
@media print { .site-header, .side-menu, .menu-overlay, .site-footer, .article__share, .share-menu { display: none !important; } body { padding-top: 0; background: #fff; } }
