/* ==========================================================
   Redlina — Page index des articles (redlina.com/articles/)
   Styles mobile <768px — liste statique groupée par cluster
   Références de taille/marges : article-m.css
   ========================================================== */

/* ---------- HERO ---------- */
.ridx-hero{
  max-width: 100%;
  margin: 100px auto 40px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.ridx-hero h1{
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: 28px;
  line-height: 1.25;
}

.ridx-hero p{
  font-size: 16px;
  line-height: 1.55;
  color: var(--redlina-black);
  max-width: 100%;
  margin: 0;
}

/* ---------- SECTIONS PAR CLUSTER ---------- */
.ridx-clusters{
  max-width: 100%;
  margin: 0 auto;
  padding: 0 20px 80px;
  box-sizing: border-box;
}

.ridx-cluster{
  padding: 28px 0;
  scroll-margin-top: 16px;
}

.ridx-cluster-h2{
  display: flex;
  align-items: baseline;
  gap: 5px;
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 16px;
}

.ridx-list{
  list-style: none;
  margin: 0;
  padding: 0;
}

.ridx-link{
  display: block;
  padding: 9px 0;
  font-size: 15px;
  line-height: 1.3;
  color: var(--redlina-black);
  text-decoration: none;
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.ridx-link:active{
  text-decoration: none;
  transform: scale(1.02);
}

.ridx-link:focus-visible{
  outline: 2px solid var(--rdl-red);
  outline-offset: 2px;
}