/*
Theme Name: Tchad360
Theme URI: https://www.tchad360.td
Author: Tchad360
Description: Thème de presse en ligne bilingue français / arabe pour Tchad360 — « Le regard sur le Tchad à 360 degrés ». Lecture confortable, bandeau défilant, onglets d'articles, emplacements publicitaires, temps de lecture, signalement de coquilles, bandeau cookies, référencement intégré.
Version: 1.3.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tchad360
Tags: news, blog, two-columns, three-columns, rtl-language-support, translation-ready, custom-logo, custom-menu, featured-images, threaded-comments
*/

/* ---------- Jetons ---------- */
:root {
	--navy: #143B65;
	--navy-dark: #0E2C4D;
	--navy-2: #24527F;
	--yellow: #F2B33D;
	--yellow-ink: #B9780A;
	--yellow-soft: #FDF3DC;
	--red: #C8102E;
	--ink: #16202B;
	--ink-2: #3B4754;
	--muted: #5A6775;
	--rule: #DDE3EA;
	--line: #C3CED9;
	--soft: #F5F7FA;
	--soft-2: #EEF3F8;
	--paper: #ffffff;
	--ui: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
	--serif: "Source Serif 4", "Noto Naskh Arabic", Georgia, serif;
	--wrap: 1392px;
	--read-size: 20px;
	--read-lh: 1.75;
}

/* ---------- 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 { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--ui); font-size: 16px; line-height: 1.5; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--navy); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 820px; }
.hp { position: absolute; inset-inline-start: -9999px; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 2px solid transparent; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; background: none; }
.btn--navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); color: #fff; }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: #e9a525; color: var(--navy); }
.btn--line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--line:hover { background: var(--soft-2); color: var(--navy); }
.btn--text { color: var(--navy); text-decoration: underline; padding-inline: 8px; }
.btn--block { width: 100%; }

/* ---------- En-tête ---------- */
.topbar { background: var(--navy); color: #fff; }
.topbar__in { min-height: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.topbar__date { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #fff; }
.topbar__date svg { color: var(--yellow); }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.langs ul { list-style: none; margin: 0; padding: 0; display: flex; border: 1px solid rgba(255,255,255,.4); }
.langs a { display: flex; align-items: center; min-height: 36px; min-width: 52px; justify-content: center; padding: 0 12px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.langs a[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }
.langs a.is-current { background: var(--yellow); color: var(--navy); }

.masthead { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px 18px; }
.brand { flex: 1 1 260px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.brand .logo { height: 78px; width: auto; }
.brand__slogan { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-2); }
.burger { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger__bars, .burger__bars::before, .burger__bars::after { display: block; width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .2s, opacity .2s; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

.search-panel { border-top: 1px solid var(--rule); padding-block: 16px; background: var(--soft); }
.searchform { display: flex; gap: 8px; max-width: 640px; margin-inline: auto; }
.searchform input { flex: 1; min-width: 0; height: 48px; border: 1px solid #AEBBC9; padding: 0 14px; font-size: 16px; background: #fff; }
.searchform button { width: 48px; height: 48px; border: 0; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }

.mainnav { border-top: 1px solid var(--rule); border-bottom: 3px solid var(--navy); }
.mainnav .wrap { overflow-x: auto; scrollbar-width: none; }
.mainnav__list { list-style: none; margin: 0 auto; padding: 0; display: flex; justify-content: center; gap: 2px; width: max-content; min-width: 100%; }
.mainnav__list a { display: flex; align-items: center; min-height: 50px; padding: 0 14px; margin-bottom: -3px; border-bottom: 3px solid transparent; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.mainnav__list a:hover { color: var(--navy); border-bottom-color: var(--rule); }
.mainnav__list .current-menu-item > a, .mainnav__list .current-cat > a, .mainnav__list .current-post-ancestor > a, .mainnav__list .current-menu-parent > a { color: var(--navy); font-weight: 700; border-bottom-color: var(--yellow); }

.drawer { border-top: 1px solid var(--rule); border-bottom: 3px solid var(--navy); padding: 8px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.drawer[hidden] { display: none; }
.drawer__list { list-style: none; margin: 0; padding: 0; }
.drawer__list li { border-bottom: 1px solid #E6EBF0; }
.drawer__list a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 12px; font-size: 17px; font-weight: 500; color: var(--ink); text-decoration: none; }
.drawer__list a::after { content: "›"; color: var(--yellow-ink); font-size: 20px; }
.drawer__list .current-menu-item > a, .drawer__list .current-cat > a { background: var(--yellow-soft); font-weight: 700; color: var(--navy); }
.drawer .searchform { max-width: none; margin: 0; }

/* Bandeau défilant */
.ticker { border-bottom: 1px solid var(--rule); background: #fff; }
.ticker__in { display: flex; align-items: stretch; height: 46px; }
.ticker__label { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--red); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: t360-pulse 1.6s ease-in-out infinite; }
@keyframes t360-pulse { 50% { opacity: .35; } }
.ticker__viewport { flex: 1; overflow: hidden; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ticker__track { display: flex; width: max-content; animation: t360-ltr 50s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker ul { list-style: none; margin: 0; padding: 0 20px; display: flex; gap: 40px; white-space: nowrap; }
.ticker li a { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 14px; }
.ticker li a::after { content: ""; width: 6px; height: 6px; background: var(--yellow); margin-inline-start: 30px; }
.ticker li a:hover { color: var(--red); }
.ticker time { font-weight: 700; color: var(--navy); }
@keyframes t360-ltr { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Mise en page à 3 colonnes ---------- */
.layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; padding-block: 36px 64px; max-width: 1440px; }
.content { flex: 999 1 620px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.rail { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.rail--left { flex: 0 0 160px; position: sticky; top: 16px; }
.rail--right { flex: 1 1 300px; max-width: 340px; }
.rail--left:empty { display: none; }
.ad { display: flex; flex-direction: column; align-items: center; }
.ad--placeholder { border: 1px dashed #AEBBC9; background: var(--soft); justify-content: center; gap: 6px; color: var(--muted); font-size: 13px; width: 100%; }
.ad--placeholder span:first-child { font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.ad--inline { margin-block: 12px; padding-block: 12px; border-block: 1px solid var(--rule); }
.widget__title { font-size: 11px; font-family: var(--ui); font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; text-align: center; }

/* ---------- Titres de section ---------- */
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head__mark { width: 12px; height: 12px; background: var(--yellow); flex-shrink: 0; }
.section-head__title { font-size: 28px; font-weight: 700; }
.section-head__rule { flex: 1; height: 1px; background: var(--rule); min-width: 40px; }
.section-head__link { font-size: 14px; font-weight: 600; }
.section-head--dark .section-head__title { color: #fff; }
.section-head--dark .section-head__rule { background: rgba(255,255,255,.25); }
.section-head--dark .section-head__link { color: var(--yellow); font-weight: 700; }

/* ---------- Cartes ---------- */
.card__link { display: flex; flex-direction: column; gap: 10px; color: var(--ink); text-decoration: none; }
.card__link:hover .card__title { color: var(--red); }
.kicker { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--red); }
.card__title { font-family: var(--serif); color: var(--navy); font-weight: 700; transition: color .15s; }
.card__chapo { font-family: var(--serif); color: var(--ink-2); line-height: 1.55; }
.meta { font-size: 12.5px; color: var(--muted); }
.media { position: relative; overflow: hidden; background: var(--navy); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.r-16-10 { aspect-ratio: 16 / 10; }
.r-3-2 { aspect-ratio: 3 / 2; }
.r-4-3 { aspect-ratio: 4 / 3; }
.media__mark { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.media__mark img { width: auto; height: 60%; opacity: .3; object-fit: contain; }
.card--lead .kicker { font-size: 13px; margin-top: 6px; }
.card--lead .card__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.card--lead .card__chapo { font-size: 19px; line-height: 1.6; }
.card--side .card__link { flex-direction: row; gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--rule); }
.card--side .media--thumb { flex: 0 0 104px; height: 78px; aspect-ratio: auto; }
.card--side .card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card--side .card__title { font-size: 19px; line-height: 1.3; font-weight: 600; }
.card--strip .card__title { font-size: 20px; line-height: 1.3; font-weight: 600; }
.card--grid .card__title { font-size: 23px; line-height: 1.25; }
.card--grid .card__chapo { font-size: 16px; }
.card--row .card__link { flex-direction: row; flex-wrap: wrap; gap: 24px; padding-block: 24px; border-bottom: 1px solid var(--rule); }
.card--row .media--row { flex: 0 0 240px; height: 160px; aspect-ratio: auto; }
.card--row .card__body { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.card--row .card__title { font-size: 25px; line-height: 1.22; }
.card--row .card__chapo { font-size: 17px; }
.card__quote { font-family: Georgia, serif; font-size: 64px; line-height: .6; color: var(--yellow); height: 30px; }
.card--opinion .card__link { color: #fff; }
.card--opinion .card__title { color: #fff; font-size: 23px; font-weight: 600; line-height: 1.3; }
.card--opinion .card__link:hover .card__title { color: var(--yellow); }
.card__author { display: flex; align-items: center; gap: 10px; font-size: 14px; color: inherit; }
.card--opinion .card__author { color: #C9D6E4; }
.avatar { border-radius: 50%; flex-shrink: 0; }

/* ---------- Accueil ---------- */
.une { display: flex; flex-wrap: wrap; gap: 32px; }
.une__lead { flex: 2 1 440px; min-width: 0; }
.une__side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; }
.une__side .card--side:first-child .card__link { padding-top: 0; }

.tabs__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; border-bottom: 1px solid var(--rule); margin-top: -8px; }
.tabs__list { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 1 auto; }
.tabs__list [role="tab"] { min-height: 46px; padding: 0 16px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.tabs__list [role="tab"][aria-selected="true"] { color: var(--navy); font-weight: 700; border-bottom-color: var(--yellow); }
.tabs__arrows { display: flex; gap: 8px; padding-bottom: 6px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.arrow--fill { background: var(--navy); border-color: var(--navy); color: #fff; }
.strip { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-block: 22px 10px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.strip[hidden] { display: none; }
.strip .card { flex: 0 0 268px; scroll-snap-align: start; }

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.band { background: var(--navy); color: #fff; padding: 36px 32px; }
.band__title { color: #fff; font-size: 30px; margin-bottom: 28px; }
.band .grid { gap: 32px; }

.catblock { display: flex; flex-wrap: wrap; gap: 28px; }
.catblock__main { flex: 1 1 320px; min-width: 0; }
.catblock__list { flex: 1 1 280px; min-width: 0; }
.catblock__list .card--side:first-child .card__link { padding-top: 0; }

.newsletter { background: var(--yellow); color: var(--navy); padding: 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; }
.newsletter__text { flex: 1 1 300px; }
.newsletter h2 { font-size: 28px; margin-bottom: 8px; }
.newsletter p { color: #1B2F45; }
.newsletter__form { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.newsletter__form label { font-size: 13px; font-weight: 700; }
.newsletter__row { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter__row input { flex: 1 1 200px; height: 48px; border: 2px solid var(--navy); padding: 0 14px; font-size: 16px; background: #fff; }
.newsletter .btn { min-height: 48px; }
.admin-hint { font-size: 12px; }

.mostread { border-top: 3px solid var(--navy); padding-top: 14px; }
.mostread__title { font-size: 24px; margin-bottom: 6px; }
.mostread__list { list-style: none; margin: 0; padding: 0; }
.mostread__list li { border-bottom: 1px solid var(--rule); }
.mostread__list a { display: flex; gap: 16px; padding-block: 14px; align-items: flex-start; text-decoration: none; }
.mostread__n { font-family: "Source Serif 4", Georgia, serif; font-size: 36px; line-height: 1; font-weight: 700; color: var(--yellow-ink); min-width: 26px; }
.mostread__t { font-family: var(--serif); font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--navy); }
.mostread__list a:hover .mostread__t { color: var(--red); }

/* ---------- Article ---------- */
.reading-progress { position: fixed; inset-inline: 0; top: 0; height: 4px; z-index: 60; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }
.article { max-width: 760px; width: 100%; margin-inline: auto; display: flex; flex-direction: column; gap: 22px; }
.article__head { display: flex; flex-direction: column; gap: 18px; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); }
.article__title { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.1; }
.article__chapo { font-family: var(--serif); font-size: 22px; line-height: 1.55; color: var(--ink-2); }
.article__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; border-block: 1px solid var(--rule); padding-block: 14px; }
.byline { display: flex; align-items: center; gap: 12px; }
.byline > div { display: flex; flex-direction: column; gap: 2px; }
.byline__name { font-size: 14px; font-weight: 700; }
.byline__name a { color: var(--ink); text-decoration: none; }
.tools, .share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tools__label { font-size: 13px; color: var(--muted); }
.tools__sep { width: 1px; height: 28px; background: var(--rule); margin-inline: 4px; }
.tool { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; }
.tool:hover { border-color: var(--navy); color: var(--navy); }
.tool--sq { width: 44px; padding: 0; font-family: "Source Serif 4", serif; font-size: 15px; font-weight: 700; }
.tool--big { font-size: 20px; }
.article__figure { margin: 0; }
.article__figure img { width: 100%; }
.article__figure figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

.entry-content { font-family: var(--serif); font-size: var(--read-size); line-height: var(--read-lh); color: #1B2530; overflow-wrap: break-word; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.5em; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.25em; margin-top: 1.4em; }
.entry-content a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content blockquote { margin: 1.4em 0; padding: 22px 0; border-block: 3px solid var(--yellow); text-align: center; }
.entry-content blockquote p { font-size: 1.45em; line-height: 1.3; font-style: italic; font-weight: 600; color: var(--navy); }
.entry-content blockquote cite { display: block; margin-top: 10px; font-family: var(--ui); font-size: 14px; font-style: normal; color: var(--muted); }
.entry-content ul, .entry-content ol { padding-inline-start: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content img { margin-inline: auto; }
.entry-content figcaption, .wp-element-caption { font-family: var(--ui); font-size: 13px; color: var(--muted); margin-top: 8px; }
.entry-content .wp-block-group.has-background, .entry-content .encadre { background: var(--soft-2); padding: 24px 26px; font-family: var(--ui); font-size: 17px; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--ui); font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--rule); padding: 8px 10px; text-align: start; }
.t360-ltr .entry-content > p:first-of-type::first-letter { float: left; font-size: 4.3em; line-height: .82; padding: 8px 12px 0 0; font-weight: 700; color: var(--navy); }
.alignwide { max-width: 1000px; }
.alignfull { width: 100%; }

.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border-top: 1px solid var(--rule); padding-top: 20px; }
.tags__label { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-inline-end: 6px; }
.tags a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; text-decoration: none; }
.tags a:hover { border-color: var(--navy); }

.typo { border: 1px solid var(--rule); padding: 18px 20px; }
.typo summary { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; color: var(--ink-2); font-size: 15px; }
.typo summary::-webkit-details-marker { display: none; }
.typo__form { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.typo__form label { font-size: 13px; font-weight: 700; }
.typo__form textarea { border: 1px solid #AEBBC9; padding: 10px 12px; font-size: 15px; resize: vertical; }
.typo__form .btn { align-self: flex-start; }
.notice { padding: 14px 16px; font-size: 15px; }
.notice--ok { background: var(--soft-2); color: var(--navy); font-weight: 600; }
.notice--error { background: #FBE8EB; color: #8E0B21; font-weight: 600; }
.notice p { font-weight: 400; margin-top: 4px; }

/* ---------- Rubriques ---------- */
.pagehead { background: var(--soft-2); border-bottom: 1px solid var(--rule); }
.pagehead__in { padding-block: 40px 32px; display: flex; flex-direction: column; gap: 14px; }
.pagehead__title { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.pagehead__desc { max-width: 720px; font-family: var(--serif); font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid #AEBBC9; background: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.chips a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.featured { border-bottom: 3px solid var(--navy); }
.featured .card--row .card__link { border-bottom: 0; padding-top: 0; }
.featured .media--row { flex: 1 1 380px; height: auto; aspect-ratio: 16 / 10; }
.featured .card__title { font-size: clamp(28px, 3vw, 36px); }
.list { display: flex; flex-direction: column; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); font-weight: 600; text-decoration: none; }
.page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.empty { font-size: 16px; color: var(--ink-2); }
.emptystate { display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.emptystate__admin { background: var(--yellow-soft); padding: 16px 18px; color: var(--ink); }
.emptystate .btn { margin-inline-end: 8px; }

/* Opinion */
.opinion-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.opinion-hero__mark { position: absolute; inset-inline-end: -40px; top: -60px; height: 420px; width: auto; opacity: .08; }
.opinion-hero__in { position: relative; padding-block: 52px 48px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.opinion-hero__in > div { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.opinion-hero__kicker { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); }
.opinion-hero__title { color: #fff; font-size: clamp(40px, 5vw, 60px); line-height: 1.05; }
.opinion-hero__desc { font-family: var(--serif); font-size: 19px; line-height: 1.55; color: #DCE5EF; }
.op-feature { display: flex; flex-wrap: wrap; gap: 32px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--rule); padding-bottom: 40px; }
.op-feature__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.op-feature__text .card__quote { font-size: 110px; height: 52px; line-height: .5; }
.op-feature__title { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
.op-feature:hover .op-feature__title { color: var(--red); }
.op-feature__author { flex: 0 1 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--soft-2); padding: 28px 20px; text-align: center; }
.op-feature__author strong { color: var(--navy); font-size: 17px; }
.op-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0 32px; }
.op-item { display: flex; flex-direction: column; gap: 10px; padding-block: 22px; border-top: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.op-item__title { font-size: 23px; line-height: 1.28; }
.op-item:hover .op-item__title { color: var(--red); }
.disclaimer { font-size: 14px; line-height: 1.6; color: var(--ink-2); border-top: 1px solid var(--rule); padding-top: 18px; }

/* ---------- Pages ---------- */
.page-plain { padding-block: 56px 72px; display: flex; flex-direction: column; gap: 28px; }
.about { max-width: 1180px; padding-block: 56px 72px; display: flex; flex-direction: column; gap: 64px; }
.about__hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.about__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about__text .entry-content { font-size: 20px; }
.about__visual { flex: 0 1 380px; aspect-ratio: 1; background: var(--navy); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; }
.about__visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.about__visual .logo { position: relative; width: 62%; height: auto; }
.about__visual span { position: relative; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); text-align: center; padding-inline: 20px; }
.format { border-top: 4px solid var(--navy); background: var(--soft); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.format strong { font-family: var(--serif); font-size: 24px; color: var(--navy); }
.format p, .value p { font-size: 15px; line-height: 1.55; }
.format p { color: var(--ink-2); }
.value { display: flex; flex-direction: column; gap: 10px; }
.value__n { font-family: "Source Serif 4", Georgia, serif; font-size: 40px; font-weight: 700; color: var(--yellow); line-height: 1; }
.value strong { font-size: 19px; }
.value p { color: #DCE5EF; }
.fixbox { border: 1px solid var(--rule); padding: 28px 30px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.fixbox > div { flex: 1 1 420px; display: flex; flex-direction: column; gap: 8px; }
.fixbox h2 { font-size: 24px; }
.fixbox p { color: var(--ink-2); line-height: 1.6; }

.contact { max-width: 1180px; padding-block: 56px 72px; display: flex; flex-direction: column; gap: 40px; }
.contact__head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.contact__grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.contact__form { flex: 2 1 480px; min-width: 0; border-top: 4px solid var(--navy); background: var(--soft); padding: 30px; }
.contact__form form { display: flex; flex-direction: column; gap: 18px; }
.fields-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; }
.field input, .field select, .field textarea { min-height: 48px; border: 1px solid #AEBBC9; background: #fff; padding: 10px 14px; font-size: 16px; }
.field textarea { line-height: 1.5; resize: vertical; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; flex-shrink: 0; }
.field--check label { font-weight: 400; color: var(--ink-2); line-height: 1.5; }
.contact__form .btn { align-self: flex-start; min-height: 48px; }
.contact__info { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.info { border-bottom: 1px solid var(--rule); padding-bottom: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 17px; }
.promo { background: var(--yellow); color: var(--navy); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.promo strong { font-family: var(--serif); font-size: 21px; }
.promo p { font-size: 14px; line-height: 1.55; color: #1B2F45; }

.notfound { padding-block: 72px; display: flex; flex-direction: column; gap: 20px; }
.notfound .searchform { margin: 0; }

/* Commentaires */
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-list .comment { border-bottom: 1px solid var(--rule); padding-block: 16px; }
.comment-list .children { list-style: none; padding-inline-start: 24px; }
.comment-form { display: flex; flex-direction: column; gap: 12px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1px solid #AEBBC9; padding: 10px 12px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: #DCE5EF; margin-top: 24px; }
.site-footer__band { display: flex; height: 6px; }
.site-footer__band span { flex: 1; }
.site-footer__band span:nth-child(1) { background: var(--navy-2); }
.site-footer__band span:nth-child(2) { background: var(--yellow); }
.site-footer__band span:nth-child(3) { background: var(--red); }
.site-footer__in { padding-block: 52px 40px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(170px, 1fr)); gap: 40px 48px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer__brand .logo { height: 64px; width: auto; }
.site-footer__slogan { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); }
.site-footer__about { font-family: var(--serif); font-size: 16px; line-height: 1.6; color: #C9D6E4; max-width: 340px; }
.site-footer__col h2 { font-family: var(--ui); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 2px solid rgba(255,255,255,.14); }
.site-footer__col h2.site-footer__sub { margin-top: 24px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li a { display: inline-flex; align-items: center; min-height: 36px; color: #DCE5EF; font-size: 15px; text-decoration: none; }
.site-footer__col li a:hover { color: var(--yellow); }
.site-footer__contact li { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 15px; }
.site-footer__contact svg { color: var(--yellow); flex-shrink: 0; }
.site-footer .social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.site-footer .social a { min-height: 40px; padding: 0 14px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; font-size: 13px; font-weight: 600; }
.site-footer .social a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.site-footer__bottom { background: var(--navy-dark); }
.site-footer__bottom-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 18px; font-size: 13px; color: #C9D6E4; }
.site-footer__bottom a { color: #fff; font-weight: 600; text-decoration: none; }
.site-footer__bottom a:hover { color: var(--yellow); }
.site-footer :focus-visible { outline-color: var(--yellow); }
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } .site-footer__in { padding-block: 40px 28px; } }

/* Signature de la rédaction */
.avatar-newsroom { display: inline-flex; align-items: center; justify-content: center; background: var(--navy); border-radius: 50%; flex-shrink: 0; }
.avatar-newsroom img { width: 50%; height: auto; }

/* Bandeau cookies */
.cookies { position: fixed; inset-inline: 16px; bottom: 16px; z-index: 70; margin-inline: auto; max-width: 900px; background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--navy); box-shadow: 0 12px 32px rgba(20,59,101,.18); padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cookies[hidden] { display: none; }
.cookies__text { flex: 1 1 360px; font-size: 15px; line-height: 1.5; }
.cookies__actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.rail--left { display: none; }
}
@media (max-width: 960px) {
	.rail--right { max-width: none; flex-basis: 100%; }
}
@media (max-width: 900px) {
	.burger { display: flex; }
	.desk-only, .mainnav { display: none; }
	.masthead { padding-block: 14px; }
	.brand .logo { height: 56px; }
	.brand__slogan { font-size: 10px; letter-spacing: 1.2px; }
	.masthead::after { content: ""; width: 48px; flex-shrink: 0; }
}
@media (min-width: 901px) {
	.drawer { display: none !important; }
}
@media (max-width: 640px) {
	.wrap { padding-inline: 16px; }
	.layout { padding-block: 24px 48px; gap: 24px; }
	.content { gap: 44px; }
	.topbar__date { font-size: 12px; }
	.card--row .media--row { flex-basis: 100%; height: auto; aspect-ratio: 3 / 2; }
	.card--row .card__link { gap: 14px; }
	.band { padding: 28px 18px; margin-inline: -16px; }
	.newsletter { padding: 24px 18px; }
	.article__bar { flex-direction: column; align-items: flex-start; }
	.tools__label, .tools__sep { display: none; }
	:root { --read-size: 19px; }
	.ticker__label { padding: 0 10px; font-size: 12px; }
}

/* ---------- Impression ---------- */
@media print {
	.site-header, .site-footer, .rail, .tools, .typo, .related, .cookies, .reading-progress, .comments { display: none !important; }
	.layout { display: block; padding: 0; }
	.entry-content { font-size: 12pt; }
}

/* Source d'une actualité */
.entry-content .source { margin-top: 2em; padding-top: 14px; border-top: 1px solid var(--rule); font-family: var(--ui); font-size: 14px; color: var(--muted); }
.entry-content .source a { color: var(--navy); font-weight: 600; }
