/* =====================================================================
   CISAlertes — page /classement/ : classement complet du jour + recherche.
   Les lignes reprennent les styles .rk-* du panneau d'accueil (style.css,
   section 7 bis) : un centre se présente de la même façon partout.
   ===================================================================== */

.cl-section{padding-top:clamp(2.5rem,5vw,4.5rem)}
.cl-head{max-width:64ch;margin-bottom:2rem}
.cl-head h1{margin:.3rem 0 .9rem}

.cl-panel{max-width:900px}
/* Rang jusqu'à « 1 600 » : colonne plus large que sur l'accueil (top 10). */
.cl-panel .rk-cols,.cl-panel .rk-row{grid-template-columns:3rem minmax(0,1fr) 4.4rem 4.4rem}

/* Barre d'outils : recherche + critère */
.cl-toolbar{
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:.75rem 1rem;
  padding:.85rem 1rem;
  background:linear-gradient(180deg,#1c2432,#161d28);
  border-bottom:1px solid var(--line-strong);
}
.cl-search{position:relative;flex:1 1 260px;max-width:440px}
.cl-search svg{
  position:absolute;left:.9rem;top:50%;transform:translateY(-50%);
  color:var(--fg-mute);pointer-events:none;
}
.cl-search input{
  width:100%;
  font:inherit;font-size:1rem;           /* 16 px : pas de zoom auto sur iOS */
  color:var(--fg);
  background:rgba(0,0,0,.32);
  border:1px solid var(--line-strong);border-radius:999px;
  padding:.6rem 1rem .6rem 2.5rem;
  outline:none;
  transition:border-color .2s,box-shadow .2s;
}
.cl-search input::placeholder{color:var(--fg-mute)}
.cl-search input:focus{
  border-color:rgba(255,138,61,.55);
  box-shadow:0 0 0 3px rgba(255,138,61,.16);
}

.cl-meta{
  margin:0;padding:.55rem 1rem;
  font-family:var(--font-mono);font-size:.72rem;color:var(--fg-mute);
  border-bottom:1px solid var(--line);
}
.cl-meta b{color:var(--fg-soft);font-weight:600}

/* Correspondance de recherche dans le nom du centre */
.rk mark{
  background:rgba(255,138,61,.26);color:var(--fg);
  border-radius:3px;padding:0 1px;
}

/* Centre sans activité aujourd'hui : présent (on doit pouvoir le trouver),
   mais en retrait. */
.rk-row.is-zero .rk-nom{color:var(--fg-soft);font-weight:500}

.cl-foot{flex-wrap:wrap}
.cl-plus{padding:.5rem 1.1rem;font-size:.82rem}

.cl-note{max-width:900px;margin:1rem 0 0;font-size:.85rem;color:var(--fg-mute)}

@media (max-width:640px){
  .cl-toolbar{padding:.75rem .8rem}
  .cl-search{max-width:none;flex-basis:100%}
  .cl-meta{padding-inline:.8rem}
  .cl-panel .rk-cols,.cl-panel .rk-row{grid-template-columns:2.4rem minmax(0,1fr) 3rem 3.3rem}
}
