/* ==========================================================================
   Grand Format — feuille de style principale
   Charte : bleu nuit #0B1F3A · rouge #E30613 · bleu ciel #0085CA · jaune #F7D618
   Typo   : Inter (titres, interface) · Source Serif 4 (texte des articles)
   ========================================================================== */

:root {
	--gf-primary: #0B1F3A;
	--gf-primary-deep: #071428;
	--gf-accent: #E30613;
	--gf-blue: #0085CA;
	--gf-yellow: #FEEC04;

	--gf-bg: #FFFFFF;
	--gf-surface: #F3F5F8;
	--gf-text: #0E1726;
	--gf-muted: #5B6B82;
	--gf-border: #E2E7EE;
	--gf-card-title: #0E1726;

	--gf-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--gf-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

	--gf-radius: 4px;
	--gf-gap: 24px;
	--gf-container: 1280px;
	--gf-shadow: 0 1px 2px rgba(11, 31, 58, .06), 0 8px 24px rgba(11, 31, 58, .06);
	--gf-ease: cubic-bezier(.2, .7, .2, 1);
}

.gf-dark {
	--gf-bg: #0A1220;
	--gf-surface: #111C2E;
	--gf-text: #E8EDF4;
	--gf-muted: #9AA8BC;
	--gf-border: #1F2D44;
	--gf-card-title: #F2F5FA;
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--gf-bg);
	color: var(--gf-text);
	font: 400 16px/1.55 var(--gf-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gf-accent); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.15; font-weight: 800; letter-spacing: -.015em; color: var(--gf-card-title); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gf-blue); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 8px; left: 8px; padding: 12px 18px; background: var(--gf-accent); color: #fff; font-weight: 700;
}

.gf-container { width: 100%; max-width: var(--gf-container); margin: 0 auto; padding: 0 20px; }
.gf-icon { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }
.gf-btn, .wp-block-button__link, input[type="submit"] {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--gf-accent); color: #fff; border: 0; border-radius: var(--gf-radius);
	padding: 12px 22px; font-weight: 700; font-size: 15px; transition: background .2s;
}
.gf-btn:hover, input[type="submit"]:hover { background: #b8040f; color: #fff; }

input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
	width: 100%; padding: 12px 14px; font: inherit; color: var(--gf-text);
	background: var(--gf-bg); border: 1px solid var(--gf-border); border-radius: var(--gf-radius);
}
input:focus, textarea:focus, select:focus { border-color: var(--gf-blue); outline: none; box-shadow: 0 0 0 3px rgba(0, 133, 202, .18); }

/* ---------- Barre supérieure ---------- */
.gf-topbar { background: var(--gf-primary-deep); color: rgba(255, 255, 255, .72); font-size: 13px; }
.gf-topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 36px; }
.gf-topbar__date { font-weight: 500; }
.gf-topbar__menu { display: flex; gap: 18px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.gf-topbar__menu a:hover { color: #fff; }
.gf-topbar__social { margin-left: 8px; }
.gf-topbar .gf-social a { color: rgba(255, 255, 255, .72); }
.gf-topbar .gf-social .gf-icon { width: 16px; height: 16px; }

/* ---------- En-tête ---------- */
.gf-header { background: var(--gf-bg); position: relative; z-index: 50; }
.gf-sticky-header .gf-header { position: sticky; top: 0; }
.admin-bar.gf-sticky-header .gf-header { top: 32px; }
.gf-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; transition: padding .25s var(--gf-ease); }
.gf-logo { display: inline-flex; justify-self: center; }
.gf-logo img { height: 74px; width: auto; display: block; transition: height .25s var(--gf-ease); }
.gf-header.is-stuck .gf-header__inner { padding-top: 8px; padding-bottom: 8px; }
.gf-header.is-stuck .gf-logo img { height: 50px; }
.gf-header.is-stuck { box-shadow: 0 6px 20px rgba(11, 31, 58, .12); }
.gf-logo picture { display: block; }
.gf-logo .gf-logo__dark { display: none; }
.gf-dark .gf-logo.has-dark .gf-logo__light { display: none !important; }
.gf-dark .gf-logo.has-dark .gf-logo__dark { display: block; }

.gf-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 42px; height: 42px; padding: 0 10px; border: 0; border-radius: 50%;
	background: transparent; color: var(--gf-text); transition: background .2s;
}
.gf-iconbtn:hover { background: var(--gf-surface); color: var(--gf-accent); }
.gf-header__burger { justify-self: start; border-radius: 999px; font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.gf-header__actions { display: flex; align-items: center; gap: 6px; justify-self: end; }

.gf-livebtn {
	display: inline-flex; align-items: center; gap: 8px; margin-left: 6px;
	background: var(--gf-accent); color: #fff; font-weight: 800; font-size: 14px;
	text-transform: uppercase; letter-spacing: .06em; padding: 10px 16px; border-radius: 999px;
	transition: transform .2s, background .2s;
}
.gf-livebtn:hover { color: #fff; background: #b8040f; transform: translateY(-1px); }
.gf-livebtn i, .gf-flag--live i, .gf-dot {
	width: 8px; height: 8px; border-radius: 50%; background: #fff; display: inline-block;
	animation: gf-pulse 1.4s infinite;
}
@keyframes gf-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); }
	70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Navigation des rubriques */
.gf-nav { background: var(--gf-primary); }
.gf-nav__menu { display: flex; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.gf-nav__menu::-webkit-scrollbar { display: none; }
.gf-nav__menu > li { position: relative; flex-shrink: 0; }
.gf-nav__menu > li > a {
	display: block; padding: 14px 16px; color: #fff; font-size: 14px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .04em; position: relative; white-space: nowrap;
}
.gf-nav__menu > li > a::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 3px;
	background: var(--gf-accent); transform: scaleX(0); transition: transform .25s var(--gf-ease);
}
.gf-nav__menu > li > a:hover::after,
.gf-nav__menu > .current-menu-item > a::after,
.gf-nav__menu > .current-category-ancestor > a::after,
.gf-nav__menu > .current-post-ancestor > a::after { transform: scaleX(1); }
.gf-nav__menu > li > a:hover { color: #fff; }
.gf-nav .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 8px 0;
	background: var(--gf-bg); box-shadow: var(--gf-shadow); border-top: 3px solid var(--gf-accent);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .2s;
}
.gf-nav li:hover > .sub-menu, .gf-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.gf-nav .sub-menu a { display: block; padding: 9px 18px; font-weight: 600; font-size: 14px; }

/* Recherche */
.gf-search { background: var(--gf-surface); border-bottom: 1px solid var(--gf-border); padding: 22px 0; }
.gf-searchform { display: flex; max-width: 760px; margin: 0 auto; }
.gf-searchform input { border-radius: var(--gf-radius) 0 0 var(--gf-radius); font-size: 17px; padding: 14px 18px; }
.gf-searchform button { border: 0; background: var(--gf-accent); color: #fff; padding: 0 20px; border-radius: 0 var(--gf-radius) var(--gf-radius) 0; }

/* Tiroir mobile */
.gf-drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
.gf-drawer.is-open { visibility: visible; }
.gf-drawer__backdrop { position: absolute; inset: 0; background: rgba(7, 20, 40, .55); opacity: 0; transition: opacity .3s; }
.gf-drawer.is-open .gf-drawer__backdrop { opacity: 1; }
.gf-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); z-index: 2; overflow-y: auto;
	background: var(--gf-primary); color: #fff; padding: 18px 22px 32px;
	transform: translateX(-100%); transition: transform .35s var(--gf-ease);
}
.gf-drawer.is-open .gf-drawer__panel { transform: none; }
.gf-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.gf-drawer__head .gf-logo img { height: 48px; }
.gf-drawer .gf-iconbtn { color: #fff; }
.gf-drawer .gf-iconbtn:hover { background: rgba(255, 255, 255, .1); }
.gf-drawer .gf-searchform { margin-bottom: 18px; }
.gf-drawer__menu { list-style: none; margin: 0 0 18px; padding: 0; }
.gf-drawer__menu a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-weight: 700; font-size: 17px; }
.gf-drawer__menu a:hover { color: var(--gf-yellow); }
.gf-drawer__menu .sub-menu { list-style: none; padding-left: 14px; }
.gf-drawer__menu--small a { font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.gf-drawer .gf-social a { color: #fff; }
body.gf-locked { overflow: hidden; }

/* ---------- Bandeau défilant ---------- */
.gf-ticker { background: var(--gf-surface); border-bottom: 1px solid var(--gf-border); }
.gf-ticker__inner { display: flex; align-items: stretch; overflow: hidden; }
.gf-ticker__label {
	flex-shrink: 0; display: flex; align-items: center; padding: 0 16px; margin: 8px 16px 8px 0;
	background: var(--gf-primary); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 2px;
}
.gf-ticker.is-urgent .gf-ticker__label { background: var(--gf-accent); }
.gf-ticker__viewport { overflow: hidden; flex: 1; -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); }
.gf-ticker__track { display: flex; gap: 40px; list-style: none; margin: 0; padding: 12px 0; width: max-content; animation: gf-marquee 60s linear infinite; }
.gf-ticker:hover .gf-ticker__track { animation-play-state: paused; }
.gf-ticker__track li { white-space: nowrap; font-size: 14px; font-weight: 600; display: flex; gap: 10px; }
.gf-ticker__time { color: var(--gf-accent); font-weight: 800; }
@keyframes gf-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.gf-ad { text-align: center; padding: 18px 20px; }

/* ---------- Badges & étiquettes ---------- */
.gf-card__kicker { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.gf-badge {
	color: var(--cat, var(--gf-accent)); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}
.gf-badge:hover { color: var(--gf-text); }
.gf-flag {
	display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 2px;
	font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--gf-accent);
}
.gf-flag--urgent { background: var(--gf-accent); }
.gf-flag--live i { width: 6px; height: 6px; }
.gf-time { color: var(--gf-muted); font-size: 13px; font-weight: 500; }

/* ---------- Cartes ---------- */
.gf-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.gf-card__media { position: relative; display: block; overflow: hidden; border-radius: var(--gf-radius); background: var(--gf-surface); aspect-ratio: 16 / 9; }
.gf-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--gf-ease); }
.gf-card:hover .gf-card__media img { transform: scale(1.04); }
.gf-card__body { padding-top: 12px; display: flex; flex-direction: column; flex: 1; }
.gf-card__title { font-size: 18px; line-height: 1.25; margin: 0 0 8px; }
.gf-card__title a:hover { color: var(--gf-accent); }
.gf-card__excerpt { color: var(--gf-muted); font-size: 15px; margin: 0 0 10px; }
.gf-card__foot { margin-top: auto; }

.gf-thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--gf-primary), #183a66); }
.gf-thumb-fallback img { width: 26%; max-width: 90px; opacity: .9; }
.gf-play {
	position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center; background: var(--gf-accent); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.gf-play .gf-icon { width: 22px; height: 22px; margin-left: 2px; }

/* Grand format (Une) */
.gf-card--hero .gf-card__title { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.gf-card--hero .gf-card__excerpt { font-family: var(--gf-serif); font-size: 18px; color: var(--gf-muted); }
.gf-card--hero .gf-card__body { padding-top: 16px; }

/* Liste horizontale */
.gf-card--list { flex-direction: row; gap: 16px; align-items: flex-start; }
.gf-card--list .gf-card__media { width: 38%; max-width: 220px; flex-shrink: 0; }
.gf-card--list .gf-card__body { padding-top: 0; }
.gf-card--list .gf-card__title { font-size: 16px; }
.gf-card--list .gf-play { width: 32px; height: 32px; left: 8px; bottom: 8px; }
.gf-card--list .gf-play .gf-icon { width: 16px; height: 16px; }

/* Titre sur image */
.gf-card--overlay .gf-card__media { aspect-ratio: 16 / 10; background: var(--gf-primary); }
.gf-card--overlay .gf-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(7, 20, 40, .92)); }
.gf-card--overlay .gf-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; pointer-events: none; }
.gf-card--overlay .gf-card__body a { pointer-events: auto; }
.gf-card--overlay .gf-card__title { color: #fff; font-size: clamp(20px, 2.2vw, 28px); }
.gf-card--overlay .gf-card__title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.gf-card--overlay .gf-card__excerpt { color: rgba(255, 255, 255, .82); }
.gf-card--overlay .gf-time { color: rgba(255, 255, 255, .75); }
.gf-card--overlay .gf-badge { color: #fff; background: var(--cat, var(--gf-accent)); padding: 3px 8px; border-radius: 2px; font-size: 11px; }
.gf-card--overlay .gf-play { top: 16px; bottom: auto; left: 16px; z-index: 2; }

/* Titre seul */
.gf-card--text { border-top: 1px solid var(--gf-border); padding-top: 12px; }

/* ---------- Accueil ---------- */
.gf-home { padding-top: 28px; padding-bottom: 12px; }
.gf-band--top { padding-top: 28px; }
.gf-home__top { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; align-items: start; }
.gf-home__aside { position: sticky; top: 140px; }
.gf-home__split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 36px; }

.gf-hero { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: var(--gf-gap); padding-bottom: 32px; border-bottom: 1px solid var(--gf-border); margin-bottom: 32px; }
.gf-hero__side { display: grid; grid-template-columns: 1fr; gap: 18px; align-content: start; }
.gf-hero__side .gf-card--card .gf-card__title { font-size: 17px; }
.gf-hero__side .gf-card--list { border-top: 1px solid var(--gf-border); padding-top: 16px; }
.gf-hero__side .gf-card--list .gf-card__media { width: 112px; }
.gf-hero__side .gf-card--card { display: grid; grid-template-columns: 1fr; }

/* ---------- Sections ---------- */
.gf-section { margin-bottom: 44px; }
.gf-section__head {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	border-bottom: 2px solid var(--gf-text); margin-bottom: 20px; padding-bottom: 10px;
}
.gf-section__title {
	margin: 0; font-size: 22px; text-transform: uppercase; letter-spacing: .01em; display: flex; align-items: center; gap: 12px;
}
.gf-section__title::before { content: ""; width: 6px; height: 22px; background: var(--cat, var(--gf-accent)); border-radius: 1px; }
.gf-section__more { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gf-muted); }
.gf-section__more .gf-icon { width: 16px; height: 16px; transition: transform .2s; }
.gf-section__more:hover .gf-icon { transform: translateX(3px); }

.gf-section__grid { display: grid; gap: var(--gf-gap); }
.gf-section--grid .gf-section__grid,
.gf-section--overlay .gf-section__grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.gf-section--list .gf-section__grid { grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); gap: 20px 32px; }
.gf-section--list .gf-card--list { border-bottom: 1px solid var(--gf-border); padding-bottom: 20px; }
.gf-section--mixed .gf-section__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-auto-flow: dense; }
.gf-section--mixed .gf-card--overlay { grid-row: span 4; }
.gf-section--mixed .gf-card--overlay .gf-card__media { aspect-ratio: auto; height: 100%; min-height: 380px; }
.gf-section--mixed .gf-card--list .gf-card__media { width: 120px; }

/* ---------- Fil info ---------- */
.gf-fil { border: 1px solid var(--gf-border); border-top: 4px solid var(--gf-accent); background: var(--gf-bg); margin-bottom: 28px; }
.gf-fil__head { display: flex; align-items: center; gap: 10px; padding: 16px 18px 6px; }
.gf-fil__head h2 { margin: 0; font-size: 18px; text-transform: uppercase; }
.gf-fil__head .gf-dot { background: var(--gf-accent); animation-name: gf-pulse-red; }
@keyframes gf-pulse-red {
	0% { box-shadow: 0 0 0 0 rgba(227, 6, 19, .6); }
	70% { box-shadow: 0 0 0 8px rgba(227, 6, 19, 0); }
	100% { box-shadow: 0 0 0 0 rgba(227, 6, 19, 0); }
}
.gf-fil__list { list-style: none; margin: 0; padding: 6px 18px 0; }
.gf-fil__item { display: grid; grid-template-columns: 48px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--gf-border); position: relative; }
.gf-fil__item:last-child { border-bottom: 0; }
.gf-fil__item time { color: var(--gf-accent); font-weight: 800; font-size: 14px; }
.gf-fil__item a { font-weight: 600; font-size: 15px; line-height: 1.35; }
.gf-fil__item .gf-flag { margin: 0 6px 4px 0; padding: 2px 6px; font-size: 10px; }
.gf-fil__all { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 14px; border-top: 1px solid var(--gf-border); font-weight: 700; font-size: 14px; color: var(--gf-accent); }

/* ---------- Les plus lus ---------- */
.gf-mostread { margin-bottom: 36px; }
.gf-mostread__title { font-size: 20px; text-transform: uppercase; border-bottom: 2px solid var(--gf-text); padding-bottom: 10px; margin-bottom: 8px; }
.gf-mostread ol { list-style: none; margin: 0; padding: 0; counter-reset: gfmr; }
.gf-mostread li { counter-increment: gfmr; display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--gf-border); font-weight: 700; line-height: 1.3; }
.gf-mostread li::before { content: counter(gfmr); font-size: 34px; font-weight: 900; line-height: .9; color: var(--gf-accent); letter-spacing: -.04em; }

/* ---------- Vidéos ---------- */
.gf-videos { background: var(--gf-primary); color: #fff; padding: 40px 0 44px; margin: 12px 0 44px; }
.gf-videos .gf-section__head { border-color: rgba(255, 255, 255, .85); }
.gf-videos .gf-section__title, .gf-videos .gf-section__title a, .gf-videos .gf-card__title { color: #fff; }
.gf-videos .gf-section__more { color: rgba(255, 255, 255, .75); }
.gf-videos__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: var(--gf-gap); }
.gf-videos__grid .gf-card--overlay { grid-row: span 2; }
.gf-videos__grid .gf-card--overlay .gf-card__media { aspect-ratio: auto; height: 100%; min-height: 360px; }
.gf-videos .gf-time { color: rgba(255, 255, 255, .6); }
.gf-videos .gf-card__title a:hover { color: var(--gf-yellow); }

/* ---------- Direct ---------- */
.gf-live { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0; background: var(--gf-primary-deep); color: #fff; border-radius: var(--gf-radius); overflow: hidden; margin-bottom: 32px; }
.gf-live__player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.gf-live__player iframe, .gf-live__player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gf-live__info { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.gf-live__info h2 { color: #fff; font-size: 28px; }
.gf-live__info p { color: rgba(255, 255, 255, .75); }
.gf-livepage { background: var(--gf-primary-deep); padding: 32px 0; }
.gf-livepage .gf-live { margin: 0; }
.gf-livepage__text { color: rgba(255, 255, 255, .85); padding-top: 24px; }
.gf-notice { background: #FFF6D6; color: #5A4500; padding: 14px 18px; border-left: 4px solid var(--gf-yellow); }

/* ---------- Mise en page article / archives ---------- */
.gf-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 28px; padding-bottom: 40px; }
.no-sidebar .gf-layout:not(.gf-layout--single) { grid-template-columns: minmax(0, 1fr); }
.gf-sticky { position: sticky; top: 140px; }
.gf-layout__aside .widget { margin-bottom: 32px; }
.widget-title { font-size: 18px; text-transform: uppercase; border-bottom: 2px solid var(--gf-text); padding-bottom: 10px; margin-bottom: 14px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--gf-border); }

.gf-breadcrumbs { font-size: 13px; color: var(--gf-muted); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.gf-breadcrumbs a { font-weight: 600; }

.gf-archivehead { background: var(--gf-surface); border-bottom: 1px solid var(--gf-border); padding: 28px 0 26px; position: relative; }
.gf-archivehead::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--cat, var(--gf-accent)); }
.gf-archivehead__title { font-size: clamp(30px, 4vw, 48px); text-transform: uppercase; margin: 0; letter-spacing: -.02em; }
.gf-archivehead__desc { color: var(--gf-muted); max-width: 760px; margin-top: 10px; }
.gf-archivehead .gf-searchform { margin: 18px 0 0; }
.gf-subcats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 16px 0 0; }
.gf-subcats a { display: inline-block; padding: 6px 14px; border: 1px solid var(--gf-border); background: var(--gf-bg); border-radius: 999px; font-size: 13px; font-weight: 700; }
.gf-pagehead__title { font-size: 34px; text-transform: uppercase; border-bottom: 2px solid var(--gf-text); padding-bottom: 12px; }
.gf-archive__list { display: grid; gap: 24px; }
.gf-archive__list .gf-card--hero { padding-bottom: 24px; border-bottom: 1px solid var(--gf-border); }
.gf-archive__list .gf-card--list { padding-bottom: 24px; border-bottom: 1px solid var(--gf-border); }
.gf-archive__list .gf-card--list .gf-card__media { max-width: 260px; }
.gf-archive__list .gf-card--list .gf-card__title { font-size: 20px; }

/* Article */
.gf-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 999; pointer-events: none; }
.gf-progress span { display: block; height: 100%; width: 0; background: var(--gf-accent); }
.gf-article__head { margin-bottom: 24px; }
.gf-article__title { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; letter-spacing: -.025em; margin: 6px 0 16px; }
.gf-article__lede { font-family: var(--gf-serif); font-size: clamp(19px, 2vw, 22px); line-height: 1.5; color: var(--gf-muted); font-weight: 600; margin-bottom: 20px; }
.gf-article__byline { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--gf-border); border-bottom: 1px solid var(--gf-border); margin-bottom: 14px; }
.gf-avatar { border-radius: 50%; }
.gf-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--gf-muted); }
.gf-meta__author { color: var(--gf-text); font-weight: 700; }
.gf-meta__author a { color: var(--gf-accent); }
.gf-article__source { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gf-muted); font-weight: 700; margin-top: 4px; }
.gf-article__figure { margin: 0 0 28px; }
.gf-article__figure img { width: 100%; border-radius: var(--gf-radius); }
.gf-article__figure figcaption { font-size: 13px; color: var(--gf-muted); padding: 8px 0; border-bottom: 1px solid var(--gf-border); }
.gf-ratio { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: var(--gf-radius); overflow: hidden; }
.gf-ratio iframe, .gf-ratio video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gf-share { display: flex; flex-wrap: wrap; gap: 8px; }
.gf-share__btn {
	width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gf-border);
	background: var(--gf-bg); color: var(--gf-text); transition: all .2s;
}
.gf-share__btn .gf-icon { width: 17px; height: 17px; }
.gf-share__btn:hover { color: #fff; border-color: transparent; }
.gf-share__btn--facebook:hover { background: #1877F2; }
.gf-share__btn--x:hover { background: #000; }
.gf-share__btn--whatsapp:hover { background: #25D366; }
.gf-share__btn--linkedin:hover { background: #0A66C2; }
.gf-share__btn--telegram:hover { background: #229ED9; }
.gf-share__btn--copy:hover, .gf-share__btn--copy.is-copied { background: var(--gf-accent); color: #fff; }

/* Corps de texte */
.gf-content { font-family: var(--gf-serif); font-size: 19px; line-height: 1.72; max-width: 760px; }
.gf-content > * { margin-bottom: 1.15em; }
.gf-content h2, .gf-content h3, .gf-content h4 { font-family: var(--gf-sans); margin-top: 1.6em; }
.gf-content h2 { font-size: 26px; }
.gf-content h3 { font-size: 21px; }
.gf-content a { color: var(--gf-accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.gf-content blockquote, .gf-content .wp-block-quote {
	margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--gf-accent);
	font-size: 23px; line-height: 1.45; font-style: italic; font-weight: 600;
}
.gf-content blockquote cite { display: block; margin-top: 10px; font-family: var(--gf-sans); font-size: 14px; font-style: normal; color: var(--gf-muted); }
.gf-content figure { margin: 1.6em 0; }
.gf-content figcaption, .wp-caption-text { font-family: var(--gf-sans); font-size: 13px; color: var(--gf-muted); margin-top: 8px; }
.gf-content img { border-radius: var(--gf-radius); }
.gf-content ul, .gf-content ol { padding-left: 1.3em; }
.gf-content li { margin-bottom: .4em; }
.gf-content table { width: 100%; border-collapse: collapse; font-family: var(--gf-sans); font-size: 15px; }
.gf-content th, .gf-content td { padding: 10px; border-bottom: 1px solid var(--gf-border); text-align: left; }
.gf-content .wp-block-embed iframe { width: 100%; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide { max-width: none; }

.gf-article__foot { max-width: 760px; margin-top: 32px; }
.gf-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.gf-tags span { font-weight: 800; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; margin-right: 6px; }
.gf-tags a { padding: 6px 12px; background: var(--gf-surface); border-radius: 999px; font-size: 13px; font-weight: 600; }
.gf-article__sharebottom { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--gf-border); border-bottom: 1px solid var(--gf-border); }
.gf-authorbox { display: flex; gap: 16px; margin-top: 24px; padding: 20px; background: var(--gf-surface); border-radius: var(--gf-radius); }
.gf-authorbox img { border-radius: 50%; }
.gf-authorbox__name { font-weight: 800; font-size: 17px; }
.gf-authorbox p { margin: 6px 0 0; color: var(--gf-muted); font-size: 15px; }

.post-navigation { margin: 36px 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: block; padding: 18px; border: 1px solid var(--gf-border); border-radius: var(--gf-radius); font-weight: 700; line-height: 1.3; height: 100%; }
.post-navigation a span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gf-accent); margin-bottom: 6px; }
.post-navigation .nav-next { text-align: right; }

.gf-page { padding-top: 28px; padding-bottom: 48px; max-width: 900px; }
.gf-page-builder { width: 100%; }

/* Pagination */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 36px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--gf-border); border-radius: var(--gf-radius); font-weight: 700; }
.page-numbers.current, .page-numbers:hover { background: var(--gf-accent); border-color: var(--gf-accent); color: #fff; }

/* Commentaires */
.gf-comments { margin-top: 36px; max-width: 760px; }
.gf-comments__list { list-style: none; padding: 0; }
.gf-comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--gf-border); }
.gf-comments__list .children { list-style: none; padding-left: 28px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 10px; }
.comment-metadata { font-size: 12px; color: var(--gf-muted); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }

/* 404 / vide */
.gf-404 { text-align: center; padding-top: 56px; padding-bottom: 20px; }
.gf-404__code { font-size: clamp(90px, 18vw, 180px); font-weight: 900; line-height: 1; color: var(--gf-accent); letter-spacing: -.06em; margin: 0; }
.gf-404 .gf-searchform { margin: 24px auto; }
.gf-404 .gf-section { text-align: left; margin-top: 48px; }
.gf-empty { padding: 40px; text-align: center; background: var(--gf-surface); border-radius: var(--gf-radius); }

/* ---------- Pied de page ---------- */
.gf-footer { background: var(--gf-primary); color: rgba(255, 255, 255, .78); font-size: 15px; margin-top: 24px; }
.gf-footer__flag { display: flex; height: 5px; }
.gf-footer__flag span { flex: 1; }
.gf-footer__flag span:nth-child(1) { background: var(--gf-blue); }
.gf-footer__flag span:nth-child(2) { background: var(--gf-yellow); }
.gf-footer__flag span:nth-child(3) { background: var(--gf-accent); }
.gf-footer__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 48px 0 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.gf-footer__brand .gf-logo img { height: 64px; margin-bottom: 18px; }
.gf-footer__brand p { max-width: 440px; }
.gf-footer h3, .gf-footer .widget-title { color: #fff; border-color: rgba(255, 255, 255, .3); }
.gf-footer__news h3 { font-size: 22px; margin-bottom: 6px; }
.gf-newsletter { display: flex; margin-top: 14px; }
.gf-newsletter input { border: 0; border-radius: var(--gf-radius) 0 0 var(--gf-radius); padding: 14px 16px; background: #fff; color: #0E1726; }
.gf-newsletter button { border: 0; background: var(--gf-accent); color: #fff; font-weight: 800; padding: 0 22px; border-radius: 0 var(--gf-radius) var(--gf-radius) 0; white-space: nowrap; }
.gf-footer__widgets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding: 36px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.gf-footer .widget li { border-color: rgba(255, 255, 255, .1); }
.gf-footer a:hover { color: #fff; }
.gf-footer__menu { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; padding: 24px 0; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.gf-footer__menu a { color: #fff; font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .04em; }
.gf-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 20px 0 28px; font-size: 13px; }
.gf-footer__bottom p { margin: 0; }
.gf-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; }

.gf-social { display: flex; gap: 6px; flex-wrap: wrap; }
.gf-social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.gf-social--boxed a { width: 40px; height: 40px; background: rgba(255, 255, 255, .1); color: #fff; transition: background .2s; }
.gf-social--boxed a:hover { background: var(--gf-accent); color: #fff; }
.gf-layout__aside .gf-social--boxed a { background: var(--gf-primary); }

.gf-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 0;
	background: var(--gf-accent); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(227, 6, 19, .35);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
}
.gf-totop.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Divers WordPress ---------- */
.sticky .gf-card__title::before { content: "★ "; color: var(--gf-accent); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bypostauthor > .comment-body .fn { color: var(--gf-accent); }
.wp-block-pullquote { border-top: 4px solid var(--gf-accent); border-bottom: 4px solid var(--gf-accent); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.gf-home__top { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
	.gf-section--grid .gf-section__grid { grid-template-columns: repeat(min(var(--cols, 4), 3), minmax(0, 1fr)); }
	.gf-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}
@media (max-width: 900px) {
	.gf-home__top, .gf-home__split, .gf-layout { grid-template-columns: minmax(0, 1fr); }
	.gf-home__aside, .gf-sticky { position: static; }
	.gf-hero { grid-template-columns: minmax(0, 1fr); }
	.gf-hero__side { grid-template-columns: 1fr 1fr; }
	.gf-hero__side .gf-card--list { grid-column: 1 / -1; }
	.gf-section--grid .gf-section__grid, .gf-section--overlay .gf-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gf-section--mixed .gf-section__grid { grid-template-columns: minmax(0, 1fr); }
	.gf-section--mixed .gf-card--overlay { grid-row: auto; }
	.gf-section--mixed .gf-card--overlay .gf-card__media { min-height: 0; aspect-ratio: 16 / 10; }
	.gf-videos__grid { grid-template-columns: 1fr 1fr; }
	.gf-videos__grid .gf-card--overlay { grid-column: 1 / -1; grid-row: auto; }
	.gf-videos__grid .gf-card--overlay .gf-card__media { min-height: 0; aspect-ratio: 16 / 9; }
	.gf-live { grid-template-columns: 1fr; }
	.gf-footer__top { grid-template-columns: 1fr; gap: 32px; }
	.gf-footer__widgets { grid-template-columns: 1fr 1fr; }
	.gf-topbar__menu { display: none; }
}
@media (max-width: 782px) {
	.admin-bar.gf-sticky-header .gf-header { top: 0; }
}
@media (max-width: 640px) {
	body { font-size: 15px; }
	.gf-home { padding-top: 16px; }
	.gf-container { padding: 0 16px; }
	.gf-topbar { display: none; }
	.gf-header__inner { grid-template-columns: auto 1fr auto; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
	.gf-logo { justify-self: start; }
	.gf-logo img { height: 46px; }
	.gf-header.is-stuck .gf-logo img { height: 40px; }
	.gf-header__burger-label, .gf-darktoggle { display: none; }
	.gf-livebtn { padding: 8px 12px; font-size: 12px; }
	.gf-nav__menu > li > a { padding: 12px 12px; font-size: 13px; }
	.gf-hero__side { grid-template-columns: 1fr; }
	.gf-section--grid .gf-section__grid, .gf-section--overlay .gf-section__grid { grid-template-columns: minmax(0, 1fr); }
	.gf-section--grid .gf-card--card { flex-direction: row; gap: 14px; }
	.gf-section--grid .gf-card--card .gf-card__media { width: 40%; flex-shrink: 0; }
	.gf-section--grid .gf-card--card .gf-card__body { padding-top: 0; }
	.gf-section--grid .gf-card--card .gf-card__title { font-size: 16px; }
	.gf-section--grid .gf-section__grid > .gf-card:first-child { flex-direction: column; }
	.gf-section--grid .gf-section__grid > .gf-card:first-child .gf-card__media { width: 100%; }
	.gf-section--grid .gf-section__grid > .gf-card:first-child .gf-card__body { padding-top: 12px; }
	.gf-section--grid .gf-section__grid > .gf-card:first-child .gf-card__title { font-size: 20px; }
	.gf-videos__grid { grid-template-columns: 1fr; }
	.gf-card--overlay .gf-card__body { padding: 16px; }
	.gf-section__title { font-size: 18px; }
	.gf-content { font-size: 18px; }
	.gf-footer__widgets { grid-template-columns: 1fr; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.gf-archive__list .gf-card--list .gf-card__media { width: 36%; }
	.gf-archive__list .gf-card--list .gf-card__title { font-size: 16px; }
	.gf-archive__list .gf-card--list .gf-card__excerpt { display: none; }
	.gf-ticker__label { padding: 0 10px; margin-right: 10px; }
}

/* ==========================================================================
   Accueil v1.1 : bandes, habillages et dispositions supplémentaires
   ========================================================================== */
.gf-homepage { padding-bottom: 8px; }
.gf-band { position: relative; }
.gf-band:not(.gf-skin-default):not(.gf-band--top) { padding: 40px 0 4px; margin-bottom: 44px; }

/* Habillages : sur une bande pleine largeur (accueil) ou sur la section elle-même (Elementor, shortcode) */
.gf-section--boxed { padding: 28px 28px 4px; border-radius: 6px; }
.gf-skin-light { background: var(--gf-surface); }
.gf-skin-cat { background: color-mix(in srgb, var(--cat, var(--gf-accent)) 9%, var(--gf-bg)); }
.gf-skin-cat .gf-section__head { border-bottom-color: var(--cat, var(--gf-accent)); }
.gf-skin-cat .gf-section__title, .gf-skin-cat .gf-section__title a { color: var(--cat, var(--gf-accent)); }
.gf-skin-dark { background: var(--gf-primary); --gf-on: #fff; }
.gf-skin-accent { background: var(--gf-accent); --gf-on: #fff; }
.gf-skin-dark, .gf-skin-accent { color: rgba(255, 255, 255, .85); }
.gf-skin-dark .gf-section__head, .gf-skin-accent .gf-section__head { border-bottom-color: rgba(255, 255, 255, .85); }
.gf-skin-dark .gf-section__title, .gf-skin-dark .gf-section__title a,
.gf-skin-accent .gf-section__title, .gf-skin-accent .gf-section__title a,
.gf-skin-dark .gf-card__title, .gf-skin-accent .gf-card__title { color: #fff; }
.gf-skin-dark .gf-card__title a:hover { color: var(--gf-yellow); }
.gf-skin-accent .gf-card__title a:hover { color: var(--gf-primary); }
.gf-skin-dark .gf-section__more, .gf-skin-accent .gf-section__more,
.gf-skin-dark .gf-time, .gf-skin-accent .gf-time,
.gf-skin-dark .gf-card__excerpt, .gf-skin-accent .gf-card__excerpt { color: rgba(255, 255, 255, .75); }
.gf-skin-dark .gf-badge { color: var(--gf-yellow); }
.gf-skin-accent .gf-badge { color: #fff; }
.gf-skin-accent .gf-section__title::before { background: #fff; }
.gf-skin-accent .gf-flag { background: var(--gf-primary); }
.gf-skin-dark .gf-card--list, .gf-skin-accent .gf-card--list,
.gf-skin-dark .gf-section--list .gf-card--list, .gf-skin-accent .gf-section--list .gf-card--list { border-color: rgba(255, 255, 255, .18); }
.gf-skin-dark .gf-card__media, .gf-skin-accent .gf-card__media { background: rgba(255, 255, 255, .08); }
.gf-skin-dark .gf-card--overlay .gf-badge, .gf-skin-accent .gf-card--overlay .gf-badge { color: #fff; }

/* Grille 3 colonnes avec chapô */
.gf-section--cards3 .gf-section__grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.gf-section--cards3 .gf-card__title { font-size: 20px; }

/* À la une : 1 très grand + vignettes */
.gf-section--big .gf-section__grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.gf-section--big .gf-card--hero { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--gf-border); }
.gf-section--big .gf-card--hero .gf-card__body { padding-top: 0; }
.gf-skin-dark .gf-section--big .gf-card--hero, .gf-skin-dark.gf-section--big .gf-card--hero { border-color: rgba(255, 255, 255, .18); }

/* Sections avec peu d'articles : le style reste lisible */
.gf-section--mixed.gf-section--n1 .gf-section__grid { grid-template-columns: minmax(0, 1fr); }
.gf-section--mixed.gf-section--n1 .gf-card--overlay .gf-card__media { min-height: 0; aspect-ratio: 21 / 9; }
.gf-section--overlay.gf-section--n1 .gf-section__grid { grid-template-columns: minmax(0, 1fr); }
.gf-section--big.gf-section--n1 .gf-card--hero { border-bottom: 0; }

/* Contenu Elementor sur l'accueil hybride */
.gf-home-content { margin-bottom: 8px; }
.gf-page-builder .gf-section, .gf-page-builder .gf-hero { margin-bottom: 32px; }
.elementor-widget-container > .gf-videos { margin: 0; }

@media (max-width: 1100px) {
	.gf-section--cards3 .gf-section__grid, .gf-section--big .gf-section__grid { grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.gf-section--cards3 .gf-section__grid, .gf-section--big .gf-section__grid, .gf-section--list .gf-section__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gf-section--big .gf-card--hero { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.gf-section--big .gf-card--hero .gf-card__body { padding-top: 14px; }
	.gf-band:not(.gf-skin-default):not(.gf-band--top) { padding-top: 30px; margin-bottom: 32px; }
}
@media (max-width: 640px) {
	.gf-section--cards3 .gf-section__grid, .gf-section--big .gf-section__grid, .gf-section--list .gf-section__grid { grid-template-columns: minmax(0, 1fr); }
	.gf-section--boxed { padding: 20px 16px 2px; }
	.gf-band--top { padding-top: 16px; }
}

/* ==========================================================================
   Slider d'actualités (v1.2)
   ========================================================================== */
.gf-band--slider { padding-top: 28px; }
.gf-band--slider + .gf-band--top { padding-top: 4px; }
.gf-slider { --h: 540px; container-type: inline-size; margin-bottom: 32px; }
.gf-slider--compact { --h: 420px; }
.gf-slider--tall { --h: 640px; }
.gf-slider__stage { position: relative; border-radius: 6px; overflow: hidden; background: var(--gf-primary-deep); color: #fff; isolation: isolate; touch-action: pan-y; }
.gf-slider__track { display: grid; }
.gf-slide {
	grid-area: 1 / 1; position: relative; min-height: var(--h); display: flex; align-items: flex-end;
	opacity: 0; visibility: hidden; transition: opacity .8s var(--gf-ease), visibility 0s linear .8s; z-index: 0;
}
.gf-slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--gf-ease), visibility 0s; z-index: 1; }
.gf-slide__media { position: absolute; inset: 0; display: block; overflow: hidden; z-index: -1; }
.gf-slide__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 8s linear; }
.gf-slide.is-active .gf-slide__media img { transform: scale(1); }
.gf-slide__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(7, 20, 40, .9) 0%, rgba(7, 20, 40, .62) 42%, rgba(7, 20, 40, 0) 72%),
		linear-gradient(0deg, rgba(7, 20, 40, .85) 0%, rgba(7, 20, 40, 0) 55%);
}
.gf-slide .gf-play { left: auto; right: 28px; top: 28px; bottom: auto; width: 56px; height: 56px; }
.gf-slide__body { position: relative; max-width: 780px; padding: 48px 48px 100px; }
.gf-slide__body > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--gf-ease), transform .6s var(--gf-ease); }
.gf-slide.is-active .gf-slide__body > * { opacity: 1; transform: none; }
.gf-slide.is-active .gf-slide__body > :nth-child(2) { transition-delay: .12s; }
.gf-slide.is-active .gf-slide__body > :nth-child(3) { transition-delay: .22s; }
.gf-slide.is-active .gf-slide__body > :nth-child(4) { transition-delay: .3s; }
.gf-slide .gf-badge { color: #fff; background: var(--cat, var(--gf-accent)); padding: 4px 9px; border-radius: 2px; font-size: 12px; }
.gf-slide__title { margin: 6px 0 14px; font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -.025em; color: #fff; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gf-slide__title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.gf-slide__excerpt { font-family: var(--gf-serif); font-size: 19px; line-height: 1.5; color: rgba(255, 255, 255, .86); margin: 0 0 18px; max-width: 640px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gf-slide__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.gf-slide .gf-time { color: rgba(255, 255, 255, .72); }
.gf-slide__more { display: inline-flex; align-items: center; gap: 8px; background: var(--gf-accent); color: #fff; font-weight: 800; font-size: 14px; padding: 10px 18px; border-radius: 999px; }
.gf-slide__more:hover { color: #fff; background: #b8040f; }
.gf-slide__more .gf-icon { width: 16px; height: 16px; }

.gf-slider__controls { position: absolute; right: 24px; bottom: 26px; z-index: 3; display: flex; align-items: center; gap: 10px; }
.gf-slider__arrow, .gf-slider__pause {
	width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; padding: 0;
	background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .35); transition: background .2s, border-color .2s;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.gf-slider__arrow:hover, .gf-slider__pause:hover { background: var(--gf-accent); border-color: var(--gf-accent); }
.gf-slider__count { font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .8); min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
.gf-slider__count b { color: #fff; font-size: 18px; font-weight: 900; }
.gf-slider__pause .gf-icon--play { display: none; }
.gf-slider.is-paused .gf-slider__pause .gf-icon--play { display: block; }
.gf-slider.is-paused .gf-slider__pause .gf-icon--pause { display: none; }
.gf-slider__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .15); z-index: 3; }
.gf-slider__progress span { display: block; height: 100%; width: 0; background: var(--gf-accent); }
.gf-slider.is-running .gf-slider__progress span { animation: gf-progress var(--gf-delay, 6000ms) linear forwards; }
.gf-slider.is-paused .gf-slider__progress span, .gf-slider.is-hover .gf-slider__progress span { animation-play-state: paused; }
@keyframes gf-progress { from { width: 0; } to { width: 100%; } }

.gf-slider__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 4px; margin-top: 4px; overflow-x: auto; scrollbar-width: none; }
.gf-slider__thumbs::-webkit-scrollbar { display: none; }
.gf-slider__thumb {
	display: flex; align-items: center; gap: 12px; padding: 12px; text-align: left; border: 0; border-top: 3px solid var(--gf-border);
	background: var(--gf-surface); color: var(--gf-text); border-radius: 0 0 4px 4px; transition: background .2s, border-color .2s;
}
.gf-slider__thumb:hover { background: var(--gf-bg); border-top-color: var(--gf-muted); }
.gf-slider__thumb.is-active { border-top-color: var(--gf-accent); background: var(--gf-bg); box-shadow: var(--gf-shadow); }
.gf-slider__thumbimg { flex-shrink: 0; width: 72px; aspect-ratio: 16 / 10; border-radius: 3px; overflow: hidden; background: var(--gf-primary); }
.gf-slider__thumbimg img { width: 100%; height: 100%; object-fit: cover; }
.gf-slider__thumbtitle { font-size: 13.5px; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gf-slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.gf-slider__dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: var(--gf-border); transition: width .3s, background .3s; }
.gf-slider__dot.is-active { width: 28px; background: var(--gf-accent); }
.gf-slider .gf-section__head { margin-bottom: 16px; }

/* Slider dans une colonne étroite (à côté du fil info, Elementor, tablette) */
@container (max-width: 860px) {
	.gf-slide { min-height: calc(var(--h) * .85); }
	.gf-slide__body { max-width: 620px; padding: 40px 32px 92px; }
	.gf-slide__title { font-size: 32px; }
	.gf-slide__excerpt { font-size: 17px; }
	.gf-slider__thumbs { grid-auto-columns: minmax(170px, 1fr); }
}
/* Téléphone : photo puis texte sur fond bleu nuit */
@container (max-width: 560px) {
	.gf-slide { min-height: 0; flex-direction: column; align-items: stretch; }
	.gf-slide__media { position: relative; inset: auto; aspect-ratio: 16 / 10; z-index: 0; }
	.gf-slide__media::after { background: linear-gradient(0deg, rgba(7, 20, 40, .9) 0%, rgba(7, 20, 40, 0) 45%); }
	.gf-slide__body { max-width: none; padding: 0 18px 80px; margin-top: -42px; }
	.gf-slide__title { -webkit-line-clamp: 4; }
	.gf-slide__title { font-size: 24px; }
	.gf-slide__excerpt { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.gf-slide .gf-play { right: 14px; top: 14px; width: 44px; height: 44px; }
	.gf-slider__controls { right: 14px; bottom: 16px; left: 14px; justify-content: flex-end; }
	.gf-slider__arrow, .gf-slider__pause { width: 42px; height: 42px; }
	.gf-slider__thumbs { grid-auto-columns: 72%; }
	.gf-slide__more { display: none; }
}
@media (max-width: 640px) {
	.gf-band--slider { padding-top: 0; }
	.gf-band--slider .gf-container { padding: 0; }
	.gf-band--slider .gf-slider__stage { border-radius: 0; }
	.gf-band--slider .gf-slider__thumbs { padding: 0 16px; }
}

/* Une avec un seul article */
.gf-hero--solo { grid-template-columns: minmax(0, 1fr); }
.gf-hero--solo .gf-card--hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.gf-hero--solo .gf-card--hero .gf-card__body { padding-top: 0; }
@media (max-width: 900px) { .gf-hero--solo .gf-card--hero { grid-template-columns: minmax(0, 1fr); gap: 0; } .gf-hero--solo .gf-card--hero .gf-card__body { padding-top: 14px; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.gf-ticker__track { animation: none; overflow-x: auto; }
	.gf-slide__media img, .gf-slide.is-active .gf-slide__media img { transform: none; }
}

@media print {
	.gf-topbar, .gf-header, .gf-ticker, .gf-layout__aside, .gf-footer, .gf-share, .gf-totop, .gf-comments, .post-navigation, .gf-section { display: none !important; }
	.gf-layout { display: block; }
	.gf-content { font-size: 12pt; max-width: none; }
}
