/* KasynaOnlinePL — design system. 3 couleurs : violet (primary), or (accent), blanc. 1 police : Onest. */
:root {
  --primary: #2a1052;
  --accent: #ffc914;
  --white: #ffffff;
  /* dérivés de la seule teinte violette (transparences), pas de couleur supplémentaire */
  --primary-soft: #3a1a6b;
  --ink: var(--primary);
  --ink-muted: rgba(42, 16, 82, .72);
  --line: rgba(42, 16, 82, .14);
  --surface: rgba(42, 16, 82, .05);
  --on-primary: var(--white);
  --on-primary-muted: rgba(255, 255, 255, .72);
  --line-on-primary: rgba(255, 255, 255, .16);
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  --container: 1120px;
  --gutter: 16px;
  --header-h: 64px;
  --step--1: clamp(.85rem, .82rem + .15vw, .9rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.05rem + .4vw, 1.3rem);
  --step-2: clamp(1.3rem, 1.15rem + .7vw, 1.6rem);
  --step-3: clamp(1.75rem, 1.3rem + 2.2vw, 2.75rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font); font-size: var(--step-0); line-height: 1.6;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { flex: 1 0 auto; }

/* Skip link */
.skip-link { position: absolute; left: var(--gutter); top: -100px; z-index: 100; padding: .5rem .9rem; background: var(--accent); color: var(--primary); font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: .5rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--primary); color: var(--on-primary); border-bottom: 1px solid var(--line-on-primary); }
.site-header__inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 800; font-size: var(--step-1); letter-spacing: -.02em; color: inherit; }
.logo__mark { flex: none; width: 34px; height: 34px; }
.logo__accent { color: var(--accent); }

.nav-toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .75rem; border: 1px solid var(--line-on-primary); border-radius: var(--radius); color: var(--on-primary); font-weight: 600; font-size: var(--step--1); }
.nav-toggle__bars { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
html:not(.js) .nav-toggle { display: none; }

.site-nav { flex-basis: 100%; display: none; padding-bottom: .75rem; }
.site-nav.is-open, html:not(.js) .site-nav { display: block; }
.site-nav__list { display: flex; flex-direction: column; gap: .25rem; }
.site-nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line-on-primary); }
.site-nav__link { flex: 1; display: inline-flex; align-items: center; gap: .35rem; padding: .8rem .25rem; color: var(--on-primary); font-weight: 600; text-decoration: none; }
.site-nav__link:hover, .site-nav__link[aria-current="page"] { color: var(--accent); }
.site-nav__link--button { text-align: left; }
.submenu-toggle { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--on-primary); }
.chevron { display: inline-block; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
[aria-expanded="true"] > .chevron, .submenu-toggle[aria-expanded="true"] .chevron { transform: translateY(2px) rotate(-135deg); }

.submenu { flex-basis: 100%; display: none; padding: 0 0 .75rem .75rem; }
.submenu.is-open { display: block; }
.submenu__link { display: block; padding: .5rem .25rem; color: var(--on-primary-muted); text-decoration: none; }
.submenu__link:hover { color: var(--accent); }
.submenu--empty.is-open { padding: 0; }
.submenu--empty::after { content: ""; display: block; height: .5rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; flex-basis: auto; padding: 0; }
  .site-nav__list { flex-direction: row; gap: .25rem; }
  .site-nav__item { border: 0; flex-wrap: nowrap; }
  .site-nav__link { padding: .55rem .85rem; border-radius: var(--radius); }
  .site-nav__link:hover { background: var(--primary-soft); color: var(--accent); }
  .submenu-toggle { width: 32px; height: 32px; margin-left: -.5rem; border-radius: 8px; }
  .submenu-toggle:hover { background: var(--primary-soft); }
  .submenu { position: absolute; top: calc(100% + .4rem); left: 0; min-width: 240px; padding: .5rem; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(42, 16, 82, .18); }
  .submenu__link { color: var(--ink-muted); padding: .55rem .75rem; border-radius: 8px; }
  .submenu__link:hover { background: var(--surface); color: var(--ink); }
  .site-nav__item:hover > .submenu, .site-nav__item:focus-within > .submenu, .submenu.is-open { display: block; }
  .submenu--empty { min-width: 180px; min-height: 48px; }
  .submenu--empty::after { display: none; }
}
/* 6 entrees de menu (Krypto, 26/11/2026) : liens resserres entre 900 et 1099 px pour garder une seule ligne. */
@media (min-width: 900px) and (max-width: 1099px) {
  .site-nav__list { gap: 0; }
  .site-nav__link { padding: .55rem .55rem; }
  .submenu-toggle { width: 26px; margin-left: -.45rem; }
}

/* Breadcrumb */
.breadcrumb { border-bottom: 1px solid var(--line); background: var(--surface); font-size: var(--step--1); }
.breadcrumb__list { display: flex; list-style: none; flex-wrap: wrap; gap: .25rem .5rem; padding: .6rem 0; color: var(--ink-muted); }
.breadcrumb__list li + li::before { content: "›"; margin-right: .5rem; color: var(--ink-muted); }
.breadcrumb__list a { color: var(--ink); text-decoration: none; }
.breadcrumb__list a:hover { text-decoration: underline; }

/* Page */
.page { padding: clamp(2rem, 4vw, 4rem) 0 clamp(2.5rem, 6vw, 5rem); }
.page__title { font-size: var(--step-3); max-width: 24ch; text-wrap: balance; }
.page--home .page__title { max-width: 20ch; }
.page--home .page__title::after { content: ""; display: block; width: 72px; height: 6px; margin-top: 1rem; border-radius: 3px; background: var(--accent); }
.page__kicker { margin: 0 0 .5rem; font-weight: 600; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .08em; font-size: var(--step--1); }
.page--error p { max-width: 60ch; margin-top: 1rem; }

/* Footer */
.site-footer { background: var(--primary); color: var(--on-primary); margin-top: auto; }
.site-footer__grid { display: grid; gap: 2rem; padding: 2.5rem 0 2rem; grid-template-columns: 1fr; }
.site-footer__brand { max-width: 36ch; }
.site-footer__tagline { margin: 1rem 0; color: var(--on-primary-muted); }
.age-badge { display: flex; align-items: center; gap: .6rem; margin: 0; font-size: var(--step--1); color: var(--on-primary-muted); }
.age-badge__num { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border: 2px solid var(--accent); border-radius: 50%; color: var(--accent); font-weight: 800; font-size: .85rem; }
.site-footer__heading { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-bottom: .8rem; }
.site-footer__links { display: grid; gap: .5rem; }
.site-footer__links a { color: var(--on-primary); text-decoration: none; }
.site-footer__links a:hover { color: var(--accent); text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid var(--line-on-primary); padding: 1.25rem var(--gutter); font-size: var(--step--1); color: var(--on-primary-muted); display: flex; flex-direction: column; gap: .25rem; }
.site-footer__bottom p { margin: 0; }
/* Organisations d'aide : logos sur pastille blanche pour rester lisibles sur le violet */
.site-footer__partners { border-top: 1px solid var(--line-on-primary); padding: 1.5rem var(--gutter); }
.site-footer__partners .site-footer__heading { margin-bottom: 1rem; }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.partners__link { display: inline-flex; align-items: center; justify-content: center; padding: .5rem .85rem; background: var(--white); border: 1px solid transparent; border-radius: 8px; transition: border-color .15s ease, transform .15s ease; }
.partners__link:hover, .partners__link:focus-visible { border-color: var(--accent); transform: translateY(-2px); }
.partners__logo { display: block; width: auto; height: 28px; }
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
  .site-footer__bottom { flex-direction: row; justify-content: space-between; gap: 1.5rem; }
  .partners__logo { height: 32px; }
}

/* Page éditoriale (corps de texte, tableaux, listes, stats) — mêmes 3 couleurs, même police */
.page--article .page__title { max-width: 30ch; }
.page--article .page__title::after { content: ""; display: block; width: 72px; height: 6px; margin-top: 1rem; border-radius: 3px; background: var(--accent); }
.page__lead { max-width: 72ch; margin-top: 1.5rem; font-size: var(--step-1); line-height: 1.55; }
.page__meta { max-width: 72ch; margin-bottom: 0; font-size: var(--step--1); color: var(--ink-muted); }

.prose { max-width: 76ch; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--step-2); margin-top: clamp(2rem, 3.5vw, 2.75rem); padding-top: 1.5rem; border-top: 1px solid var(--line); text-wrap: balance; }
.prose h3 { font-size: var(--step-1); margin-top: 1.75rem; }
.prose h3 + p { margin-top: .4em; }
.prose h4 { font-size: var(--step-0); margin-top: 1.4rem; color: var(--primary); }
.prose h4 + p { margin-top: .4em; }
.prose p { margin-bottom: 0; max-width: 72ch; }
.prose a { color: var(--primary); font-weight: 600; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.prose a:hover { background: var(--surface); }
.prose em { font-style: italic; }

/* Listes à puces et listes numérotées */
.principles, .plain-list { display: grid; gap: .75rem; }
.principles li, .plain-list li { position: relative; padding-left: 1.6rem; }
.principles li::before, .plain-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.principles--compact { gap: .55rem; }
.principles strong, .plain-list strong, .steps strong, .timeline strong { color: var(--primary); }

.steps, .timeline { counter-reset: step; display: grid; gap: .85rem; padding: 0; list-style: none; }
.steps li { position: relative; padding-left: 2.6rem; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -.1em; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--primary); color: var(--accent); font-weight: 800; font-size: var(--step--1); }
.timeline { gap: 0; border-left: 2px solid var(--line); padding-left: 1.4rem; }
.timeline li { position: relative; padding: .7rem 0; }
.timeline li + li { border-top: 1px solid var(--line); }
.timeline li::before { content: ""; position: absolute; left: calc(-1.4rem - 6px); top: 1.1rem; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--white); }

/* Chiffres clés */
.stat-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.stat__num { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.stat__label { font-size: var(--step--1); color: var(--ink-muted); }

/* Tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--step--1); text-align: left; }
.data-table caption { padding: .85rem 1rem; text-align: left; font-weight: 600; color: var(--ink-muted); border-bottom: 1px solid var(--line); }
.data-table th, .data-table td { padding: .7rem 1rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { background: var(--primary); color: var(--on-primary); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em; border-bottom: 0; }
.data-table tbody th { color: var(--primary); font-weight: 800; white-space: nowrap; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:nth-child(even) { background: var(--surface); }
@media (max-width: 560px) { .data-table tbody th { white-space: normal; } }

/* Carte de contact, sommaire et encadré — page Kontakt (mêmes 3 couleurs, même police) */
.stat-grid--contact .stat__num { font-size: var(--step-1); line-height: 1.25; overflow-wrap: anywhere; }
.stat-grid--contact .stat__num a { color: var(--primary); font-weight: 800; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.toc { padding: 1.1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.toc__title { font-size: var(--step--1); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-muted); margin: 0 0 .7rem; padding: 0; border: 0; }
.toc__list { counter-reset: toc; display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.toc__list li { position: relative; padding-left: 1.8rem; font-size: var(--step--1); }
.toc__list li::before { counter-increment: toc; content: counter(toc); position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 800; }
.toc__list a { color: var(--primary); font-weight: 600; text-decoration-color: var(--line); }
.toc__list a:hover { text-decoration-color: var(--accent); }
@media (min-width: 640px) { .toc__list { grid-template-columns: 1fr 1fr; gap: .45rem 1.5rem; } }

.callout { padding: 1rem 1.25rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.callout strong { color: var(--primary); }

/* code en ligne (attributs HTML cités dans le texte) */
.prose code { padding: .1em .4em; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }

/* --- Mini-recenzje : zalety / wady + opinia autora (strona główna) --- */
/* Bandeau de marque : ratio 3:1 preserve, jamais recadre, aucune marge laterale (mobile et desktop) */
.review__banner { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.prose h3 + .review__banner { margin-top: .7em; }
.pros-cons { display: grid; gap: .75rem; }
@media (min-width: 640px) { .pros-cons { grid-template-columns: 1fr 1fr; gap: 1rem; } }
.pros-cons__col { padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.pros-cons__title { margin: 0 0 .65rem; font-size: var(--step--1); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); }
.pros-cons .plain-list { gap: .5rem; font-size: var(--step--1); }
.pros-cons .plain-list li::before { top: .45em; }
.pros-cons__col--cons .plain-list li::before { border-radius: 50%; transform: none; background: var(--primary); opacity: .4; }
.review__sign { display: block; margin-top: .55rem; font-size: var(--step--1); font-weight: 600; color: var(--ink-muted); }

/* --- FAQ : akordeon (details/summary), pytanie klikalne --- */
.faq { display: grid; gap: .6rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq__item[open] { border-color: rgba(42, 16, 82, .32); }
.faq__q { display: flex; align-items: flex-start; gap: .85rem; padding: .95rem 1.1rem; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { background: var(--surface); }
.faq__q h3 { flex: 1; margin: 0; padding: 0; font-size: var(--step-0); }
.faq__q::after { content: ""; flex: none; width: 9px; height: 9px; margin-top: .4em; border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(45deg); transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__a { padding: 0 1.1rem 1.05rem; }
.faq__a p { margin: 0; }

/* --- Toplist maison de la strona główna (gabarit propre à ce site) --- */
.toplist { margin-top: clamp(1.25rem, 2.5vw, 1.75rem); }
.toplist__list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.toplist__card { display: grid; gap: .85rem; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.toplist__card--first { border-color: var(--primary); border-left-color: var(--accent); box-shadow: 0 10px 28px rgba(42, 16, 82, .09); }
.toplist__head { display: flex; align-items: center; gap: .8rem; }
.toplist__rank { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--primary); color: var(--accent); font-weight: 800; font-size: var(--step--1); }
.toplist__logo { flex: none; width: 60px; height: 60px; border: 1px solid var(--line); border-radius: 8px; object-fit: cover; background: var(--white); }
.toplist__ident { min-width: 0; }
.toplist__name { margin: 0; font-size: var(--step-1); font-weight: 800; letter-spacing: -.01em; }
.toplist__bonus { margin: .15rem 0 0; font-weight: 600; color: var(--primary); }
.toplist__badges { display: flex; flex-wrap: wrap; gap: .3rem; margin: .5rem 0 0; }
.toplist__badges li { padding: .1rem .5rem; border: 1px solid var(--accent); border-radius: 4px; color: var(--primary); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.toplist__specs { display: grid; gap: .5rem; }
.toplist__benefits { display: flex; flex-wrap: wrap; gap: .3rem .9rem; font-size: var(--step--1); }
.toplist__benefits li { position: relative; padding-left: 1.05rem; color: var(--ink-muted); }
.toplist__benefits li::before { content: ""; position: absolute; left: 0; top: .42em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.toplist__pay { display: flex; flex-wrap: wrap; gap: .3rem; }
.toplist__pay li { padding: .1rem .45rem; background: var(--surface); border: 1px solid var(--line); border-radius: 4px; color: var(--ink-muted); font-size: .7rem; font-weight: 700; }
.toplist__aside { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .9rem; }
.toplist__score { display: flex; align-items: baseline; gap: .4rem; margin: 0; }
.toplist__score-num { font-size: var(--step-2); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.toplist__score-label { font-size: var(--step--1); color: var(--ink-muted); }
.toplist__btn { flex: 1 1 10rem; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.1rem; background: var(--accent); border-radius: var(--radius); color: var(--primary); font-weight: 800; text-align: center; text-decoration: none; }
.toplist__btn:hover { background: var(--primary); color: var(--accent); }
.toplist__review { font-size: var(--step--1); font-weight: 600; color: var(--primary); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.toplist__note { max-width: 76ch; margin: 1rem 0 0; font-size: var(--step--1); color: var(--ink-muted); }
@media (min-width: 880px) {
  .toplist__card { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(188px, auto); grid-template-areas: "head specs aside"; align-items: center; gap: 1.25rem; padding: 1.1rem 1.25rem; }
  .toplist__head { grid-area: head; }
  .toplist__specs { grid-area: specs; }
  .toplist__aside { grid-area: aside; flex-direction: column; align-items: stretch; }
  .toplist__score { justify-content: center; }
  .toplist__btn { flex: none; }
  .toplist__review { text-align: center; }
}

/* ==========================================================================
   Auteurs : repertoire /autor/, fiches /autor/<slug>/ et encadre d'article.
   Memes jetons que le reste du site (violet, or, blanc, Onest) : aucun ajout
   de couleur ni de police.
   ========================================================================== */

/* Portrait : photo carree 800x800 servie en cercle, ou monogramme de secours */
.author-photo { display: block; flex: none; border-radius: 50%; object-fit: cover; background: var(--surface); box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--accent); }
.author-photo--card { width: 96px; height: 96px; }
.author-photo--box { width: 72px; height: 72px; }
.author-photo--profile { width: 140px; height: 140px; }
.author-photo--mono { display: grid; place-items: center; background: var(--primary); color: var(--accent); font-weight: 800; letter-spacing: .02em; line-height: 1; }
.author-photo--mono.author-photo--card { font-size: 2.1rem; }
.author-photo--mono.author-photo--box { font-size: 1.6rem; }
.author-photo--mono.author-photo--profile { font-size: 3.1rem; }
@media (min-width: 700px) {
  .author-photo--card { width: 128px; height: 128px; }
  .author-photo--box { width: 96px; height: 96px; }
  .author-photo--profile { width: 220px; height: 220px; }
  .author-photo--mono.author-photo--card { font-size: 2.8rem; }
  .author-photo--mono.author-photo--box { font-size: 2.1rem; }
  .author-photo--mono.author-photo--profile { font-size: 4.6rem; }
}

/* Repertoire : cartes horizontales, 2 colonnes sur grand ecran */
.author-grid { display: grid; gap: 1rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.author-card { display: grid; gap: 1.1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); grid-template-columns: 1fr; justify-items: center; text-align: center; transition: border-color .2s, box-shadow .2s; }
.author-card:hover { border-color: var(--accent); box-shadow: 0 2px 14px rgba(42, 16, 82, .08); }
.author-card__link { display: block; text-decoration: none; }
.author-card__body { display: grid; gap: .45rem; }
.author-card__name { font-size: var(--step-1); }
.author-card__name a { text-decoration: none; }
.author-card__name a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.author-card__role { margin: 0; font-weight: 600; font-size: var(--step--1); color: var(--primary); }
.author-card__bio { margin: 0; font-size: var(--step--1); color: var(--ink-muted); }
.author-card__remit { margin: 0; padding-top: .6rem; border-top: 1px solid var(--line); font-size: var(--step--1); color: var(--ink-muted); }
.author-card__remit span { font-weight: 600; color: var(--primary); }
.author-card__foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .4rem 1rem; margin: 0; padding-top: .6rem; border-top: 1px solid var(--line); font-size: var(--step--1); }
.author-card__count { color: var(--ink-muted); }
.author-card__cta { font-weight: 600; color: var(--primary); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
@media (min-width: 620px) {
  .author-card { grid-template-columns: auto 1fr; align-items: start; justify-items: start; text-align: left; gap: 1.25rem; }
  .author-card__foot, .author-card__body { justify-content: flex-start; }
}

/* Fiche : en-tete */
.author-hero { display: grid; gap: 1.25rem; justify-items: center; text-align: center; margin-top: clamp(1.5rem, 3vw, 2rem); padding-bottom: clamp(1.5rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.author-hero__body { display: grid; gap: .6rem; }
.author-hero__role { margin: 0; font-weight: 800; font-size: var(--step-1); color: var(--primary); }
.author-hero__lead { margin: 0; max-width: 60ch; font-size: var(--step-0); color: var(--ink-muted); }
.author-hero__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.25rem; font-size: var(--step--1); color: var(--ink-muted); }
.author-hero__meta li { position: relative; }
.author-hero__meta li + li::before { content: "·"; position: absolute; left: -.7rem; }
.author-hero__meta strong { color: var(--primary); }
.author-bio__first { font-size: var(--step-1); }
@media (min-width: 700px) {
  .author-hero { grid-template-columns: auto 1fr; align-items: center; justify-items: start; text-align: left; gap: 2rem; }
  .author-hero__meta { justify-content: flex-start; }
}

/* Fiche : liste des articles signes */
.author-articles { margin-top: clamp(2rem, 3.5vw, 2.75rem); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.author-articles__title { font-size: var(--step-2); text-wrap: balance; }
.author-articles__empty { margin-top: 1em; color: var(--ink-muted); }
.author-articles__more { margin: 1.5rem 0 0; text-align: center; }
.author-articles__back { margin: 1.75rem 0 0; font-weight: 600; }
.author-articles__back a { color: var(--primary); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

.article-grid { display: grid; gap: 1rem; margin-top: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.article-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.article-card:hover { border-color: var(--accent); box-shadow: 0 2px 14px rgba(42, 16, 82, .08); }
.article-card__media { display: block; }
.article-card__img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-card__img--placeholder { display: grid; place-items: center; padding: 1rem; background: var(--primary); text-align: center; }
.article-card__section { font-size: var(--step--1); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.article-card__body { display: grid; gap: .4rem; padding: 1rem; }
.article-card__date { margin: 0; font-size: var(--step--1); color: var(--ink-muted); }
.article-card__title { font-size: var(--step-0); text-wrap: balance; }
.article-card__title a { text-decoration: none; }
.article-card__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.article-card__excerpt { margin: 0; font-size: var(--step--1); color: var(--ink-muted); }

.load-more { padding: .7rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--primary); font-weight: 600; font-size: var(--step--1); }
.load-more:hover { border-color: var(--accent); background: var(--surface); }
/* Sans JavaScript, tous les articles restent visibles : c'est le script qui replie. */
html.js .article-grid.is-collapsed .article-card--extra { display: none; }

/* Encadre auteur, insere automatiquement sous chaque article */
.author-box { display: grid; gap: 1rem; justify-items: center; text-align: center; max-width: 76ch; margin-top: clamp(2rem, 3.5vw, 2.75rem); padding: 1.25rem; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); background: var(--surface); }
.author-box__body { display: grid; gap: .35rem; }
.author-box__kicker { margin: 0; font-size: var(--step--1); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.author-box__name { margin: 0; font-size: var(--step-1); font-weight: 800; }
.author-box__name a { color: var(--primary); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.author-box__role { margin: 0; font-weight: 600; font-size: var(--step--1); color: var(--primary); }
.author-box__bio { margin: 0; font-size: var(--step--1); color: var(--ink-muted); }
.author-box__cta { margin: .25rem 0 0; font-size: var(--step--1); }
.author-box__cta a { font-weight: 600; color: var(--primary); text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
@media (min-width: 620px) {
  .author-box { grid-template-columns: auto 1fr; align-items: start; justify-items: start; text-align: left; gap: 1.25rem; }
}
