/* Magazine nature : les commandes du forum restent celles de phpBB. */
.chevreuil-site-header { color:#23352b; background:#fff; border-bottom:1px solid #d9dccf; font:16px/1.5 Arial,Helvetica,sans-serif; }
.chevreuil-site-brand { box-sizing:border-box; }
.chevreuil-site-brand > a:first-child { display:flex; flex:none; align-items:center; gap:14px; color:#23352b; text-decoration:none; }
.chevreuil-site-brand > a:first-child > span { display:block; flex:none; width:70px; height:52px; overflow:hidden; }
.chevreuil-site-brand img { display:block; width:70px; height:auto; max-width:none; }
.chevreuil-site-brand strong { font:700 30px/1.1 Georgia,serif; letter-spacing:-1.2px; white-space:nowrap; }
.chevreuil-site-brand small { display:block; margin-top:7px; color:#596456; font:400 11px/1.5 Georgia,serif; letter-spacing:.15px; }
.chevreuil-site-header > .chevreuil-site-brand { display:flex; align-items:center; justify-content:space-between; gap:32px; min-height:125px; padding:16px clamp(18px,2.6vw,56px); }
.chevreuil-site-header .chevreuil-site-brand > .chevreuil-publicite { position:static; flex:1; width:auto; max-width:728px; min-height:90px; margin:0; }
.chevreuil-site-header .chevreuil-site-brand > .button { display:inline-flex; box-sizing:border-box; flex:none; align-items:center; justify-content:center; min-height:46px; padding:11px 20px; border:1px solid #2f4a35; border-radius:4px; background:#2f4a35; color:#fff; box-shadow:none; text-shadow:none; font:700 14px/1.25 Arial,Helvetica,sans-serif; }
.chevreuil-site-navigation { border-top:1px solid #d9dccf; }
.chevreuil-site-navigation-inner { display:flex; box-sizing:border-box; align-items:center; justify-content:space-between; gap:30px; min-height:61px; padding-inline:clamp(18px,2.6vw,56px); }
.chevreuil-site-navigation-inner > div:first-child { display:flex; align-items:center; gap:30px; }
.chevreuil-site-navigation a { display:flex; align-items:center; min-height:61px; padding:0; color:#23352b; font:700 18px/1.25 Arial,Helvetica,sans-serif; text-decoration:none; }
.chevreuil-site-navigation .chevreuil-site-navigation-current { color:#b84b0c; }
.chevreuil-site-navigation a:hover, .chevreuil-site-navigation a:focus-visible { color:#b84b0c; text-decoration:none; }
.chevreuil-site-navigation-inner > .dropdown-container { display:none; }
.chevreuil-site-search { display:flex; box-sizing:border-box; flex:0 1 246px; min-width:190px; border-left:1px solid #d9dccf; padding-left:20px; }
.chevreuil-site-search input { box-sizing:border-box; width:100%; min-width:0; height:36px; margin:0; padding:0; border:0; background:transparent; color:#23352b; font:14px/1.5 Arial,Helvetica,sans-serif; }
.chevreuil-site-search button { box-sizing:border-box; flex:none; width:40px; height:36px; padding:0; border:0; border-radius:4px; background:transparent; color:#23352b; font-size:26px; cursor:pointer; }
.chevreuil-site-search button:hover, .chevreuil-site-search button:focus-visible, .chevreuil-site-header .chevreuil-site-brand > .button:hover { color:#fff; background:#b84b0c; border-color:#8c390a; box-shadow:0 3px 8px #3b2a1838; }
.chevreuil-site-header a:focus-visible, .chevreuil-site-search input:focus-visible { outline:3px solid #b84b0c; outline-offset:4px; }
footer.chevreuil-editorial { clear:both; margin:30px 0 0; padding-top:40px; background:#203b2b; color:#fff; }
.chevreuil-editorial-inner { display:grid; grid-template-columns:minmax(260px,1fr) minmax(0,2fr); gap:50px; padding:0 clamp(18px,2.6vw,56px) 24px; }
footer.chevreuil-editorial .chevreuil-site-brand > a { color:#fff; }
footer.chevreuil-editorial .chevreuil-site-brand > a > span { width:48px; height:36px; }
footer.chevreuil-editorial .chevreuil-site-brand img { width:48px; }
footer.chevreuil-editorial .chevreuil-site-brand strong { color:#fff; font-size:25px; }
footer.chevreuil-editorial .chevreuil-site-brand small { color:#d6dfd0; font-family:Arial,Helvetica,sans-serif; }
footer.chevreuil-editorial .chevreuil-site-brand p { max-width:260px; margin-top:17px; color:#d6dfd0; font:13px/1.6 Arial,Helvetica,sans-serif; }
footer.chevreuil-editorial h2 { margin:0 0 18px; color:#fff; font:700 23px/1.2 Arial,Helvetica,sans-serif; }
footer.chevreuil-editorial h3 { margin:0 0 15px; font:700 15px/1.25 Arial,Helvetica,sans-serif; }
footer.chevreuil-editorial a { color:#ecf0e8; text-decoration:none; }
footer.chevreuil-editorial a:hover, footer.chevreuil-editorial a:focus { color:#ffd0aa; text-decoration:none; }
.chevreuil-subject-groups { columns:4; column-gap:24px; }
.chevreuil-subject-group { break-inside:avoid; margin-bottom:24px; }
.chevreuil-subject-group h3 a { color:#f5c39e; }
.chevreuil-subject-group ul, .chevreuil-editorial-articles > ul { list-style:none; margin:0; padding:0; }
.chevreuil-subject-group li { margin-top:8px; font:12px/1.5 Arial,Helvetica,sans-serif; }
footer.chevreuil-editorial > nav { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 24px; padding:0 clamp(18px,2.6vw,56px) 24px; font:12px/1.5 Arial,Helvetica,sans-serif; }
footer.chevreuil-editorial > p { margin:0; padding:20px clamp(18px,2.6vw,56px); border-top:1px solid #50694f; color:#d6dfd0; font:11px/1.5 Arial,Helvetica,sans-serif; }
.chevreuil-editorial-articles > ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px 18px; }
.chevreuil-editorial-articles li a { display:flex; align-items:center; min-height:54px; font:700 13px/1.4 Arial,Helvetica,sans-serif; text-decoration:none; }
.chevreuil-editorial-articles img { flex:0 0 72px; width:72px; height:54px; margin-right:12px; object-fit:cover; }
footer.chevreuil-editorial .chevreuil-editorial-articles + .chevreuil-editorial-subjects { margin-top:24px; }
.chevreuil-sidebar-articles { box-sizing:border-box; width:300px; max-width:100%; padding-top:22px; border-top:3px solid #f4772e; }
.chevreuil-sidebar-articles h2 { margin:0 0 24px; padding:0; border:0; color:#23352b; font:700 23px/1.2 Arial,Helvetica,sans-serif; letter-spacing:-.5px; }
.chevreuil-sidebar-articles .chevreuil-editorial-articles > ul { grid-template-columns:minmax(0,1fr); gap:17px; }
.chevreuil-sidebar-articles a { color:#23352b; }
.chevreuil-sidebar-articles a:hover, .chevreuil-sidebar-articles a:focus-visible { color:#b84b0c; text-decoration:none; }
@media(max-width:1250px) { .chevreuil-site-header .chevreuil-site-brand > .button { display:none; } .chevreuil-site-navigation-inner > div:first-child { gap:23px; } .chevreuil-site-navigation a { font-size:16px; } }
@media(max-width:1023px) {
 .chevreuil-site-navigation-inner > div:first-child { display:none; }
 .chevreuil-site-navigation-inner > .dropdown-container { display:block; }
 .chevreuil-site-navigation .dropdown-trigger { gap:10px; min-height:72px; font-size:18px; }
 .chevreuil-site-navigation .dropdown { left:0; right:auto; width:270px; }
 .chevreuil-site-navigation .dropdown-contents { padding:12px 18px; border-color:#d9dccf; background:#fff; }
 .chevreuil-site-navigation .dropdown-contents a { min-height:44px; font-size:16px; }
 .chevreuil-editorial-inner { grid-template-columns:minmax(0,1fr); gap:30px; }
 .chevreuil-subject-groups { columns:3; }
}
@media(max-width:760px) {
 .chevreuil-site-header > .chevreuil-site-brand { display:grid; grid-template-columns:minmax(0,1fr); gap:18px; min-height:0; padding:18px 20px; }
 .chevreuil-site-header .chevreuil-site-brand > .chevreuil-publicite { width:100%; max-width:none; min-height:90px; }
 .chevreuil-site-header .chevreuil-site-brand strong { font-size:28px; }
 .chevreuil-site-header .chevreuil-site-brand > a:first-child > span { width:64px; height:48px; }
 .chevreuil-site-header .chevreuil-site-brand img { width:64px; }
 .chevreuil-site-header .chevreuil-site-brand small { font-size:10px; }
 .chevreuil-site-navigation-inner { gap:20px; min-height:56px; padding-inline:20px; }
 .chevreuil-site-navigation .dropdown-trigger { min-height:56px; }
 .chevreuil-site-search { min-width:0; flex-basis:200px; border:0; padding:0; }
 .chevreuil-subject-groups { columns:2; }
 .chevreuil-editorial-articles > ul { grid-template-columns:minmax(0,1fr); }
 footer.chevreuil-editorial { padding-top:30px; }
}

.chevreuil-site-brand > a:first-child > span { clip-path:inset(0 0 10%); }

.chevreuil-subject-group h3 { border:0; text-transform:none; }
.chevreuil-site-brand > a:first-child > span { clip-path:inset(0 0 14%); }
.chevreuil-subject-groups { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.chevreuil-subject-group:nth-child(1) { grid-area:1/1; }
.chevreuil-subject-group:nth-child(2) { grid-area:1/2; }
.chevreuil-subject-group:nth-child(3) { grid-area:2/1/3/-1; }
.chevreuil-subject-group:nth-child(4) { grid-area:1/3; }
.chevreuil-subject-group:nth-child(5) { grid-area:1/4; }
@media(max-width:760px) {
 .chevreuil-subject-groups { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .chevreuil-subject-group:nth-child(n) { grid-area:auto; }
}
@media(max-width:1023px) { .chevreuil-site-navigation .dropdown { top:100%; } }
.chevreuil-subject-group { margin-bottom:0; }
@media(min-width:1024px) { .chevreuil-subject-group:nth-child(5) ul { columns:2; column-gap:16px; } .chevreuil-subject-group li { break-inside:avoid; } }
footer.chevreuil-editorial > .copyright { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:16px; margin:0; padding:16px clamp(18px,2.6vw,56px); border-top:1px solid #50694f; color:#d6dfd0; text-align:left; font:11px/1.5 Arial,Helvetica,sans-serif; }
footer.chevreuil-editorial .penseweb { flex:none; margin-left:auto; }
footer.chevreuil-editorial .penseweb img { display:block; width:113px; height:44px; }

/* Emplacements publicitaires vides (unfilled ou unfill-optimized) : masqués avec leur encadré, sauf l'entête qui garde sa hauteur (26/11). */
.chevreuil-publicite:not([data-chevreuil-ad-position="header"]):has(ins.adsbygoogle[data-ad-status^="unfill"]) { display:none !important; }
.chevreuil-publicite ins.adsbygoogle[data-ad-status^="unfill"] { display:none !important; }

/* Menu de l'entête identique à celui du site (26/11) : 11 rubriques, Arial 16 px gras, rangées de 44 px, retour à la ligne quand la place manque; bouton « Menu » sous 1 024 px. */
@media(min-width:1024px) {
 .chevreuil-site-navigation-inner { padding-right:max(6px, calc(2.6vw - 20px)); }
 .chevreuil-site-navigation-inner > div:first-child { flex:1 1 auto; flex-wrap:wrap; gap:0; min-width:0; padding-block:1px; }
 .chevreuil-site-navigation-inner > div:first-child > a { min-height:44px; padding:0 7px; font-size:16px; line-height:20px; }
 .chevreuil-site-navigation-inner > div:first-child > a:first-child { padding-left:0; }
 .chevreuil-site-navigation-inner > .chevreuil-site-search { flex:0 0 267px; align-self:center; }
}
@media(min-width:1440px) { .chevreuil-site-navigation-inner > div:first-child > a { padding-inline:.65vw; } .chevreuil-site-navigation-inner > div:first-child > a:first-child { padding-left:0; } }
