/**
 * @file
 * Zone 6 : à la une — fil « En continu », article maître, plus consultés.
 */

.hero {
  padding: 30px 0 42px;
}

/* ============================================================
   Colonne gauche — fil « En continu »
   ============================================================ */
.stream {
  padding: 18px;
  border: var(--ccd-rule);
  border-top: 3px solid var(--ccd-red);
  background: var(--ccd-white);
}

.stream h3,
.stream h2 {
  margin-bottom: 4px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stream h3 .pulse,
.stream h2 .pulse {
  display: inline-block;
  margin-right: 7px;
}

.stream ol,
.stream ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.stream li {
  padding: 13px 0;
  border-top: var(--ccd-rule);
}

.stream li:first-child {
  padding-top: 4px;
  border-top: 0;
}

.stream time {
  display: block;
  margin-bottom: 4px;
  color: var(--ccd-red);
  font-family: var(--ccd-font-display);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.stream h4 {
  font-family: var(--ccd-font-text);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.stream__all {
  display: block;
  margin-top: 16px;
  padding: 10px;
  background: var(--ccd-grey-050);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stream__all:hover {
  background: var(--ccd-black);
  color: #fff;
}

/* ============================================================
   Colonne centrale — article maître (view mode « lead »)
   ============================================================ */
.lead {
  border: var(--ccd-rule);
  background: var(--ccd-white);
}

.lead .teaser__media img,
.lead .ph {
  aspect-ratio: 16 / 10;
}

.lead__body {
  padding: 24px;
}

.lead h2 {
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.04;
}

.lead__summary {
  margin-top: 14px;
  color: var(--ccd-grey-600);
  font-family: var(--ccd-font-serif);
  font-size: 16.5px;
  line-height: 1.6;
}

/* Les deux articles secondaires sont décrits dans
   css/components/lead-carousel.css, avec le carrousel qu'ils accompagnent. */

/* ============================================================
   Colonne droite — les plus consultés (view mode « rank »)
   ============================================================ */
.ranked {
  padding: 18px;
  border: var(--ccd-rule);
  background: var(--ccd-white);
}

.ranked .sechead {
  margin-bottom: 14px;
  padding-bottom: 10px;
}

.ranked .sechead h2 {
  font-size: 17px;
}

.ranked ol,
.ranked .item-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ccd-rank;
}

.ranked li {
  display: flex;
  gap: 13px;
  padding: 14px 0;
  border-top: var(--ccd-rule);
  counter-increment: ccd-rank;
}

.ranked li:first-child {
  padding-top: 2px;
  border-top: 0;
}

.ranked li::before {
  flex: none;
  width: 34px;
  color: var(--ccd-grey-200);
  font-family: var(--ccd-font-display);
  font-size: 26px;
  font-weight: 900;
  line-height: 0.9;
  content: counter(ccd-rank, decimal-leading-zero);
}

.ranked li:hover::before {
  color: var(--ccd-red);
}

.ranked h4 {
  font-family: var(--ccd-font-text);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.ranked .ad-slot {
  height: 250px;
  margin-top: 18px;
}
