/* CRLDHT – Mur des visages
   VOICE grave, sobre, militante · IDEA un mur de parloir où chaque visage compte ses jours
   PICTURE la mosaïque désaturée qui reprend couleur au survol
   COLOUR noir d'encre, blanc cassé, rouge campagne · TYPE Oswald (embarquée) + police du site
   LAYOUT bandeau manifeste + compteur, outils, mur, fiche latérale */
@font-face{font-family:"CM Oswald";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/oswald-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"CM Oswald";font-weight:600;font-style:normal;font-display:swap;src:url(fonts/oswald-latin-ext-600-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

#crldht-mur,#crldht-fiche{--red:#d7141a;--ink:#1a1414;--paper:#f6f1ee;--line:#e2d8d3;--mute:#6b5f5b;--cond:"CM Oswald","Arial Narrow",sans-serif;color:var(--ink);font-size:16px;line-height:1.55}
#crldht-mur{background:var(--paper);overflow-x:clip}
#crldht-mur *,#crldht-fiche *{box-sizing:border-box;min-width:0}
#crldht-mur h2,#crldht-mur h3{font-family:var(--cond);font-weight:600;margin:0;line-height:1.05;letter-spacing:0;text-transform:none}
#crldht-mur .cm-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Bandeau */
#crldht-mur .cm-hero{background:var(--ink);color:#fff;padding:clamp(28px,5vw,64px) max(5vw,16px);display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:32px;align-items:end}
#crldht-mur .cm-hero h2{font-size:clamp(32px,4.6vw,52px);color:#fff;text-wrap:balance}
#crldht-mur .cm-hero h2 b,#crldht-mur .cm-hero h2 strong{color:var(--red);font-weight:600}
#crldht-mur .cm-intro{max-width:62ch;color:#d9cfcb;margin:14px 0 0}
#crldht-mur .cm-count{border-left:4px solid var(--red);padding-left:20px}
#crldht-mur .cm-count strong{display:block;font:600 clamp(44px,7vw,84px)/1 var(--cond);color:var(--red);font-variant-numeric:tabular-nums}
#crldht-mur .cm-count span{color:#d9cfcb}
#crldht-mur .cm-meta{font-size:14px;color:#a99d98;margin-top:10px}
#crldht-mur .cm-meta span{color:#d9cfcb}

/* Outils */
#crldht-mur .cm-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:18px max(5vw,16px);border-bottom:1px solid var(--line)}
#crldht-mur .cm-tools input,#crldht-mur .cm-tools select{font:inherit;font-size:16px;min-height:44px;margin:0;padding:8px 12px;border:1px solid #cbbfb9;border-radius:6px;background:#fff;color:var(--ink);box-shadow:none;width:auto;max-width:100%}
#crldht-mur .cm-tools input{flex:1 1 220px}
#crldht-mur .cm-chips{display:contents}
#crldht-mur .cm-chip,#crldht-mur .cm-chip:hover{min-height:44px;margin:0;padding:8px 14px;border-radius:22px;border:1px solid #cbbfb9;background:#fff;color:var(--ink);font:inherit;font-size:15px;line-height:1.2;text-transform:none;letter-spacing:0;box-shadow:none;cursor:pointer}
#crldht-mur .cm-chip[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
#crldht-mur .cm-result{font-size:14px;color:var(--mute);margin-left:auto}

/* Mur */
#crldht-mur .cm-wall{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:4px;padding:4px max(5vw,16px) 40px}
#crldht-mur .cm-tile,#crldht-mur .cm-tile:hover,#crldht-mur .cm-tile:focus{position:relative;display:block;width:100%;aspect-ratio:1;margin:0;border:0;border-radius:0;padding:0;cursor:pointer;overflow:hidden;background:#2a2222;text-align:left;color:#fff;font:inherit;box-shadow:none;text-transform:none;letter-spacing:0}
#crldht-mur .cm-tile img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;display:block;filter:grayscale(1) contrast(1.08) brightness(.92);transition:filter .45s,transform .6s}
#crldht-mur .cm-tile::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 45%,rgba(20,10,10,.88));pointer-events:none}
#crldht-mur .cm-tile:hover img,#crldht-mur .cm-tile:focus-visible img{filter:none;transform:scale(1.04)}
#crldht-mur .cm-tile:focus-visible{outline:3px solid var(--red);outline-offset:2px;z-index:2}
#crldht-mur .cm-cap{position:absolute;left:10px;right:10px;bottom:8px;z-index:1}
#crldht-mur .cm-cap b{display:block;font:600 17px/1.1 var(--cond);color:#fff}
#crldht-mur .cm-cap small{display:block;font-size:13px;line-height:1.3;color:#e8dcd8;margin-top:3px}
#crldht-mur .cm-days{position:absolute;top:8px;left:8px;z-index:1;background:var(--red);color:#fff;font:600 13px/1 var(--cond);padding:5px 7px;border-radius:3px;font-variant-numeric:tabular-nums}
#crldht-mur .cm-empty{grid-column:1/-1;padding:40px 0;color:var(--mute)}

/* Fiche (panneau) et fiche (page) */
#crldht-mur .cm-panel{border:0;padding:0;margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:min(640px,100%);max-width:100%;background:var(--paper);color:var(--ink);box-shadow:-20px 0 60px rgba(0,0,0,.3)}
#crldht-mur .cm-panel::backdrop{background:rgba(20,10,10,.6)}
#crldht-mur .cm-panel[open]{animation:cm-in .35s ease-out}
@keyframes cm-in{from{transform:translateX(40px);opacity:0}}
#crldht-mur .cm-pbar{display:flex;gap:6px;justify-content:flex-end;padding:10px;position:sticky;top:0;background:var(--paper);z-index:1}
#crldht-mur .cm-btn,#crldht-mur .cm-btn:hover,#crldht-fiche .cm-btn,#crldht-fiche .cm-btn:hover{min-height:44px;min-width:44px;margin:0;padding:8px 14px;border:1px solid #cbbfb9;border-radius:6px;background:#fff;color:var(--ink);font:inherit;font-size:15px;line-height:1.2;cursor:pointer;text-decoration:none;text-transform:none;letter-spacing:0;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;gap:6px}
#crldht-mur .cm-btn.cm-primary,#crldht-fiche .cm-btn.cm-primary{background:var(--red);border-color:var(--red);color:#fff}
#crldht-mur .cm-btn:focus-visible,#crldht-mur .cm-chip:focus-visible,#crldht-fiche .cm-btn:focus-visible{outline:3px solid var(--red);outline-offset:2px}
#crldht-mur .cm-pbody{padding:0 24px 32px}
#crldht-mur .cm-pbody img,#crldht-fiche .cm-fiche-img{width:100%;height:auto;display:block;border-radius:4px}
#crldht-mur .cm-pbody h3{font-size:clamp(30px,4vw,40px);margin:20px 0 8px;color:var(--ink)}
#crldht-mur .cm-status,#crldht-fiche .cm-status{display:inline-block;background:var(--ink);color:#fff;padding:3px 10px;border-radius:3px;font-size:14px}
#crldht-mur .cm-facts,#crldht-fiche .cm-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0;padding:14px 0;border-block:1px solid var(--line)}
#crldht-mur .cm-facts dt,#crldht-fiche .cm-facts dt{font-size:13px;color:var(--mute);font-weight:400}
#crldht-mur .cm-facts dd,#crldht-fiche .cm-facts dd{margin:0;font-weight:600}
#crldht-mur .cm-facts dd.cm-big,#crldht-fiche .cm-facts dd.cm-big{font:600 28px/1.1 var(--cond);color:var(--red)}
#crldht-mur .cm-share,#crldht-fiche .cm-share{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
#crldht-mur .cm-src,#crldht-fiche .cm-src{font-size:14px;color:var(--mute)}
#crldht-mur .cm-todo{color:var(--mute);font-style:italic}
#crldht-fiche{max-width:900px;margin-inline:auto}
#crldht-fiche .cm-fiche-img{margin-bottom:16px}

@media(max-width:760px){
	#crldht-mur .cm-hero{grid-template-columns:1fr}
	#crldht-mur .cm-wall{grid-template-columns:repeat(auto-fill,minmax(108px,1fr))}
	#crldht-mur .cm-cap b{font-size:15px}
	#crldht-mur .cm-cap small{display:none}
	#crldht-mur .cm-result{margin-left:0;width:100%}
	#crldht-mur .cm-pbody{padding:0 16px 24px}
}
@media(hover:none){#crldht-mur .cm-tile img{filter:grayscale(.55) contrast(1.05)}}
@media(prefers-reduced-motion:reduce){#crldht-mur .cm-tile img{transition:none}#crldht-mur .cm-panel[open]{animation:none}}
