/* ==========================================================================
   Site public — gabarit commun aux sites (les couleurs d'accent sont injectées
   par site dans le <head>). Valeurs reprises du prototype de Claude Design.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.no-scroll { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-t); font-size: 16px; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
a { transition: color var(--ease), border-color var(--ease), background-color var(--ease); }
::placeholder { color: var(--ink-3); font-style: italic; }
[x-cloak] { display: none !important; }
svg { flex: none; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* Utilitaires ----------------------------------------------------------- */
.stack-16 { display: flex; flex-direction: column; gap: 16px; }
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.stack-32 { display: flex; flex-direction: column; gap: 32px; }
.stack-36 { display: flex; flex-direction: column; gap: 36px; }
.stack-56 { display: flex; flex-direction: column; gap: 56px; }
.accent { color: var(--accent); }
.meta-i { font-size: 14.5px; font-style: italic; font-weight: 400; color: var(--ink-2); }
.count { font-size: 13.5px; font-style: italic; color: var(--ink-2); white-space: nowrap; }
/* Listes nom + nombre d'articles (menus, tiroir, page des pays) : le nombre reste sur une ligne, le nom passe à la ligne si besoin. */
.submenu__item .count, .drawer__cats .count, .country-link .count, .pill .count { flex: none; }
.submenu__item > span:first-child, .drawer__cats a > span:first-child, .country-link__name { min-width: 0; }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.kicker--accent { color: var(--accent); letter-spacing: 0.14em; }
.kicker--square { color: var(--ink); letter-spacing: 0.14em; }
.kicker--square .sq { width: 9px; height: 9px; background: var(--accent); }
.col-head { margin: 0; font-family: var(--font-t); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.label { font-size: 12px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.label--lg { font-size: 12.5px; letter-spacing: 0.14em; }

/* Titres */
.h-page { font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-page); line-height: 0.98; letter-spacing: -0.02em; overflow-wrap: break-word; }
.h-section { font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-section); line-height: 1.02; letter-spacing: -0.01em; }
.h-cat { font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-cat-head); line-height: 1.04; letter-spacing: -0.01em; }
.h-cat a { color: var(--ink); text-decoration: none; }
.h-cat a:hover { color: var(--accent); }
.h-ruled { padding-top: 16px; border-top: 1px solid var(--ink); }
.h-search { font-family: var(--font-d); font-weight: var(--fw-d); font-size: clamp(32px, 2.6vw + 12px, 56px); line-height: 1.02; letter-spacing: -0.015em; }
.h-article { max-width: 22ch; font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-article); line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
/* introductions (sous le titre des pages) et chapô des articles : toute la largeur disponible, jamais de largeur maximale */
.intro { font-size: 19px; line-height: 1.55; color: var(--ink-2); }
.cat-intro { display: flex; flex-direction: column; gap: 12px; }
.cat-intro p { margin: 0; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 0; border-radius: var(--radius-pill); font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color var(--ease), border-color var(--ease), color var(--ease); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); color: #fff; }
.btn--accent:active { transform: scale(0.98); }
.btn--ghost { border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 400; padding: 0 22px; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--50 { height: 50px; }
.btn--46 { height: 46px; }
.round-btn { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color var(--ease); padding: 0; }
.round-btn:hover { border-color: var(--ink); }
.round-btn--44 { width: 44px; height: 44px; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); cursor: pointer; padding: 0; }
.vrule { width: 1px; height: 24px; background: var(--line); }

/* Pilules et étiquettes de mots-clés */
.pills, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pills { padding-top: 4px; }
.pill { display: inline-flex; align-items: baseline; gap: 8px; padding: 8px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 15.5px; text-decoration: none; color: var(--ink); }
.pill:hover { border-color: var(--accent); color: var(--accent); }
.chip { display: inline-flex; align-items: center; padding: 7px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 15px; text-decoration: none; color: var(--ink); }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip__hash { margin-right: 3px; color: var(--accent); }

/* Logo ------------------------------------------------------------------ */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__sq { flex: none; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: var(--accent); color: #fff; font-family: var(--font-d); font-size: 23px; line-height: 1; }
.logo__name { font-family: var(--font-d); font-weight: var(--fw-d); font-size: 31px; line-height: 0.95; letter-spacing: -0.01em; white-space: nowrap; }
.logo--sm { gap: 10px; }
.logo--sm .logo__sq { width: 30px; height: 30px; font-size: 20px; }
.logo--sm .logo__name { font-size: 26px; }
.logo__img { display: block; height: 34px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; }
.logo--sm .logo__img { height: 30px; max-width: 200px; }

/* Barre secondaire au-dessus de l'en-tête (« header top ») : sélections et pages de citations, non collante (seul
   l'en-tête principal l'est), masquée avec l'en-tête bureau (tiroir en dessous de 1060px) ; page affichée en accent,
   soulignée (sous-page : page d'un hashtag, sans aria-current) */
.topbar { border-bottom: 1px solid var(--line); background: var(--paper); }
.topbar__nav { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter-x); height: 36px; display: flex; align-items: stretch; gap: 24px; overflow-x: auto; scrollbar-width: none; }
.topbar__nav::-webkit-scrollbar { display: none; }
.topbar__nav a { flex: none; display: flex; align-items: center; font-size: 13.5px; font-weight: 500; white-space: nowrap; text-decoration: none; color: var(--ink-2); transition: color var(--ease); }
.topbar__nav a:hover { color: var(--ink); }
.topbar__nav a.is-active { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
@media (max-width: 1059.98px) { .topbar { display: none; } }
@media print { .topbar { display: none; } }

/* Texte lu par les lecteurs d'écran seulement */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* En-tête --------------------------------------------------------------- */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--header-bg); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hdr__in { max-width: var(--container); margin: 0 auto; padding: 0 32px; height: 76px; display: flex; align-items: center; gap: 36px; }
.hdr__nav { display: flex; align-items: stretch; gap: 4px; height: 100%; }
.hdr__link { display: flex; align-items: center; gap: 6px; padding: 0 12px; font-size: var(--t-nav); font-weight: 500; text-decoration: none; color: var(--ink); white-space: nowrap; }
.hdr__link:hover { color: var(--accent); }
.hdr__link.is-active { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.hdr__sub { position: relative; display: flex; }
.hdr__tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.hdr__compact { display: none; }

.submenu { position: absolute; top: 100%; left: 0; z-index: 50; width: 330px; padding: 10px 0; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-menu); }
.submenu__all { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; font-size: 16px; font-weight: 600; text-decoration: none; color: var(--accent); }
.submenu__all:hover { background: var(--fill); }
.submenu__sep { height: 1px; margin: 6px 20px; background: var(--line); }
.submenu__item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 20px; font-size: 16px; text-decoration: none; color: var(--ink); }
.submenu__item:hover { background: var(--fill); color: var(--ink); }
.submenu__item.is-current { color: var(--accent); background: var(--accent-tint); }
/* Menu « Pays » : filtre et liste défilante */
.submenu--countries { width: 340px; }
.submenu__filter { display: flex; align-items: center; gap: 8px; margin: 4px 20px 2px; height: 40px; padding: 0 12px; border: 1px solid var(--input-border); border-radius: var(--radius-pill); color: var(--ink-2); }
.submenu__filter:focus-within { border-color: var(--ink); }
.submenu__filter input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); } /* 16px : pas de zoom automatique sur iOS */
.submenu__filter input::-webkit-search-cancel-button { display: none; }
.submenu__filter--drawer { margin: 4px 0 8px; height: 44px; }
.submenu__scroll { max-height: min(56vh, 440px); overflow-y: auto; overscroll-behavior: contain; }
.submenu__none { padding: 9px 20px; font-size: 15px; font-style: italic; color: var(--ink-2); }
.drawer__cats .submenu__none { padding: 10px 12px; }

/* Réseaux sociaux */
.social { display: flex; align-items: center; }
.social--plain { gap: 14px; }
.social--plain a { display: flex; color: var(--ink-2); }
.social--plain a:hover { color: var(--accent); }
.social--button { flex-wrap: wrap; gap: 8px; }
.social--button a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; color: var(--ink); }
.social--button a:hover { color: var(--accent); border-color: var(--accent); }

/* Sélecteur de langue */
.lang { position: relative; display: inline-flex; }
.lang__btn { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 600; letter-spacing: 0.02em; cursor: pointer; transition: border-color var(--ease); }
.lang__btn:hover { border-color: var(--ink); }
.lang__panel { position: absolute; z-index: 90; top: calc(100% + 8px); right: 0; width: 250px; padding: 6px 0; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(17, 17, 17, 0.10); }
.lang__panel--left { right: auto; left: 0; }
.lang__panel--up { top: auto; bottom: calc(100% + 8px); }
.lang__panel--flip { top: calc(100% + 8px); bottom: auto; }   /* tiroir : trop peu de place au-dessus du bouton */
.lang--lg .lang__btn { height: 44px; }   /* tiroir mobile */
.lang__panel ul { list-style: none; margin: 0; padding: 0; max-height: min(470px, calc(100vh - 140px)); overflow-y: auto; }
.lang__opt { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: 15.5px; text-decoration: none; color: var(--ink); }
.lang__opt:hover { background: var(--fill); color: var(--ink); }
.lang__opt.is-active { color: var(--accent); font-weight: 600; }
.lang__opt.is-active svg { color: var(--accent); }
.lang__name { flex: 1; }
.lang__code { font-size: 12px; font-style: italic; font-weight: 400; color: var(--ink-2); text-transform: uppercase; }

/* Mise en page ---------------------------------------------------------- */
.main { flex: 1; width: 100%; max-width: var(--container); margin: 0 auto; padding: clamp(24px, 3.4vw, 48px) var(--gutter-x) clamp(40px, 5vw, 64px); }
.cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--layout-gap); }
.col-main { flex: 999 1 0; min-width: 60%; display: flex; flex-direction: column; gap: 32px; scroll-margin-top: 100px; }
.col-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 36px; }
/* Colonne de droite à côté de la colonne principale, collante dans les deux sens (site.js) : posée à
   --side-before / --side-after du haut / du bas de .cols, elle défile avec la page puis s'arrête d'elle-même,
   par le bas en descendant (top négatif), par le haut sous l'en-tête en remontant (bottom). */
.col-side.is-sticky { position: sticky; top: var(--side-top, 24px); margin-top: var(--side-before, 0px); overflow-anchor: none; }
.col-side.is-sticky.is-up { top: auto; bottom: var(--side-bottom, 0px); margin-top: 0; margin-bottom: var(--side-after, 0px); align-self: flex-end; }
@media print { .col-side.is-sticky, .col-side.is-sticky.is-up { position: static; margin: 0; align-self: auto; } }

/* Fil d'Ariane */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14.5px; font-style: italic; color: var(--ink-2); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.crumbs__sep { color: var(--ink-3); }
.crumbs__current { max-width: 52ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }

/* Grilles de cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--grid-min)), 1fr)); gap: var(--grid-gap-y) var(--grid-gap-x); }
.grid--tight { gap: 44px 32px; }
.grid--duo { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 44px 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.rows { display: flex; flex-direction: column; gap: 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding-top: 16px; border-top: 1px solid var(--ink); }
.section-head--flat { padding-top: 0; border-top: 0; }

/* Card article ---------------------------------------------------------- */
.card { display: flex; flex-direction: column; height: 100%; background: #fff; }
.card__media { display: block; flex: none; overflow: hidden; }
.card__media img, .card__media .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 400ms ease; }
.card:hover .card__media img, .card:hover .card__media .ph { transform: scale(1.03); }
.card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.card__meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.card__meta time { font-size: var(--t-meta); font-style: italic; color: var(--ink-2); }
/* Plusieurs catégories : l'une après l'autre en fondu (site.js), toutes à la même place et sur une ligne (nom trop
   long raccourci par « … »). La zone garde la largeur de la plus longue : ni la date ni le reste de la card ne bougent.
   Les autres restent lues par les lecteurs d'écran ; au clavier, celle qui a le focus s'affiche. */
.card__cats { display: inline-grid; grid-template-columns: minmax(0, max-content); min-width: 0; max-width: 100%; }
.card__cats > .label { grid-area: 1 / 1; justify-self: start; min-width: 0; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.card__cats > .label.is-on { opacity: 1; pointer-events: auto; }
.card__cats > .label.is-out { pointer-events: auto; } /* en train de s'effacer : c'est encore elle qu'on voit et qu'on clique */
.card__cats:focus-within > .label { opacity: 0; transition: none; }
.card__cats:focus-within > .label:focus { opacity: 1; pointer-events: auto; }
/* Toutes côte à côte, sans défilement : animations limitées par l'utilisateur, impression, card « À la une » (assez large). */
@media (prefers-reduced-motion: reduce), print {
  .card__cats { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; }
  .card__cats > .label, .card__cats:focus-within > .label { opacity: 1; pointer-events: auto; overflow: visible; white-space: normal; transition: none; }
}
@media (min-width: 700px) {
  .card--feature .card__cats { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; }
  .card--feature .card__cats > .label, .card--feature .card__cats:focus-within > .label { opacity: 1; pointer-events: auto; overflow: visible; white-space: normal; transition: none; }
}
.card__title { font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-card); line-height: 1.12; letter-spacing: -0.005em; text-wrap: pretty; }
.card__title a { color: var(--ink); text-decoration: none; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card:hover .card__title a, .card__title a:focus-visible { text-decoration-line: underline; }
.card__excerpt { font-size: var(--t-excerpt); line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Aplat d'attente (article sans photo) */
.ph { position: relative; display: block; background-image: repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.045) 0 1px, transparent 1px 12px); }
.ph__label { position: absolute; left: 12px; bottom: 9px; font-size: 12.5px; font-style: italic; color: rgba(17, 17, 17, 0.45); }
.ph--wide { aspect-ratio: 16 / 9; background-image: repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.045) 0 1px, transparent 1px 14px); }
.ph--wide .ph__label { left: 16px; bottom: 13px; font-size: 13px; }

/* Card en ligne (recherche) ; sous 566 px, empilée */
.card--row { flex-direction: row; align-items: flex-start; gap: clamp(16px, 2.4vw, 28px); height: auto; }
.card--row .card__media { flex: 0 0 clamp(110px, 32%, 280px); }
.card--row .card__body { flex: 1 1 0; min-width: 0; gap: 8px; padding-top: 0; }
.card--row .card__title { font-size: var(--t-card-row); }
.card--row .card__excerpt { -webkit-line-clamp: 2; }
.card--row .ph__label { left: 10px; bottom: 7px; font-size: 12px; }
/* écran étroit : image au-dessus du texte, sur toute la largeur (comme une card empilée) */
@media (max-width: 565.98px) {
  .card--row { flex-direction: column; align-items: stretch; gap: 16px; }
  .card--row .card__media { flex: none; }
  .card--row .ph__label { left: 12px; bottom: 9px; font-size: 12.5px; }
}

/* Card « À la une » */
/* À la une : toujours sur une colonne (image pleine largeur en 16:9, puis titre, chapô, catégorie et date). */
.card--feature { flex-direction: column; align-items: stretch; gap: 36px; height: auto; }
.card--feature .ph { background-image: repeating-linear-gradient(135deg, rgba(17, 17, 17, 0.045) 0 1px, transparent 1px 13px); }
.card--feature .ph__label { left: 14px; bottom: 11px; font-size: 13px; }
.card--feature .card__body { gap: 16px; padding-top: 0; }
.card--feature .card__title { font-size: var(--t-feature); line-height: 1.02; letter-spacing: -0.015em; text-wrap: balance; }
.card--feature .card__title a { text-decoration-thickness: 2px; text-underline-offset: 6px; }
.card--feature .card__excerpt { font-size: 18px; line-height: 1.55; display: block; overflow: visible; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding-top: 8px; }
.pager__step { display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 18px 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 15.5px; text-decoration: none; color: var(--ink); }
.pager__step--next { padding: 0 12px 0 18px; }
.pager__step:hover { border-color: var(--ink); color: var(--ink); }
.pager__step.is-disabled { opacity: 0.4; pointer-events: none; }
.pager__num { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 16px; font-weight: 600; text-decoration: none; color: var(--ink); background: #fff; }
.pager__num:hover { border-color: var(--ink); color: var(--ink); }
.pager__num.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager__gap { color: var(--ink-3); padding: 0 2px; }
.htmx-request .pager, .htmx-request.pager { opacity: 0.6; }

/* En-têtes de page (catégorie, mot-clé, recherche, contact) */
.page-head { display: flex; flex-direction: column; gap: 14px; padding-bottom: 28px; border-bottom: 1px solid var(--ink); }
.page-head--search { gap: 18px; }
.page-head__count { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; font-weight: 600; }
.page-head__count .meta-i { font-size: 15px; }

/* Page Articles */
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding-top: 16px; border-top: 1px solid var(--ink); }
.cat-head__txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cat-head__desc { font-size: 15.5px; font-style: italic; color: var(--ink-2); }
.more { display: inline-flex; align-items: center; gap: 6px; font-size: 15.5px; font-weight: 600; white-space: nowrap; text-decoration: none; color: var(--accent); }

/* Recherche */
.search-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 660px; }
.search-form__field { flex: 1 1 240px; display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border: 1px solid var(--input-border); border-radius: var(--radius-pill); background: #fff; color: var(--ink-2); }
.search-form__field:focus-within { border-color: var(--ink); }
.search-form__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.search-form__field input::-webkit-search-cancel-button { display: none; }
.empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.empty__hint { font-size: 19px; font-style: italic; color: var(--ink); }

/* Article --------------------------------------------------------------- */
.article { display: flex; flex-direction: column; gap: 30px; }
.article__head { display: flex; flex-direction: column; gap: 20px; }
.article__cats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--ink-2); }
.byline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 20px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.byline__who { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--fill); font-family: var(--font-d); font-size: 18px; color: var(--ink); }
.avatar--site { overflow: hidden; background: none; }
.avatar--site img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar--initial { color: #fff; font-weight: 700; }
.byline__txt { display: flex; flex-direction: column; gap: 3px; }
.byline__name { font-size: 16px; font-weight: 600; }
.byline__date { font-size: 14.5px; font-style: italic; color: var(--ink-2); }
.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.copy { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: #fff; font-size: 15px; color: var(--ink); cursor: pointer; transition: border-color var(--ease), color var(--ease); }
.copy:hover { border-color: var(--accent); color: var(--accent); }
.copy span { display: inline-flex; }
.copy__ok { color: var(--success); }
.article__figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article__figure figcaption { font-size: 14.5px; font-style: italic; color: var(--ink-2); }

.prose { display: flex; flex-direction: column; gap: 22px; }
.prose p { font-size: var(--t-body); line-height: 1.7; color: var(--ink); }
.prose h2 { margin: 16px 0 0; font-family: var(--font-d); font-weight: var(--fw-d); font-size: var(--t-h2-article); line-height: 1.08; letter-spacing: -0.01em; overflow-wrap: break-word; }
.prose a { text-underline-offset: 3px; }
.prose h3 { margin: 8px 0 0; font-family: var(--font-d); font-weight: var(--fw-d); font-size: 24px; line-height: 1.15; letter-spacing: -0.005em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 8px; font-size: var(--t-body); line-height: 1.7; }
.prose li::marker { color: var(--accent); }
.prose ol li::marker { font-weight: 600; }
.prose hr { width: 100%; margin: 6px 0; border: 0; border-top: 1px solid var(--line); }
/* Mentions légales, confidentialité : corps sur toute la largeur de la colonne (pas de largeur maximale). */
.prose--page h2 { font-size: 30px; }
.prose--page h3 { font-size: 21px; }
.prose__updated { font-size: 15px !important; color: var(--ink-2) !important; }
.table-scroll { overflow-x: auto; }
.legal-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 28px; margin: 0; font-size: var(--t-body); line-height: 1.6; }
.legal-list dt { font-weight: 600; color: var(--ink-2); }
.legal-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 699.98px) { .legal-list { grid-template-columns: 1fr; gap: 2px; } .legal-list dd { margin-bottom: 12px; } }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.5; }
.cookie-table th, .cookie-table td { padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cookie-table th { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.cookie-table td:first-child, .cookie-table td:last-child { white-space: nowrap; }
.cookie-table code { font-size: 14.5px; }
/* Corps d'article : mise en valeur au marqueur (maquette Claude Design, « Mise en valeur dans le corps d'article »).
   Paragraphes et listes seulement : ni intertitres, ni citations, ni pages Mentions légales / Confidentialité.
   Gras : surligné en couleur du site, texte blanc, extrémités biseautées comme une pointe de marqueur.
   Souligné : entouré d'un trait à main levée (3 SVG --mk-* dans la couleur du site, voir marker_vars()).
   box-decoration-break: clone : chaque ligne d'un passage coupé a son propre trait. */
.prose:not(.prose--page) > :is(p, ul, ol) :is(strong, b) {
  font-weight: 300;
  color: #FFFFFF;
  padding: 0.08em 0.36em 0.12em;
  border-radius: 0.14em;
  background-image:
    linear-gradient(98deg, transparent 0.2em, rgba(0, 0, 0, 0.12) calc(0.2em + 1px), rgba(0, 0, 0, 0) 1.4em),
    linear-gradient(98deg, rgba(0, 0, 0, 0) calc(100% - 1em), rgba(0, 0, 0, 0.08) calc(100% - 0.2em - 1px), transparent calc(100% - 0.2em)),
    linear-gradient(98deg, transparent 0.2em, var(--accent) calc(0.2em + 1px), var(--accent) calc(100% - 0.2em - 1px), transparent calc(100% - 0.2em));
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
/* Lien ou couleur « Primary » dans un passage en gras : texte blanc (sinon couleur du site sur fond de la même couleur). */
.prose:not(.prose--page) > :is(p, ul, ol) :is(strong, b) :is(a, a:hover, .ql-color-primary) { color: inherit; }
.prose:not(.prose--page) > :is(p, ul, ol) :is(strong, b) :is(strong, b) { padding: 0; background: none; } /* gras dans le gras : un seul trait */
.prose:not(.prose--page) > :is(p, ul, ol) u {
  text-decoration: none;
  padding: 0.26em 0.42em;
  margin: 0 -0.06em;
  background-image: var(--mk-l), var(--mk-r), var(--mk-m);
  background-size: 1.4em 100%, 1.4em 100%, calc(100% - 2.7em) 100%;
  background-position: left center, right center, center;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.prose u { text-underline-offset: 3px; } /* intertitres, citations, pages légales : souligné ordinaire */
.prose > blockquote { margin: 14px 0; padding: 26px 0 24px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-family: var(--font-d); font-weight: var(--fw-d); font-style: italic; font-size: var(--t-quote); line-height: 1.18; letter-spacing: -0.01em; }
.prose > blockquote::before { content: '“'; display: block; height: 34px; margin-bottom: 14px; font-size: 80px; line-height: 0.9; font-style: normal; color: var(--accent); }
.ql-color-primary { color: var(--accent); }
.prose > blockquote cite { display: block; margin-top: 14px; font-family: var(--font-t); font-size: 15px; font-weight: 400; font-style: italic; letter-spacing: 0; line-height: 1.5; color: var(--ink-2); }

/* Page des pays */
.country-tools { display: flex; flex-direction: column; gap: 16px; }
.country-tools__filter { flex: none; width: 100%; max-width: 460px; }
.letters { display: flex; flex-wrap: wrap; gap: 4px; }
.letters a { min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; border: 1px solid var(--line); font-size: 15px; font-weight: 600; text-decoration: none; color: var(--ink); }
.letters a:hover { border-color: var(--accent); color: var(--accent); }
.country-index { display: flex; flex-direction: column; gap: 32px; }
.country-group { display: grid; grid-template-columns: 56px 1fr; gap: 0 20px; padding-top: 16px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.country-group__letter { font-family: var(--font-d); font-weight: var(--fw-d); font-size: 34px; line-height: 1; color: var(--accent); }
.country-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 2px 24px; }
.country-link { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; text-decoration: none; color: var(--ink); }
.country-link:hover .country-link__name { color: var(--accent); }
.country-none { font-size: 17px; font-style: italic; color: var(--ink-2); }

.article__foot { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
/* Sources en fin d'article, variante « Index » de la maquette (liste numérotée, 2 colonnes, sources d'un même site
   regroupées avec leurs liens numérotés). */
.sources__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); column-gap: 32px; }
.sources__item { border-top: 1px solid var(--line); }
.sources__row { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; color: var(--ink); text-decoration: none; transition: color var(--ease); }
a.sources__row:hover { color: var(--accent); }
.sources__num { flex: none; min-width: 22px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent); }
.sources__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sources__name { font-size: 17px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.sources__meta { font-size: 14px; font-style: italic; color: var(--ink-2); overflow-wrap: anywhere; }
.sources__arrow { align-self: center; flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sources__links { align-self: center; flex: none; max-width: 150px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.sources__link { display: inline-flex; align-items: center; gap: 3px; height: 30px; padding: 0 10px 0 12px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; transition: color var(--ease), border-color var(--ease); }
.sources__link:hover { color: var(--accent); border-color: var(--accent); }
.sources__link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 699.98px) { .sources__link { height: 44px; } }
.related { padding-top: 8px; }

/* Contact --------------------------------------------------------------- */
.contact { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 40px; }
.contact__main { flex: 999 1 380px; min-width: min(100%, 55%); }
.contact__info { flex: 1 1 240px; display: flex; flex-direction: column; }
.contact__nl { flex: 1 1 100%; min-width: 0; } /* toujours en dernier : sous le formulaire et les coordonnées */
.info-block { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
.info-block--first { border-top: 0; padding-top: 0; } /* aligné sur le haut du formulaire */
.info-block--last { gap: 12px; border-bottom: 1px solid var(--line); }
.info-block > a { font-size: 17px; text-decoration: none; color: var(--accent); overflow-wrap: anywhere; }

.form { display: flex; flex-direction: column; gap: 22px; }
.form__row { display: flex; flex-wrap: wrap; gap: 22px; }
.form__row .field { flex: 1 1 220px; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__alert { padding: 12px 16px; border: 1px solid var(--danger); background: var(--danger-bg); color: var(--danger); font-size: 15px; }
.form__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.form__foot .meta-i { font-size: 14px; }
.btn--send { padding: 0 26px; font-size: 16.5px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 15px; font-weight: 600; }
.req { color: var(--danger); }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--input-border); border-radius: 0; background: #fff; font-size: 16.5px; color: var(--ink); outline: none; transition: border-color var(--ease), box-shadow var(--ease); }
.field input, .field select { height: 50px; padding: 0 16px; }
.field textarea { padding: 14px 16px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.field .is-error { border-color: var(--danger); background: var(--danger-bg); }
.field__error { font-size: 14px; font-style: italic; color: var(--danger); }
.select { position: relative; display: flex; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.select svg { position: absolute; right: 16px; top: 50%; margin-top: -8px; pointer-events: none; }
.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 8px 0 24px; }
.sent__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--success-bg); color: var(--success); }
.sent__title { font-family: var(--font-d); font-weight: var(--fw-d); font-size: 40px; line-height: 1.02; letter-spacing: -0.01em; }
.sent__hint { font-size: 18px; line-height: 1.55; color: var(--ink-2); }

/* Colonne de droite : publicité et partenaires -------------------------- */
.ad { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.ad__label { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; text-align: center; color: var(--ink-2); }
.ad__slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: var(--fill); color: var(--ink-2); }
.ad__slot--code { background: transparent; }
.ad__size { font-family: var(--font-d); font-size: 32px; color: var(--ink); }
.ad__fmt { font-size: 15px; font-style: italic; }
.ad--half { align-self: center; width: 300px; max-width: 100%; }
.ad--half .ad__slot { width: 300px; max-width: 100%; height: 600px; }
.ad--half .ad__slot--code { height: auto; min-height: 600px; }
.ad-bottom { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter-x) 48px; display: flex; justify-content: center; }
/* Sous 926 px (colonne de droite passée sous la principale) : la pub de bas de page est placée dans le contenu
   de l'accueil, de l'article et des listes de catégories et de pays (--inline) ; à sa place habituelle (--wide),
   elle n'est gardée qu'au-dessus. */
.ad-bottom--inline { display: none; max-width: none; margin: 0; padding: 0; }
@media (max-width: 925.98px) {
  .ad-bottom--inline { display: flex; }
  .ad-bottom--wide { display: none; }
  .strip { display: none; } /* bandeau « Nos partenaires » */
}
/* Commentaires sous l'article (maquette Claude Design « Commentaires ») ------------------------------- */
.btn--44 { height: 44px; padding: 0 20px; font-size: 15.5px; }
.comments { display: flex; flex-direction: column; gap: 28px; padding-top: 8px; }
.comments__head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; }
.comments__count { font-size: 14px; font-style: italic; color: var(--ink-2); }
.comments__body { max-width: 760px; display: flex; flex-direction: column; gap: 28px; }
.cm-form { display: flex; flex-direction: column; gap: 18px; }
.cm-form .form__row, .cm-reply .form__row { gap: 18px 22px; }
.cm-meta { display: flex; align-items: baseline; gap: 12px; }
.cm-count { margin-left: auto; font-size: 13.5px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.cm-count.is-over { color: var(--danger); }
.cm-form__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; }
.cm-form__note { flex: 1 1 260px; font-size: 14px; line-height: 1.5; font-style: italic; color: var(--ink-2); }
.cm-sent { display: flex; align-items: flex-start; gap: 16px; padding: 2px 0; }
.cm-sent:focus { outline: none; }
.cm-sent__icon { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--success-bg); color: var(--success); }
.cm-sent__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cm-sent__title { font-size: 20px; line-height: 1.3; font-weight: 700; }
.cm-sent__hint { font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.cm-sent .btn { margin-top: 8px; }
.cm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
.cm-list:not(:has(> li)) { display: none; }
.cm-thread { display: flex; flex-direction: column; gap: 22px; padding: 24px 0; border-top: 1px solid var(--line); }
.cm { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: start; }
.cm__av { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--fill); color: var(--ink); font-size: 15px; font-weight: 600; }
.cm--staff .cm__av { background: var(--accent); color: #fff; }
.cm__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 40px; }
.cm__name { font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.cm__staff { font-size: 11.5px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; color: var(--accent); }
.cm__date { font-size: 14px; font-style: italic; color: var(--ink-2); }
.cm__lang { font-size: 13px; color: var(--ink-2); }
.cm__lang::before { content: '· '; }
.cm__pending { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: var(--radius-pill); background: var(--fill); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.cm__body { grid-column: 2; display: flex; flex-direction: column; gap: 6px; }
.cm__text { font-size: 17px; line-height: 1.6; white-space: pre-line; overflow-wrap: anywhere; color: var(--ink); }
.cm__tr-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: 13.5px; font-style: italic; color: var(--ink-2); }
.cm__tr-note--err { color: var(--danger); }
.cm__tr-toggle { padding: 0; border: 0; background: none; font: inherit; font-style: normal; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cm__tr-toggle:hover { color: var(--accent); }
.cm__tr-alt, .cm__tr-lab { display: inline-flex; align-items: center; gap: 6px; }
.cm__tr-lab { min-width: 0; }
.cm__act--done:focus { outline: none; }
.cm__tr-busy { display: none; }
.cm__tr.htmx-request .cm__tr-idle { display: none; }
.cm__tr.htmx-request .cm__tr-busy { display: inline; }
.cm__actions { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0 20px; }
.cm__actions:not(:has(> *)) { display: none; }
.cm__report { display: contents; }
.cm__act { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; cursor: pointer; transition: color var(--ease); }
.cm__act:hover, .cm__act.is-on { color: var(--accent); }
.cm__act--done, .cm__act--done:hover { color: var(--ink-2); cursor: default; }
.cm__act--done svg { color: var(--success); }
.cm-replies { list-style: none; margin: 0; padding: 0 0 0 54px; display: flex; flex-direction: column; gap: 22px; }
.cm-replies:not(:has(> li)) { display: none; }
.cm--reply { grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; }
.cm--reply .cm__av { width: 32px; height: 32px; font-size: 12.5px; }
.cm--reply .cm__head { min-height: 32px; }
.cm-reply { margin-left: 54px; display: flex; flex-direction: column; gap: 14px; }
.cm-reply-box > .form__alert { margin-left: 54px; }
.cm-reply__foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.cm-more:not(:has(a)) { display: none; }
.cm-thread:focus, .cm-replies > li:focus, .cm__body:focus { outline: none; }
.cm-thread:focus-visible, .cm-replies > li:focus-visible, .cm__body:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.cm-more__btn { font-weight: 600; }
@media (max-width: 699.98px) {
  .cm__body, .cm__actions { grid-column: 1 / -1; }
  .cm-replies { padding-left: 24px; }
  .cm-reply, .cm-reply-box > .form__alert { margin-left: 24px; }
  .cm__act { min-height: 44px; }
  .cm__tr-toggle { display: inline-flex; align-items: center; min-height: 44px; }
}
@media print { .cm-form, .cm-zone, .cm__actions, .cm-more, .cm-reply-box { display: none; } }

/* Infolettre : bande du bas de page, juste après la pub (texte à gauche, formulaire à droite ; empilés en étroit). */
.nl { border-top: 1px solid var(--line); background: var(--accent-tint); }
.nl__in { max-width: var(--container); margin: 0 auto; padding: 44px var(--gutter-x) 48px; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px 64px; }
.nl__txt { flex: 1 1 340px; max-width: 560px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.nl__title { font-family: var(--font-d); font-weight: var(--fw-d); font-size: clamp(27px, 1.6vw + 18px, 36px); line-height: 1.06; letter-spacing: -0.012em; text-wrap: balance; }
.nl__lede { font-size: 17px; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.nl__live { flex: 1 1 380px; max-width: 540px; padding-top: 30px; } /* à hauteur du titre */
.nl--box { border-top: 0; }
/* Aperçu d'un article non publié (jeton d'Hyperion) */
.preview-bar { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; padding: 14px 18px; border: 1px solid #E8C468; border-left-width: 4px; background: #FFF6DA; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.preview-bar__title { font-size: 15px; }
.preview-bar__row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.preview-bar__row > span:first-child { color: var(--ink-2); }
.preview-bar a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.preview-bar a[aria-current] { color: var(--accent); text-decoration: none; }
.preview-bar .dot { width: 8px; height: 8px; border-radius: 99px; }
.preview-bar__foot span { color: var(--ink-2); font-size: 13.5px; }
@media (max-width: 699.98px) { .preview-bar a { min-height: 44px; } }
@media print { .preview-bar { display: none; } }
.nl--box .nl__in { max-width: none; padding: 32px; gap: 20px; }
.nl--box .nl__txt, .nl--box .nl__live { flex-basis: 100%; max-width: none; }
.nl--box .nl__live { padding-top: 0; }
@media (max-width: 699.98px) { .nl--box .nl__in { padding: 24px 20px; } }
.nl__form { display: flex; flex-direction: column; gap: 10px; }
.nl__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.nl__error { grid-column: 1 / -1; grid-row: 2; } /* sous le champ et le bouton ; en étroit, entre les deux */
.nl__input { min-width: 0; height: 50px; padding: 0 20px; border: 1px solid var(--input-border); border-radius: var(--radius-pill); background: #fff; font-size: 16.5px; color: var(--ink); outline: none; transition: border-color var(--ease), box-shadow var(--ease); }
.nl__input:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.nl__input.is-error { border-color: var(--danger); background: var(--danger-bg); }

.nl__btn[disabled] { opacity: 0.6; cursor: progress; }
.nl__consent { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.nl__consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.nl__consent a:hover { color: var(--ink); }
.nl__done { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); background: #fff; }
.nl__icon { flex: none; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--success-bg); color: var(--success); }
.nl__done-txt { display: flex; flex-direction: column; gap: 6px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.nl__done-title { font-size: 18px; font-weight: 600; color: var(--ink); }
.nl__done:focus { outline: none; }
.nl__email { display: inline-block; max-width: 100%; font-weight: 600; color: var(--ink); hyphens: none; overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .nl__row { grid-template-columns: minmax(0, 1fr); }
  .nl__error { grid-row: auto; }
}
@media (max-width: 860px) { .nl__live { padding-top: 0; } }
.nl-page__form { max-width: 560px; }
.nl-page__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media print { .nl { display: none; } }
.ad--bill { width: 970px; max-width: 100%; }
.ad--bill .ad__slot { width: 100%; aspect-ratio: 970 / 250; }
.ad--bill .ad__slot--code { aspect-ratio: auto; }
.ad--mobile { display: none; width: 320px; max-width: 100%; }
.ad--mobile .ad__slot { width: 320px; max-width: 100%; height: 100px; gap: 4px; }
.ad--mobile .ad__size { font-size: 24px; }
.ad--mobile .ad__fmt { font-size: 13.5px; }
/* Publicité en image : format libre, réduite à la largeur de l'emplacement. */
.ad--img.ad--half, .ad--img.ad--mobile { width: 100%; }
.ad--img.ad--bill { width: auto; max-width: 100%; }
.ad .ad__slot--img { display: block; width: auto; max-width: 100%; height: auto; min-height: 0; aspect-ratio: auto; background: none; }
.ad__link { display: block; }
.ad__link img { display: block; max-width: 100%; height: auto; margin: 0 auto; }

.partners { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--ink); }
.partners__title { margin: 0 0 8px; font-family: var(--font-d); font-weight: var(--fw-d); font-size: 27px; line-height: 1.05; letter-spacing: -0.01em; }
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.partners li { border-bottom: 1px solid var(--line); }
.partners__item { display: flex; align-items: center; gap: 14px; padding: 13px 0; text-decoration: none; color: var(--ink); }
.partners__item:hover { color: var(--accent); }
.partners__logo { width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--fill); font-family: var(--font-d); font-weight: var(--fw-d); font-size: 15px; color: var(--ink-2); overflow: hidden; }
/* Nuage de mots-clés (colonne de droite) */
.tag-cloud { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--ink); }
.tag-cloud__list { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; line-height: 1.25; }
.tag-cloud__tag { text-decoration: none; color: var(--ink-2); }
.tag-cloud__tag:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.tag-cloud__tag--1 { font-size: 16px; }
.tag-cloud__tag--2 { font-size: 18px; }
.tag-cloud__tag--3 { font-size: 20px; color: var(--ink); }
.tag-cloud__tag--4 { font-size: 22px; color: var(--ink); font-weight: 600; }
.tag-cloud__tag--5 { font-size: 24px; color: var(--ink); font-weight: 700; }
.partners__logo img { width: 100%; height: 100%; object-fit: contain; }
.partners__logo:has(img) { background: transparent; }
.partners__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.partners__name { font-size: 16px; font-weight: 600; }
.partners__domain { font-size: 14px; font-style: italic; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Bandeau des partenaires ----------------------------------------------- */
.strip { border-top: 1px solid var(--line); }
.strip__in { max-width: var(--container); margin: 0 auto; padding: 36px var(--gutter-x) 40px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.strip__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 48px; }
.strip__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-2); }
.strip__logo:hover { color: var(--ink); }
.strip__logo img { height: 32px; width: auto; }
.strip__mark { width: 13px; height: 13px; background: currentColor; border-radius: 3px; }
.strip__name { font-family: var(--font-d); font-weight: var(--fw-d); font-size: 21px; line-height: 1; white-space: nowrap; }

/* Pied de page ---------------------------------------------------------- */
.ftr { border-top: 1px solid var(--ink); background: #fff; }
.ftr__in { max-width: var(--container); margin: 0 auto; padding: 56px var(--gutter-x) 28px; display: flex; flex-direction: column; gap: 44px; }
.ftr__cols { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.ftr__brand { flex: 2 1 280px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ftr__tagline { max-width: 34ch; font-size: 17px; font-style: italic; line-height: 1.5; color: var(--ink-2); }
.ftr__follow { display: flex; flex-direction: column; gap: 12px; }
.ftr__nav { flex: 1 1 140px; display: flex; flex-direction: column; gap: 12px; }
.ftr__nav .col-head, .ftr__cats .col-head, .ftr__lang .col-head { margin-bottom: 4px; }
.ftr__nav a, .ftr__cats a { font-size: 16.5px; text-decoration: none; color: var(--ink); }
.ftr__nav a:hover, .ftr__cats a:hover { color: var(--accent); }
.ftr__cats { flex: 2 1 280px; display: flex; flex-direction: column; gap: 12px; }
.ftr__cats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px 24px; }
.ftr__lang { flex: 1 1 160px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ftr__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.ftr__legal { display: flex; gap: 22px; }
.ftr__legal a { text-decoration: none; color: var(--ink-2); }
.ftr__legal a:hover { color: var(--accent); }
.ftr__consent { padding: 0; border: 0; background: none; font: inherit; color: var(--ink-2); cursor: pointer; }
.ftr__consent:hover { color: var(--accent); }

/* Bannière de consentement aux cookies */
.consent { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-menu); }
.consent__text { flex: 1 1 320px; margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink); }
.consent__actions { display: flex; gap: 10px; flex: none; }
@media (max-width: 699.98px) { .consent__actions { flex: 1 1 100%; } .consent__actions .btn { flex: 1; } }

/* Panneau de recherche -------------------------------------------------- */
.search-panel { position: fixed; inset: 0; z-index: 80; }
.search-panel__veil { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.45); }
.search-panel__box { position: relative; padding: 26px var(--gutter-x) 34px; background: #fff; border-bottom: 1px solid var(--ink); }
.search-panel__in { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.search-panel__head { display: flex; align-items: center; justify-content: space-between; }
.search-panel__form { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.search-panel__input { flex: 1 1 240px; min-width: 0; height: 60px; border: 0; outline: 0; background: transparent; font-family: var(--font-d); font-weight: var(--fw-d); font-size: clamp(26px, 2vw + 14px, 40px); color: var(--ink); }
.search-panel__input::-webkit-search-cancel-button { display: none; }
.search-panel__form .btn { padding: 0 26px; font-size: 16.5px; }
.search-panel__popular { display: flex; flex-direction: column; gap: 12px; }

/* Tiroir mobile --------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; pointer-events: none; transition: visibility 200ms; }
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__veil { position: absolute; inset: 0; background: rgba(17, 17, 17, 0.45); opacity: 0; transition: opacity 200ms ease-out; }
.drawer.is-open .drawer__veil { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 390px); display: flex; flex-direction: column; background: #fff; transform: translateX(100%); transition: transform 200ms ease-out; }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { flex: none; height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px 32px; display: flex; flex-direction: column; gap: 32px; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__link { flex: 1; display: flex; align-items: center; min-height: 60px; font-family: var(--font-d); font-weight: var(--fw-d); font-size: 30px; text-decoration: none; color: var(--ink); }
.drawer__nav > .drawer__link { border-bottom: 1px solid var(--line); }
.drawer__link.is-active { color: var(--accent); }
.drawer__group { border-bottom: 1px solid var(--line); }
.drawer__row { display: flex; align-items: center; }
.rot { display: inline-flex; transition: transform 150ms ease; }
.rot.is-rot { transform: rotate(180deg); }
.drawer__cats { display: flex; flex-direction: column; padding: 0 0 14px; }
.drawer__cats a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px 12px; font-size: 17px; text-decoration: none; color: var(--ink); }
.drawer__cats a.is-current { color: var(--accent); background: var(--accent-tint); }
.drawer__cats .count { font-size: 14px; }
.drawer__block { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
/* navigation secondaire, sous les liens principaux (écart réduit à 14px) */
.drawer__sec { display: flex; flex-direction: column; margin-top: -18px; }
.drawer__sec a { display: flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 500; text-decoration: none; color: var(--ink); }
.drawer__sec a.is-active { color: var(--accent); }

/* Réactif --------------------------------------------------------------- */
/* En-tête bureau étroit (jusqu'à 5 onglets, À propos compris) : les réseaux sociaux (aussi dans le pied de page et le
   tiroir) cèdent la place jusqu’à 1240px (avec eux, libellés les plus longs : 1202px). En dessous de 1060px : en-tête
   compact (sans eux, libellés les plus longs, en finnois : 981px). */
@media (min-width: 1060px) and (max-width: 1239.98px) {
  .hdr__in { gap: 28px; }
  .hdr__tools .social, .hdr__tools .vrule { display: none; }
}
@media (max-width: 1059.98px) {
  html { scroll-padding-top: 80px; }
  .hdr__in { display: none; }
  .hdr__compact { display: flex; align-items: center; gap: 6px; height: 62px; padding: 0 10px 0 16px; }
  .hdr__compact-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
  .col-main { scroll-margin-top: 80px; }
  .social--button a { width: 44px; height: 44px; }
}
@media (max-width: 699.98px) {
  .country-group { grid-template-columns: 1fr; gap: 8px; }
  .ad--bill:not(.ad--always) { display: none; }
  .ad--mobile { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* À propos (Hyperion → Pages) : blocs espacés de 48px ; textes au style du corps d'article (gras surligné, souligné
   entouré), sur toute la largeur de la colonne (pas de largeur maximale). */
.about { display: flex; flex-direction: column; gap: 48px; }
.about__text > :first-child { margin-top: 0; }
/* texte saisi en code HTML (Hyperion → Pages) : médias à la largeur du texte au plus */
.about__text--html :is(img, video, picture) { max-width: 100%; height: auto; }
/* images ajoutées dans l'éditeur (Hyperion → Pages) : à la largeur du texte au plus, centrées */
/* image d'un texte : <figure>, image centrée, légende à la largeur de l'image ; en code HTML, seulement les figures
   faites d'une image (citations, vidéos, tableaux… dans une figure : inchangés) ; règles séparées (sans :has, la
   règle entière serait ignorée) ; :where : la 1re image d'un texte garde margin-top: 0 (.about__text > :first-child) */
.about__text:where(:not(.about__text--html)) figure { width: fit-content; max-width: 100%; margin: 6px auto; display: flex; flex-direction: column; gap: 10px; }
.about__text:where(:not(.about__text--html)) figure img { display: block; max-width: 100%; height: auto; }
.about__text:where(:not(.about__text--html)) figcaption { contain: inline-size; font-size: 14.5px; line-height: 1.45; font-style: italic; color: var(--ink-2); }
.about__text--html figure:has(> img, > picture, > a > :is(img, picture)) { width: fit-content; max-width: 100%; margin: 6px auto; display: flex; flex-direction: column; gap: 10px; }
.about__text--html figure:has(> img, > picture, > a > :is(img, picture)) img { display: block; max-width: 100%; height: auto; }
.about__text--html figure:has(> img, > picture, > a > :is(img, picture)) > figcaption { contain: inline-size; font-size: 14.5px; line-height: 1.45; font-style: italic; color: var(--ink-2); }
.about__text--html iframe { max-width: 100%; border: 0; }
.about__text { overflow-wrap: break-word; }
.about__text--html :is(table, pre) { display: block; max-width: 100%; overflow-x: auto; }

/* Carrousels (page À propos) : piste .carousel__track, diapositives .carousel__slide ; .carousel--cards : versets et
   hadiths (2 cartes visibles en bureau, 86 % en mobile). Composant Alpine carousel() : site.js. */
.carousel { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.carousel--ruled { padding-top: 28px; border-top: 1px solid var(--ink); }
.carousel__track { display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.carousel__slide { flex: 0 0 100%; min-width: 0; display: flex; scroll-snap-align: start; }
/* hauteur de la diapositive affichée (carousel(), option fit) : les diapositives gardent leur hauteur */
.carousel--fit .carousel__track { align-items: flex-start; transition: height 450ms ease; }
@media (prefers-reduced-motion: reduce) { .carousel--fit .carousel__track { transition: none; } }
.carousel--cards .carousel__track { gap: 20px; }
.carousel--cards .carousel__slide { flex-basis: calc((100% - 20px) / 2); }
.carousel__bar { display: flex; align-items: center; gap: 16px; }
.carousel__count { flex: none; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.carousel__count b { font-weight: 600; color: var(--ink); }
.carousel__progress { position: relative; flex: 1; height: 2px; background: var(--line); }
.carousel__progress > span { position: absolute; top: 0; bottom: 0; left: 0; background: var(--accent); transition: width 300ms ease; }
.carousel__nav { flex: none; display: flex; gap: 8px; }
.carousel__btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-pill); background: #FFFFFF; color: var(--ink); cursor: pointer; transition: border-color var(--ease), opacity var(--ease); }
.carousel__btn:hover { border-color: var(--ink); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; border-color: var(--line); }
.carousel__figure { margin: 0; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.carousel__caption { font-size: 14.5px; line-height: 1.45; font-style: italic; color: var(--ink-2); }
.media-16x9 { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--fill); }
.media-16x9 > img, .media-16x9 > video, .media-16x9 > iframe, .media-16x9 > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.media-16x9 > video { background: #000; object-fit: contain; }
/* bouton de lecture : toute l'image (un appui un peu à côté du disque lance aussi la vidéo), disque au centre */
.media-16x9__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; background: transparent; cursor: pointer; }
.media-16x9__play:focus-visible { outline: none; }
.media-16x9__disc { width: clamp(56px, 4vw + 26px, 76px); height: clamp(56px, 4vw + 26px, 76px); display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--accent); color: #FFFFFF; transition: transform var(--ease), background-color var(--ease); }
.media-16x9__play:hover .media-16x9__disc { background: var(--accent-hover); transform: scale(1.06); }
.media-16x9__play:focus-visible .media-16x9__disc { outline: 3px solid #FFFFFF; outline-offset: 3px; box-shadow: 0 0 0 6px var(--accent); }
.media-16x9__disc svg { width: 38%; height: 38%; margin-left: 6%; fill: currentColor; }
.media-16x9__duration { pointer-events: none; position: absolute; right: 14px; bottom: 12px; height: 28px; display: flex; align-items: center; padding: 0 10px; border-radius: var(--radius-pill); background: rgba(17, 17, 17, 0.8); color: #FFFFFF; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
/* Unforgivable Sentences / Clerical Errors (maquette v7) : en-tête des pages de sélection (.sel-head, .sel-bar), puis les
   citations en grille (2 colonnes en bureau, 1 en mobile), chacune sous un filet ; jusqu'à 220 signes en gras, au-delà
   corps plus petit (--long), au-delà de 380 coupée à 7 lignes (--clamped) avec « Lire la suite » ; bouton « Source » discret */
.quote-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 44px 48px; align-items: start; }
.quote { min-width: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.quote__fig { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.quote__mark { height: 30px; font-family: var(--font-d); font-weight: var(--fw-d); font-size: 72px; line-height: 0.9; color: var(--accent); }
.quote__text { margin: 0; font-family: var(--font-d); font-weight: var(--fw-d); font-size: clamp(22px, 0.8vw + 15px, 27px); line-height: 1.2; letter-spacing: -0.01em; text-wrap: pretty; overflow-wrap: break-word; }
.quote__text--long { font-family: var(--font-t); font-weight: 500; font-size: 18.5px; line-height: 1.6; letter-spacing: 0; max-width: 40ch; }
.quote__text--clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.quote__more { align-self: flex-start; display: flex; align-items: center; min-height: 44px; margin: -14px 0 -10px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--accent); cursor: pointer; }
.quote__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.quote__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.quote__who { flex: 1 1 200px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }   /* bouton « Source » à droite, sauf place trop étroite */
.quote__by { font-size: 16px; font-weight: 600; }
.quote__ctx { font-size: 14.5px; font-style: italic; color: var(--ink-2); }
.quote__source { flex: none; display: flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink-2); }
.quote__source > span { display: flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px 0 13px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 500; transition: color var(--ease), border-color var(--ease); }
.quote__source:hover > span { color: var(--ink); border-color: var(--ink); }
.quote__source:focus-visible { outline: none; }
.quote__source:focus-visible > span { outline: 2px solid var(--accent); outline-offset: 2px; }
.quote__source svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quote-empty { margin: 0; font-size: 17px; color: var(--ink-2); }
/* Filtre par catégorie (maquette v8) : titre et « Effacer le filtre », liste déroulante de 560px au plus (pleine largeur
   en mobile), nombre de citations et page à droite (dessous en mobile). Liste : <details>, qui s'ouvre sans JavaScript ;
   panneau sous l'en-tête collant (z-index 40) quand la page défile */
.qfilter-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-top: 6px; }
.qfilter { flex: 0 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.qfilter__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 22px; }
.qfilter__label { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.qfilter__clear { display: flex; align-items: center; gap: 5px; min-height: 44px; margin: -11px 0; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.qfilter__clear:hover { text-decoration: underline; text-underline-offset: 3px; }
.qfilter__field { position: relative; }
.qfilter__button { min-height: 50px; display: flex; align-items: center; gap: 12px; padding: 11px 16px 11px 18px; border: 1px solid var(--input-border); background: var(--paper); color: var(--ink); cursor: pointer; list-style: none; transition: border-color var(--ease); }
.qfilter__button::-webkit-details-marker { display: none; }
.qfilter__button:hover, .qfilter__button.is-active { border-color: var(--ink); }
.qfilter__field[open] > .qfilter__button { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.qfilter__value { flex: 1 1 auto; min-width: 0; font-size: 16.5px; font-weight: 600; line-height: 1.3; text-wrap: pretty; overflow-wrap: break-word; }
.qfilter__count { flex: none; font-size: 14px; font-style: italic; color: var(--ink-2); }
.qfilter__chevron { flex: none; transition: transform var(--ease); }
.qfilter__field[open] .qfilter__chevron { transform: rotate(180deg); }
.qfilter__panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: min(440px, 60vh); overflow-y: auto; overscroll-behavior: contain; padding: 8px 0; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-menu); }
.qfilter__panel ul { list-style: none; margin: 0; padding: 0; }
.qfilter__panel a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 8px 18px; font-size: 15.5px; line-height: 1.35; text-decoration: none; color: var(--ink); }
.qfilter__panel a:hover { background: var(--fill); }
.qfilter__panel a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.qfilter__panel a[aria-current="true"] { color: var(--accent); background: var(--accent-tint); }
.qfilter__panel a.qfilter__all { font-size: 16px; font-weight: 600; }
.qfilter__panel a > span:first-child { min-width: 0; text-wrap: pretty; overflow-wrap: break-word; }
.qfilter__panel a > span:last-child { flex: none; font-size: 13.5px; font-style: italic; font-weight: 400; color: var(--ink-2); }
.qfilter__sep { height: 1px; margin: 6px 0; background: var(--line); }
.qfilter-total { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 50px; font-size: 15px; font-weight: 600; }
.qfilter-total .meta-i { font-size: 15px; }
@media print { .qfilter { display: none; } }
@media print {   /* sur papier : citations entières, sans « Lire la suite » */
  .quote__text--clamped { display: block; -webkit-line-clamp: unset; line-clamp: none; overflow: visible; }
  .quote__more { display: none; }
}

/* Allah vous parle (maquette v10) : liste des épisodes (grille de deux colonnes au plus, vignettes larges, bouton lecture
   décoratif, durée) et page d'un épisode (lecteur 16:9 sur toute la largeur de la colonne, verset de l'épisode) */
.ep-list { display: flex; flex-direction: column; gap: 40px; }
.ep-list__sub { margin: 0; font-size: clamp(21px, 0.8vw + 15px, 26px); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; text-wrap: balance; overflow-wrap: break-word; }
.ep-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(max(min(100%, 300px), calc((100% - 32px) / 2)), 1fr)); gap: 48px 32px; }
.ep-card { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ep-card__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--fill); }
.ep-card__thumb > img, .ep-card__thumb > .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.ep-card:hover .ep-card__thumb > img, .ep-card:hover .ep-card__thumb > .ph { transform: scale(1.03); }
.ep-card__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-pill); background: var(--accent); color: #FFFFFF; transition: background-color var(--ease); }
.ep-card:hover .ep-card__play { background: var(--accent-hover); }
.ep-card__play svg { width: 38%; height: 38%; margin-left: 6%; fill: currentColor; }
.ep-card__body { display: flex; flex-direction: column; gap: 10px; }
.ep-card__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.ep-card__ref { font-size: var(--t-meta); font-style: italic; color: var(--ink-2); }
.ep-card__title { margin: 0; font-family: var(--font-d); font-weight: var(--fw-d); font-size: clamp(22px, 0.7vw + 16px, 28px); line-height: 1.14; letter-spacing: -0.005em; text-wrap: pretty; overflow-wrap: break-word; }
.ep-card__title a { color: var(--ink); text-decoration: underline 1px transparent; text-underline-offset: 4px; transition: text-decoration-color var(--ease); }
.ep-card:hover .ep-card__title a, .ep-card__title a:focus-visible { text-decoration-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .ep-card__thumb > img, .ep-card__thumb > .ph { transition: none; } .ep-card:hover .ep-card__thumb > img, .ep-card:hover .ep-card__thumb > .ph { transform: none; } }
.episode { display: flex; flex-direction: column; gap: 32px; }
.episode__head { display: flex; flex-direction: column; gap: 18px; }
.episode__intro { margin: 0; max-width: 60ch; text-wrap: pretty; overflow-wrap: break-word; }
.episode__disc { width: clamp(64px, 4vw + 34px, 88px); height: clamp(64px, 4vw + 34px, 88px); }
.episode__verse { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--line); }
.episode__verse-h { margin: 0; font-family: var(--font-t); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.scripture-card__text.episode__verse-text { font-size: 19px; line-height: 1.65; }

/* Sélection de versets / de hadiths (maquette v5) : pilules Versets / Hadiths, nombre et page ; cartes en grille,
   sans hauteur imposée (celle de la plus haute carte de la rangée), pied en bas de la carte */
.page-head.sel-head { gap: 18px; padding-bottom: 24px; }
.sel-title { text-wrap: balance; }
/* introduction : comme le corps des articles (.prose), aussi en code HTML (texte hors bloc mis en paragraphes au serveur :
   HtmlSanitizer::clean, $paragraphs) */
.sel-intro { overflow-wrap: break-word; }
.sel-intro--html :is(img, video, picture) { max-width: 100%; height: auto; }
.sel-intro--html iframe { max-width: 100%; border: 0; }
.sel-intro--html :is(table, pre) { display: block; max-width: 100%; overflow-x: auto; }
.sel-bar { margin-top: 6px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.sel-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.sel-tab { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: var(--radius-pill); font-size: 15px; font-weight: 600; color: var(--ink); text-decoration: none; transition: border-color var(--ease), color var(--ease); }
.sel-tab:hover { border-color: var(--ink); }
.sel-tab.is-current, .sel-tab.is-current:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }   /* couleur Primary du site */
.scripture-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.scripture-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); }
.scripture-card__body { flex: 1; padding: 22px 24px 18px; }
.scripture-card__by { margin: 0 0 8px; font-size: 14.5px; font-style: italic; color: var(--ink-2); }
.scripture-card__text { margin: 0; font-size: 18px; line-height: 1.6; text-wrap: pretty; overflow-wrap: break-word; }
.scripture-card__foot { flex: none; margin: 0 24px; padding: 14px 0 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; border-top: 1px solid var(--line); }
.scripture-card__note { font-size: 14px; font-style: italic; color: var(--ink-2); }

/* citations (droites, pas en italique comme les citations d'article) : taille de la maquette Claude Design, texte sur
   toute la largeur (sans largeur maximale) */
.cquote { margin: 0; width: 100%; display: flex; flex-direction: column; gap: 18px; }
.cquote__mark { height: 44px; font-family: var(--font-d); font-weight: var(--fw-d); font-size: 104px; line-height: 0.9; color: var(--accent); }
.cquote__text { margin: 0; font-family: var(--font-d); font-weight: var(--fw-d); font-size: clamp(28px, 2.2vw + 12px, 46px); line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; overflow-wrap: break-word; }
.cquote__cap { display: flex; flex-direction: column; gap: 4px; }
.cquote__by { font-size: 16px; font-weight: 600; }
.cquote__src { font-size: 14.5px; font-style: italic; color: var(--ink-2); }
/* versets et hadiths */
.vcard { width: 100%; min-height: 260px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 26px 26px 22px; border: 1px solid var(--line); }
.vcard__text { margin: 0; font-size: clamp(19px, 0.4vw + 15px, 21px); line-height: 1.55; font-weight: 500; text-wrap: pretty; overflow-wrap: break-word; }
.vcard__foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.vcard__ref { font-size: 12px; font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase; }
.vcard__tag { font-size: 14px; font-weight: 600; color: var(--accent); overflow-wrap: anywhere; }
.vcard__tag.is-highlight { text-decoration: underline; text-underline-offset: 3px; }
/* pages Sélection et articles : hashtags cliquables (versets ou hadiths qui ont le même hashtag) */
a.vcard__tag { text-decoration: none; }
a.vcard__tag.is-highlight, a.vcard__tag:hover { text-decoration: underline; text-underline-offset: 3px; }
a.vcard__tag:hover { color: var(--accent-hover); }
/* versets et hadiths d'un article : texte de 500 px de haut au plus, barre de défilement fine et discrète, ombre en haut
   ou en bas quand il reste du texte de ce côté (CSS seul : fonds « local » qui la couvrent aux extrémités) */
.vcard__text--scroll {
  flex: 0 1 auto; min-height: 0; max-height: 500px; overflow-y: auto; margin-right: -10px; padding-right: 10px; outline: none;
  scrollbar-width: thin; scrollbar-color: #B9BBC0 transparent;
  background:
    linear-gradient(var(--paper) 50%, transparent) top / 100% 40px no-repeat local,
    linear-gradient(transparent, var(--paper) 50%) bottom / 100% 40px no-repeat local,
    linear-gradient(rgba(17, 17, 17, 0.10), rgba(17, 17, 17, 0)) left 0 top 1px / 100% 12px no-repeat scroll,
    linear-gradient(rgba(17, 17, 17, 0), rgba(17, 17, 17, 0.10)) left 0 bottom 1px / 100% 12px no-repeat scroll,
    var(--paper);
}
.vcard__text--scroll::-webkit-scrollbar { width: 6px; }
.vcard__text--scroll::-webkit-scrollbar-thumb { background: #B9BBC0; border-radius: 3px; }
.vcard__text--scroll::-webkit-scrollbar-track { background: transparent; }
.vcard__text--scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media print {   /* sur papier : versets et hadiths entiers, sans barre ni ombres de défilement */
  .vcard__text--scroll { max-height: none; overflow: visible; margin-right: 0; padding-right: 0; background: none; }
}
/* versets et hadiths d'un article : section au style de « Sources » (filet --line, titre .col-head) */
.carousel.article__foot { gap: 14px; }
.carousel.article__foot .carousel__bar { margin-top: 6px; }
@media (max-width: 699.98px) {
  .carousel--cards .carousel__track { gap: 12px; }
  .carousel--cards .carousel__slide { flex-basis: 86%; }
  .carousel__btn { width: 44px; height: 44px; }
  .vcard { padding: 22px 20px 18px; }
}
