/* Category hero, editorial content and source container. */
/* Editorial headers inherit the content color, not the site masthead color.
   Keep specificity low so custom category layouts retain their own palette. */
.ce-category-editorial-content :where(header,header h1,header a){color:inherit}
#contenu #textes .ce-category-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:24px;padding:0;width:auto;max-width:none;box-sizing:border-box;color:#071a2f;margin:0 0 16px;overflow:hidden;border-radius:8px;background:#fffdf8}
#contenu #textes .ce-category-hero--text{grid-template-columns:1fr}
#contenu #textes .ce-category-hero__copy{min-width:0;padding:24px 10px}
#contenu #textes .ce-category-hero h1.title{margin:0 0 12px;padding:0;border:0}
#contenu #textes .ce-category-hero h1.title::after{display:none}
#contenu #textes .ce-category-hero__intro{margin:18px 0 0;color:#4e5f78;font:400 14px/1.6 Roboto,Arial,sans-serif}
#contenu #textes .ce-category-hero__labels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:14px 18px;list-style:none;margin:22px 0 0;padding:0;color:#071a2f;font:600 13px/1.5 Roboto,Arial,sans-serif}
#contenu #textes .ce-category-hero__labels li{display:flex;align-items:center;gap:10px;min-width:0;margin:0;padding:0;overflow-wrap:anywhere}
#contenu #textes .ce-category-hero__label-icon{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;box-sizing:border-box;border:1px solid #d8b35a;border-radius:50%;color:#a7791b;background:#fffaf0;font-size:16px}
#contenu #textes .ce-category-hero__visual{position:relative;min-width:0;min-height:260px}
#contenu #textes .ce-category-hero__visual::after{position:absolute;inset:0;content:"";pointer-events:none;background:linear-gradient(90deg,#fffdf8,transparent 24%)}
#contenu #textes .ce-category-hero__visual img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;margin:0;padding:0;border:0}
#contenu #textes .ce-category-meta{display:flex;flex-wrap:wrap;gap:4px 10px;color:#53647b;font:400 11px/1.6 Roboto,Arial,sans-serif}
#contenu #textes .ce-category-meta:empty{display:none}
#contenu #textes .ce-category-meta time{color:#10283f;font-weight:500}
#contenu #textes .ce-category-byline{display:flex;align-items:center;gap:8px;margin:10px 0 16px;color:#53647b;font:400 12px/1.5 Roboto,Arial,sans-serif}
#contenu #textes .ce-category-byline img,
#contenu #textes #cehp-home .ce-category-byline img{width:32px;height:32px;max-width:32px;flex:none;border:1px solid #d8b35a;border-radius:50%;object-fit:cover;padding:2px;margin:0}
#contenu #textes .ce-category-byline strong{color:#10283f}
#contenu #textes .ce-category-editorial-content{box-sizing:border-box;min-width:0;margin:0 0 24px;padding:24px;background:#fffdfa;border:1px solid #e9dfcf;border-radius:10px;box-shadow:0 6px 22px #10283f0a;overflow-wrap:anywhere}
#contenu #textes .ce-category-editorial-content>:first-child{margin-top:0}
#contenu #textes .ce-category-editorial-content>:last-child{margin-bottom:0}
#contenu #textes .ce-category-sources{--cer-navy:#0a2035;--cer-gold:#bc8c25;--cer-copy-size:13px;--cer-copy-line:1.52;--cer-line:#e9dfcf;margin:24px 0;padding:18px;background:#fffdfa;border:1px solid #e9dfcf;border-radius:10px}
#contenu #textes .ce-category-sources h2{margin:0 0 16px;font:700 22px/1.25 Georgia,"Times New Roman",serif}
@media(max-width:760px){
    #contenu #textes .ce-category-hero{grid-template-columns:1fr;gap:0}
    #contenu #textes .ce-category-hero__copy{padding:18px 14px}
    #contenu #textes .ce-category-hero__visual{min-height:0;aspect-ratio:652/367}
    #contenu #textes .ce-category-hero__visual::after{display:none}
    #contenu #textes .ce-category-editorial-content{padding:14px 12px}
    #contenu #textes .ce-category-hero h1.title { line-height: 1.12; }
    #contenu #textes .ce-category-hero__labels { gap: 10px; margin-top: 16px; }
    #contenu #textes .ce-category-hero__intro { margin-top: 14px; font-size: 15px; }
}
