/* Conservative Iranian - the lecture archive index.
   Loaded after site.css by templates/lecture-index.html.tmpl.

   Everything here is specific to the archive index: the start-here note, the
   per-channel groups, and the two-column lecture card grid. Shared chrome
   lives in site.css. */

/* ---------- start here ---------- */
.start{
  margin:clamp(34px,5vw,48px) 0 0;padding:22px 0;
  border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
.start h2{
  font-family:var(--sans);font-size:11.5px;letter-spacing:.16em;
  text-transform:uppercase;color:var(--gold-deep);margin:0 0 8px;font-weight:600
}
.start p{margin:0;font-size:15px;color:var(--muted);max-width:var(--measure)}
.start strong{color:var(--ivory);font-weight:400}

/* ---------- channel groups ---------- */
.chan{margin:clamp(36px,5.5vw,54px) 0 0}
.chan:first-child{margin-top:clamp(14px,3vw,24px)}
.chan__head{
  display:flex;align-items:center;gap:14px;
  padding:0 0 18px;border-bottom:1px solid var(--line);
}
.chan__mark{
  flex:0 0 auto;width:46px;height:46px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,184,28,.09);border:1px solid var(--line-strong);
  font-family:var(--serif);font-size:15px;letter-spacing:.06em;
  color:var(--gold);
}
.chan__name{
  font-family:var(--serif);font-weight:600;
  font-size:clamp(19px,2.6vw,23px);line-height:1.15;
  color:var(--gold);margin:0;
}
.chan__meta{
  margin:4px 0 0;display:flex;flex-wrap:wrap;
  gap:4px 10px;font-size:12.5px;color:var(--muted);
}
.chan__meta span{font-variant-numeric:tabular-nums}
.chan__meta span + span::before{
  content:"\00B7";margin-right:10px;color:var(--gold-deep);
}
.chan__meta a{color:var(--muted);border-bottom-color:var(--line)}
.chan__meta a:hover{color:var(--gold);border-bottom-color:var(--line-strong)}

/* ---------- lecture grid ---------- */
.lectures{
  list-style:none;margin:0;padding:26px 0 0;
  display:grid;grid-template-columns:1fr 1fr;
  column-gap:28px;row-gap:36px;
}
.lec{position:relative}

/* The card sits ABOVE the title, so a cell without one needs no
   compensation: the title simply becomes the first element. .lec--thumb is
   therefore a STATE HOOK carrying no layout rules, kept because it makes the
   fallback visible in the markup rather than only in the generator. */
.lec__thumb{
  display:block;width:100%;height:auto;
  border-radius:4px;margin:0 0 14px;
}

.lec__title{
  font-family:var(--serif);font-weight:600;
  font-size:clamp(19px,2.2vw,24px);line-height:1.16;
  color:var(--gold);margin:0;
}
.lec__title a{color:inherit;border:0}
/* the whole cell is the tap target, but only the title carries the link */
.lec__title a::after{content:"";position:absolute;inset:0}
.lec:hover .lec__title a{color:var(--gold-lite)}
.lec__title a:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:2px}

.lec__fa{
  font-size:clamp(14px,1.8vw,16px);color:var(--muted);
  margin:7px 0 0;font-weight:400;
}
.lec__desc{
  margin:11px 0 0;font-size:15px;color:#DCD3C2;line-height:1.55;
}
.lec__meta{
  margin:12px 0 0;display:flex;flex-wrap:wrap;
  gap:4px 10px;font-size:12.5px;color:var(--muted);
}
.lec__meta span{font-variant-numeric:tabular-nums}
.lec__meta span + span::before{
  content:"\00B7";margin-right:10px;color:var(--gold-deep);
}

/* ---------- responsive ---------- */
@media (max-width:700px){
  .lectures{grid-template-columns:1fr;row-gap:30px}
}
@media (max-width:560px){
  .lec__desc{font-size:15.5px}
}
