@charset "UTF-8";
/* ============================================================================
   LE TOP DU TOP DVD / BLU-RAY - design_handoff_top_du_top
   Charge par functions.php sur la page qui utilise template-best-reviews.php, apres list.css.
   Markup : template-best-reviews.php. Reprend de list.css le fil d'Ariane, l'en-tete (.wpd-arch*), les etoiles
   (.wpd-stars), le support (.wpd-kicker) et la ligne date + etoiles (.wpd-meta--small).
   Variables :root : base.css.
   ========================================================================== */

/* ---------- En-tete : titre et texte a gauche, nombre de titres en bas a droite ---------- */
body .wpd-top .wpd-top-head {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px 24px;
  padding: 16px 0 24px;
  margin-bottom: 24px;
}
body .wpd-top .wpd-top-headtext { display: flex; flex-direction: column; gap: 12px; }
body .wpd-top .wpd-top-count {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #5B6B80;
}

body .wpd-top ol { margin: 0; padding: 0; list-style: none; }
body .wpd-top ol li { margin: 0; padding: 0; }

/* ---------- Podium : rangs 1 a 3 ---------- */
body .wpd-top .wpd-top-podium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
}
body .wpd-top .wpd-top-card { display: flex; flex-direction: column; gap: 12px; }
body .wpd-top .wpd-top-img { position: relative; display: block; aspect-ratio: 3 / 2; background: #E3E9F1; }
body .wpd-top .wpd-top-img img,
body .wpd-top .wpd-top-img .wpd-ph { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
body .wpd-top .wpd-top-rank {
  position: absolute;
  left: 0;
  bottom: 0;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 64px;
  padding: 0 12px;
  background: var(--c-bleu-fonce);
  font-family: var(--f-titre);
  font-size: 38px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
}
body .wpd-top .wpd-top-title {
  font-family: var(--f-titre);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  text-wrap: pretty;
}
body .wpd-top .wpd-top-card .wpd-meta { gap: 12px; }
body .wpd-top .wpd-top-card .wpd-stars { --star: 16px; }
body .wpd-top .wpd-top-card:hover .wpd-top-title,
body .wpd-top .wpd-top-row:hover .wpd-top-name { color: var(--c-bleu); }

/* ---------- Rangs 4 et suivants : deux colonnes sur ordinateur ---------- */
body .wpd-top .wpd-top-rest {
  columns: 2 420px;
  column-gap: 48px;
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid #D3DBE5;
}
body .wpd-top .wpd-top-rest li { break-inside: avoid; border-bottom: 1px solid #E3E8EF; }
body .wpd-top .wpd-top-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
body .wpd-top .wpd-top-num {
  flex: 0 0 40px;
  font-family: var(--f-titre);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  text-align: right;
  color: var(--c-bleu);
}
body .wpd-top .wpd-top-thumb { flex: 0 0 96px; flex-shrink: 0; width: 96px; height: 64px; min-height: 64px; background: #E3E8EF; }
body .wpd-top .wpd-top-thumb img,
body .wpd-top .wpd-top-thumb .wpd-ph { display: block; width: 96px; height: 64px; object-fit: cover; }
body .wpd-top .wpd-top-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
body .wpd-top .wpd-top-name { font-size: 16px; font-weight: 600; line-height: 1.35; text-wrap: pretty; }
body .wpd-top .wpd-top-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: #5B6B80; }
body .wpd-top .wpd-top-support { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
body .wpd-top .wpd-top-sub .wpd-stars { --star: 13px; gap: 1px; }
