/* Édition des Épiphanies (module epiphanies-edition.php) : ouverture propre, bandeau des années et de l'auteur en cours,
   générique des auteurs, une contribution à la fois. Langue de la Pureté (docs/regles-design.md) : papier, filets, angles droits
   (portraits ronds), Oswald 400, vert rare ; « Les épiphanies de… » est une section de niveau 2 (filet + trait vert de 40 px).
   Maquette : staging/maquettes/epiphanies.html (A · Générique). Les sélecteurs à double :not(#…) passent devant les règles des
   variantes du haut d'article (aplat, image débordante). */

/* ---------- Ouverture : une affiche, centrée sur le papier ----------
   Retours du 06/10 : millésime géant et image pleine largeur « un peu frontal », puis millésime discret « tristounet ». D'où
   l'affiche : surtitre vert, « Les Épiphanies » et le millésime (vert) en grand sur deux lignes, signature, générique « avec … »,
   image en 2,39:1 sur dix colonnes, puis le bandeau. isolation: auto : l'en-tête du modèle s'isole (pour son aplat, retiré ici),
   ce qui gardait le bandeau fixé sous le reste de la page. Le shortcode [lrv_epi_years] (display: contents) donne deux éléments
   de la grille : le générique et la place du bandeau. Ordre explicite (order) pour le téléphone, où la grille devient une pile. */
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 40px; justify-items: center;
  padding: 72px 0 0; background: none; isolation: auto; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head::before, html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head::after { content: none; display: none; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-eyebrow, html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-hero-labels { display: none; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-h1 { order: 1; grid-column: 1 / -1; grid-row: 1; display: flex; flex-direction: column; align-items: center; margin: 0; padding: 0;
  color: var(--lrv-ink, #242124); text-align: center; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-article-sub { order: -1; display: block; margin: 0 0 18px; color: var(--lrv-green, #547038); font: 400 18px/1.35 var(--lrv-font-title, 'Oswald'), sans-serif;
  letter-spacing: .02em; text-transform: none; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-title-lead, html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-epi-year { font: 400 clamp(60px, 6vw, 88px)/.98 var(--lrv-font-title, 'Oswald'), sans-serif; letter-spacing: 0; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-title-lead { order: 0; display: block; margin: 0; color: var(--lrv-ink, #242124); text-transform: none; text-wrap: balance; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-epi-year { order: 2; grid-column: 1 / -1; grid-row: 2; justify-self: center; display: block; margin: 0; padding: 0; color: var(--lrv-green, #547038); }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-epi-year::before, html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-epi-year::after { content: none; display: none; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-byline { order: 3; grid-column: 1 / -1; grid-row: 3; justify-self: center; display: block; margin: 22px 0 0; padding: 0; border: 0;
  color: var(--lrv-grey, #55595c); font: 400 14px/1.5 var(--lrv-font-title, 'Oswald'), sans-serif; text-align: center; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-byline > * { display: none; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-byline > a, html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-byline > .lrv-article-sep, html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-byline > time { display: inline; width: auto; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .oxy-shortcode:has(.lrv-ep-band) { display: contents; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-ep-cast { order: 4; grid-column: 3 / span 8; grid-row: 4; margin: 18px 0 0; padding: 0; color: var(--lrv-ink, #242124);
  font: 400 17px/1.65 var(--lrv-font-title, 'Oswald'), sans-serif; text-align: center; text-indent: 0; text-wrap: balance; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-ep-avec { margin-right: 4px; color: var(--lrv-grey, #55595c); font: italic 400 16px var(--lrv-font-text, 'Lato'), sans-serif; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-ep-ci { white-space: nowrap; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-ep-sep { display: inline-block; margin: 0 6px 0 10px; color: var(--lrv-green, #547038); } /* + l'espace qui suit */
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-ep-cast a { color: inherit !important; text-decoration: none !important; white-space: nowrap; transition: color .2s; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-ep-cast a:hover { color: var(--lrv-green, #547038) !important; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-media { order: 5; grid-column: 2 / span 10; grid-row: 5; position: relative; width: 100%; max-width: none; height: auto; margin: 44px 0 0;
  padding: 0; aspect-ratio: 2.39 / 1; overflow: hidden; background: var(--lrv-surface, #efeeec); transform: none; box-shadow: none; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-media::before, html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-media::after { content: none; display: none; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-media img { position: static; display: block; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover;
  border-radius: 0; box-shadow: none; outline: 1px solid rgba(36,33,36,.1); outline-offset: -1px; transform: none; }
html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-ep-slot { order: 6; grid-column: 1 / -1; grid-row: 6; justify-self: stretch; margin: 44px 0 0; }

/* ---------- Bandeau « Épiphanies » ---------- */
/* Aplat clair sur toute la largeur (border-image débordante), comme la barre du cycle d'un article et la barre des rubriques */
.lrv-ep-band { position: relative; z-index: 39; color: var(--lrv-ink, #242124); font-family: var(--lrv-font-title, 'Oswald'), sans-serif;
  border-image: linear-gradient(to top, rgba(36,33,36,.1) 1px, var(--lrv-surface, #efeeec) 1px) fill 0 / / 0 100vmax; }
.lrv-ep-band.is-fixed { position: fixed; left: 0; right: 0; transition: transform .25s ease; }
.lrv-ep-band.is-fixed.is-off { transform: translateY(-110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.lrv-ep-band.is-fixed .lrv-ep-bin { max-width: 1232px; margin: 0 auto; padding: 0 26px; }
.lrv-ep-bin { position: relative; display: flex; align-items: center; gap: 20px; min-height: 56px; box-sizing: border-box; }
.lrv-ep-band a { color: inherit; text-decoration: none; }
.lrv-ep-lab { flex: none; color: var(--lrv-green, #547038); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
html:not(#lrvx) body .lrv-ep-years { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
html:not(#lrvx) body .lrv-ep-years > li { margin: 0; padding: 0; list-style: none; }
html:not(#lrvx) body .lrv-ep-years > li::before { content: none; }
.lrv-ep-y { display: flex; align-items: center; min-height: 44px; padding: 0 9px; border-bottom: 2px solid transparent; color: var(--lrv-grey, #55595c) !important;
  font: 400 16px var(--lrv-font-title, 'Oswald'), sans-serif; transition: color .2s; }
a.lrv-ep-y:hover { color: var(--lrv-green, #547038) !important; }
.lrv-ep-y[aria-current] { color: var(--lrv-ink, #242124) !important; border-bottom-color: var(--lrv-green, #547038); }
/* Contribution en cours : « ← Auteur ⌄ → » d'un seul tenant, séparé des années par un filet ; une flèche sans objet s'estompe
   (cachée, elle laissait un vide entre « de » et le nom : retour du 06/10) */
.lrv-ep-who { display: flex; align-items: center; min-width: 0; min-height: 28px; margin-left: auto; padding-left: 8px; border-left: 1px solid rgba(36,33,36,.12); }
.lrv-ep-who[hidden] { display: none; }
.lrv-ep-arr { display: flex; align-items: center; justify-content: center; width: 36px; min-height: 44px; padding: 0; border: 0; background: none;
  color: var(--lrv-ink, #242124); font: 400 18px var(--lrv-font-title, 'Oswald'), sans-serif; cursor: pointer; transition: color .2s, opacity .2s; }
.lrv-ep-arr:hover { color: var(--lrv-green, #547038); }
.lrv-ep-arr[disabled] { opacity: .25; cursor: default; }
.lrv-ep-arr[disabled]:hover { color: var(--lrv-ink, #242124); }
/* Déroulants sans cadre, comme « Année du film » des rubriques : texte, chevron, souligné vert quand il est ouvert */
.lrv-ep-pick, .lrv-ep-ysel { display: flex; align-items: center; gap: 9px; min-height: 44px; max-width: 340px; padding: 0 6px; border: 0;
  border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--lrv-ink, #242124); font: 400 17px var(--lrv-font-title, 'Oswald'), sans-serif;
  cursor: pointer; transition: color .2s, border-color .2s; }
.lrv-ep-pick:hover, .lrv-ep-ysel:hover { color: var(--lrv-green, #547038); }
.lrv-ep-ysel { display: none; } /* téléphone seulement, avec le script */
/* Avant les contributions (introduction, générique) : « Les épiphanies de… » seul ; ensuite « ← Auteur → » */
.lrv-ep-pick-all { display: none; white-space: nowrap; }
.lrv-ep-band.is-intro .lrv-ep-pick-all { display: inline; }
.lrv-ep-band.is-intro .lrv-ep-pick-nm, .lrv-ep-band.is-intro .lrv-ep-arr { display: none; }
.lrv-ep-pick-nm { overflow: hidden; font-weight: 400; white-space: nowrap; text-overflow: ellipsis; }
.lrv-ep-pick svg, .lrv-ep-ysel svg { flex: none; color: var(--lrv-green, #547038); transition: transform .2s; }
.lrv-ep-pick[aria-expanded="true"], .lrv-ep-ysel[aria-expanded="true"] { border-color: var(--lrv-green, #547038); }
.lrv-ep-pick[aria-expanded="true"] svg, .lrv-ep-ysel[aria-expanded="true"] svg { transform: rotate(180deg); }
.lrv-ep-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Panneaux : sur toute la largeur, sous le bandeau et sur son aplat (comme le panneau « Les N textes » de la barre du cycle),
   sans cadre ; un filet les ferme en bas. Remontés d'1 px sur le filet du bandeau : sans quoi un arrondi de position laissait
   voir la page (une vidéo noire) entre les deux */
html:not(#lrvx) body .lrv-ep-menu { position: absolute; top: calc(100% - 1px); left: 0; right: 0; z-index: 2; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2px 28px; max-height: calc(100vh - 200px); overflow-x: hidden; overflow-y: auto; margin: 0; padding: 14px 0 20px; list-style: none;
  border-image: linear-gradient(to top, rgba(36,33,36,.12) 1px, var(--lrv-surface, #efeeec) 1px) fill 0 / / 0 100vmax; }
html:not(#lrvx) body .lrv-ep-menu[hidden] { display: none; }
html:not(#lrvx) body .lrv-ep-menu > li { margin: 0; padding: 0; list-style: none; }
html:not(#lrvx) body .lrv-ep-menu > li::before { content: none; }
/* Menu des auteurs : un sommaire (filet par entrée, comme une liste) ; nom, titre en italique ou collectif, temps de lecture ;
   l'auteur en cours en vert, avec le trait vert court sur son filet */
html:not(#lrvx) body .lrv-ep-menu:not(.lrv-ep-ymenu) { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 36px; padding: 12px 0 22px; }
html:not(#lrvx) body .lrv-ep-menu:not(.lrv-ep-ymenu) > li { border-top: 1px solid rgba(36,33,36,.12); } /* le filet clair des cartes ne se voit pas sur l'aplat */
.lrv-ep-menu a { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 0 16px; font: 400 18px/1.25 var(--lrv-font-title, 'Oswald'), sans-serif; }
.lrv-ep-menu a strong { font-weight: 400; transition: color .2s; }
.lrv-ep-menu a em { color: var(--lrv-ink, #242124); font: italic 400 15px/1.35 var(--lrv-font-text, 'Lato'), sans-serif; }
.lrv-ep-menu .lrv-ep-maf { color: var(--lrv-grey, #55595c); font: 400 14px/1.35 var(--lrv-font-text, 'Lato'), sans-serif; }
.lrv-ep-menu a small { margin-top: 2px; color: var(--lrv-grey, #55595c); font: 400 13px var(--lrv-font-title, 'Oswald'), sans-serif; letter-spacing: .02em; }
.lrv-ep-menu a:hover strong { color: var(--lrv-green, #547038); }
.lrv-ep-menu a[aria-current] strong { color: var(--lrv-green, #547038); }
.lrv-ep-menu:not(.lrv-ep-ymenu) a[aria-current]::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--lrv-green, #547038); }
html:not(#lrvx) body .lrv-ep-ymenu { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.lrv-ep-ymenu a { padding: 8px 0; transition: color .2s; }
.lrv-ep-ymenu a:hover, .lrv-ep-ymenu a[aria-current] { color: var(--lrv-green, #547038); }
.lrv-ep-band :focus-visible { outline: 2px solid var(--lrv-green, #547038); outline-offset: 2px; }

/* ---------- « Les épiphanies de… » : générique des auteurs (niveau 2) ---------- */
html:not(#lrvx) body .lrv-ep-gen { position: relative; margin: 64px 0 0; padding: 36px 0 0; border-top: 1px solid rgba(36,33,36,.12); text-align: left; }
.lrv-ep-gen::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--lrv-green, #547038); }
.lrv-ep-gh { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
html:not(#lrvx) body .lrv-ep-gen .lrv-ep-h { margin: 0; padding: 0; color: var(--lrv-ink, #242124); font: 400 30px/1.2 var(--lrv-font-title, 'Oswald'), sans-serif;
  letter-spacing: 0; text-align: left; text-transform: none; }
html:not(#lrvx) body .lrv-ep-gen .lrv-ep-h::before, html:not(#lrvx) body .lrv-ep-gen .lrv-ep-h::after { content: none; display: none; }
html:not(#lrvx) body .lrv-ep-count { margin: 0; color: var(--lrv-grey, #55595c); font: 400 15px var(--lrv-font-title, 'Oswald'), sans-serif; text-indent: 0; }
html:not(#lrvx) body .lrv-ep-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 36px; margin: 20px 0 0; padding: 0; list-style: none; }
html:not(#lrvx) body .lrv-ep-cards > li { margin: 0; padding: 0; border-top: 1px solid var(--lrv-line, #e4e4e2); list-style: none; }
html:not(#lrvx) body .lrv-ep-cards > li::before { content: none; }
.lrv-ep-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 2px 18px; align-items: center; padding: 18px 0 20px;
  color: var(--lrv-ink, #242124) !important; text-decoration: none !important; }
.lrv-ep-card .lrv-ep-pt { grid-row: span 4; align-self: start; width: 52px; height: 52px; margin-top: 2px; }
.lrv-ep-nm { font: 400 22px/1.2 var(--lrv-font-title, 'Oswald'), sans-serif; transition: color .2s; }
.lrv-ep-card .lrv-ep-af { color: var(--lrv-grey, #55595c); font: 400 14px/1.3 var(--lrv-font-text, 'Lato'), sans-serif; }
.lrv-ep-card .lrv-ep-tt { color: #3d3a3d; font: italic 400 16.5px/1.4 var(--lrv-font-text, 'Lato'), sans-serif; }
.lrv-ep-card .lrv-ep-mn { color: var(--lrv-grey, #55595c); font: 400 14px var(--lrv-font-title, 'Oswald'), sans-serif; }
.lrv-ep-card:hover .lrv-ep-nm, .lrv-ep-card[aria-current] .lrv-ep-nm { color: var(--lrv-green, #547038); }
.lrv-ep-card[aria-current] .lrv-ep-pt { outline: 2px solid var(--lrv-green, #547038); outline-offset: 2px; }

/* Portraits : ronds, filet d'image à 10 % (règle des avatars) */
.lrv-ep-pt { display: block; overflow: hidden; border-radius: 50%; outline: 1px solid rgba(36,33,36,.1); outline-offset: -1px; background: var(--lrv-surface, #efeeec); }
html:not(#lrvx) body .lrv-ep .lrv-ep-pt img { display: block; width: 100%; height: 100%; max-width: none; margin: 0;
  object-fit: cover; border: 0; border-radius: 50%; box-shadow: none; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.lrv-ep-card:hover .lrv-ep-pt img { transform: scale(1.05); }

/* ---------- Contribution ---------- */
.lrv-ep-item { scroll-margin-top: 150px; }
.lrv-ep-item[hidden] { display: none; }
/* Tête d'une contribution : centrée comme le texte, sans portrait (il est dans le générique) ni millésime (il est dans le bandeau) ;
   close par un trait vert court centré, comme un intertitre dans le texte */
html:not(#lrvx) body .lrv-ep-head { display: flex; flex-direction: column; align-items: center; margin: 96px 0 40px; padding: 0; text-align: center; }
html:not(#lrvx) body .lrv-ep-head::after { content: ""; width: 40px; height: 2px; margin-top: 26px; background: var(--lrv-green, #547038); }
html:not(#lrvx) body .lrv-ep-head p { margin: 0; text-indent: 0; text-align: center; }
html:not(#lrvx) body .lrv-ep-head .lrv-ep-name { margin: 0; padding: 0; font: 400 40px/1.1 var(--lrv-font-title, 'Oswald'), sans-serif; letter-spacing: 0;
  text-align: center; text-transform: none; text-wrap: balance; }
html:not(#lrvx) body .lrv-ep-head .lrv-ep-name::before, html:not(#lrvx) body .lrv-ep-head .lrv-ep-name::after { content: none; display: none; }
.lrv-ep-name a { color: var(--lrv-ink, #242124) !important; text-decoration: none !important; transition: color .2s; }
.lrv-ep-name a:hover { color: var(--lrv-green, #547038) !important; }
html:not(#lrvx) body .lrv-ep-head .lrv-ep-af { margin-top: 4px; color: var(--lrv-grey, #55595c); font: 400 15px/1.4 var(--lrv-font-text, 'Lato'), sans-serif; }
html:not(#lrvx) body .lrv-ep-head .lrv-ep-tt { margin-top: 12px; color: var(--lrv-ink, #242124); font: italic 400 20px/1.4 var(--lrv-font-text, 'Lato'), sans-serif; text-wrap: balance; }
html:not(#lrvx) body .lrv-ep-head .lrv-ep-mn { margin-top: 8px; color: var(--lrv-grey, #55595c); font: 400 14px var(--lrv-font-title, 'Oswald'), sans-serif; }
/* Film qui ouvre un paragraphe (« Eddington d'Ari Aster : … ») : un intertitre, trait vert court au-dessus */
html:not(#lrvx) body .lrv-ep-text p.lrv-epi-film-p { margin-top: 40px; }
html:not(#lrvx) body .lrv-ep-text p.lrv-epi-film-p::before { content: ""; display: block; width: 24px; height: 2px; margin: 0 0 12px; background: var(--lrv-green, #547038); }
html:not(#lrvx) body .lrv-ep-text .lrv-epi-film { color: var(--lrv-ink, #242124); font: 400 21px/1.3 var(--lrv-font-title, 'Oswald'), sans-serif; }

/* Fin de contribution : un filet, ses autres années en une ligne discrète, puis précédente à gauche et suivante à droite */
html:not(#lrvx) body .lrv-ep-foot { margin: 56px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(36,33,36,.12); font-family: var(--lrv-font-title, 'Oswald'), sans-serif; text-align: left; }
.lrv-ep-foot a { text-decoration: none !important; }
html:not(#lrvx) body .lrv-ep-ses { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 0; margin: 0; padding: 0; color: var(--lrv-grey, #55595c);
  font: 400 15px/1.6 var(--lrv-font-title, 'Oswald'), sans-serif; text-indent: 0; }
.lrv-ep-ses-l { margin-right: 14px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.lrv-ep-ses a { color: var(--lrv-grey, #55595c) !important; transition: color .2s; }
.lrv-ep-ses a:hover { color: var(--lrv-green, #547038) !important; }
.lrv-ep-ses span[aria-current] { color: var(--lrv-ink, #242124); box-shadow: inset 0 -1.5px 0 var(--lrv-green, #547038); }
.lrv-ep-dot { margin: 0 8px; color: rgba(36,33,36,.3); }
.lrv-ep-pn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-top: 28px; }
.lrv-ep-pnc { display: block; color: var(--lrv-ink, #242124) !important; }
.lrv-ep-pv { grid-column: 1; }
.lrv-ep-nx { grid-column: 2; text-align: right; }
.lrv-ep-pnt { display: flex; flex-direction: column; min-width: 0; }
.lrv-ep-pnc small { color: var(--lrv-grey, #55595c); font-size: 13px; letter-spacing: .02em; }
.lrv-ep-pnc strong { margin-top: 1px; font-size: 22px; font-weight: 400; line-height: 1.2; transition: color .2s; }
.lrv-ep-pnc em { margin-top: 2px; color: var(--lrv-grey, #55595c); font: italic 400 15px/1.35 var(--lrv-font-text, 'Lato'), sans-serif; }
.lrv-ep-pnc:hover strong { color: var(--lrv-green, #547038); }

/* ---------- Tablette ---------- */
@media (max-width: 1023px) {
  html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head { column-gap: 24px; padding-top: 56px; }
  html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-ep-cast { grid-column: 2 / span 10; }
  html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-media { grid-column: 1 / -1; aspect-ratio: 16 / 9; margin-top: 36px; }
  .lrv-ep-band.is-fixed .lrv-ep-bin { padding: 0 20px; }
  .lrv-ep-years .lrv-ep-y { padding: 0 6px; font-size: 15px; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 767px) {
  html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head { display: flex; flex-direction: column; align-items: center; padding-top: 40px; }
  html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-article-sub { margin-bottom: 12px; font-size: 15px; }
  html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-title-lead, html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-epi-year { font-size: 46px; }
  html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-byline { margin-top: 16px; }
  html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-ep-cast { margin-top: 12px; font-size: 15.5px; }
  html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-ep-sep { margin: 0 4px 0 7px; }
  html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head > .lrv-article-media { width: 100%; margin-top: 28px; aspect-ratio: 16 / 9; }
  html:not(#lrvx):not(#lrvy) body.lrv-ep-page .lrv-article-head .lrv-ep-slot { align-self: stretch; margin-top: 28px; }
  .lrv-ep-bin { gap: 6px; min-height: 48px; }
  .lrv-ep-band.is-fixed .lrv-ep-bin { padding: 0 4px 0 16px; }
  /* sans script : les années défilent au doigt ; avec : « 2025 ▾ » */
  html:not(#lrvx) body .lrv-ep-years { overflow-x: auto; scrollbar-width: none; }
  .lrv-ep-years::-webkit-scrollbar { display: none; }
  .lrv-ep-band.is-js .lrv-ep-lab, .lrv-ep-band.is-js .lrv-ep-years { display: none !important; }
  .lrv-ep-band.is-js .lrv-ep-ysel:not([hidden]) { display: flex; min-height: 40px; gap: 6px; font-size: 16px; }
  .lrv-ep-who { flex: 1; margin-left: 6px; padding-left: 2px; }
  .lrv-ep-pick { flex: 1; min-width: 0; max-width: none; min-height: 40px; gap: 7px; }
  .lrv-ep-pick-pt { width: 24px; height: 24px; }
  .lrv-ep-pick-nm { font-size: 15px; }
  .lrv-ep-arr { width: 36px; }
  html:not(#lrvx) body .lrv-ep-menu, html:not(#lrvx) body .lrv-ep-menu:not(.lrv-ep-ymenu) { grid-template-columns: minmax(0, 1fr); left: 0; right: 0; padding: 8px 16px 14px; }
  .lrv-ep-menu a { padding: 12px 0 13px; }
  html:not(#lrvx) body .lrv-ep-ymenu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lrv-ep-band.is-fixed .lrv-ep-menu { margin: 0 -4px 0 -16px; }
  html:not(#lrvx) body .lrv-ep-gen { margin-top: 48px; }
  html:not(#lrvx) body .lrv-ep-gen .lrv-ep-h { font-size: 26px; }
  html:not(#lrvx) body .lrv-ep-cards { grid-template-columns: minmax(0, 1fr); }
  .lrv-ep-card { grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 16px 0 18px; }
  .lrv-ep-card .lrv-ep-pt { width: 44px; height: 44px; }
  .lrv-ep-nm { font-size: 20px; }
  html:not(#lrvx) body .lrv-ep-head { margin: 64px 0 32px; }
  html:not(#lrvx) body .lrv-ep-head::after { margin-top: 22px; }
  html:not(#lrvx) body .lrv-ep-head .lrv-ep-name { font-size: 30px; }
  html:not(#lrvx) body .lrv-ep-head .lrv-ep-tt { font-size: 18px; }
  .lrv-ep-pn { gap: 16px; }
  .lrv-ep-pnc strong { font-size: 19px; }
  .lrv-ep-pnc em { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .lrv-ep-band, .lrv-ep-band.is-fixed, .lrv-ep-pick svg, .lrv-ep-ysel svg, .lrv-ep .lrv-ep-pt img { transition: none !important; }
  .lrv-ep-card:hover .lrv-ep-pt img { transform: none; }
}
@media print {
  .lrv-ep-band { display: none; }
  .lrv-ep-item[hidden] { display: block !important; }
}
