/*
 * Tama — feuille de style unique du thème.
 *
 * Couleurs, polices et tailles : variables de theme.json (--wp--preset--*), modifiables dans
 * l'Éditeur de site. Arrondis et logo : --wp--custom--* (Apparence > Tama).
 * Propriétés logiques uniquement (margin-inline, inset-inline…) : le même fichier sert au
 * français (LTR) et à l'arabe (RTL).
 *
 *  1 Bases            6 Article           11 Vidéos / TV
 *  2 En-tête          7 Rubriques         12 Pied de page
 *  3 Composants       8 Recherche         13 Arabe (RTL)
 *  4 Publicité        9 Auteur            14 Tablette et mobile
 *  5 Accueil         10 Pages, 404        15 Éditeur, impression
 */

/* ========== 1 Bases ========== */

:root {
	--tn-accent: var(--wp--preset--color--accent);
	--tn-accent-ink: var(--wp--preset--color--accent-ink);
	--tn-on-accent: var(--wp--preset--color--on-accent);
	--tn-ink: var(--wp--preset--color--ink);
	--tn-surface: var(--wp--preset--color--surface);
	--tn-card: var(--wp--preset--color--card);
	--tn-muted: var(--wp--preset--color--muted);
	--tn-body: var(--wp--preset--color--body);
	--tn-rule: var(--wp--preset--color--rule);
	/* Nuances réglables par l'habillage (settings.custom.color de styles/*.json). */
	--tn-rule-soft: var(--wp--custom--color--rule-soft, #ECEEE9);
	--tn-live: var(--wp--preset--color--live);
	--tn-text-2: var(--wp--custom--color--text-2, #3B3E39);
	--tn-text-3: var(--wp--custom--color--text-3, #474B45);
	--tn-chip: var(--wp--custom--color--chip, #EEF0EB);
	--tn-r: var(--wp--custom--radius--base, 12px);
	--tn-r-sm: var(--wp--custom--radius--sm, 8px);
	--tn-pill: var(--wp--custom--radius--pill, 999px);
	--tn-mono: var(--wp--preset--font-family--mono);
	--tn-gutter: 56px;
	--tn-max: 1440px;
	--tn-hatch: var(--wp--custom--color--hatch, repeating-linear-gradient(135deg, #ECEEE9 0 10px, #E3E5E0 10px 20px));
	--tn-hatch-dark: var(--wp--custom--color--hatch-dark, repeating-linear-gradient(135deg, #1C1E1B 0 10px, #242622 10px 20px));
	--tn-serif: var(--wp--preset--font-family--serif, Georgia, serif);
	--tn-ease: 150ms ease;
	/* Fonds « encre » et blancs : redéfinis par le mode sombre (section 16). */
	--tn-ink-bg: var(--tn-ink);
	--tn-white: #FFFFFF;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; transition: color var(--tn-ease), opacity var(--tn-ease), background-color var(--tn-ease); }
a:hover { color: var(--tn-accent-ink); }
:focus-visible { outline: 2px solid var(--tn-accent-ink); outline-offset: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; background: var(--tn-card); padding: 12px 18px; }

mark { background: var(--tn-accent); color: var(--tn-on-accent); padding: 0 3px; }

.tn-container {
	width: 100%;
	max-width: var(--tn-max);
	margin-inline: auto;
	padding-inline: var(--tn-gutter);
}

.tn-main { display: block; }
.tn-accent { color: var(--tn-accent); }
.tn-dot-accent { color: var(--tn-accent); }
.tn-icon { display: block; flex: none; }
/* Site français : le mot « عربي » s'affiche en police système (pas de police arabe à télécharger). */
html:not([dir="rtl"]) [lang="ar"] { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }

/* ========== 2 En-tête ========== */

.tn-site-header { position: relative; z-index: 20; color: var(--tn-ink); }

.tn-masthead {
	background: var(--tn-white);
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding-block: 14px;
	max-width: none;
	box-shadow: 0 0 0 100vmax #FFFFFF;
	clip-path: inset(0 -100vmax);
}

.tn-masthead__start { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tn-masthead__end { display: flex; justify-content: flex-end; align-items: center; gap: 14px; }

.tn-header-meta { display: flex; flex-direction: column; gap: 4px; font-family: var(--tn-mono); font-size: 12px; color: var(--tn-text-3); }
.tn-header-meta__date { text-transform: uppercase; color: var(--tn-ink); font-weight: 600; }

.tn-logo { min-height: var(--wp--custom--logo--height, 92px); display: flex; align-items: center; justify-content: center; margin: 0; }
.tn-logo a { display: block; line-height: 0; }
.tn-logo img { height: var(--wp--custom--logo--height, 92px) !important; width: auto !important; max-width: 420px; object-fit: contain; }
.tn-site-name { font-size: 34px; font-weight: 900; font-style: italic; font-stretch: 80%; letter-spacing: -.02em; line-height: 1; }

.tn-lang { display: flex; background: var(--tn-chip); border-radius: var(--tn-pill); padding: 3px; font-size: 13px; font-weight: 700; }
.tn-lang__item { padding: 6px 14px; border-radius: var(--tn-pill); line-height: 1.2; }
.tn-lang__item.is-active { background: var(--tn-ink-bg); color: var(--tn-accent); }
.tn-lang a.tn-lang__item:hover { color: var(--tn-ink); background: #E1E4DC; }

.tn-round {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--tn-chip);
	border: 0;
	display: inline-flex; align-items: center; justify-content: center;
	color: var(--tn-ink);
	padding: 0;
	transition: opacity var(--tn-ease);
}
.tn-round:hover { opacity: .8; }
.tn-burger { display: none; }

/* Panneaux (attribut popover) : recherche et menu mobile. */
.tn-pop {
	border: 0;
	padding: 0;
	margin: 0;
	inset: 0 0 auto;
	width: 100%;
	max-width: none;
	background: var(--tn-ink-bg);
	color: #FFFFFF;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.tn-pop::backdrop { background: rgba(14, 15, 13, .45); }
.tn-pop__inner { position: relative; max-width: 960px; margin-inline: auto; padding: 40px var(--tn-gutter); }
.tn-pop__close { position: absolute; inset-inline-end: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #3A3D38; background: transparent; color: #FFFFFF; display: flex; align-items: center; justify-content: center; }

.tn-search-form { display: flex; gap: 10px; align-items: center; border-bottom: 3px solid var(--tn-accent); padding-block-end: 10px; }
.tn-search-form input {
	flex: 1; min-width: 0;
	background: transparent; border: 0; outline: 0;
	color: inherit;
	font: inherit; font-size: 32px; font-weight: 850; font-stretch: 84%; letter-spacing: -.02em;
}
.tn-search-form input::placeholder { color: #8A8F87; }
.tn-search-form button { background: var(--tn-accent); color: var(--tn-on-accent); border: 0; border-radius: var(--tn-pill); padding: 12px 22px; font-weight: 800; font-size: 14px; }
.tn-pop--search .tn-search-form { margin-inline-end: 56px; }

.tn-pop--drawer { inset: 0 auto 0 0; width: min(420px, 90vw); height: 100%; max-height: none; overflow-y: auto; }
.tn-pop--drawer .tn-pop__inner { padding: 72px 24px 32px; }
.tn-pop--drawer .tn-search-form input { font-size: 20px; }
.tn-pop--drawer .tn-search-form button { padding: 10px 14px; }
.tn-drawer__title { font-family: var(--tn-mono); font-size: 12px; color: #9A9F96; letter-spacing: .08em; text-transform: uppercase; margin: 28px 0 8px; }
.tn-drawer__list, .tn-drawer__links { list-style: none; margin: 0; padding: 0; }
.tn-drawer__list a { display: block; padding: 12px 0; font-size: 22px; font-weight: 800; font-style: italic; border-bottom: 1px solid #2A2C28; min-height: 44px; }
.tn-drawer__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tn-drawer__links a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border: 1px solid #3A3D38; border-radius: var(--tn-pill); font-weight: 700; }
.tn-pop a:hover { color: var(--tn-accent); }

/* Navigation principale (bloc Navigation). */
.tn-navbar { background: var(--tn-ink-bg); color: #F4F6F1; }
.tn-primary-nav { min-height: 52px; max-width: var(--tn-max); margin-inline: auto; padding-inline: var(--tn-gutter); justify-content: center; }
.tn-primary-nav .wp-block-navigation__container { gap: 4px; flex-wrap: nowrap; }
.tn-navbar .tn-primary-nav .wp-block-navigation-item__content {
	display: block;
	color: #F4F6F1;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
	padding: 8px 14px !important;
	border-radius: var(--tn-r-sm);
	text-transform: uppercase;
	white-space: nowrap;
}
.tn-navbar .tn-primary-nav .wp-block-navigation-item__content:hover { color: var(--tn-accent); }
.tn-navbar .tn-primary-nav .current-menu-item > .wp-block-navigation-item__content,
.tn-navbar .tn-primary-nav .current-menu-ancestor > .wp-block-navigation-item__content,
.tn-navbar .tn-primary-nav .wp-block-navigation-item__content[aria-current="page"] {
	background: var(--tn-accent);
	color: var(--tn-on-accent);
	font-weight: 900;
	font-style: italic;
}
.tn-primary-nav .wp-block-navigation__submenu-container { background: var(--tn-ink-bg) !important; border: 0 !important; padding: 8px; border-radius: var(--tn-r-sm); }

/* Dernière minute. */
.tn-breaking { background: var(--tn-white); border-bottom: 1px solid #E3E5E0; }
.tn-breaking[hidden] { display: none; }
.tn-breaking__inner { display: flex; align-items: center; gap: 18px; height: 44px; overflow: hidden; }
.tn-breaking__label { display: flex; align-items: center; gap: 8px; font-weight: 900; font-style: italic; font-size: 13px; text-transform: uppercase; white-space: nowrap; margin: 0; flex: none; }
.tn-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tn-live); display: block; flex: none; animation: tn-pulse 2s ease-in-out infinite; }
.tn-dot--white { background: var(--tn-white); width: 7px; height: 7px; }
@keyframes tn-pulse { 50% { opacity: .35; } }
.tn-breaking__track { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.tn-breaking__list { display: flex; list-style: none; margin: 0; padding: 0; white-space: nowrap; width: max-content; }
.tn-breaking__list li { font-size: 14px; font-weight: 500; padding-inline: 18px; border-inline-start: 1px solid #D5D8D1; }
.tn-breaking__list li:first-child { border-inline-start: 0; padding-inline-start: 0; }
.tn-breaking__list.is-scrolling { animation: tn-marquee var(--tn-marquee, 40s) linear infinite; }
.tn-breaking__list.is-scrolling li:first-child { border-inline-start: 1px solid #D5D8D1; padding-inline-start: 18px; }
.tn-breaking:hover .tn-breaking__list, .tn-breaking:focus-within .tn-breaking__list { animation-play-state: paused; }
@keyframes tn-marquee { to { transform: translateX(-50%); } }

/* ========== 3 Composants ========== */

.tn-section-title { margin: 0; font-size: 18px; line-height: 1.1; font-weight: 900; font-style: italic; text-transform: uppercase; letter-spacing: 0; }
.tn-section-title--lg { font-size: 26px; font-stretch: 84%; }
.tn-section-title--xl { font-size: 30px; font-stretch: 84%; }

.tn-display { margin: 0; font-size: var(--wp--preset--font-size--display); line-height: .85; font-weight: 900; font-style: italic; font-stretch: 78%; letter-spacing: -.03em; text-transform: uppercase; overflow-wrap: anywhere; }

.tn-kicker { margin: 0; font-family: var(--tn-mono); font-size: 12px; color: var(--tn-accent-ink); letter-spacing: .08em; text-transform: uppercase; }
.tn-kicker--accent { color: var(--tn-accent); letter-spacing: 0; }

.tn-badge {
	display: inline-block;
	width: max-content;
	max-width: 100%;
	background: var(--tn-accent);
	color: var(--tn-on-accent);
	font-weight: 800;
	font-size: 12px;
	letter-spacing: .06em;
	line-height: 1.3;
	padding: 4px 8px;
	text-transform: uppercase;
	position: relative;
	z-index: 2;
}
a.tn-badge:hover { color: var(--tn-on-accent); opacity: .85; }

.tn-live-tag { font-family: var(--tn-mono); font-size: 11px; background: var(--tn-accent); color: var(--tn-on-accent); padding: 2px 6px; font-weight: 600; text-transform: uppercase; }

.tn-more { display: inline-flex; gap: 6px; font-size: 13px; font-weight: 700; width: max-content; }
.tn-more--accent { color: var(--tn-accent-ink); }
.tn-more--underline { font-size: 14px; border-bottom: 2px solid currentColor; padding-bottom: 1px; }

.tn-chips ul, .tn-chips__list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tn-chip { display: inline-flex; align-items: center; min-height: 40px; background: var(--tn-white); border-radius: var(--tn-pill); padding: 9px 16px; font-size: 14px; font-weight: 700; line-height: 1.2; }
.tn-chip.is-active { background: var(--tn-ink-bg); color: #FFFFFF; }
.tn-chip--soft { background: var(--tn-surface); min-height: 34px; padding: 7px 12px; font-size: 13px; font-weight: 600; }
.tn-chip--dark { background: transparent; border: 1px solid #3A3D38; color: #FFFFFF; }
.tn-chip--dark.is-active { background: var(--tn-accent); border-color: var(--tn-accent); color: var(--tn-on-accent); }

.tn-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; background: var(--tn-white); border-radius: var(--tn-pill); padding: 9px 16px; font-size: 14px; font-weight: 700; line-height: 1.2; }
.tn-pill .tn-icon { width: 16px; height: 16px; }
.tn-pill--ink { background: var(--tn-ink-bg); color: #FFFFFF; }
.tn-pill--ink:hover { color: var(--tn-accent); }
.tn-pill--line { background: transparent; border: 1px solid #3A3D38; font-size: 13px; font-weight: 600; padding: 8px 14px; min-height: 36px; }

.tn-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 28px; border-radius: var(--tn-pill); font-weight: 800; font-size: 15px; }
.tn-btn--outline { border: 2px solid var(--tn-ink); }
.tn-btn--outline:hover { background: var(--tn-ink-bg); color: #FFFFFF; }
.tn-btn[aria-busy="true"] { opacity: .5; pointer-events: none; }

.tn-box { background: var(--tn-card); border-radius: var(--tn-r); padding: 20px; }
.tn-box__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 12px; }

/* Images et emplacements hachurés (jamais d'image cassée). */
.tn-media, .wp-block-post-featured-image { position: relative; overflow: hidden; margin: 0; background: var(--tn-hatch); }
.tn-media--dark { background: var(--tn-hatch-dark); }
.tn-media--16x9 { aspect-ratio: 16 / 9; }
.tn-media--16x10 { aspect-ratio: 16 / 10; }
.tn-media--16x7 { aspect-ratio: 16 / 7; }
.tn-media--3x4 { aspect-ratio: 3 / 4; }
.tn-media__img, .tn-media img, .wp-block-post-featured-image img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.wp-block-post-featured-image a { display: block; height: 100%; }

.tn-duration { position: absolute; inset-inline-end: 6px; bottom: 6px; background: var(--tn-ink-bg); color: var(--tn-accent); font-family: var(--tn-mono); font-size: 10px; padding: 1px 5px; z-index: 1; }
.tn-play { position: absolute; inset: 0; margin: auto; width: 60px; height: 60px; border-radius: 50%; background: var(--tn-accent); display: block; z-index: 1; }
.tn-play::after { content: ""; position: absolute; inset: 0; margin: auto; width: 0; height: 0; border-inline-start: 17px solid var(--tn-on-accent); border-block: 10px solid transparent; transform: translateX(3px); }
.tn-play--xl { position: static; width: 84px; height: 84px; }
.tn-play--xl::after { border-inline-start-width: 24px; border-block-width: 15px; }

/* Cartes d'articles : tout le bloc est cliquable, un seul lien (le titre). */
.tn-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.tn-card__media { position: relative; }
.tn-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tn-card__title { margin: 0; font-size: 17px; line-height: 1.2; font-weight: 750; text-wrap: pretty; overflow-wrap: break-word; }
.tn-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tn-card:hover .tn-card__title { color: var(--tn-accent-ink); }
.tn-card__label { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--tn-accent-ink); text-transform: uppercase; }
.tn-card__meta { margin: 0; font-family: var(--tn-mono); font-size: 12px; color: var(--tn-accent-ink); }
.tn-meta-label { text-transform: uppercase; }
.tn-card__excerpt { margin: 0; font-size: 15px; line-height: 1.5; color: var(--tn-text-3); }

.tn-card--card { background: var(--tn-card); border-radius: var(--tn-r); overflow: hidden; }
.tn-card--card .tn-card__body { padding: 14px 16px 18px; }
.tn-card--card .tn-card__meta { font-size: 11px; }

.tn-card--lead { background: var(--tn-ink-bg); color: #FFFFFF; border-radius: var(--tn-r); overflow: hidden; }
.tn-card--lead .tn-card__body { padding: 24px 28px 28px; gap: 12px; }
.tn-card--lead .tn-card__title { font-size: var(--wp--preset--font-size--2-xl); line-height: 1.02; font-weight: 850; font-stretch: 84%; letter-spacing: -.02em; text-wrap: balance; }
.tn-card--lead .tn-card__excerpt { font-size: 17px; color: #C9CDC5; }
.tn-card--lead:hover .tn-card__title { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--tn-accent); text-decoration-thickness: 3px; text-underline-offset: 6px; }

.tn-grid { display: grid; gap: 16px; }
.tn-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tn-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.tn-grid, ol.tn-grid { list-style: none; margin: 0; padding: 0; }
.tn-grid > li { display: flex; min-width: 0; }
.tn-grid > li > .tn-card { flex: 1; }

/* ========== 4 Publicité ========== */
/* Emplacements, bannières et annonce maison : extension Sabar (assets/sabar.css), aux couleurs du thème. */
:root:root {
	--sabar-accent: var(--tn-accent);
	--sabar-accent-texte: var(--tn-accent-ink);
	--sabar-sur-accent: var(--tn-on-accent);
	--sabar-encre: var(--tn-ink);
	--sabar-fond: var(--tn-card);
	--sabar-page: var(--tn-surface);
	--sabar-doux: var(--tn-card); /* Le fond des pages est déjà « surface » : encadrés en blanc. */
	--sabar-trait: var(--tn-rule);
	--sabar-gris: var(--tn-muted);
	--sabar-rayon: var(--tn-r);
	--sabar-rayon-petit: var(--tn-r-sm);
	--sabar-pilule: var(--tn-pill);
	--sabar-mono: var(--tn-mono);
	--sabar-hachures: var(--tn-hatch);
}

/* Pastilles Sabar (« Sponsorisé », réservé aux abonnés) sur les cartes et en tête d'article. */
.tn-card__pastilles { display: flex; flex-wrap: wrap; gap: 6px; }
.tn-card__pastilles .sabar-pastille { font-size: 10px; padding: 2px 7px; }
.tn-card__pastilles .sabar-pastille + .sabar-pastille { margin-inline-start: 0; }
.tn-article__kickers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tn-article__kickers .sabar-pastille + .sabar-pastille { margin-inline-start: 0; }
.sabar-page .tn-main { min-height: 50vh; }
.tn-ad-row { display: flex; justify-content: center; padding-block: 24px; padding-inline: 16px; }
.tn-ad-row .sabar-pub__label { display: none; }
.tn-dark .sabar-pub__vide, .tn-ad-row--dark .sabar-pub__vide { background: var(--tn-hatch-dark); color: #8A8F87; }

/* ========== 5 Accueil ========== */

.tn-home-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 300px; grid-template-areas: "fil main side"; gap: 32px; align-items: start; }
.tn-home-grid__fil { grid-area: fil; }
.tn-home-grid__main { grid-area: main; display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.tn-home-grid__side { grid-area: side; display: flex; flex-direction: column; gap: 24px; }
.tn-home-grid__ad { grid-area: mobilead; display: none; justify-content: center; }
.tn-headline { display: flex; flex-direction: column; gap: 24px; }

.tn-fil { display: flex; flex-direction: column; }
.tn-fil__list { list-style: none; margin: 0; padding: 0; }
.tn-fil__item { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--tn-rule-soft); position: relative; }
.tn-fil__item.is-new { animation: tn-new 3s ease; }
@keyframes tn-new { from { background: color-mix(in srgb, var(--tn-accent) 25%, transparent); } }
.tn-fil__time { font-family: var(--tn-mono); font-size: 12px; font-weight: 600; color: var(--tn-accent-ink); padding-top: 2px; }
.tn-fil__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tn-fil__cat { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--tn-muted); text-transform: uppercase; }
.tn-fil__title { font-size: 14px; line-height: 1.3; font-weight: 600; text-wrap: pretty; }
.tn-fil__title::after { content: ""; position: absolute; inset: 0; }
.tn-fil .tn-more { padding-top: 12px; }

.tn-most-read .tn-section-title { margin-bottom: 4px; }
.tn-rank { list-style: none; margin: 0; padding: 0; }
.tn-rank__item { display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--tn-rule-soft); }
.tn-rank__item:last-child { border-bottom: 0; padding-bottom: 0; }
.tn-rank__n { font-family: var(--wp--preset--font-family--sans); font-size: 44px; line-height: .9; font-weight: 900; font-style: italic; font-stretch: 80%; color: var(--tn-ink); }
.tn-rank__item a { font-size: 14px; line-height: 1.3; font-weight: 650; text-wrap: pretty; }

.tn-prayers { background: var(--tn-accent); color: var(--tn-on-accent); border-radius: var(--tn-r); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.tn-prayers__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.tn-prayers__title { margin: 0; font-weight: 900; font-style: italic; font-size: 16px; text-transform: uppercase; }
.tn-prayers__temp { font-size: 26px; font-weight: 850; line-height: 1; }
.tn-prayers__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; list-style: none; margin: 0; padding: 0; }
.tn-prayers__cell { background: color-mix(in srgb, var(--tn-on-accent) 8%, transparent); border-radius: var(--tn-r-sm); padding: 8px 2px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tn-prayers__cell.is-next { background: var(--tn-on-accent); color: var(--tn-accent); }
.tn-prayers__name { font-size: 10px; font-weight: 700; }
.tn-prayers__time { font-family: var(--tn-mono); font-size: 12px; font-weight: 600; }

/* Bloc TV. */
.tn-tv { background: var(--tn-accent); color: var(--tn-on-accent); margin-top: 48px; }
.tn-tv__inner { padding-block: 44px; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
.tn-tv__side { display: flex; flex-direction: column; gap: 14px; justify-content: space-between; }
.tn-tv__title { margin: 0; overflow-wrap: anywhere; font-size: 64px; line-height: .9; font-weight: 900; font-style: italic; font-stretch: 80%; letter-spacing: -.02em; }
.tn-tv a:hover { color: inherit; opacity: .75; }
.tn-tv__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
.tn-tv__list { display: flex; flex-direction: column; gap: 12px; }
.tn-card--video { background: var(--tn-ink-bg); color: #FFFFFF; border-radius: var(--tn-r); overflow: hidden; }
.tn-card--video .tn-card__body { padding: 16px 20px 20px; }
.tn-card--video .tn-card__title { font-size: 21px; line-height: 1.15; }
.tn-tv .tn-card--video:hover .tn-card__title { color: var(--tn-accent); }
.tn-card--video-mini { display: grid; grid-template-columns: 140px 1fr; gap: 12px; align-items: center; background: rgba(255, 255, 255, .55); border-radius: var(--tn-r); padding: 8px; }
.tn-card--video-mini .tn-media { border-radius: var(--tn-r-sm); aspect-ratio: 16 / 10; }
.tn-card--video-mini .tn-card__title { font-size: 15px; line-height: 1.25; font-weight: 700; }
.tn-tv .tn-card:hover .tn-card__title { color: inherit; }
.tn-tv .tn-card--video:hover .tn-card__title { color: var(--tn-accent); }

/* Rangées de rubriques. */
.tn-sections { padding-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.tn-row { display: grid; grid-template-columns: 200px minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--tn-rule); }
.tn-row__head { display: flex; flex-direction: column; gap: 10px; }
.tn-row__head--inline { flex-direction: row; justify-content: space-between; align-items: baseline; }
.tn-row__title { margin: 0; font-size: 30px; line-height: 1; font-weight: 900; font-style: italic; font-stretch: 84%; text-transform: uppercase; overflow-wrap: anywhere; }
.tn-card--row-lead, .tn-card--row-item { gap: 10px; }
.tn-card--row-lead .tn-media, .tn-card--row-item .tn-media { border-radius: var(--tn-r); }
.tn-card--row-lead .tn-card__title { font-size: 20px; line-height: 1.18; }
.tn-card--row-item .tn-card__title { font-size: 16px; line-height: 1.25; font-weight: 650; }
.tn-sections > .tn-ad-row:empty, .tn-sections > div:empty { display: none; }

/* Revue de presse. */
.tn-press { padding-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.tn-press__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.tn-press__head time { font-family: var(--tn-mono); font-size: 12px; color: var(--tn-text-3); text-transform: uppercase; }
.tn-press__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.tn-press__grid.has-ad { grid-template-columns: minmax(0, 1fr) 300px; }
.tn-press__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.tn-press__item figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tn-press__item .tn-media { border-radius: var(--tn-r-sm); box-shadow: 0 1px 0 var(--tn-rule); }
.tn-press__item a:hover .tn-media { opacity: .9; }
.tn-press__item figcaption { font-size: 14px; font-weight: 700; }
.tn-press__ad { align-self: start; }

/* ========== 6 Article ========== */

.tn-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; padding-top: 40px; }
.tn-layout--article { gap: 64px; padding-top: 0; }
.tn-layout__content { min-width: 0; display: flex; flex-direction: column; }
.tn-sidebar { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.tn-sidebar--sticky { position: sticky; top: 24px; }
.admin-bar .tn-sidebar--sticky { top: 56px; }

.tn-article { display: flex; flex-direction: column; gap: 24px; max-width: 820px; min-width: 0; }
.tn-crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-family: var(--tn-mono); font-size: 12px; color: var(--tn-muted); }
.tn-crumbs li + li::before { content: "/"; margin-inline-end: 8px; }
.tn-crumbs li:last-child, .tn-crumbs [aria-current] { color: var(--tn-ink); }
.tn-article > .tn-badge { margin-bottom: -4px; }
.tn-article__title { margin: 0; font-size: var(--wp--preset--font-size--3-xl); line-height: 1; font-weight: 850; font-stretch: 84%; letter-spacing: -.02em; text-wrap: balance; overflow-wrap: break-word; }
.tn-standfirst { margin: 0; font-size: 22px; line-height: 1.45; color: var(--tn-text-2); text-wrap: pretty; }

.tn-byline { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-block: 1px solid var(--tn-rule); }
.tn-byline__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tn-avatar { border-radius: 50%; display: block; flex: none; background: var(--tn-hatch); object-fit: cover; font-size: 0; color: transparent; overflow: hidden; }
.tn-byline__text { display: flex; flex-direction: column; gap: 2px; }
.tn-byline__name { font-weight: 700; font-size: 15px; }
.tn-byline__meta { font-family: var(--tn-mono); font-size: 12px; color: var(--tn-muted); }
.tn-byline__updated { color: var(--tn-accent-ink); }

.tn-share { display: flex; gap: 8px; flex-wrap: wrap; }
.tn-share__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; border: 1px solid #CFD2CC; background: transparent; border-radius: var(--tn-pill); padding: 8px 14px; font-size: 13px; font-weight: 700; line-height: 1; }
.tn-share__btn:hover { border-color: var(--tn-ink); color: var(--tn-ink); }
.tn-share--inline .tn-share__btn--whatsapp { order: 3; }
.tn-share--inline .tn-share__btn--copy { order: 4; }
.tn-share-wrap--floating { display: none; }

.tn-figure { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tn-figure__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--tn-r); background: var(--tn-hatch); display: block; }
.tn-figure figcaption, .tn-prose figcaption, .wp-element-caption { font-size: 13px; color: var(--tn-muted); line-height: 1.45; }

/* Corps de l'article (et dans l'éditeur, où il porte la classe .wp-block-post-content). */
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) { font-size: var(--wp--preset--font-size--body); line-height: 1.65; color: var(--tn-body); overflow-wrap: break-word; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) > * { margin-block: 0; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) > * + * { margin-block-start: 22px; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) p { text-wrap: pretty; }
/* Liens du texte (pas les boutons, bannières et paywall de l'extension Sabar insérés dans l'article). */
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) a:not(.sabar-bouton, .sabar-maison, .sabar-pub__banniere) { color: var(--tn-accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) a:not(.sabar-bouton, .sabar-maison, .sabar-pub__banniere):hover { text-decoration-thickness: 2px; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) h2 { font-size: 28px; line-height: 1.15; font-weight: 800; margin-block-start: 34px; color: var(--tn-ink); }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) h3 { font-size: 22px; line-height: 1.2; font-weight: 800; margin-block-start: 30px; color: var(--tn-ink); }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) ul, :is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) ol { padding-inline-start: 1.3em; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) li + li { margin-top: 6px; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) blockquote, :is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) .wp-block-quote, :is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) .wp-block-pullquote { margin-inline: 0; margin-block: 34px; padding: 0; border: 0; display: flex; flex-direction: column; gap: 12px; text-align: start; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) blockquote::before { content: "“"; font-size: 80px; line-height: .5; font-weight: 900; color: var(--tn-accent-ink); height: 40px; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) blockquote p { font-size: 30px; line-height: 1.2; font-weight: 750; font-stretch: 88%; letter-spacing: -.01em; color: var(--tn-ink); margin: 0; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) blockquote cite, :is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) blockquote footer { font-family: var(--tn-mono); font-size: 13px; font-style: normal; color: var(--tn-muted); }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) blockquote cite::before { content: "— "; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) figure { margin-inline: 0; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) img { border-radius: var(--tn-r); }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) .wp-block-embed__wrapper, :is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) iframe { border-radius: var(--tn-r); }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) .wp-block-table, :is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) table { display: block; overflow-x: auto; max-width: 100%; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) table { border-collapse: collapse; font-size: 16px; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) th, :is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) td { border-bottom: 1px solid var(--tn-rule); padding: 10px 12px; text-align: start; }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) hr { border: 0; border-top: 1px solid var(--tn-rule); }
:is(.tn-prose, .editor-styles-wrapper .wp-block-post-content) .wp-block-button__link { text-decoration: none; }

.tn-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
.tn-tags a { background: var(--tn-white); border-radius: var(--tn-pill); padding: 8px 14px; font-size: 13px; font-weight: 600; min-height: 36px; display: inline-flex; align-items: center; }
.tn-tags a::before { content: "#"; }

.tn-author-box { background: var(--tn-card); border-radius: var(--tn-r); padding: 20px; display: flex; gap: 16px; align-items: center; }
.tn-author-box .tn-avatar { width: 64px; height: 64px; }
.tn-author-box__text { display: flex; flex-direction: column; gap: 4px; }
.tn-author-box__text p { margin: 0; }
.tn-author-box__name { font-weight: 800; font-size: 16px; }
.tn-author-box__bio { font-size: 14px; color: var(--tn-text-3); line-height: 1.4; }
.tn-author-box .tn-more { margin-inline-start: auto; white-space: nowrap; }

.tn-comments { border-top: 2px solid var(--tn-ink); padding-top: 18px; }
.tn-comments .wp-block-comments-title { font-size: 22px; font-weight: 900; font-style: italic; text-transform: uppercase; margin: 0 0 12px; }
.tn-comment { padding: 14px 0; border-bottom: 1px solid var(--tn-rule); }
.tn-comment .wp-block-comment-author-name { font-weight: 700; }
.tn-comment .wp-block-comment-date { font-family: var(--tn-mono); font-size: 12px; color: var(--tn-muted); }
.tn-comments textarea, .tn-comments input[type=text], .tn-comments input[type=email], .tn-comments input[type=url] { width: 100%; border: 1px solid var(--tn-rule); border-radius: var(--tn-r-sm); padding: 12px; font: inherit; background: var(--tn-white); }
.tn-comments .wp-block-button__link, .tn-comments input[type=submit] { background: var(--tn-accent); color: var(--tn-on-accent); border: 0; border-radius: var(--tn-pill); padding: 12px 22px; font-weight: 800; }

.tn-related { padding-top: 56px; display: flex; flex-direction: column; gap: 18px; }

.tn-progress { position: sticky; top: 0; z-index: 30; height: 3px; background: transparent; }
.tn-progress__bar { display: block; height: 100%; background: var(--tn-accent); transform-origin: 0 50%; transform: scaleX(0); }
.admin-bar .tn-progress { top: 32px; }

/* ========== 7 Rubriques ========== */

.tn-archive-hero { padding-block: 48px 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; border-bottom: 1px solid var(--tn-rule); }
.tn-archive-hero__text { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tn-archive-hero__page { font-size: .3em; font-style: normal; font-stretch: 100%; letter-spacing: 0; color: var(--tn-muted); vertical-align: middle; }
.tn-archive-hero__desc { font-size: 18px; line-height: 1.5; color: var(--tn-text-2); max-width: 620px; }
.tn-archive-hero__desc p { margin: 0; }
.tn-archive-hero .tn-chips ul { justify-content: flex-end; max-width: 520px; }

.tn-archive-lead { padding-top: 32px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
.tn-archive-lead__side { display: flex; flex-direction: column; gap: 20px; }
.tn-card--feature { background: var(--tn-ink-bg); color: #FFFFFF; border-radius: var(--tn-r); overflow: hidden; }
.tn-card--feature .tn-card__body { padding: 22px 26px 26px; gap: 10px; }
.tn-card--feature .tn-card__meta { color: var(--tn-accent); }
.tn-card--feature .tn-card__title { font-size: 36px; line-height: 1.04; font-weight: 850; font-stretch: 84%; text-wrap: balance; }
.tn-card--feature:hover .tn-card__title { color: #FFFFFF; text-decoration: underline; text-decoration-color: var(--tn-accent); text-underline-offset: 5px; }
.tn-card--feature-side { background: var(--tn-card); border-radius: var(--tn-r); overflow: hidden; flex: 1; }
.tn-card--feature-side .tn-card__body { padding: 14px 18px 18px; }
.tn-card--feature-side .tn-card__title { font-size: 20px; line-height: 1.18; }

.tn-list-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--tn-ink); }
.tn-list-heading .tn-section-title { font-size: 22px; }
.tn-list-heading__aside { font-family: var(--tn-mono); font-size: 12px; color: var(--tn-muted); }

.tn-query .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.tn-list-item { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--tn-rule); position: relative; }
.tn-list-item__media { border-radius: var(--tn-r-sm); aspect-ratio: 16 / 10; }
.tn-list-item__body { display: flex; flex-direction: column; gap: 8px; justify-content: center; min-width: 0; }
.tn-list-item__title { margin: 0; font-size: 24px; line-height: 1.15; font-weight: 800; font-stretch: 90%; text-wrap: pretty; }
.tn-list-item__title a::after { content: ""; position: absolute; inset: 0; }
.tn-list-item:hover .tn-list-item__title { color: var(--tn-accent-ink); }
.tn-list-item__excerpt { margin: 0; font-size: 15px; line-height: 1.5; color: var(--tn-text-3); }
.tn-list-item__excerpt p { margin: 0; }
.tn-list-item__excerpt .wp-block-post-excerpt__more-text { display: none; }
.tn-query--search .tn-list-item { grid-template-columns: 200px minmax(0, 1fr); }
.tn-query--search .tn-list-item__title { font-size: 22px; line-height: 1.18; }
.tn-query--search .tn-list-item__body { justify-content: flex-start; }

.tn-query--cards .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 18px; }
.tn-query--cards .wp-block-post-template > li { display: flex; }
.tn-query--cards .tn-card { flex: 1; }
.tn-query--cards .tn-card__title a::after, .tn-query--videos .tn-card__title a::after { content: ""; position: absolute; inset: 0; }
.tn-query--cards .tn-card__meta { font-size: 11px; }

.tn-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; padding-top: 32px; }
.tn-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; border-radius: var(--tn-r-sm); background: var(--tn-white); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.tn-pagination .page-numbers.current { background: var(--tn-ink-bg); color: #FFFFFF; }
.tn-pagination .page-numbers.dots { background: transparent; }
.tn-pagination .next, .tn-pagination .prev { padding: 0 18px; background: var(--tn-accent); color: var(--tn-on-accent); font-weight: 800; }
.tn-pagination .prev { background: var(--tn-white); color: var(--tn-ink); }
.tn-pagination a.page-numbers:hover { opacity: .8; color: inherit; }
.tn-pagination--more { padding-top: 28px; }

/* ========== 8 Recherche ========== */

.tn-search-hero { background: var(--tn-ink-bg); color: #FFFFFF; }
.tn-search-hero .tn-container { padding-block: 56px 40px; display: flex; flex-direction: column; gap: 24px; }
.tn-search-hero__kicker { margin: 0; font-family: var(--tn-mono); font-size: 12px; color: #9A9F96; letter-spacing: .08em; text-transform: uppercase; }
.tn-search-hero__form { display: flex; flex-direction: column; gap: 24px; }
.tn-search-hero__field { display: flex; align-items: center; gap: 18px; border-bottom: 3px solid var(--tn-accent); padding-bottom: 14px; }
.tn-search-hero__icon { width: 30px; height: 30px; border: 4px solid var(--tn-accent); border-radius: 50%; flex: none; }
.tn-search-hero__h1 { margin: 0; flex: 1; min-width: 0; font-size: inherit; }
.tn-search-hero__field input { width: 100%; background: transparent; border: 0; outline: 0; color: #FFFFFF; font: inherit; font-size: 64px; line-height: 1.1; font-weight: 850; font-stretch: 84%; letter-spacing: -.02em; padding: 0; }
.tn-search-hero__field input::-webkit-search-cancel-button { filter: invert(1); }
.tn-search-hero__count { font-family: var(--tn-mono); font-size: 13px; color: #9A9F96; white-space: nowrap; }
.tn-search-hero__filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.tn-filter select {
	appearance: none;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23fff'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: #FFFFFF;
	border: 1px solid #3A3D38;
	border-radius: var(--tn-pill);
	padding: 9px 34px 9px 16px;
	font: inherit; font-size: 14px; font-weight: 600;
	min-height: 40px;
}
.tn-filter select option { color: var(--tn-ink); }
.tn-seg { margin: 0; margin-inline-start: auto; border: 0; display: flex; gap: 4px; background: #1E201C; border-radius: var(--tn-pill); padding: 3px; font-size: 13px; font-weight: 700; }
.tn-seg__item { position: relative; }
.tn-seg__item input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.tn-seg__item span { display: block; padding: 6px 14px; border-radius: var(--tn-pill); }
.tn-seg__item input:checked + span { background: var(--tn-accent); color: var(--tn-on-accent); }
.tn-seg__item input:focus-visible + span { outline: 2px solid var(--tn-accent); }

.tn-trending { display: flex; flex-direction: column; gap: 12px; }
.tn-trending .tn-section-title, .tn-facets-box .tn-section-title { font-size: 16px; }
.tn-facets { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tn-facets a { display: flex; justify-content: space-between; font-size: 14px; font-weight: 600; padding-bottom: 10px; border-bottom: 1px solid var(--tn-rule-soft); }
.tn-facets__n { font-family: var(--tn-mono); color: var(--tn-muted); }
.tn-noresults { padding: 24px 0; }
.tn-noresults__title { font-size: 28px; font-weight: 850; font-stretch: 84%; margin: 0 0 8px; }
.tn-noresults + .tn-most-read { margin-top: 8px; }

/* ========== 9 Auteur ========== */

.tn-author-hero { padding-block: 48px; display: grid; grid-template-columns: 220px minmax(0, 1fr) 300px; gap: 40px; align-items: center; border-bottom: 1px solid var(--tn-rule); }
.tn-author-hero__portrait .tn-avatar { width: 220px; height: 220px; border: 6px solid var(--tn-accent); }
.tn-author-hero__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tn-author-hero__name { margin: 0; font-size: 80px; line-height: .9; font-weight: 900; font-style: italic; font-stretch: 80%; letter-spacing: -.03em; overflow-wrap: anywhere; }
.tn-author-hero__bio { margin: 0; font-size: 18px; line-height: 1.5; color: var(--tn-text-2); max-width: 640px; text-wrap: pretty; }
.tn-author-hero__links { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 4px; }
.tn-author-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; list-style: none; margin: 0; padding: 0; }
.tn-stat { background: var(--tn-white); border-radius: var(--tn-r); padding: 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tn-stat__v { font-size: 34px; font-weight: 900; font-stretch: 80%; line-height: 1; overflow-wrap: anywhere; }
.tn-stat__l { font-size: 13px; color: var(--tn-muted); }
.tn-author .tn-layout__content { gap: 0; }

/* ========== 10 Pages, 404 ========== */

.tn-page { padding-block: 40px 0; display: flex; flex-direction: column; gap: 24px; }
.tn-page__title { margin: 0; font-size: var(--wp--preset--font-size--3-xl); line-height: 1; font-weight: 850; font-stretch: 84%; letter-spacing: -.02em; }
.tn-page .tn-prose { max-width: 820px; }
.tn-page--wide .tn-prose { max-width: none; }

.tn-not-found { padding-block: 24px; display: flex; flex-direction: column; gap: 18px; }
.tn-not-found__text { font-size: 18px; color: var(--tn-text-2); margin: 0; }
.tn-not-found .tn-search-form { max-width: 720px; }
.tn-not-found .tn-search-form input { font-size: 28px; }
.tn-not-found__links { display: flex; gap: 8px; flex-wrap: wrap; }

/* ========== 11 Vidéos / TV ========== */

.tn-dark, .tn-dark .wp-site-blocks { background: var(--tn-ink-bg); color: #FFFFFF; }
.tn-dark .tn-main a:hover { color: var(--tn-accent); }
.tn-tv-hero { padding-top: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.tn-display--tv { font-size: 96px; }
.tn-tv-hero .tn-chips ul { justify-content: flex-end; }
.tn-tv-live { padding-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.tn-live { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tn-live__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.tn-live__info > div:first-child { display: flex; flex-direction: column; gap: 8px; }
.tn-live__info .tn-share { flex: none; }
.tn-live__title { margin: 0; font-size: 34px; line-height: 1.05; font-weight: 850; font-stretch: 84%; }
.tn-live .tn-share__btn { border-color: #3A3D38; color: #FFFFFF; }

.tn-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--tn-r); overflow: hidden; background: var(--tn-hatch-dark); }
.tn-player > .tn-media { position: absolute; inset: 0; aspect-ratio: auto; }
.tn-player__play { position: absolute; inset: 0; background: transparent; border: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.tn-player__play:hover .tn-play { transform: scale(1.06); }
.tn-play { transition: transform var(--tn-ease); }
.tn-player__frame, .tn-player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.tn-player__badges { position: absolute; top: 16px; inset-inline-start: 16px; display: flex; gap: 8px; align-items: center; z-index: 4; }
.tn-live-badge { background: var(--tn-live); color: #FFFFFF; font-weight: 900; font-size: 13px; letter-spacing: .06em; padding: 5px 10px; border-radius: var(--tn-r-sm); display: flex; gap: 6px; align-items: center; text-transform: uppercase; }

.tn-schedule-box { background: #171916; border-radius: var(--tn-r); padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.tn-schedule-box .tn-box__head { padding-bottom: 10px; }
.tn-schedule__day { font-family: var(--tn-mono); font-size: 11px; color: #9A9F96; text-transform: uppercase; }
.tn-schedule { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.tn-schedule__row { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 12px; border-radius: var(--tn-r-sm); }
.tn-schedule__row time { font-family: var(--tn-mono); font-size: 13px; font-weight: 600; }
.tn-schedule__row div { display: flex; flex-direction: column; gap: 2px; }
.tn-schedule__t { font-size: 15px; font-weight: 700; }
.tn-schedule__k { font-size: 12px; opacity: .7; }
.tn-schedule__row.is-now { background: var(--tn-accent); color: var(--tn-on-accent); }

.tn-video-rows { display: flex; flex-direction: column; }
.tn-video-row { padding-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.tn-video-row .tn-more--accent, .tn-dark .tn-more--accent { color: var(--tn-accent); }
.tn-card--video-card { gap: 10px; }
.tn-card--video-card .tn-media, .tn-card--video-card .wp-block-post-featured-image { border-radius: var(--tn-r-sm); }
.tn-card--video-card .tn-duration { inset-inline-end: 8px; bottom: 8px; background: var(--tn-accent); color: var(--tn-on-accent); font-size: 11px; font-weight: 600; padding: 2px 6px; }
.tn-card--video-card .tn-card__title { font-size: 16px; line-height: 1.25; font-weight: 700; }
.tn-card--video-card .tn-card__meta { font-size: 11px; color: #9A9F96; }
.tn-dark .tn-card:hover .tn-card__title { color: var(--tn-accent); }
.tn-query--videos .wp-block-post-template { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 32px; }
.tn-video-single { padding-top: 24px; display: flex; flex-direction: column; gap: 20px; max-width: 1100px; }
.tn-video-single__title { margin: 0; font-size: 44px; line-height: 1.05; font-weight: 850; font-stretch: 84%; }
.tn-dark .tn-byline { border-color: #2A2C28; }
.tn-dark .tn-byline__meta, .tn-dark .tn-crumbs ol { color: #9A9F96; }
.tn-dark .tn-crumbs li:last-child { color: #FFFFFF; }
.tn-dark .tn-share__btn { border-color: #3A3D38; color: #FFFFFF; }
.tn-dark .tn-prose { color: #D8DBD4; }
.tn-dark .tn-card--card { background: #171916; }
.tn-dark .tn-media:not(.tn-media--dark), .tn-dark .wp-block-post-featured-image { background: var(--tn-hatch-dark); }
.tn-dark .tn-pagination .page-numbers { background: #171916; }
.tn-dark .tn-pagination .current { background: var(--tn-accent); color: var(--tn-on-accent); }
.tn-dark .tn-footer { border-top: 1px solid #2A2C28; }

/* ========== 12 Pied de page ========== */

.tn-site-footer { margin-top: 56px; }
.tn-footer { background: var(--tn-ink-bg); color: #C9CDC5; }
.tn-footer__inner { padding-block: 44px 28px; display: flex; flex-direction: column; gap: 32px; }
.tn-footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; border-bottom: 1px solid #2A2C28; padding-bottom: 28px; flex-wrap: wrap; }
.tn-footer__slogan { margin: 0; font-size: 56px; line-height: .9; font-weight: 900; font-style: italic; font-stretch: 80%; color: #FFFFFF; letter-spacing: -.02em; }
.tn-footer__socials { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.tn-footer__socials .tn-pill { color: #C9CDC5; }
.tn-footer__socials .tn-pill:hover { color: var(--tn-accent); border-color: var(--tn-accent); }
.tn-footer__bottom { display: flex; justify-content: space-between; gap: 24px; font-size: 13px; flex-wrap: wrap; align-items: center; }
.tn-footer__links { display: flex; gap: 8px 24px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.tn-footer a:hover { color: var(--tn-accent); }
.tn-footer__copy { margin: 0; font-family: var(--tn-mono); font-size: 12px; }

.tn-tabbar { display: none; }

/* ========== 12 bis Modèles (Apparence > Tama > Modèles) ========== */
/* Chaque modèle reprend les couleurs de l'habillage (variables --tn-*) : un même modèle sert à tous les sites. */

/* --- En-têtes Rewmi et Compact --- */
.tn-header--rewmi, .tn-header--compact { background: var(--tn-white); border-bottom: 1px solid var(--tn-rule); }
.tn-topbar { background: color-mix(in srgb, var(--tn-ink) 4%, var(--tn-card)); font-size: 13px; color: var(--tn-muted); }
.tn-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.tn-topbar__date { margin: 0; }
.tn-topbar__links { display: flex; gap: 24px; }
.tn-topbar__links a:hover { color: var(--tn-accent-ink); }
.tn-bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.tn-bar__end { display: flex; align-items: center; gap: 8px; }
.tn-logo--gauche { justify-content: flex-start; min-height: 0; flex: none; }
.tn-header--rewmi .tn-logo img { height: min(var(--wp--custom--logo--height, 92px), 56px) !important; max-width: 300px; }
.tn-alert-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--tn-pill); background: var(--tn-ink-bg); color: #FFFFFF; font-weight: 700; font-size: 14px; white-space: nowrap; }
.tn-alert-btn:hover { color: #FFFFFF; opacity: .88; }
.tn-alert-btn .tn-icon { width: 18px; height: 18px; }
.tn-rubriques { border-top: 1px solid var(--tn-rule); }
.tn-rubriques__inner { display: flex; align-items: center; gap: 30px; min-height: 52px; overflow-x: auto; scrollbar-width: none; position: relative; }
.tn-rubriques__inner::-webkit-scrollbar { display: none; }
.tn-live-pill { display: inline-flex; align-items: center; gap: 7px; flex: none; background: var(--tn-accent); color: var(--tn-on-accent); padding: 7px 14px; border-radius: var(--tn-pill); font-weight: 700; font-size: 14px; line-height: 1.2; }
.tn-live-pill .tn-dot { background: currentColor; width: 7px; height: 7px; }
.tn-live-pill:hover { color: var(--tn-on-accent); opacity: .9; }
:is(.tn-rubriques, .tn-bar--compact) .tn-primary-nav { min-height: 0; padding: 0; margin: 0; max-width: none; justify-content: flex-start; }
:is(.tn-rubriques, .tn-bar--compact) .tn-primary-nav .wp-block-navigation__container { gap: 30px; }
:is(.tn-rubriques, .tn-bar--compact) .tn-primary-nav .wp-block-navigation-item__content { font-size: 15px; font-weight: 500; color: var(--tn-text-2); white-space: nowrap; }
.tn-bar--compact .tn-primary-nav .wp-block-navigation-item__content { font-weight: 700; color: var(--tn-ink); }
:is(.tn-rubriques, .tn-bar--compact) .tn-primary-nav :is(.current-menu-item > a, [aria-current="page"]),
:is(.tn-rubriques, .tn-bar--compact) .tn-primary-nav .wp-block-navigation-item__content:hover { color: var(--tn-accent-ink); }
.tn-bar--compact { min-height: 68px; gap: 28px; justify-content: flex-start; }
.tn-bar--compact .tn-logo img { height: min(var(--wp--custom--logo--height, 92px), 44px) !important; max-width: 220px; }
.tn-bar--compact .tn-primary-nav { flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.tn-bar--compact .tn-primary-nav .wp-block-navigation__container { gap: 24px; padding-inline-end: 40px; }
[dir="rtl"] .tn-bar--compact .tn-primary-nav { mask-image: linear-gradient(to left, #000 calc(100% - 48px), transparent); }
.tn-bar--compact .tn-bar__end { margin-inline-start: auto; }

/* Bandeau du dernier titre (modèle Rewmi) : fond encre, pastille du fil, un seul titre. */
.tn-breaking--latest { background: var(--tn-ink-bg); color: #FFFFFF; border: 0; }
.tn-breaking--latest .tn-breaking__inner { height: 48px; gap: 12px; }
.tn-breaking--latest .tn-breaking__label { background: var(--tn-accent); color: var(--tn-on-accent); padding: 5px 10px; border-radius: 12px; font-size: 11px; font-style: normal; letter-spacing: .14em; }
.tn-breaking--latest .tn-breaking__label .tn-dot { background: currentColor; }
.tn-breaking--latest .tn-breaking__track { mask-image: none; }
.tn-breaking--latest .tn-breaking__list { width: auto; display: block; }
.tn-breaking--latest .tn-breaking__list li { display: block; border: 0; padding: 0; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tn-breaking--latest .tn-breaking__list li + li { display: none; }
.tn-breaking--latest .tn-breaking__list.is-scrolling { animation: none; }
.tn-breaking--latest .tn-breaking__list.is-scrolling li:first-child { border: 0; padding: 0; }
.tn-breaking--latest a:hover { color: #FFFFFF; text-decoration: underline; }

/* --- Pieds de page Rewmi et Sobre --- */
.tn-footcols { display: flex; flex-direction: column; gap: 32px; }
.tn-footcols__logo { align-self: flex-start; display: inline-flex; background: var(--tn-white); border-radius: var(--tn-r-sm); padding: 8px 14px; line-height: 0; }
.tn-footcols__logo img { height: 36px; width: auto; }
.tn-footcols__name { font-size: 28px; font-weight: 800; color: #FFFFFF; }
.tn-footcols__cols { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.tn-footcols__col { min-width: 150px; }
.tn-footcols__col h2 { margin: 0 0 12px; font-family: inherit; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #9A9F96; }
.tn-footcols__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tn-footcols a { color: #D8DBD4; font-size: 14px; }
.tn-footcols a:hover { color: #FFFFFF; }
.tn-footcols__legal { margin: 0; font-size: 12px; color: #9A9F96; border-top: 1px solid #2E302C; padding-top: 18px; }
.tn-footcols__legal a { font-size: 12px; color: #9A9F96; }
.tn-footer--sobre { background: var(--tn-card); color: var(--tn-muted); border-top: 1px solid var(--tn-rule); }
.tn-footer--sobre .tn-footer__inner { padding-block: 28px 24px; gap: 18px; }
.tn-footer__ligne { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tn-logo--pied { min-height: 0; justify-content: flex-start; }
.tn-logo--pied img { height: 40px !important; }
.tn-footer__top--seul { border: 0; padding: 0; }
.tn-footer--sobre .tn-footer__socials .tn-pill { color: var(--tn-ink); border-color: var(--tn-rule); }
.tn-footer--sobre a:hover { color: var(--tn-accent-ink); }

/* --- Accueil Rewmi --- */
.tn-une-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding-top: 24px; }
.tn-headline--liste { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 40px; align-items: start; }
.tn-card--une { gap: 12px; }
.tn-card--une .tn-media { border-radius: 10px; aspect-ratio: 5 / 3; }
.tn-card--une .tn-card__body { display: flex; flex-direction: column; gap: 10px; }
.tn-card--une .tn-card__title { font-size: 38px; line-height: 1.12; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.tn-card--une .tn-card__excerpt { margin: 0; font-size: 18px; line-height: 1.5; color: var(--tn-text-2); }
.tn-card__byline { margin: 0; font-size: 12px; color: var(--tn-muted); }
.tn-headline__list { display: flex; flex-direction: column; margin-top: -16px; }
.tn-card--titre { padding-block: 16px; border-bottom: 1px solid var(--tn-rule); }
.tn-card--titre:last-child { border-bottom: 0; }
.tn-card--titre .tn-card__body { display: flex; flex-direction: column; gap: 6px; }
.tn-card--titre .tn-card__title { font-size: 17px; line-height: 1.3; font-weight: 700; }
.tn-home--rewmi .tn-card__label { font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.tn-home--rewmi .tn-fil .tn-more { display: flex; justify-content: center; align-items: center; width: 100%; min-height: 44px; margin-top: 12px; background: var(--tn-ink-bg); color: #FFFFFF; border-radius: var(--tn-pill); }
.tn-card--vignette, .tn-card--colonne { gap: 10px; }
.tn-card--vignette .tn-media, .tn-card--colonne .tn-media { border-radius: var(--tn-r-sm); }
.tn-card--vignette .tn-card__body, .tn-card--colonne .tn-card__body { display: flex; flex-direction: column; gap: 6px; }
.tn-card--vignette .tn-card__title { font-size: 17px; line-height: 1.25; font-weight: 700; }
.tn-card--colonne .tn-card__title { font-size: 22px; line-height: 1.2; font-weight: 700; }
.tn-row--grille, .tn-row--colonne { display: block; border: 0; padding-bottom: 0; }
.tn-row--grille .tn-row__head, .tn-row--colonne .tn-row__head { flex-direction: row; justify-content: space-between; align-items: baseline; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--tn-ink); }
.tn-row--grille .tn-row__title, .tn-row--colonne .tn-row__title { font-size: 24px; font-style: normal; font-stretch: 100%; text-transform: none; font-weight: 700; }
.tn-row__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.tn-row__col { display: flex; flex-direction: column; }
.tn-row__col .tn-card--colonne { padding-bottom: 6px; }
.tn-home-cols { display: grid; grid-template-columns: 1fr 1fr 336px; gap: 40px; align-items: start; padding-block: 48px 8px; }
.tn-home-cols__side { display: grid; gap: 32px; align-content: start; }
.tn-alert-cta { background: var(--tn-card); border-radius: 14px; padding: 36px 44px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.tn-alert-cta h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 28px; }
.tn-alert-cta h2 .tn-icon { width: 26px; height: 26px; color: var(--tn-accent-ink); flex: none; }
.tn-alert-cta p { margin: 8px 0 0; font-size: 17px; color: var(--tn-text-2); }
.tn-alert-cta__actions { display: flex; gap: 10px; flex-shrink: 0; }
.tn-btn--ink { background: var(--tn-ink-bg); color: #FFFFFF; }
.tn-btn--ink:hover { color: #FFFFFF; opacity: .88; }
.tn-btn--line { border: 1px solid var(--tn-ink); }

@media (max-width: 1023px) {
	.tn-topbar, .tn-alert-btn { display: none; }
	.tn-bar { min-height: 64px; gap: 12px; }
	.tn-bar__end .sabar-lien-compte { display: none; }
	.tn-header--rewmi .tn-logo img, .tn-bar--compact .tn-logo img { height: var(--wp--custom--logo--height-mobile, 48px) !important; max-width: 50vw; }
	.tn-bar--compact .tn-primary-nav { display: none; }
	.tn-bar--compact .tn-burger { display: inline-flex; width: 44px; height: 44px; background: transparent; }
	.tn-rubriques__inner { gap: 20px; min-height: 46px; }
	.tn-une-grid, .tn-headline--liste, .tn-home-cols { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.tn-card--une .tn-card__title { font-size: 28px; }
	.tn-card--une .tn-card__excerpt { font-size: 16px; }
	.tn-headline__list { margin-top: 0; }
	.tn-row__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
	.tn-alert-cta { flex-direction: column; align-items: flex-start; padding: 22px; gap: 16px; }
	.tn-alert-cta h2 { font-size: 21px; }
	.tn-alert-cta p { font-size: 15px; }
	.tn-alert-cta__actions { flex-direction: column; align-self: stretch; }
}
@media (max-width: 767px) {
	.tn-footcols__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.tn-footcols__col { min-width: 0; }
	.tn-footcols__col:last-child ul { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
	.tn-footcols__col:last-child { grid-column: 1 / -1; }
	.tn-row__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.tn-row__grid .tn-card--vignette:first-child { padding-bottom: 12px; }
	.tn-row__grid .tn-card--vignette:not(:first-child) { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: center; padding-block: 12px; border-top: 1px solid var(--tn-rule); }
	.tn-row__grid .tn-card--vignette:not(:first-child) .tn-card__title { font-size: 15px; }
	.tn-breaking--latest .tn-breaking__list li { font-size: 13px; }
}

/* ---------- Modèles d'article et de rubrique « Rewmi » ---------- */
/* Fil d'Ariane et rubrique discrets (sans chasse fixe ni pastille), titres droits. */
:is(.tn-single--rewmi, .tn-archive--rewmi) .tn-crumbs ol { font-family: inherit; font-size: 13px; gap: 6px; }
:is(.tn-single--rewmi, .tn-archive--rewmi) .tn-crumbs li + li::before { content: "·"; margin-inline-end: 6px; }
.tn-single--rewmi .tn-badge { background: none; color: var(--tn-accent-ink); padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.tn-single--rewmi .tn-article { gap: 18px; }
.tn-single--rewmi .tn-article > .tn-badge { margin-bottom: -6px; }
.tn-single--rewmi .tn-article__title { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; font-weight: 700; font-stretch: 100%; letter-spacing: -.025em; }
.tn-single--rewmi .tn-standfirst { font-size: 19px; line-height: 1.5; }
.tn-single--rewmi .tn-byline { border: 0; padding: 2px 0 6px; }
.tn-single--rewmi .tn-byline__par { font-size: 15px; }
.tn-single--rewmi .tn-byline__meta { font-family: inherit; font-size: 12.5px; }
.tn-single--rewmi .tn-figure__img { border-radius: 12px; }
.tn-single--rewmi .tn-prose { max-width: 680px; }

/* Colonne : titres en minuscules, plus lus sans encadré, chiffres rouges. */
.tn-sidebar--rewmi .tn-section-title { font-size: 19px; font-style: normal; font-weight: 700; font-stretch: 100%; text-transform: none; letter-spacing: -.01em; }
.tn-sidebar--rewmi .tn-most-read { background: none; padding: 0; border-radius: 0; }
.tn-sidebar--rewmi .tn-most-read .tn-section-title { padding-bottom: 10px; border-bottom: 1px solid var(--tn-rule); }
.tn-sidebar--rewmi .tn-rank__item { grid-template-columns: 30px minmax(0, 1fr); align-items: start; padding: 12px 0; border-bottom-color: var(--tn-rule); }
.tn-sidebar--rewmi .tn-rank__n { font-size: 24px; line-height: 1; font-weight: 700; font-style: normal; font-stretch: 100%; color: var(--tn-accent-ink); }

/* Rubrique : bandeau clair sur toute la largeur, titre en minuscules. */
.tn-archive--rewmi .tn-archive-hero { padding-block: 36px 32px; background: var(--tn-card); box-shadow: 0 0 0 100vmax var(--tn-card); clip-path: inset(0 -100vmax); }
.tn-archive--rewmi .tn-display { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; font-weight: 700; font-style: normal; font-stretch: 100%; letter-spacing: -.03em; text-transform: none; }
.tn-archive--rewmi .tn-archive-hero__desc { font-size: 17px; }
.tn-archive-lead--cartes { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.tn-archive-lead--cartes .tn-archive-lead__side { display: contents; }
.tn-archive-lead--cartes .tn-card--une .tn-card__title { font-size: 32px; }
.tn-archive--rewmi .tn-list-heading { border-bottom: 0; border-top: 3px solid var(--tn-ink); padding: 14px 0 4px; }
.tn-archive--rewmi .tn-list-heading .tn-section-title { font-size: 24px; font-style: normal; font-weight: 700; font-stretch: 100%; text-transform: none; letter-spacing: -.02em; }
.tn-archive--rewmi .tn-list-item__title { font-size: 21px; font-weight: 700; font-stretch: 100%; letter-spacing: -.01em; }
.tn-archive--rewmi .tn-list-item .tn-card__meta { font-family: inherit; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tn-archive--rewmi .tn-list-item .tn-card__meta time { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--tn-muted); }

@media (max-width: 1023px) {
	.tn-archive-lead--cartes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
	.tn-archive-lead--cartes > .tn-card--une { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.tn-single--rewmi .tn-article__title { font-size: 28px; }
	.tn-single--rewmi .tn-standfirst { font-size: 17px; }
	.tn-archive--rewmi .tn-archive-hero { padding-block: 24px 20px; }
	.tn-archive-lead.tn-archive-lead--cartes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; }
	.tn-archive-lead--cartes .tn-card--une .tn-card__title { font-size: 24px; }
	.tn-archive-lead--cartes .tn-card--vignette .tn-card__title { font-size: 15px; }
	.tn-archive--rewmi .tn-list-item__title { font-size: 17px; }
}

/* ========== 12 quater Modèles Gooxbi (Exclusivités et reprises) ========== */
/* Origine des articles : tampon ou bandeau « Exclusif », « via APS » dans les listes. */
.tn-exclu { display: inline-block; width: max-content; font-weight: 900; font-size: 12px; line-height: 1.2; letter-spacing: .12em; text-transform: uppercase; }
.tn-exclu--tampon { border: 2px solid var(--tn-accent); color: var(--tn-accent); padding: 4px 10px; transform: rotate(-2deg); }
.tn-exclu--bandeau { background: var(--tn-accent); color: var(--tn-on-accent); padding: 5px 10px; }
.tn-card__media > .tn-exclu--bandeau { position: absolute; inset-block-start: 10px; inset-inline-start: 10px; z-index: 1; font-size: 11px; padding: 4px 8px; }
.tn-origin { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tn-muted); }
.tn-origin--exclusif { color: var(--tn-accent-ink); }
.tn-rank__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tn-media--1x1 { aspect-ratio: 1; }
:is(.tn-home--gooxbi, .tn-single--gooxbi, .tn-archive--gooxbi) .tn-section-title { font-style: normal; }

/* En-tête : navigation ouverte par l'onglet « Exclusivités ». */
.tn-navbar--gooxbi { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 52px; padding-inline: var(--tn-gutter); border-bottom: 1px solid #2E2621; }
.tn-navbar--gooxbi .tn-primary-nav { margin: 0; padding: 0; min-height: 0; max-width: none; min-width: 0; }
.tn-navbar--gooxbi .tn-primary-nav :is(.current-menu-item, .current-menu-ancestor) > .wp-block-navigation-item__content,
.tn-navbar--gooxbi .tn-primary-nav .wp-block-navigation-item__content[aria-current="page"] { background: none; color: var(--tn-accent); font-style: normal; font-weight: 700; }
.tn-masthead--gooxbi .tn-lang__item.is-active { color: #FFFFFF; }
.tn-exclu-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--tn-accent); color: var(--tn-on-accent); font-weight: 900; font-size: 14px; line-height: 1.2; padding: 8px 14px; border-radius: 4px; text-transform: uppercase; }
.tn-exclu-tab:hover, .tn-exclu-tab[aria-current] { color: var(--tn-on-accent); opacity: .92; }
.tn-exclu-tab__n { background: var(--tn-white); color: var(--tn-ink); border-radius: var(--tn-pill); font-size: 11px; padding: 1px 7px; }
.tn-exclu-tab__n[hidden] { display: none; }

/* Accueil : les Exclusivités du jour, sur fond sombre. */
.tn-exclu-day { background: var(--tn-ink-bg); color: #FFFFFF; }
.tn-exclu-day a:hover { color: var(--tn-accent); }
.tn-exclu-day__inner { padding-block: 40px 48px; display: flex; flex-direction: column; gap: 28px; }
.tn-exclu-day__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 24px; flex-wrap: wrap; }
.tn-exclu-day__kicker { margin: 0 0 8px; font-family: var(--tn-mono); font-size: 12px; letter-spacing: .1em; color: var(--tn-accent); text-transform: uppercase; }
.tn-exclu-day__h { margin: 0; font-size: 56px; line-height: .95; font-weight: 900; font-stretch: 82%; letter-spacing: -.02em; }
.tn-exclu-day__aside { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; font-size: 14px; color: #CFC6BF; }
.tn-exclu-day__aside .tn-more { color: #FFFFFF; border-bottom-color: var(--tn-accent); }
.tn-exclu-day__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.tn-exclu-day__lead { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tn-exclu-day__media { display: block; margin-bottom: 6px; }
.tn-exclu-day__media .tn-media { border-radius: var(--tn-r); }
.tn-exclu-day__lead-title { margin: 0; font-size: 44px; line-height: 1.04; font-weight: 850; font-stretch: 86%; letter-spacing: -.015em; text-wrap: balance; }
.tn-exclu-day__lead-excerpt { margin: 0; font-size: 17px; line-height: 1.5; color: #CFC6BF; text-wrap: pretty; }
.tn-exclu-day__lead-by { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; color: #9E948C; }
.tn-exclu-day__lead-by strong { color: #FFFFFF; }
.tn-exclu-day__lead-by .tn-avatar { width: 32px; height: 32px; background: #4A3E36; }
.tn-exclu-day__side { min-width: 0; }
.tn-exclu-day__list-title { margin: 0; padding-bottom: 12px; font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #9E948C; text-transform: uppercase; }
.tn-exclu-day__list { list-style: none; margin: 0; padding: 0; }
.tn-exclu-day__item { display: grid; grid-template-columns: 40px minmax(0, 1fr) 96px; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid #3A302A; }
.tn-exclu-day__n { font-size: 30px; line-height: .9; font-weight: 900; font-stretch: 80%; color: var(--tn-accent); }
.tn-exclu-day__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tn-exclu-day__cat { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #9E948C; text-transform: uppercase; }
.tn-exclu-day__title { font-size: 17px; line-height: 1.25; font-weight: 700; text-wrap: pretty; }
.tn-exclu-day__by { font-size: 13px; color: #CFC6BF; }
.tn-exclu-day__item .tn-media { border-radius: var(--tn-r-sm); }

/* Dernière minute : trois titres fixes. */
.tn-breaking--fixe { border-bottom-color: var(--tn-rule); }
.tn-breaking--fixe .tn-breaking__label { font-style: normal; }
.tn-breaking--fixe .tn-breaking__track { mask-image: none; }
.tn-breaking--fixe .tn-breaking__list { width: auto; overflow: hidden; }
.tn-breaking--fixe .tn-breaking__list li, .tn-breaking--fixe .tn-breaking__list li:first-child { border-inline-start: 1px solid var(--tn-rule); padding-inline: 18px 0; margin-inline-end: 18px; }

/* L'actu en continu : cartes blanches avec leur source. */
.tn-feed-layout { padding-top: 0; gap: 32px; }
.tn-feed { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tn-feed__head { display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
:is(.tn-feed, .tn-list-heading) .tn-section-title { font-size: 30px; font-weight: 900; font-stretch: 84%; text-transform: none; letter-spacing: -.01em; }
.tn-feed__sources { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tn-feed__sources .tn-chip { min-height: 0; padding: 6px 12px; font-size: 13px; font-weight: 600; border: 1px solid var(--tn-rule); background: var(--tn-card); }
.tn-feed__sources .tn-chip.is-active { background: var(--tn-ink-bg); border-color: var(--tn-ink); color: #FFFFFF; font-weight: 700; }
.tn-feed__grid, .tn-flux-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.tn-feed__grid[aria-busy="true"] { opacity: .5; }
.tn-card--flux { background: var(--tn-card); border-radius: var(--tn-r); overflow: hidden; height: 100%; }
.tn-card--flux :is(.tn-media, .wp-block-post-featured-image) { border-radius: 0; aspect-ratio: 16 / 10; }
.tn-card--flux .tn-card__body { padding: 14px 16px 16px; gap: 8px; flex: 1; }
.tn-card--flux :is(.tn-card__label, .tn-card__meta) { font-family: inherit; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--tn-muted); text-transform: uppercase; }
.tn-card--flux .tn-card__title { font-size: 17px; line-height: 1.22; font-weight: 700; flex: 1; }
.tn-card--flux .tn-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tn-card__pied { margin: 0; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--tn-rule-soft); font-family: var(--tn-mono); font-size: 11px; color: var(--tn-muted); }
.tn-card__pied strong { color: var(--tn-ink); font-weight: 600; }
.tn-card__pied--exclu { font-family: inherit; font-size: 13px; color: var(--tn-text-2); }
.tn-card__pied--exclu strong { font-weight: 700; }
.tn-feed__more { align-self: center; min-height: 0; padding: 10px 20px; font-size: 14px; font-weight: 700; background: var(--tn-card); border: 1px solid var(--tn-rule); }
.tn-feed__more[hidden] { display: none; }
:is(.tn-home--gooxbi, .tn-single--gooxbi, .tn-archive--gooxbi) .tn-most-read { background: var(--tn-card); }
:is(.tn-home--gooxbi, .tn-single--gooxbi, .tn-archive--gooxbi) .tn-most-read .tn-section-title { font-size: 18px; font-weight: 900; text-transform: uppercase; }
:is(.tn-home--gooxbi, .tn-single--gooxbi, .tn-archive--gooxbi) .tn-rank__item { grid-template-columns: 40px minmax(0, 1fr); align-items: start; }
:is(.tn-home--gooxbi, .tn-single--gooxbi, .tn-archive--gooxbi) .tn-rank__n { font-size: 36px; font-style: normal; }

/* Rubriques : l'Exclusivité en tête, puis deux reprises. */
.tn-rows-gooxbi { padding-top: 48px; display: flex; flex-direction: column; gap: 32px; }
.tn-rows-gooxbi > .tn-ad-row:empty { display: none; }
.tn-row--exclusif .tn-row__title { font-style: normal; }
.tn-card--rangee-une, .tn-card--rangee-reprise { gap: 10px; }
:is(.tn-card--rangee-une, .tn-card--rangee-reprise) .tn-media { border-radius: var(--tn-r); }
.tn-card--rangee-une .tn-card__title { font-size: 20px; line-height: 1.18; font-weight: 750; }
.tn-card--rangee-reprise .tn-card__title { font-size: 16px; line-height: 1.25; font-weight: 650; }
:is(.tn-card--rangee-une, .tn-card--rangee-reprise) .tn-card__pied { border: 0; padding: 0; }

/* Pied de page : slogan, mention sur l'origine des articles. */
.tn-footer--gooxbi { color: #CFC6BF; }
.tn-footer--gooxbi .tn-footer__top { border-bottom-color: #2E2621; }
.tn-footer--gooxbi .tn-footer__slogan { font-size: 48px; line-height: .95; font-style: normal; }
.tn-footer--gooxbi .tn-footer__socials .tn-pill { color: #CFC6BF; border-color: #3A302A; }
.tn-footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 620px; }
.tn-footer__mention { margin: 0; font-size: 13px; line-height: 1.5; }

/* Article repris : bandeau source, sans auteur. */
.tn-single--gooxbi .tn-layout--article { max-width: 1200px; padding-top: 40px; }
.tn-single--gooxbi .tn-article { max-width: 720px; gap: 20px; }
.tn-single--gooxbi:not(.tn-single--exclusif) .tn-article > .tn-badge { background: none; color: var(--tn-muted); padding: 0; margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.tn-source .sabar-source, .tn-source .sabar-source-fin { margin: 0; }
.tn-source .sabar-source { border-color: var(--tn-rule); }
.tn-source .sabar-source-fin { border-color: var(--tn-rule); }
.tn-source .sabar-source-fin a { color: var(--tn-accent-ink); }
.tn-single--gooxbi .tn-article__title { font-size: 46px; line-height: 1.05; font-weight: 850; font-stretch: 86%; letter-spacing: -.015em; }
.tn-single--gooxbi .tn-standfirst { font-family: var(--tn-serif); font-size: 20px; line-height: 1.5; color: var(--tn-text-2); }
.tn-single--gooxbi .tn-share__btn { min-height: 0; padding: 7px 14px; font-size: 13px; font-weight: 600; border-color: var(--tn-rule); background: var(--tn-card); }
.tn-single--gooxbi .tn-share--inline .tn-share__btn--whatsapp { order: 0; }
.tn-single--gooxbi .tn-prose { font-family: var(--tn-serif); font-size: 19px; line-height: 1.65; }
.tn-single--gooxbi .tn-prose > * + * { margin-block-start: 20px; }
.tn-single--gooxbi .tn-prose :is(h2, h3, blockquote, figcaption, .tn-methode) { font-family: var(--wp--preset--font-family--sans); }
.tn-single--gooxbi .tn-prose h2 { font-size: 28px; font-weight: 850; }
.tn-single--gooxbi .tn-prose :is(blockquote, .wp-block-quote) { margin-block: 10px; padding-inline-start: 28px; border-inline-start: 4px solid var(--tn-accent); gap: 10px; }
.tn-single--gooxbi .tn-prose :is(blockquote, .wp-block-quote)::before { content: none; }
.tn-single--gooxbi .tn-prose :is(blockquote, .wp-block-quote) p { font-size: 30px; font-weight: 800; }
.tn-single--gooxbi .tn-prose :is(blockquote, .wp-block-quote) cite { font-family: var(--wp--preset--font-family--sans); font-size: 14px; font-weight: 600; }
.tn-single--gooxbi .tn-prose :is(blockquote, .wp-block-quote) cite::before { content: none; }
.tn-methode { background: var(--tn-card); border-radius: var(--tn-r); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.tn-methode > * { margin: 0 !important; }
.tn-methode__kicker { font-family: var(--tn-mono) !important; font-size: 11px !important; letter-spacing: .1em; color: var(--tn-accent-ink); text-transform: uppercase; }
.tn-methode p:not(.tn-methode__kicker) { font-size: 16px; line-height: 1.5; }
.tn-exclu-renvoi { background: var(--tn-ink-bg); color: #FFFFFF; border-radius: var(--tn-r); padding: 24px; display: flex; flex-direction: column; gap: 16px; margin-top: 12px; }
.tn-exclu-renvoi__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tn-exclu-renvoi__head h2 { margin: 0; font-size: 18px; font-weight: 900; }
.tn-exclu-renvoi__head span { font-family: var(--tn-mono); font-size: 11px; letter-spacing: .1em; color: var(--tn-accent); text-transform: uppercase; }
.tn-exclu-renvoi__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tn-exclu-renvoi__item { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tn-exclu-renvoi__item:hover { color: var(--tn-accent); }
.tn-exclu-renvoi__item .tn-media { border-radius: var(--tn-r-sm); }
.tn-exclu-renvoi__title { font-size: 15px; line-height: 1.28; font-weight: 700; text-wrap: pretty; }
.tn-exclu-renvoi__by { font-size: 12px; color: #9E948C; }
.tn-sidebar--gooxbi :is(.tn-related--liste, .tn-exclu-col) { background: var(--tn-card); padding: 20px; gap: 0; }
.tn-sidebar--gooxbi .tn-section-title { font-size: 16px; font-weight: 900; text-transform: uppercase; margin-bottom: 4px; }
:is(.tn-related-list, .tn-exclu-list) { list-style: none; margin: 0; padding: 0; }
:is(.tn-related-list, .tn-exclu-list) li { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--tn-rule-soft); }
:is(.tn-related-list, .tn-exclu-list) a { font-size: 15px; line-height: 1.3; font-weight: 650; text-wrap: pretty; }
.tn-exclu-list a { font-weight: 700; }
.tn-exclu-list__by { font-size: 12px; color: var(--tn-muted); }

/* Exclusivité : en-tête sombre, image qui remonte dessus, lettrine, fiche auteur sombre. */
.tn-single--exclusif .tn-progress { margin-bottom: -3px; }
.tn-exclu-top { background: var(--tn-ink-bg); color: #FFFFFF; padding: 48px var(--tn-gutter) 56px; }
.tn-exclu-top__inner { max-width: 1000px; margin-inline: auto; display: flex; flex-direction: column; gap: 20px; }
.tn-exclu-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.tn-exclu-head__crumb { color: #9E948C; }
.tn-exclu-head__crumb a:hover { color: #FFFFFF; }
.tn-single--exclusif .tn-article__title { font-size: 60px; line-height: 1.02; font-stretch: 84%; letter-spacing: -.02em; color: #FFFFFF; }
.tn-single--exclusif .tn-exclu-top .tn-standfirst { font-size: 22px; line-height: 1.45; color: #CFC6BF; max-width: 820px; }
.tn-single--exclusif .tn-byline { border: 0; border-top: 1px solid #3A302A; padding: 20px 0 0; }
.tn-single--exclusif .tn-byline .tn-avatar { width: 48px; height: 48px; background: #4A3E36; }
.tn-single--exclusif .tn-byline__par { font-size: 15px; font-weight: 800; }
.tn-single--exclusif .tn-byline__name { font-weight: 800; }
.tn-single--exclusif .tn-byline__meta { font-family: inherit; font-size: 13px; color: #9E948C; }
.tn-single--exclusif .tn-exclu-top .tn-share__btn { background: transparent; border-color: #3A302A; color: #FFFFFF; }
.tn-single--exclusif .tn-exclu-top .tn-share__btn:hover { border-color: #FFFFFF; }
.tn-exclu-figure { max-width: 1200px; margin-inline: auto; padding-inline: var(--tn-gutter); }
.tn-exclu-figure:has(.tn-figure) { margin-top: -24px; }
.tn-exclu-figure .tn-figure__img { aspect-ratio: 21 / 9; }
.tn-exclu-figure figcaption { font-size: 12px; }
.tn-exclu-body { max-width: 1200px; }
.tn-single--exclusif .tn-article { max-width: 700px; }
.tn-single--exclusif .tn-prose { font-size: 20px; }
.tn-single--exclusif .tn-prose > p:first-of-type::first-letter { float: inline-start; font-family: var(--wp--preset--font-family--sans); font-size: 78px; line-height: .8; font-weight: 900; color: var(--tn-accent); padding-block-start: 8px; padding-inline-end: 10px; }
.tn-single--exclusif .tn-author-box { background: var(--tn-ink-bg); color: #FFFFFF; padding: 24px; gap: 18px; margin-top: 12px; }
.tn-single--exclusif .tn-author-box .tn-avatar { width: 72px; height: 72px; background: #4A3E36; }
.tn-single--exclusif .tn-author-box__name { font-size: 17px; }
.tn-single--exclusif .tn-author-box__bio { color: #CFC6BF; }
.tn-single--exclusif .tn-author-box .tn-more { color: #FFFFFF; border-bottom: 2px solid var(--tn-accent); padding-bottom: 1px; font-size: 14px; }
.tn-exclu-col .tn-section-title { line-height: 1.15; }

/* Rubrique : Exclusivité épinglée, puis les articles en cartes. */
.tn-archive--gooxbi .tn-display { font-size: 56px; line-height: .95; font-style: normal; font-stretch: 82%; text-transform: none; }
.tn-exclu-pin { padding-top: 32px; }
.tn-exclu-pin__item { position: relative; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); background: var(--tn-card); border-radius: var(--tn-r); overflow: hidden; }
.tn-exclu-pin__media .tn-media { height: 100%; min-height: 100%; }
.tn-exclu-pin__text { padding: 28px; display: flex; flex-direction: column; gap: 12px; justify-content: center; min-width: 0; }
.tn-exclu-pin__title { margin: 0; font-size: 32px; line-height: 1.08; font-weight: 850; font-stretch: 86%; letter-spacing: -.015em; text-wrap: balance; }
.tn-exclu-pin__title a::after { content: ""; position: absolute; inset: 0; }
.tn-exclu-pin__excerpt { margin: 0; font-family: var(--tn-serif); font-size: 17px; line-height: 1.5; color: var(--tn-text-2); }
.tn-exclu-pin__by { margin: 0; font-size: 13px; color: var(--tn-muted); }
.tn-query--flux { margin-top: 20px; }

/* Page des Exclusivités : par jour. */
.tn-exclu-hero .tn-exclu-day__head { padding-block: 40px 44px; }
.tn-exclu-hero__desc { margin: 12px 0 0; max-width: 620px; font-size: 17px; line-height: 1.5; color: #CFC6BF; }
.tn-exclu-arch { display: flex; flex-direction: column; gap: 32px; }
.tn-exclu-arch__date { margin: 0; padding-bottom: 10px; border-bottom: 2px solid var(--tn-ink); font-family: var(--tn-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--tn-accent-ink); }
.tn-exclu-arch__list { list-style: none; margin: 0; padding: 0; }
.tn-exclu-arch__item { position: relative; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; padding: 20px 0; border-bottom: 1px solid var(--tn-rule); }
.tn-exclu-arch__item .tn-media { border-radius: var(--tn-r-sm); }
.tn-exclu-arch__text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tn-exclu-arch__cat { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--tn-muted); text-transform: uppercase; }
.tn-exclu-arch__title { margin: 0; font-size: 24px; line-height: 1.12; font-weight: 850; font-stretch: 88%; text-wrap: pretty; }
.tn-exclu-arch__title a::after { content: ""; position: absolute; inset: 0; }
.tn-exclu-arch__excerpt { margin: 0; font-family: var(--tn-serif); font-size: 16px; line-height: 1.5; color: var(--tn-text-2); }
.tn-exclu-arch__by { margin: 0; font-size: 13px; color: var(--tn-muted); }

@media (max-width: 1023px) {
	.tn-exclu-day__grid { grid-template-columns: minmax(0, 1fr); }
	.tn-exclu-day__h { font-size: 44px; }
	.tn-exclu-day__lead-title { font-size: 34px; }
	.tn-feed__grid, .tn-flux-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tn-single--exclusif .tn-article__title { font-size: 46px; }
	.tn-exclu-pin__item { grid-template-columns: minmax(0, 1fr); }
	.tn-exclu-pin__media .tn-media { aspect-ratio: 16 / 9; height: auto; }
	.tn-archive--gooxbi .tn-display { font-size: 48px; }
}
@media (max-width: 767px) {
	.tn-navbar--gooxbi { justify-content: flex-start; padding-inline: 12px 0; min-height: 0; gap: 0; }
	.tn-navbar--gooxbi .tn-exclu-tab { font-size: 13px; padding: 7px 10px; }
	.tn-navbar--gooxbi .tn-primary-nav { overflow-x: auto; scrollbar-width: none; }
	.tn-exclu-day__inner { padding-block: 24px 32px; gap: 20px; }
	.tn-exclu-day__h { font-size: 34px; }
	.tn-exclu-day__lead-title { font-size: 26px; }
	.tn-exclu-day__lead-excerpt { font-size: 16px; }
	.tn-exclu-day__item { grid-template-columns: 30px minmax(0, 1fr) 72px; gap: 10px; padding: 14px 0; }
	.tn-exclu-day__n { font-size: 24px; }
	.tn-exclu-day__title { font-size: 15px; }
	.tn-breaking--fixe .tn-breaking__list li, .tn-breaking--fixe .tn-breaking__list li:first-child { border: 0; padding: 0; margin: 0; }
	.tn-feed__head .tn-section-title { font-size: 26px; }
	.tn-feed__sources { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; width: calc(100% + 32px); }
	.tn-feed__sources li { flex: none; }
	.tn-feed__grid, .tn-flux-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.tn-footer--gooxbi .tn-footer__slogan { font-size: 34px; }
	.tn-single--gooxbi .tn-layout--article { padding-top: 20px; }
	.tn-single--gooxbi .tn-article__title { font-size: 30px; }
	.tn-single--gooxbi .tn-standfirst { font-size: 18px; }
	.tn-single--gooxbi .tn-prose { font-size: 18px; }
	.tn-single--gooxbi .tn-prose :is(blockquote, .wp-block-quote) p { font-size: 22px; }
	.tn-exclu-renvoi { padding: 18px; }
	.tn-exclu-renvoi__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.tn-exclu-renvoi__item { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 12px; row-gap: 4px; }
	.tn-exclu-renvoi__item .tn-media { grid-row: span 2; }
	.tn-exclu-top { padding: 28px 16px 40px; }
	.tn-exclu-top__inner { gap: 14px; }
	.tn-single--exclusif .tn-article__title { font-size: 32px; }
	.tn-single--exclusif .tn-exclu-top .tn-standfirst { font-size: 18px; }
	.tn-exclu-figure:has(.tn-figure) { margin-top: -16px; }
	.tn-exclu-figure .tn-figure__img { aspect-ratio: 16 / 9; }
	.tn-single--exclusif .tn-prose { font-size: 18px; }
	.tn-single--exclusif .tn-prose > p:first-of-type::first-letter { font-size: 58px; }
	.tn-single--exclusif .tn-author-box { flex-wrap: wrap; }
	.tn-archive--gooxbi .tn-display { font-size: 38px; }
	.tn-exclu-pin__text { padding: 18px; }
	.tn-exclu-pin__title { font-size: 24px; }
	.tn-exclu-arch__item { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
	.tn-exclu-arch__title { font-size: 17px; }
	.tn-exclu-arch__excerpt { display: none; }
}

/* ========== 13 Arabe (RTL) ========== */

/* Pas d'italique en arabe, interlignage plus généreux, titres en Noto Kufi, chiffres en Archivo. */
.rtl { font-family: var(--wp--preset--font-family--arabic); }
.rtl :is(h1, h2, h3, h4, .tn-display, .tn-section-title, .tn-card__title, .tn-row__title, .tn-footer__slogan, .tn-tv__title, .tn-author-hero__name, .tn-live__title, .tn-list-item__title, .tn-site-name, .tn-drawer__list a) {
	font-family: var(--wp--preset--font-family--arabic-display);
	font-style: normal;
	letter-spacing: 0;
	font-stretch: 100%;
}
.rtl :is(h1, h2, h3, .tn-display, .tn-card__title, .tn-list-item__title) { line-height: 1.35; }
.rtl .tn-display { line-height: 1.15; font-size: calc(var(--wp--preset--font-size--display) * .7); }
.rtl .tn-card--lead .tn-card__title { font-size: 36px; line-height: 1.35; }
.rtl .tn-article__title { font-size: 44px; line-height: 1.35; }
.rtl .tn-footer__slogan { font-size: 44px; line-height: 1.3; }
.rtl .tn-tv__title { font-size: 52px; line-height: 1.1; }
.rtl .tn-prose { line-height: 1.7; }
.rtl .tn-standfirst, .rtl .tn-card__excerpt, .rtl .tn-archive-hero__desc { line-height: 1.6; }
.rtl :is(.tn-primary-nav .wp-block-navigation-item__content, .tn-breaking__label, .tn-prayers__title, .tn-card__label, .tn-badge, em, i) { font-style: normal; letter-spacing: 0; }
.rtl .tn-navbar .tn-primary-nav .wp-block-navigation-item__content { font-size: 15px; font-style: normal; }
.rtl .tn-rank__n, .rtl .tn-stat__v, .rtl .tn-prayers__temp { font-family: var(--wp--preset--font-family--sans); }
.rtl .tn-fil__time, .rtl .tn-card__meta, .rtl .tn-header-meta, .rtl .tn-byline__meta, .rtl .tn-crumbs ol { font-family: var(--wp--preset--font-family--mono); }
.rtl { --tn-hatch: repeating-linear-gradient(45deg, #ECEEE9 0 10px, #E3E5E0 10px 20px); --tn-hatch-dark: repeating-linear-gradient(45deg, #1C1E1B 0 10px, #242622 10px 20px); }
.rtl .tn-breaking__track { mask-image: linear-gradient(-90deg, #000 92%, transparent); }
.rtl .tn-progress__bar { transform-origin: 100% 50%; }
.rtl .tn-play::after { transform: translateX(-3px) scaleX(-1); }
@keyframes tn-marquee-rtl { to { transform: translateX(50%); } }
.rtl .tn-breaking__list.is-scrolling { animation-name: tn-marquee-rtl; }
.rtl .tn-filter select { background-position: left 14px center; padding: 9px 16px 9px 34px; }
.rtl .tn-pop--drawer { inset: 0 0 0 auto; }

/* ========== 14 Tablette et mobile ========== */

@media (max-width: 1279px) {
	:root { --tn-gutter: 32px; }
	.tn-home-grid { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "main side" "fil side"; }
	.tn-home-grid__fil .tn-fil__list { columns: 2; column-gap: 24px; }
	.tn-home-grid__fil .tn-fil__item { break-inside: avoid; }
	.tn-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); }
	.tn-row__head { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: baseline; }
	.tn-press__list { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
	.tn-author-hero { grid-template-columns: 160px minmax(0, 1fr); }
	.tn-author-hero__portrait .tn-avatar { width: 160px; height: 160px; }
	.tn-author-hero__stats { grid-column: 1 / -1; grid-template-columns: repeat(4, 1fr); }
	.tn-primary-nav { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
	.tn-primary-nav::-webkit-scrollbar { display: none; }
}

@media (max-width: 1023px) {
	.tn-layout, .tn-layout--article { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.tn-sidebar { flex-direction: row; flex-wrap: wrap; justify-content: center; }
	.tn-sidebar > * { flex: 1 1 300px; max-width: 420px; }
	.tn-sidebar--sticky { position: static; }
	.tn-sidebar .sabar-pub--grand-pave { display: none; }
	.tn-home-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "fil" "side"; }
	.tn-home-grid__side { flex-direction: row; flex-wrap: wrap; }
	.tn-home-grid__side > * { flex: 1 1 300px; }
	.tn-tv__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.tn-tv__side { flex-direction: row; align-items: flex-end; }
	.tn-tv__title br { display: none; }
	.tn-tv__title { font-size: 48px; }
	.tn-tv-live { grid-template-columns: minmax(0, 1fr); }
	.tn-grid--4, .tn-query--videos .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tn-press__grid.has-ad { grid-template-columns: minmax(0, 1fr); }
	.tn-press__ad { align-self: center; }
	.tn-archive-hero { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.tn-archive-hero .tn-chips ul { justify-content: flex-start; max-width: none; }
	.tn-display { font-size: 84px; }
	.tn-archive-lead { grid-template-columns: minmax(0, 1fr); }
	.tn-archive-lead__side { flex-direction: row; }
	.tn-footer__slogan { font-size: 44px; }
}

@media (max-width: 767px) {
	:root { --tn-gutter: 16px; }
	body { font-size: 16px; }

	/* En-tête : burger | logo | langue. */
	.tn-masthead { grid-template-columns: 44px 1fr 44px; padding-block: 10px; gap: 8px; }
	.tn-burger { display: inline-flex; width: 44px; height: 44px; background: transparent; }
	.tn-header-meta, .tn-search-toggle > .tn-round, .tn-masthead__end .sabar-lien-compte { display: none; } /* Mon compte : dans le menu. */
	.tn-logo, .tn-logo img { min-height: 0; height: var(--wp--custom--logo--height-mobile, 48px) !important; }
	.tn-logo img { max-width: 60vw; }
	.tn-site-name { font-size: 22px; }
	.tn-lang { background: transparent; padding: 0; }
	.tn-lang__item.is-active { display: none; }
	.tn-lang a.tn-lang__item { width: 44px; height: 44px; border-radius: 50%; background: var(--tn-chip); display: flex; align-items: center; justify-content: center; padding: 0; font-size: 13px; }
	.tn-primary-nav { min-height: 0; padding-block: 8px; padding-inline: 12px; }
	.tn-primary-nav .wp-block-navigation-item__content { font-size: 13px; padding: 8px 10px !important; }
	.tn-breaking__inner { height: auto; padding-block: 10px; gap: 8px; }
	.tn-breaking__label { font-size: 0; gap: 0; }
	.tn-breaking__label .tn-dot { width: 7px; height: 7px; }
	.tn-breaking__track { mask-image: none; }
	.tn-breaking__list { width: auto; display: block; overflow: hidden; text-overflow: ellipsis; }
	.tn-breaking__list li { display: inline; border: 0; padding: 0; font-size: 13px; font-weight: 600; }
	.tn-breaking__list li + li { display: none; }
	.tn-breaking__list.is-scrolling { animation: none; }
	.tn-breaking__list.is-scrolling li:first-child { border: 0; padding: 0; }
	.tn-pop__inner { padding: 64px 16px 24px; }
	.tn-pop--search .tn-search-form { margin-inline-end: 0; }
	.tn-search-form input { font-size: 22px; }

	/* Publicité : 320×100 sous l'en-tête, pas de format ordinateur. */
	.sabar-pub--desktop, .tn-ad-row:has(.sabar-pub--desktop) { display: none; }
	.sabar-pub--mobile, .tn-home-grid__ad { display: flex; }
	.tn-ad-row { padding-block: 14px 0; }

	/* Accueil. */
	.tn-home-grid { gap: 14px; padding-top: 14px; grid-template-areas: "main" "mobilead" "fil" "side"; }
	.tn-home-grid__main { gap: 14px; }
	.tn-home-grid__fil .tn-fil__list { columns: 1; }
	.tn-home-grid__side { flex-direction: column; }
	.tn-headline { gap: 14px; }
	.tn-card--lead .tn-card__body { padding: 14px 16px 18px; gap: 8px; }
	.tn-card--lead .tn-card__title { font-size: 26px; line-height: 1.05; }
	.tn-card--lead .tn-card__excerpt { display: none; }
	.tn-card--lead .tn-media--16x9 { aspect-ratio: 16 / 10; }
	.tn-badge { font-size: 11px; padding: 3px 7px; }
	.tn-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.tn-headline .tn-card--card { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
	.tn-headline .tn-card--card .tn-card__body { padding: 10px 12px; justify-content: center; }
	.tn-headline .tn-card--card .tn-card__title { font-size: 15px; }
	.tn-fil { padding: 14px 16px; }
	.tn-box { padding: 16px; }
	.tn-section-title { font-size: 16px; }
	.tn-tv { margin-top: 32px; }
	.tn-tv__inner { padding-block: 28px; }
	.tn-tv__title { font-size: 36px; }
	.tn-tv__grid { grid-template-columns: minmax(0, 1fr); }
	.tn-card--video-mini { grid-template-columns: 110px 1fr; }
	.tn-sections { padding-top: 32px; gap: 24px; }
	.tn-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-bottom: 24px; }
	.tn-card--row-lead { grid-column: 1 / -1; }
	.tn-row__title { font-size: 24px; }
	.tn-press__list { grid-template-columns: repeat(5, 150px); min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
	.tn-press__item { scroll-snap-align: start; }
	.tn-section-title--xl { font-size: 24px; }

	/* Article. */
	.tn-single .tn-ad-row { padding-block: 10px 0; }
	.tn-layout--article { padding-top: 12px; }
	.tn-article { gap: 14px; }
	.tn-article__title { font-size: 32px; line-height: 1.02; letter-spacing: -.015em; }
	.tn-standfirst { font-size: 17px; }
	.tn-byline { padding: 0; border: 0; }
	.tn-byline .tn-avatar { width: 36px; height: 36px; }
	.tn-byline__name { font-size: 14px; }
	.tn-byline__meta { font-size: 11px; }
	.tn-byline .tn-share { display: none; }
	.tn-figure { margin-inline: calc(-1 * var(--tn-gutter)); }
	.tn-figure__img { border-radius: 0; aspect-ratio: 16 / 10; }
	.tn-figure figcaption { padding-inline: var(--tn-gutter); }
	.tn-prose { font-size: 17px; }
	.tn-prose h2 { font-size: 24px; }
	.tn-prose blockquote p { font-size: 24px; }
	.tn-author-box { flex-wrap: wrap; }
	.tn-author-box .tn-more { margin-inline-start: 80px; }
	.tn-related { padding-top: 32px; }
	.tn-grid--4, .tn-query--videos .wp-block-post-template, .tn-query--cards .wp-block-post-template { grid-template-columns: minmax(0, 1fr); }
	.tn-related .tn-card--card { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
	.tn-related .tn-card--card .tn-card__body { padding: 10px 12px; }
	.tn-share-wrap--floating { display: block; position: fixed; inset-inline: 12px; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 40; transform: translateY(160%); transition: transform 200ms ease; }
	.tn-share-wrap--floating.is-visible { transform: none; }
	.tn-share--floating { background: var(--tn-ink-bg); color: #FFFFFF; border-radius: var(--tn-pill); padding: 6px; gap: 6px; flex-wrap: nowrap; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
	.tn-share--floating .tn-share__btn { width: 44px; height: 44px; padding: 0; border: 0; background: #1E201C; color: #FFFFFF; font-size: 12px; }
	.tn-share--floating .tn-share__btn--whatsapp { flex: 1; width: auto; background: var(--tn-accent); color: var(--tn-on-accent); font-size: 14px; font-weight: 800; }
	.single-post .tn-tabbar { display: none; }
	.single-post .tn-footer { padding-bottom: 80px; }

	/* Listes. */
	.tn-archive-hero { padding-block: 24px 20px; }
	.tn-display { font-size: 56px; }
	.tn-archive-hero__desc { font-size: 16px; }
	.tn-chips ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--tn-gutter)); padding-inline: var(--tn-gutter); }
	.tn-chip { white-space: nowrap; min-height: 44px; }
	.tn-archive-lead { padding-top: 16px; gap: 14px; }
	.tn-archive-lead__side { flex-direction: column; gap: 14px; }
	.tn-card--feature .tn-card__title { font-size: 26px; }
	.tn-card--feature .tn-card__body { padding: 14px 16px 18px; }
	.tn-layout { padding-top: 24px; gap: 32px; }
	.tn-list-item, .tn-query--search .tn-list-item { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 14px 0; }
	.tn-list-item__title, .tn-query--search .tn-list-item__title { font-size: 17px; line-height: 1.2; }
	.tn-list-item__excerpt { display: none; }
	.tn-list-item__body { justify-content: flex-start; gap: 4px; }
	.tn-card__meta { font-size: 11px; }
	.tn-pagination .page-numbers:not(.prev):not(.next):not(.current) { display: none; }

	/* Recherche. */
	.tn-search-hero .tn-container { padding-block: 28px 24px; gap: 16px; }
	.tn-search-hero__field { gap: 12px; }
	.tn-search-hero__field input { font-size: 32px; }
	.tn-search-hero__icon { width: 22px; height: 22px; border-width: 3px; }
	.tn-search-hero__count { display: none; }
	.tn-search-hero__filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--tn-gutter)); padding-inline: var(--tn-gutter); scrollbar-width: none; }
	.tn-seg { margin-inline-start: 0; flex: none; }
	.tn-filter { flex: none; }

	/* Auteur. */
	.tn-author-hero { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding-block: 24px; }
	.tn-author-hero__portrait .tn-avatar { width: 96px; height: 96px; border-width: 4px; }
	.tn-author-hero__name { font-size: 40px; }
	.tn-author-hero__bio { font-size: 16px; grid-column: 1 / -1; }
	.tn-author-hero__text { display: contents; }
	.tn-author-hero__text > .tn-kicker, .tn-author-hero__name { grid-column: 2; }
	.tn-author-hero__links { grid-column: 1 / -1; }
	.tn-author-hero__stats { grid-template-columns: 1fr 1fr; }
	.tn-stat__v { font-size: 28px; }

	/* TV. */
	.tn-display--tv { font-size: 56px; }
	.tn-tv-hero { padding-top: 24px; }
	.tn-live__title { font-size: 24px; }
	.tn-live__info { flex-direction: column; }
	.tn-video-single__title { font-size: 28px; }

	/* Pied de page et barre d'onglets. */
	.tn-site-footer { margin-top: 40px; }
	.tn-footer__inner { padding-block: 32px 96px; gap: 24px; }
	.tn-footer__slogan { font-size: 36px; }
	.tn-footer__bottom { flex-direction: column; align-items: flex-start; }
	.tn-tabbar { display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 35; background: var(--tn-white); border-top: 1px solid #E3E5E0; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); }
	.tn-tabbar ul { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
	.tn-tabbar__item { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 44px; font-size: 11px; font-weight: 700; background: transparent; border: 0; padding: 0; color: var(--tn-ink); }
	.tn-tabbar__item .tn-icon { width: 20px; height: 20px; }
	.tn-tabbar__item.is-active { color: var(--tn-ink); }
	.tn-tabbar__item.is-active .tn-icon { color: var(--tn-on-accent); background: var(--tn-accent); border-radius: var(--tn-pill); box-sizing: content-box; padding: 2px 12px; }
	.tn-dark .tn-tabbar { background: #171916; border-color: #2A2C28; }
	.tn-dark .tn-tabbar__item { color: #FFFFFF; }

	.rtl .tn-display { font-size: 44px; }
	.rtl .tn-tv__title { font-size: 32px; }
	.rtl .tn-footer__slogan { font-size: 30px; }
	.rtl .tn-article__title { font-size: 28px; }
	.rtl .tn-card--lead .tn-card__title { font-size: 24px; }
}

/* Zones défilantes : les textes pour lecteurs d'écran (position absolue) restent dedans. */
.tn-press__list, .tn-chips ul, .tn-search-hero__filters, .tn-primary-nav, .tn-breaking__track { position: relative; }
.tn-chips { min-width: 0; max-width: 100%; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ========== 15 Éditeur, impression ========== */

.tn-editor-preview { min-height: 24px; }
.tn-editor-empty { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px dashed var(--tn-muted); border-radius: var(--tn-r-sm); background: var(--tn-hatch); font-size: 13px; }
.tn-editor-empty strong { font-size: 14px; }
.editor-styles-wrapper .tn-card__link::after, .editor-styles-wrapper .tn-list-item__title a::after { display: none; }
.editor-styles-wrapper .sabar-pub--desktop, .editor-styles-wrapper .sabar-pub--mobile { display: flex; }

@media print {
	.tn-site-header, .tn-site-footer, .tn-sidebar, .sabar-pub, .tn-share, .tn-share-wrap, .tn-related, .tn-comments, .tn-progress, .tn-tabbar { display: none !important; }
	.tn-layout { display: block; }
	.tn-prose { font-size: 12pt; }
	.tn-prose a::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ========== 16 Effets et animations (Apparence > Tama > Effets et animations) ========== */
/* Classes du <body> : tn-anim (+ tn-anim-discretes | tn-anim-vives), tn-couleurs, tn-sombre-auto,
   tn-ouverture-immersive. « tn-js » (sur <html>) : le script est là, on peut masquer pour animer.
   Tout s'arrête avec « Réduire les animations » (règle prefers-reduced-motion de la section 14). */

:root { --tn-spring: cubic-bezier(.2, .7, .2, 1); }

/* --- 16.1 Corrections --- */
/* Titre de rangée trop long pour sa colonne : jamais coupé au milieu d'un mot (« EXCLUSIVITÉ / S ») ;
   le script réduit sa taille jusqu'à ce qu'il tienne. */
.tn-row__title { overflow-wrap: normal; word-break: normal; }
.tn-display { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
/* Rangée d'une seule carte (rubrique peu fournie) : la carte prend toute la place, photo à côté du titre. */
@media (min-width: 1024px) {
	.tn-row:not(:has(> .tn-card ~ .tn-card)) > .tn-card { grid-column: 2 / -1; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: center; }
	.tn-row__grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	.tn-row__col:not(:has(> .tn-card ~ .tn-card)) > .tn-card--colonne .tn-card__title { font-size: 26px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.tn-row:not(:has(> .tn-card ~ .tn-card)) > .tn-card { grid-column: 1 / -1; }
}
/* Rangée de pub dont la seule bannière est celle du mobile : repliée sur ordinateur (pas de blanc). */
@media (min-width: 782px) {
	.tn-ad-row:has(> .sabar-pub--mobile:only-child) { display: none; }
}
/* Rubriques qui défilent sur mobile : un fondu au bord montre qu'il y en a d'autres. */
@media (max-width: 1023px) {
	.tn-primary-nav { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); scroll-snap-type: x proximity; scroll-padding-inline: 16px; }
	.tn-primary-nav .wp-block-navigation-item { scroll-snap-align: start; }
	.tn-primary-nav .wp-block-navigation__container { padding-inline-end: 36px; }
	[dir="rtl"] .tn-primary-nav { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 44px), transparent); }
}

/* --- 16.2 Survol des cartes : la photo s'approche, le titre se souligne, les cartes se soulèvent --- */
.tn-anim .tn-card .tn-media__img { transition: transform .7s var(--tn-spring), opacity .5s ease; }
.tn-anim .tn-card:hover .tn-media__img { transform: scale(1.045); }
.tn-anim-vives .tn-card:hover .tn-media__img { transform: scale(1.08); }
.tn-anim .tn-card:not(.tn-card--lead) .tn-card__title a { background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; transition: background-size .4s var(--tn-spring), color var(--tn-ease); }
[dir="rtl"] .tn-anim .tn-card:not(.tn-card--lead) .tn-card__title a { background-position: 100% 100%; }
.tn-anim .tn-card:not(.tn-card--lead):hover .tn-card__title a { background-size: 100% 1.5px; }
.tn-anim :is(.tn-card--card, .tn-card--video, .tn-card--video-mini, .tn-card--lead) { transition: transform .35s var(--tn-spring), box-shadow .35s ease; }
.tn-anim :is(.tn-card--card, .tn-card--video, .tn-card--video-mini):hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgb(0 0 0 / .35); }
.tn-anim-vives .tn-card--lead:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -18px rgb(0 0 0 / .45); }
.tn-anim .tn-card :is(.tn-card--vignette, .tn-card--colonne, .tn-card--une) .tn-media, .tn-anim :is(.tn-card--vignette, .tn-card--colonne, .tn-card--une, .tn-card--row-lead, .tn-card--row-item) .tn-media { transition: box-shadow .35s ease; }
.tn-anim :is(.tn-card--vignette, .tn-card--colonne, .tn-card--row-lead, .tn-card--row-item):hover .tn-media { box-shadow: 0 12px 26px -14px rgb(0 0 0 / .4); }
.tn-anim .tn-card .tn-play { transition: transform .35s var(--tn-spring), box-shadow .35s ease; }
.tn-anim .tn-card:hover .tn-play { transform: scale(1.12); box-shadow: 0 0 0 10px color-mix(in srgb, var(--tn-accent) 30%, transparent); }
.tn-anim .tn-rank__item { transition: transform .3s var(--tn-spring); }
.tn-anim .tn-rank__item:hover { transform: translateX(4px); }
[dir="rtl"] .tn-anim .tn-rank__item:hover { transform: translateX(-4px); }
.tn-anim .tn-rank__item:hover .tn-rank__n { color: var(--tn-accent-ink); }
.tn-anim .tn-press__item .tn-media { transition: transform .4s var(--tn-spring), box-shadow .4s ease; }
.tn-anim .tn-press__item a:hover .tn-media { transform: translateY(-5px) rotate(-1.2deg); box-shadow: 0 18px 30px -16px rgb(0 0 0 / .45); opacity: 1; }
.tn-anim .tn-chip, .tn-anim .tn-btn, .tn-anim .tn-pill { transition: transform .2s var(--tn-spring), background-color var(--tn-ease), color var(--tn-ease); }
.tn-anim :is(.tn-chip, .tn-btn, .tn-pill):active { transform: scale(.96); }

/* --- 16.3 Apparition au défilement (le script pose tn-reveal sous la ligne de flottaison seulement) --- */
.tn-js .tn-anim .tn-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease var(--tn-delay, 0ms), transform .8s var(--tn-spring) var(--tn-delay, 0ms); }
.tn-js .tn-anim-vives .tn-reveal { transform: translateY(40px) scale(.98); }
.tn-js .tn-anim .tn-reveal.is-in { opacity: 1; transform: none; }
.tn-anim .tn-rank__item.is-in .tn-rank__n { animation: tn-pop .7s var(--tn-spring) both; animation-delay: var(--tn-delay, 0ms); }
@keyframes tn-pop { from { transform: scale(.4) rotate(-12deg); opacity: 0; } }

/* --- 16.4 Photos : fondu à l'arrivée, sur la couleur dominante de la photo --- */
@media (prefers-reduced-motion: no-preference) {
	.tn-js .tn-anim .tn-media__img:not([fetchpriority="high"]):not(.is-loaded) { opacity: 0; animation: tn-img-show 0s 4s forwards; }
}
@keyframes tn-img-show { to { opacity: 1; } }

/* Squelettes pendant « Charger plus ». */
.tn-skel { list-style: none; min-height: 120px; border-radius: var(--tn-r); background: linear-gradient(100deg, var(--tn-rule-soft) 30%, color-mix(in srgb, var(--tn-rule-soft) 35%, var(--tn-white)) 50%, var(--tn-rule-soft) 70%) 0 0 / 300% 100%; animation: tn-shimmer 1.3s linear infinite; }
@keyframes tn-shimmer { to { background-position: -150% 0; } }

/* --- 16.5 Une en diaporama (modèle Rewmi) --- */
.tn-headline--diapo .tn-headline__une, .tn-diapo { position: relative; min-width: 0; }
.tn-diapo__slides { display: grid; }
.tn-diapo__slide { grid-area: 1 / 1; min-width: 0; }
html:not(.tn-js) .tn-diapo__slide:not(:first-child), html:not(.tn-js) .tn-diapo__ctrl { display: none; }
.tn-js .tn-diapo__slide { transition: opacity .7s ease, visibility .7s; }
.tn-js .tn-diapo__slide:not(.is-active) { opacity: 0; visibility: hidden; }
.tn-anim .tn-diapo__slide .tn-card__body > * { transition: transform .7s var(--tn-spring), opacity .7s ease; }
.tn-anim .tn-diapo__slide:not(.is-active) .tn-card__body > * { transform: translateY(14px); opacity: 0; }
.tn-anim .tn-diapo__slide.is-active .tn-media__img { animation: tn-kenburns 9s ease-out both; }
.tn-anim-vives .tn-diapo__slide.is-active .tn-media__img { animation-name: tn-kenburns-vif; }
@keyframes tn-kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
@keyframes tn-kenburns-vif { from { transform: scale(1.14) translate(-1.5%, -1%); } to { transform: scale(1); } }
.tn-diapo__ctrl { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--tn-pill); background: rgb(0 0 0 / .5); color: #FFFFFF; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tn-diapo__btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
.tn-diapo__btn:hover { background: rgb(255 255 255 / .18); }
.tn-diapo__btn .tn-icon { width: 18px; height: 18px; }
[dir="rtl"] .tn-diapo__btn .tn-icon { transform: scaleX(-1); }
/* Segments : un par article, celui affiché se remplit pendant les 7 secondes. */
.tn-diapo__dots { display: flex; gap: 3px; padding-inline: 4px; }
.tn-diapo__dot { display: grid; place-items: center; width: 22px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.tn-diapo__dot i { position: relative; display: block; width: 100%; height: 3px; overflow: hidden; border-radius: 3px; background: rgb(255 255 255 / .38); }
.tn-diapo__dot i::after { content: ""; position: absolute; inset: 0; background: #FFFFFF; transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .tn-diapo__dot i::after { transform-origin: right; }
.tn-diapo__dot:hover i { background: rgb(255 255 255 / .6); }
.tn-diapo__dot.is-active i::after { animation: tn-progress var(--tn-diapo-ms, 7000ms) linear forwards; }
.is-paused .tn-diapo__dot.is-active i::after { animation-play-state: paused; }
.is-stopped .tn-diapo__dot.is-active i::after { animation: none; transform: scaleX(1); }
@media (max-width: 767px) { .tn-diapo__dot { width: 14px; } }
/* Dakar : les trois cartes sous la Une servent de sommaire. */
.tn-headline--diapo .tn-grid > .tn-card[data-tn-slide] { transition: box-shadow .3s ease, transform .35s var(--tn-spring); }
.tn-headline--diapo .tn-grid > .tn-card[data-tn-slide].is-active { box-shadow: 0 0 0 2px var(--tn-accent), 0 10px 24px -14px rgb(0 0 0 / .35); }
/* Gooxbi : la liste des Exclusivités du jour sert de sommaire. */
.tn-exclu-day__lead-wrap { position: relative; min-width: 0; }
.tn-exclu-day .tn-diapo__tab::before { display: none; }
.tn-exclu-day .tn-diapo__tab .tn-exclu-day__item { transition: background-color .3s ease; border-radius: var(--tn-r-sm); }
.tn-exclu-day .tn-diapo__tab.is-active .tn-exclu-day__item { background: rgb(255 255 255 / .07); }
.tn-exclu-day .tn-diapo__tab.is-active :is(.tn-exclu-day__title, .tn-exclu-day__n) { color: var(--tn-accent); }
.tn-diapo__pause span { width: 10px; height: 12px; border-inline: 3px solid currentColor; }
.tn-diapo__pause[aria-pressed="true"] span { width: 0; height: 0; border-inline: 0; border-inline-start: 11px solid currentColor; border-block: 7px solid transparent; transform: translateX(2px); }
.tn-diapo__tab { position: relative; }
.tn-diapo__tab .tn-card--titre { border-bottom: 1px solid var(--tn-rule); transition: padding .3s var(--tn-spring); }
.tn-diapo__tab:last-child .tn-card--titre { border-bottom: 0; }
.tn-diapo__tab.is-active .tn-card__title { color: var(--tn-accent-ink); }
.tn-anim .tn-diapo__tab.is-active .tn-card--titre { padding-inline-start: 12px; }
.tn-diapo__tab::before { content: ""; position: absolute; inset-block: 16px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: var(--tn-accent); transform: scaleY(0); transition: transform .35s var(--tn-spring); }
.tn-diapo__tab.is-active::before { transform: scaleY(1); }
.tn-diapo__bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--tn-accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }
[dir="rtl"] .tn-diapo__bar { transform-origin: right; }
.tn-diapo__tab.is-active .tn-diapo__bar { animation: tn-progress var(--tn-diapo-ms, 7000ms) linear forwards; }
.tn-headline--diapo.is-paused .tn-diapo__bar { animation-play-state: paused; }
.tn-headline--diapo.is-stopped .tn-diapo__bar { animation: none; transform: scaleX(0); }
@keyframes tn-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* --- 16.6 Direct, Dernière minute : ça bouge quand l'info tombe --- */
.tn-anim .tn-live-tag { display: inline-flex; align-items: center; gap: 6px; }
.tn-anim .tn-live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: tn-pulse 1.4s ease-in-out infinite; }
.tn-anim .tn-dot { position: relative; }
.tn-anim .tn-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: tn-ripple 1.8s ease-out infinite; }
@keyframes tn-ripple { from { transform: scale(1); opacity: .7; } to { transform: scale(3); opacity: 0; } }
.tn-anim .tn-fil__item.is-new { animation: tn-new 4s ease, tn-slide-in .6s var(--tn-spring); }
@keyframes tn-slide-in { from { transform: translateY(-14px); opacity: 0; } }
.tn-anim .tn-breaking--tag:not([hidden]) .tn-breaking__inner { animation: tn-flash 1.2s ease 2; }
@keyframes tn-flash { 50% { background: color-mix(in srgb, var(--tn-live) 22%, transparent); } }
.tn-fil__new { display: flex; justify-content: center; margin: 4px 0 8px; }
.tn-fil__new button { border: 0; border-radius: var(--tn-pill); background: var(--tn-live); color: #FFFFFF; font: inherit; font-size: 13px; font-weight: 700; padding: 7px 14px; cursor: pointer; animation: tn-slide-in .5s var(--tn-spring); }

/* Prières : compte à rebours de la prochaine. */
.tn-prayers__next { margin: 0; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.tn-prayers__next::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: tn-pulse 2s ease-in-out infinite; }
.tn-anim .tn-prayers__cell.is-next { animation: tn-glow 2.6s ease-in-out infinite; }
@keyframes tn-glow { 50% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--tn-on-accent) 25%, transparent); } }

/* Météo animée. */
.tn-meteo { display: inline-block; width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-inline-end: .3em; overflow: visible; }
.tn-prayers__temp { display: inline-flex; align-items: center; }
.tn-anim .tn-meteo__soleil { transform-origin: 12px 12px; animation: tn-spin 24s linear infinite; }
.tn-anim .tn-meteo__nuage { animation: tn-drift 5s ease-in-out infinite alternate; }
.tn-anim .tn-meteo__gouttes { stroke-dasharray: 2 3; animation: tn-rain 1s linear infinite; }
.tn-anim .tn-meteo__eclair { animation: tn-pulse 1.6s steps(2) infinite; }
.tn-anim .tn-meteo__brume { animation: tn-drift 4s ease-in-out infinite alternate-reverse; }
@keyframes tn-spin { to { transform: rotate(360deg); } }
@keyframes tn-drift { to { transform: translateX(1.5px); } }
@keyframes tn-rain { to { stroke-dashoffset: -10; } }

/* --- 16.7 Stories des rubriques (téléphone et tablette) --- */
.tn-stories { display: none; }
@media (max-width: 1023px) {
	.tn-stories { display: block; padding-top: 14px; }
	.tn-stories__list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--tn-gutter); scrollbar-width: none; list-style: none; margin: 0; padding: 2px var(--tn-gutter) 6px; }
	.tn-stories__list::-webkit-scrollbar { display: none; }
	.tn-stories__list > li { flex: none; scroll-snap-align: start; }
}
.tn-story { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 70px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.tn-story__ring { display: block; width: 66px; height: 66px; padding: 3px; border-radius: 50%; background: conic-gradient(from 200deg, var(--tn-cat, var(--tn-accent)), color-mix(in srgb, var(--tn-cat, var(--tn-accent)) 45%, #F5B700), var(--tn-cat, var(--tn-accent))); transition: transform .25s var(--tn-spring); }
.tn-anim .tn-story:not(.is-seen) .tn-story__ring { animation: tn-ring 3s ease-in-out infinite; }
@keyframes tn-ring { 50% { filter: saturate(1.4) brightness(1.08); } }
.tn-story:active .tn-story__ring { transform: scale(.92); }
.tn-story.is-seen .tn-story__ring { background: var(--tn-rule); }
.tn-story__img { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 50%; border: 2px solid var(--tn-surface); background: var(--tn-hatch); }
.tn-story__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-story__name { max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 650; }

/* Lecteur de stories et visionneuse de photos (fenêtres <dialog> créées par le script). */
.tn-sv, .tn-lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #FFFFFF; overflow: hidden; }
.tn-sv::backdrop, .tn-lb::backdrop { background: rgb(0 0 0 / .92); }
.tn-sv[open], .tn-lb[open] { animation: tn-zoom-in .35s var(--tn-spring); }
@keyframes tn-zoom-in { from { opacity: 0; transform: scale(.94); } }
.tn-sv__frame { position: relative; height: 100%; max-width: 540px; margin-inline: auto; overflow: hidden; touch-action: pan-y; }
.tn-sv__img { position: absolute; inset: 0; background: center / cover no-repeat; }
.tn-anim .tn-sv__img { animation: tn-kenburns 6s ease-out both; }
.tn-sv__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(0 0 0 / .55), transparent 22%, transparent 45%, rgb(0 0 0 / .85)); pointer-events: none; }
.tn-sv__bars { position: absolute; z-index: 4; top: calc(10px + env(safe-area-inset-top)); inset-inline: 10px; display: flex; gap: 4px; }
.tn-sv__bar { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: rgb(255 255 255 / .35); }
.tn-sv__bar i { display: block; height: 100%; background: #FFFFFF; transform: scaleX(0); transform-origin: left; }
[dir="rtl"] .tn-sv__bar i { transform-origin: right; }
.tn-sv__bar.is-done i { transform: scaleX(1); }
.tn-sv__bar.is-current i { animation: tn-progress var(--tn-story-ms, 6000ms) linear forwards; }
.tn-sv.is-paused .tn-sv__bar.is-current i { animation-play-state: paused; }
.tn-sv__head { position: absolute; z-index: 4; top: calc(24px + env(safe-area-inset-top)); inset-inline: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 800; font-size: 15px; text-shadow: 0 1px 6px rgb(0 0 0 / .5); }
.tn-sv__close, .tn-lb__close { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgb(0 0 0 / .35); color: #FFFFFF; cursor: pointer; }
.tn-sv__close .tn-icon, .tn-lb__close .tn-icon { width: 22px; height: 22px; }
.tn-sv__nav { position: absolute; z-index: 2; top: 80px; bottom: 170px; width: 35%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.tn-sv__nav--prev { inset-inline-start: 0; }
.tn-sv__nav--next { inset-inline-end: 0; width: 65%; }
.tn-sv__text { position: absolute; z-index: 3; inset-inline: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); }
.tn-anim .tn-sv__text > * { animation: tn-rise .6s var(--tn-spring) both; }
.tn-anim .tn-sv__text > :nth-child(2) { animation-delay: 80ms; }
.tn-anim .tn-sv__text > :nth-child(3) { animation-delay: 160ms; }
@keyframes tn-rise { from { transform: translateY(18px); opacity: 0; } }
.tn-sv__time { font-family: var(--tn-mono); font-size: 12px; opacity: .85; }
.tn-sv__title { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; text-wrap: balance; text-shadow: 0 2px 14px rgb(0 0 0 / .45); }
.tn-sv__read { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--tn-pill); background: #FFFFFF; color: #111111; font-weight: 800; }
.tn-sv__read:hover { color: #111111; opacity: .9; }
.tn-sv.is-next .tn-sv__frame { animation: tn-cube-in .4s var(--tn-spring); }
.tn-sv.is-prev .tn-sv__frame { animation: tn-cube-in-back .4s var(--tn-spring); }
@keyframes tn-cube-in { from { transform: translateX(30%) scale(.9); opacity: .3; } }
@keyframes tn-cube-in-back { from { transform: translateX(-30%) scale(.9); opacity: .3; } }

.tn-lb__stage { position: absolute; inset: 0; display: grid; place-items: center; padding: 64px 12px 96px; touch-action: pan-y; }
.tn-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgb(0 0 0 / .5); }
.tn-anim .tn-lb__img { animation: tn-zoom-in .4s var(--tn-spring); }
.tn-lb__top { position: absolute; z-index: 2; top: calc(10px + env(safe-area-inset-top)); inset-inline: 12px; display: flex; justify-content: space-between; align-items: center; font-family: var(--tn-mono); font-size: 13px; }
.tn-lb__cap { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; margin: 0; padding: 16px 20px calc(20px + env(safe-area-inset-bottom)); font-size: 14px; line-height: 1.45; text-align: center; background: linear-gradient(transparent, rgb(0 0 0 / .7)); }
.tn-lb__arrow { position: absolute; z-index: 2; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / .14); color: #FFFFFF; cursor: pointer; }
.tn-lb__arrow:hover { background: rgb(255 255 255 / .26); }
.tn-lb__arrow--prev { inset-inline-start: 14px; }
.tn-lb__arrow--next { inset-inline-end: 14px; }
.tn-lb__arrow .tn-icon { width: 24px; height: 24px; }
[dir="rtl"] .tn-lb__arrow .tn-icon { transform: scaleX(-1); }
@media (max-width: 767px) { .tn-lb__arrow { display: none; } }
.tn-galerie .tn-prose img, .tn-galerie .tn-press__item a { cursor: zoom-in; }

/* --- 16.8 Aperçu des vidéos au survol --- */
.tn-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; animation: tn-fade .35s ease; }
@keyframes tn-fade { from { opacity: 0; } }

/* --- 16.9 Une couleur par rubrique --- */
.tn-couleurs [style*="--tn-cat"] :is(.tn-card__label, .tn-fil__cat, .tn-meta-label) { color: var(--tn-cat); }
.tn-couleurs .tn-card[style*="--tn-cat"] .tn-badge, .tn-couleurs .tn-hero[style*="--tn-cat"] .tn-badge { background: var(--tn-cat); color: #FFFFFF; }
.tn-couleurs .tn-row[style*="--tn-cat"] .tn-row__title a { color: var(--tn-cat); }
.tn-couleurs .tn-row[style*="--tn-cat"] .tn-row__head { border-bottom-color: var(--tn-cat); }
.tn-couleurs .tn-row[style*="--tn-cat"] .tn-more--accent { color: var(--tn-cat); }
.tn-couleurs .tn-archive-hero[style*="--tn-cat"] .tn-dot-accent { color: var(--tn-cat); }
.tn-couleurs .tn-archive-hero[style*="--tn-cat"] .tn-display { text-decoration: underline; text-decoration-color: var(--tn-cat); text-decoration-thickness: .08em; text-underline-offset: .12em; }
.tn-couleurs .tn-primary-nav li[style*="--tn-cat"] > .wp-block-navigation-item__content { box-shadow: inset 0 -3px 0 transparent; transition: box-shadow .25s ease, color var(--tn-ease); }
.tn-couleurs .tn-primary-nav li[style*="--tn-cat"]:is(:hover, .current-menu-item, .current-menu-ancestor) > .wp-block-navigation-item__content { box-shadow: inset 0 -3px 0 var(--tn-cat); }
.tn-couleurs .tn-fil__item[style*="--tn-cat"] .tn-fil__time { color: var(--tn-cat); }

/* --- 16.10 Ouverture immersive des articles --- */
.tn-hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(76vh, 760px); margin-bottom: 32px; overflow: hidden; background: var(--tn-ink-bg); color: #FFFFFF; }
.tn-hero__media { position: absolute; inset: 0; z-index: -2; }
.tn-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tn-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(0 0 0 / .88), rgb(0 0 0 / .45) 42%, rgb(0 0 0 / .05) 72%); }
.tn-hero__text { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 48px 20px; }
.tn-hero__title { margin: 0; max-width: 24ch; font-size: clamp(30px, 5.2vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -.025em; text-wrap: balance; text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.tn-main .tn-hero .tn-hero__cat { padding: 6px 10px; background: var(--tn-cat, var(--tn-accent)); color: #FFFFFF; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.tn-main .tn-hero .tn-hero__cat:hover { color: #FFFFFF; opacity: .9; }
.tn-hero__caption { width: 100%; margin: 0; padding-bottom: 18px; font-size: 12px; opacity: .72; }
.tn-anim .tn-hero__text > * { animation: tn-rise .9s var(--tn-spring) both; }
.tn-anim .tn-hero__text > :nth-child(2) { animation-delay: 120ms; }
@supports (animation-timeline: scroll()) {
	.tn-anim .tn-hero__img { animation: tn-parallax linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
	@keyframes tn-parallax { to { transform: translateY(16%) scale(1.06); } }
}
.tn-ouverture-immersive .tn-crumbs { display: none; }
@media (max-width: 767px) {
	.tn-hero { min-height: 64vh; margin-bottom: 20px; }
	.tn-hero__text { padding-block: 32px 14px; }
}

/* --- 16.11 Passage d'une page à l'autre : la photo de la carte devient celle de l'article --- */
@media (prefers-reduced-motion: no-preference) {
	.tn-anim :is(.tn-hero__img, .tn-figure__img) { view-transition-name: tn-photo; }
	::view-transition-old(root) { animation: .25s ease both tn-vt-out; }
	::view-transition-new(root) { animation: .35s var(--tn-spring) both tn-vt-in; }
	::view-transition-group(tn-photo) { animation-duration: .45s; animation-timing-function: var(--tn-spring); }
	@keyframes tn-vt-out { to { opacity: 0; } }
	@keyframes tn-vt-in { from { opacity: 0; transform: translateY(10px); } }
}

/* --- 16.12 Mode sombre automatique --- */
@media (prefers-color-scheme: dark) {
	body.tn-sombre-auto {
		--wp--preset--color--ink: #ECECE8;
		--wp--preset--color--body: #E2E2DE;
		--wp--preset--color--surface: #121212;
		--wp--preset--color--card: #1C1C1B;
		--wp--preset--color--muted: #A5A5A0;
		--wp--preset--color--rule: #33332F;
		--wp--preset--color--accent-ink: color-mix(in srgb, var(--wp--preset--color--accent) 62%, #FFFFFF);
		--tn-accent-ink: var(--wp--preset--color--accent-ink);
		--tn-ink: var(--wp--preset--color--ink);
		--tn-surface: var(--wp--preset--color--surface);
		--tn-card: var(--wp--preset--color--card);
		--tn-muted: var(--wp--preset--color--muted);
		--tn-body: var(--wp--preset--color--body);
		--tn-rule: var(--wp--preset--color--rule);
		--tn-rule-soft: #262624;
		--tn-text-2: #D2D2CD;
		--tn-text-3: #BDBDB8;
		--tn-chip: #262624;
		--tn-white: #1E1E1D;
		--tn-ink-bg: #050505;
		--tn-hatch: repeating-linear-gradient(135deg, #1E1E1D 0 10px, #252524 10px 20px);
		background-color: var(--tn-surface);
		color: var(--tn-ink);
	}
	body.tn-sombre-auto :is(.tn-logo, .wp-block-site-logo) img { padding: 4px 10px; border-radius: 8px; background: #FFFFFF; box-sizing: content-box; }
	body.tn-sombre-auto .tn-couleurs [style*="--tn-cat"] :is(.tn-card__label, .tn-fil__cat, .tn-meta-label, .tn-row__title a),
	body.tn-sombre-auto.tn-couleurs [style*="--tn-cat"] :is(.tn-card__label, .tn-fil__cat, .tn-meta-label, .tn-row__title a) { color: color-mix(in srgb, var(--tn-cat) 60%, #FFFFFF); }
	body.tn-sombre-auto :is(.tn-tabbar, .tn-site-header) { border-color: var(--tn-rule); }
	body.tn-sombre-auto .tn-card--video-mini { background: rgb(0 0 0 / .35); }
	body.tn-sombre-auto :is(input, select, textarea) { background: var(--tn-card); color: var(--tn-ink); border-color: var(--tn-rule); }
	body.tn-sombre-auto .tn-media__img, body.tn-sombre-auto .tn-press__item img { filter: brightness(.92); }
}
