/* Thème Bénac : socle commun, puis un bloc par design (classe d-* sur <body>). */

/* Éditeur : neutralise la classe .card de l'administration WordPress, injectée dans l'aperçu (même nom que nos cartes).
   Placée avant nos règles : à spécificité égale, celles des designs (.d-* .card) l'emportent. */
.editor-styles-wrapper .card{position:static;min-width:0;max-width:none;margin-top:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}

@font-face{font-family:Inter;src:url(../fonts/inter-normal.woff2) format("woff2");font-weight:400 600;font-display:swap}
@font-face{font-family:"Cormorant Garamond";src:url(../fonts/cormorantgaramond-normal.woff2) format("woff2");font-weight:400 600;font-display:swap}
@font-face{font-family:"Cormorant Garamond";src:url(../fonts/cormorantgaramond-italic.woff2) format("woff2");font-weight:400 600;font-style:italic;font-display:swap}
@font-face{font-family:Archivo;src:url(../fonts/archivo-normal.woff2) format("woff2");font-weight:400 900;font-display:swap}
@font-face{font-family:Fraunces;src:url(../fonts/fraunces-normal.woff2) format("woff2");font-weight:400 700;font-display:swap}
@font-face{font-family:Fraunces;src:url(../fonts/fraunces-italic.woff2) format("woff2");font-weight:400 700;font-style:italic;font-display:swap}

/* ========== Socle ========== */
:root{--bg:var(--wp--preset--color--base);--ink:var(--wp--preset--color--contrast);--muted:var(--wp--preset--color--muted);
  --line:color-mix(in srgb,var(--ink) 20%,transparent);--c:var(--ink);--pad:5vw;--display:var(--wp--preset--font-family--display)}
.c-peinture{--c:var(--wp--preset--color--peinture)} .c-scene{--c:var(--wp--preset--color--scene)}
.c-poesie{--c:var(--wp--preset--color--poesie)} .c-matrimoine{--c:var(--wp--preset--color--matrimoine)}
.c-natation{--c:var(--wp--preset--color--natation)} .c-presse{--c:var(--wp--preset--color--presse)}
img{max-width:100%;height:auto}
.wp-site-blocks>*{margin-block:0}
.wp-block-post-template>li{margin:0!important}
li[hidden]{display:none!important}

.site-header{position:sticky;top:0;z-index:20;background:var(--bg);padding:14px var(--pad)}
.admin-bar .site-header{top:var(--wp-admin--admin-bar--height,32px)}
.brand img{height:58px;width:auto}
.menu a{text-decoration:none}
.site-footer{padding:40px var(--pad) 60px;font-size:.8rem;color:var(--muted)}
.site-footer p{margin:0}

.sec{padding:clamp(56px,10vh,110px) var(--pad)}
.sec-head{margin-bottom:48px;max-width:900px}
.sec-head>*{margin-block:0}
.sec-head>p:not(.sec-num):not(.back),.sec-head .wp-block-term-description{margin-top:.8em;color:var(--muted);font-size:1.05rem}
.sec-num{display:block;font-size:.75rem;letter-spacing:.2em;color:var(--muted);margin-bottom:8px!important}
.sec-title{font-size:clamp(2.4rem,4vw,3.6rem)}
.kicker,.date{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 .4em}
.back{font-size:.85rem;margin:0 0 1.2em!important}
.back a,.more a{text-decoration:none}
.more{margin-top:40px;font-weight:600}
.wp-block-post-title a{text-decoration:none}

/* Accueil */
.hero{display:grid;grid-template-columns:1fr 1fr;gap:5vw;align-items:center;padding:48px var(--pad) 96px;min-height:min(78vh,760px)}
.hero h1{font-size:clamp(3rem,6vw,5.5rem);margin:0}
.hero .kicker{margin-bottom:1em}
.hero-cie{font-weight:700;letter-spacing:.06em;font-size:clamp(1rem,1.6vw,1.35rem);margin:.6em 0 0}
.lede{max-width:460px}
.disciplines{list-style:none;padding:0;margin:28px 0 0;display:flex;flex-wrap:wrap;gap:10px}
.disciplines a{text-decoration:none}
.hero-art{position:relative}
.hero-art figure{margin:0}
.verse{margin:0 0 32px;font-family:var(--display);font-size:clamp(3rem,8vw,7.5rem);line-height:.95}
.intro{max-width:560px;font-size:1.15rem}
.longform{display:grid;grid-template-columns:1fr 1.3fr;gap:56px;align-items:center}
.longform figure{margin:0}
.about{max-width:760px}
.about p{font-size:1.15rem}

/* Œuvres */
.benac-filtres{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:32px}
.benac-filtres button{cursor:pointer;font:inherit;font-size:.85rem;padding:6px 14px;border:1px solid currentColor;background:none;color:inherit;border-radius:30px;opacity:.6}
.benac-filtres button.on{opacity:1;background:var(--ink);color:var(--bg);border-color:var(--ink)}
.gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:40px 32px}
.work>*{margin-block:0}
.work .mat{margin:0;overflow:hidden}
.work .mat img{transition:transform .5s;cursor:zoom-in}
.work:hover .mat img{transform:scale(1.03)}
.work-title{font-size:1.2rem;margin-top:12px!important}
.work-meta{font-size:.78rem;color:var(--muted)}

/* Cartes (créations, listes mêlées) */
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:44px 28px}
.card>*{margin-block:0}
.card .wp-block-post-featured-image{margin-bottom:14px}
.card .wp-block-post-featured-image img{aspect-ratio:4/3;object-fit:cover;width:100%}
.card h3{font-size:1.2rem;margin-bottom:.3em}
.card .infos{color:var(--muted);font-size:.9rem}
.card .wp-block-post-excerpt{display:none}
.cards.une>li:first-child{grid-column:1/-1;margin-bottom:24px!important}
.cards.une>li:first-child .card{display:grid;grid-template-columns:1.4fr 1fr;column-gap:48px;align-content:center}
.cards.une>li:first-child .card>*{grid-column:2}
.cards.une>li:first-child .wp-block-post-featured-image{grid-column:1;grid-row:1/span 4;margin:0}
.cards.une>li:first-child h3{font-size:clamp(1.8rem,3vw,2.6rem)}
.cards.une>li:first-child .wp-block-post-excerpt{display:block;margin-top:1em}

/* Livres */
.books{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,220px));gap:44px}
.book>*{margin-block:0}
.book .wp-block-post-featured-image img{aspect-ratio:2/3;object-fit:cover;width:100%;box-shadow:0 12px 30px #0003}
.book h3{font-size:1.15rem;margin-top:14px}
.book .infos{font-size:.85rem;color:var(--muted)}

/* Agenda */
.agenda{border-bottom:1px solid var(--line)}
.event{display:grid;grid-template-columns:minmax(150px,240px) 1fr;column-gap:32px;padding:20px 0;border-top:1px solid var(--line)}
.event>*{margin:0}
.event .date{grid-row:span 2;padding-top:.45em;color:var(--ink);font-weight:600}
.event h3{font-size:1.4rem}
.event .infos{color:var(--muted);font-size:.9rem}

/* Presse */
.press{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 28px}
.press-item{display:flex;flex-direction:column;gap:4px}
.press-item>*{margin:0}
.press-item .wp-block-post-featured-image{margin-bottom:10px}
.press-item .wp-block-post-featured-image img{aspect-ratio:3/4;object-fit:cover;object-position:top;width:100%}
.press-item .src{font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}
.press-item h3{font-size:1.1rem}
.press-item .d{font-size:.85rem;color:var(--muted)}
.tag{align-self:flex-start;font-size:.75rem;padding:2px 10px;border-radius:20px;border:1px solid currentColor;margin-top:6px!important}

/* Fiches */
.fiche-oeuvre{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);gap:5vw;align-items:center}
.fiche-oeuvre .wp-block-post-featured-image{margin:0}
.fiche-oeuvre .wp-block-post-featured-image img{max-height:80vh;width:auto;margin:auto}
.zoomable img{cursor:zoom-in}
.cartel-page>*{margin-block:0}
.cartel-page h1{font-size:clamp(2.4rem,4vw,3.4rem);margin-bottom:.4em}
.cartel-page .technique{font-size:1.1rem}
.cartel-page .contenu{margin-top:1.5em}
.feature{display:grid;grid-template-columns:1.4fr 1fr;gap:48px;align-items:start;margin-bottom:48px}
.feature .wp-block-post-featured-image{margin:0}
.feature-body>*{margin-block:0 1.2em}
.dates-lieux,.distribution{font-size:.95rem}
.contenu{max-width:760px}
.fiche .kicker{margin-bottom:.8em}
.fiche .sec-title{margin-bottom:.6em}
.actions{margin:1.4em 0}
.tags a,.projet a{text-decoration:none}
.tags{font-size:.85rem;color:var(--muted);margin-top:2em}
.projet{font-size:.85rem;color:var(--muted)}
.benac-galerie{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:24px;margin-top:56px}
.benac-galerie figure{margin:0}
.benac-galerie img{width:100%;aspect-ratio:1;object-fit:cover;cursor:zoom-in}
.benac-galerie figcaption{font-size:.8rem;color:var(--muted);margin-top:6px}
.benac-galerie-apercu{padding:32px;border:1px dashed currentColor;text-align:center;opacity:.6}
.page-body .sec-title{margin-bottom:.8em}

/* Visionneuse */
.lightbox{position:fixed;inset:0;z-index:100;background:#111e;display:grid;grid-template-columns:48px 1fr 260px 48px;gap:24px;align-items:center;padding:5vh 3vw;color:#fff}
.lightbox[hidden]{display:none}
.lightbox img{max-height:88vh;max-width:100%;margin:auto;box-shadow:0 20px 60px #000}
.lightbox .cartel{background:#fff;color:#111;padding:24px;font-size:.9rem;display:flex;flex-direction:column;gap:4px}
.lightbox .cartel[hidden]{display:none}
.lightbox .cartel b{font-family:var(--display);font-size:1.4rem;font-weight:400;margin-bottom:4px}
.lightbox .cartel a{margin-top:12px;font-weight:600}
.lightbox:has(.cartel[hidden]){grid-template-columns:48px 1fr 48px}
.lightbox button{background:none;border:0;color:#fff;cursor:pointer;font-size:2.6rem;line-height:1}
.lightbox button[hidden]{visibility:hidden;display:block}
.lb-close{position:absolute;top:12px;right:20px}

@media (max-width:860px){
  .hero,.longform,.feature,.fiche-oeuvre,.cards.une>li:first-child .card{grid-template-columns:minmax(0,1fr)}
  .cards.une>li:first-child .card>*,.cards.une>li:first-child .wp-block-post-featured-image{grid-column:1;grid-row:auto}
  .gallery,.cards,.press{grid-template-columns:repeat(2,minmax(0,1fr))}
  .event{grid-template-columns:minmax(0,1fr)}
  .lightbox,.lightbox:has(.cartel[hidden]){grid-template-columns:1fr;padding:56px 4vw 4vw}
  .lb-prev,.lb-next{position:absolute;bottom:12px}
  .lb-prev{left:20px} .lb-next{right:20px}
  .brand img{height:44px}
}

/* ========== 1 · GALERIE : sobre, muséal, l'œuvre au centre ========== */
.d-galerie .site-header{border-bottom:1px solid #0001}
.d-galerie .menu a{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:#666}
.d-galerie .menu a:hover{color:var(--ink);box-shadow:0 2px 0 var(--c)}
.d-galerie .kicker{letter-spacing:.2em;font-size:.75rem}
.d-galerie .lede{color:#555}
.d-galerie .disciplines a{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;padding:6px 0;margin-right:14px;border-bottom:2px solid var(--c)}
.d-galerie .hero-art figure:not(:first-child){display:none}
.d-galerie .hero-art img{background:#fff;padding:5%;box-shadow:0 30px 60px -30px #0004}
.d-galerie .sec-title::after{content:"";display:block;width:48px;height:3px;background:var(--c);margin-top:18px}
.d-galerie .mat{background:#fff;aspect-ratio:1;padding:12%;box-shadow:0 1px 2px #0001}
.d-galerie .mat a{display:grid;place-items:center;height:100%}
.d-galerie .mat img{max-height:100%;width:auto;object-fit:contain}
.d-galerie .work-title,.d-galerie .book h3,.d-galerie .card h3{font-style:italic}
.d-galerie .home>section:nth-of-type(even){background:#fff}
.d-galerie .verse{font-style:italic}
.d-galerie .press{grid-template-columns:1fr;gap:0}
.d-galerie .press-item{display:grid;grid-template-columns:180px 1fr 140px 130px;align-items:center;gap:16px;padding:18px 0;border-top:1px solid var(--line)}
.d-galerie .press-item .wp-block-post-featured-image{display:none}
.d-galerie .press-item .tag{border-color:var(--c);justify-self:start;margin:0!important}
.d-galerie .wp-element-button{border-color:#0003}

/* ========== 2 · REVUE : éditorial, typo forte, une couleur par rubrique ========== */
.d-revue .site-header{border-bottom:3px solid var(--ink)}
.d-revue .menu a{font-weight:800;text-transform:uppercase;font-size:.85rem}
.d-revue .menu a:hover{color:var(--c)}
.d-revue .hero{grid-template-columns:1.2fr 1fr}
.d-revue .hero h1{font-size:clamp(4rem,11vw,10rem);line-height:.86;text-transform:uppercase}
.d-revue .hero-cie{font-weight:800;letter-spacing:.02em;font-size:clamp(1.1rem,2vw,1.7rem)}
.d-revue .kicker{font-weight:800;color:var(--ink);letter-spacing:0}
.d-revue .lede{font-size:1.15rem;max-width:520px}
.d-revue .disciplines a{display:block;background:var(--c);color:#fff;font-weight:800;text-transform:uppercase;padding:10px 18px}
.d-revue .hero-art{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.d-revue .hero-art img{width:100%;height:100%;object-fit:cover}
.d-revue .hero-art figure:first-child{grid-column:1/-1}
.d-revue .hero-art figure:first-child img{aspect-ratio:4/3}
.d-revue .hero-art figure:not(:first-child) img{aspect-ratio:1}
.d-revue .sec{padding-top:0}
.d-revue .sec>.fiche:first-child{padding-top:clamp(40px,7vh,72px)} /* fiches sans bandeau (événement, publication, presse) */
.d-revue .sec-head{max-width:none;margin:0 calc(-1 * var(--pad)) 56px;padding:56px var(--pad) 40px;background:var(--c);color:#fff;display:grid;grid-template-columns:auto 1fr;column-gap:32px;align-items:end}
.d-revue .c-presse .sec-head,.d-revue.c-presse .sec-head{background:var(--ink)}
.d-revue .sec-head>*{grid-column:2}
.d-revue .sec-head .sec-num{grid-column:1;grid-row:1/span 3;font-size:clamp(4rem,9vw,8rem);font-weight:900;line-height:.8;letter-spacing:0;color:#fff;opacity:.35;margin:0!important}
.d-revue .sec-head p,.d-revue .sec-head .kicker,.d-revue .sec-head .wp-block-term-description{color:#fff;opacity:.9;font-weight:600}
.d-revue .sec-title{font-size:clamp(2.1rem,6.5vw,6rem);overflow-wrap:break-word;text-transform:uppercase;line-height:.9}
.d-revue .single .sec-title,.d-revue.single .sec-title{font-size:clamp(2.2rem,4.5vw,4rem)}
.d-revue .apropos{padding-top:120px}
.d-revue .about .sec-title,.d-revue .page-body .sec-title{color:var(--ink)}
.d-revue .gallery{display:block;columns:3;column-gap:28px}
.d-revue .gallery>li{break-inside:avoid;margin-bottom:28px!important}
.d-revue .work-title{border-top:3px solid var(--ink);padding-top:8px;font-weight:900;text-transform:uppercase;font-size:1rem}
.d-revue .benac-filtres button{border-radius:0;font-weight:800;text-transform:uppercase;border-width:2px;opacity:1}
.d-revue .benac-filtres button.on{background:var(--c);border-color:var(--c);color:#fff}
.d-revue .cards.une>li:first-child h3{text-transform:uppercase}
.d-revue .wp-element-button{background:var(--ink);color:#fff;border:0;font-weight:800;text-transform:uppercase}
.d-revue .card{border-top:6px solid var(--c);padding-top:14px}
.d-revue .verse{text-transform:uppercase;color:var(--c);font-weight:900}
.d-revue .longform{background:color-mix(in srgb,var(--c) 12%,#fff);padding:48px}
.d-revue .event .date{font-weight:900}
.d-revue .event h3{text-transform:uppercase}
.d-revue .tag{background:var(--ink);color:#fff;border:0;font-weight:800;text-transform:uppercase}
.d-revue .press-item h3{font-weight:900}

/* ========== 3 · MATIÈRE : chaud, sensible, collage ========== */
.d-matiere{background-image:radial-gradient(#ffffff07 1px,transparent 1px),radial-gradient(#00000030 1px,transparent 1px);background-size:3px 3px,5px 5px}
.d-matiere .site-header{background:color-mix(in srgb,var(--bg) 93%,transparent);backdrop-filter:blur(6px)}
.d-matiere .brand img{filter:invert(1) sepia(.3)}
.d-matiere .menu a{font-family:var(--display);font-style:italic;font-size:1.05rem;color:#d8ccbb}
.d-matiere .menu a:hover{color:var(--c)}
.d-matiere h1,.d-matiere .sec-title,.d-matiere .verse{font-style:italic}
.d-matiere .hero h1{font-size:clamp(3.5rem,8vw,7rem)}
.d-matiere .kicker{color:var(--wp--preset--color--peinture);font-style:italic;font-family:var(--display);text-transform:none;letter-spacing:0;font-size:1rem}
.d-matiere .lede{color:var(--muted);font-size:1.1rem}
.d-matiere .disciplines a{font-family:var(--display);font-style:italic;font-size:1.25rem;color:var(--c)}
.d-matiere .disciplines li+li::before{content:"·";margin-right:10px;opacity:.4}
.d-matiere .hero-art{height:min(70vh,620px)}
.d-matiere .hero-art figure{position:absolute}
.d-matiere .hero-art img{box-shadow:0 30px 60px #000a;border:10px solid var(--wp--preset--color--surface)}
.d-matiere .hero-art figure:nth-child(1){width:62%;top:4%;left:4%;transform:rotate(-4deg)}
.d-matiere .hero-art figure:nth-child(2){width:42%;top:28%;right:2%;transform:rotate(5deg)}
.d-matiere .hero-art figure:nth-child(3){width:40%;bottom:0;left:30%;transform:rotate(-1deg)}
.d-matiere .sec-num{font-family:var(--display);font-style:italic;color:var(--c);font-size:1.2rem;letter-spacing:0}
.d-matiere .sec-title{color:var(--c)}
.d-matiere.c-presse .sec-title,.d-matiere .c-presse .sec-title{color:var(--ink)}
.d-matiere .gallery{display:block;columns:3;column-gap:40px}
.d-matiere .gallery>li{break-inside:avoid;margin-bottom:48px!important}
.d-matiere .gallery>li:nth-child(odd) .mat{transform:rotate(-1.2deg)}
.d-matiere .gallery>li:nth-child(even) .mat{transform:rotate(1.4deg)}
.d-matiere .mat{border:8px solid var(--wp--preset--color--surface);box-shadow:0 20px 40px #000b;overflow:visible}
.d-matiere .work-title{font-style:italic}
.d-matiere .work-meta{font-family:var(--display)}
.d-matiere .benac-filtres button.on{background:var(--c);border-color:var(--c);color:var(--bg)}
.d-matiere .card .wp-block-post-featured-image img,.d-matiere .feature img,.d-matiere .longform img,.d-matiere .fiche-oeuvre img,.d-matiere .benac-galerie img{border:8px solid var(--wp--preset--color--surface);box-shadow:0 20px 40px #000a}
.d-matiere .cards>li:nth-child(odd) .card{transform:rotate(-1deg)}
.d-matiere .cards>li:nth-child(even) .card{transform:rotate(1deg)}
.d-matiere .cards.une>li:first-child .card{transform:none}
.d-matiere .card h3,.d-matiere .book h3,.d-matiere .event h3{font-style:italic}
.d-matiere .wp-element-button{border-color:var(--c);color:var(--c);border-radius:30px}
.d-matiere .verse{background:linear-gradient(90deg,var(--wp--preset--color--peinture),var(--wp--preset--color--scene),var(--wp--preset--color--poesie));-webkit-background-clip:text;background-clip:text;color:transparent}
.d-matiere .tag{color:var(--wp--preset--color--peinture)}
.d-matiere .press-item .wp-block-post-featured-image img{filter:sepia(.4) contrast(1.05);border:6px solid var(--wp--preset--color--surface)}
.d-matiere .agenda,.d-matiere .event{border-color:#f2e8da22}
.d-matiere .lightbox .cartel{background:var(--bg);color:var(--ink)}

/* Ajustements */
.tag{white-space:nowrap}
.feature:not(:has(.feature-body>*)){grid-template-columns:minmax(0,760px)}
.feature .wp-block-post-featured-image img{max-height:85vh;width:auto}
.d-revue .sec-head>p:not(.sec-num):not(.back),.d-revue .sec-head .wp-block-term-description,.d-revue .sec-head .back a{color:#fff;opacity:.9;font-weight:600}
@media (max-width:860px){.hero{min-height:0;padding-bottom:48px}.d-revue .hero{grid-template-columns:minmax(0,1fr)}
  .d-revue .sec-head{grid-template-columns:minmax(0,1fr)}.d-revue .sec-head>*{grid-column:1}.d-revue .sec-head .sec-num{grid-row:auto;font-size:3rem;margin-bottom:12px!important}}

/* Pages « Rubrique » */
.rubrique .wp-block-post-content>*{margin-block:0}
.sub-title{font-size:clamp(1.8rem,3vw,2.4rem);margin:80px 0 32px!important}
.sub-title::after{display:none!important}
.texte{max-width:760px}
.texte p,.texte li{font-size:1.05rem}
.colonnes{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:64px;align-items:start}
.colonnes .books{grid-template-columns:repeat(2,minmax(0,1fr))}
.longform .wp-element-caption{font-size:.8rem;color:var(--muted)}
.d-galerie .rubrique section:nth-of-type(even){background:#fff}
.d-revue .sub-title{text-transform:uppercase}
.d-matiere .sub-title{font-style:italic;color:var(--c)}
.wpcf7 input:not([type=submit]),.wpcf7 textarea{width:100%;font:inherit;padding:10px 12px;border:1px solid var(--line);background:transparent;color:inherit}
.wpcf7 input[type=submit]{font:inherit;padding:10px 22px;border:1px solid currentColor;background:var(--ink);color:var(--bg);cursor:pointer}
@media (max-width:860px){.colonnes{grid-template-columns:minmax(0,1fr)}}
.d-galerie .press-item>*{grid-row:1}
.d-galerie .press-item .src{grid-column:1} .d-galerie .press-item h3{grid-column:2} .d-galerie .press-item .d{grid-column:3} .d-galerie .press-item .tag{grid-column:4}

/* Éditeur : les sections occupent toute la largeur, comme sur le site (le modèle page-rubrique n'a pas de colonne de contenu). */
.editor-styles-wrapper .is-root-container.wp-block-post-content-is-layout-flow>.wp-block{max-width:none;margin-inline:0}
/* Fiche précédente / suivante (agenda) */
.benac-fiche-nav{display:grid;grid-template-columns:1fr auto 1fr;gap:1.5em;align-items:start;margin-top:3em;padding-top:1.2em;border-top:1px solid var(--line)}
.benac-fiche-nav a{text-decoration:none;color:inherit}
.benac-fiche-nav .next{text-align:right;grid-column:3}
.benac-fiche-nav .tout{grid-column:2;grid-row:1;align-self:center;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.benac-fiche-nav .sens{display:block;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--c)}
.benac-fiche-nav .titre{display:block;margin-top:.3em;line-height:1.3}
.benac-fiche-nav a:hover .titre{text-decoration:underline}
@media (max-width:640px){.benac-fiche-nav{grid-template-columns:1fr 1fr}.benac-fiche-nav .next{grid-column:2}.benac-fiche-nav .tout{grid-column:1/-1;grid-row:2;text-align:center}}
/* Sous-menus (arborescence du 2026-11-28) */
.menu .wp-block-navigation__submenu-container{border:0!important;background:var(--bg)!important;padding:10px 0!important;min-width:260px!important;box-shadow:0 10px 28px rgba(0,0,0,.1)}
.d-revue .menu .wp-block-navigation__submenu-container{border-top:3px solid var(--c)!important}
.menu .wp-block-navigation__submenu-container a{padding:7px 18px!important;font-size:.78rem!important}
.menu .is-menu-open .wp-block-navigation__submenu-container{box-shadow:none;border:0!important;padding:4px 0 8px 1.2em!important;min-width:0!important}
.menu .is-menu-open .wp-block-navigation__submenu-container a{padding:5px 0!important}
.menu .wp-block-navigation__responsive-container.is-menu-open{padding:24px var(--pad)!important}
/* Rubriques automatiques : bandeau généré, corps de page, liens vers les sous-pages */
.benac-auto .page-corps{max-width:760px;padding-bottom:clamp(56px,10vh,110px)}
.benac-auto .page-corps p,.benac-auto .page-corps li{font-size:1.05rem}
.benac-auto .page-image{margin:0 0 40px}
.benac-auto .page-image img{width:100%;max-height:70vh;object-fit:cover}
.benac-sous-pages{list-style:none;padding:0;margin:40px 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:28px}
.benac-sous-pages a{display:block;text-decoration:none;color:inherit;border-top:6px solid var(--c);padding-top:14px}
.benac-sous-pages .titre{display:block;font-weight:800;font-size:1.2rem}
.d-revue .benac-sous-pages .titre{text-transform:uppercase}
.benac-sous-pages .extrait{display:block;margin-top:.4em;color:var(--muted)}
.benac-sous-pages a:hover .titre{color:var(--c)}
.benac-fiches-page .cards{margin:8px 0 0;padding:0;list-style:none}
.benac-fiches-page .card h3 a{text-decoration:none;color:inherit}
.benac-fiches-page .card h3 a:hover{color:var(--c)}

/* Vidéos : jamais plus hautes que 70 % de l’écran (vidéos verticales de téléphone), centrées, sans agrandir les petites. */
.wp-block-video video{display:block;width:auto;height:auto;max-width:100%;max-height:70vh;margin:0 auto}
