/* ═══════════════════════════════════════════════
   SOLAR — agenda + recordings pages (generated by bin/build.mjs)
   Agenda follows the approved Duda layout: centred title, teal day
   headings, coral session bars, Time / Title / Presenter rows.
   ═══════════════════════════════════════════════ */

.site-footer { margin-top: clamp(56px, 7vw, 90px); }

/* ═══════════ AGENDA HERO ═══════════ */
.ag-hero { text-align: center; padding-top: clamp(28px, 4vw, 48px); padding-bottom: 8px; }

.ag-dates { font-weight: 700; font-size: 17px; color: rgba(29,68,88,.75); margin-top: 6px; }
.ag-hash { font-weight: 700; font-size: 17px; }
.ag-rec { margin-top: 14px; }
.ag-rec a { color: var(--orange); font-weight: 700; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.ag-rec a span { font-weight: 500; color: rgba(29,68,88,.65); }
.ag-rec a:hover { color: var(--navy); }

/* ═══════════ DAY NAV ═══════════ */
.day-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(218,213,208,.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  margin-top: 22px;
}
.day-nav-inner {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.day-nav-inner::-webkit-scrollbar { display: none; }
.day-pill {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: var(--navy);
  border: 1.5px solid rgba(29,68,88,.22);
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.day-pill:hover { border-color: var(--navy); }
.day-pill.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (max-width: 600px) { .day-nav-inner { justify-content: flex-start; } }

/* ═══════════ SCHEDULE ═══════════ */
.ag-body { padding-top: 8px; }
/* beats the generic `main [id]` offset: the day nav adds ~62px under the header */
main .ag-day,
main .ag-session { scroll-margin-top: calc(var(--header-h) + 76px); }
main .vid { scroll-margin-top: calc(var(--header-h) + 16px); }
.ag-day-h {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(21px, 2.4vw, 27px);
  color: var(--teal);
  margin: clamp(36px, 5vw, 56px) 0 6px;
}
.ag-day-label { color: var(--teal); }
.ag-day-label::before { content: "| "; }

/* column labels, shown once (the original repeated them on every row) */
.ag-cols {
  display: grid;
  grid-template-columns: 170px 1fr 260px;
  gap: 24px;
  padding: 14px 8px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(29,68,88,.5);
}

.ag-rows { list-style: none; }
.ag-row {
  display: grid;
  grid-template-columns: 170px 1fr 260px;
  gap: 24px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.ag-time { font-weight: 600; font-size: 14.5px; color: rgba(29,68,88,.8); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ag-title { font-weight: 700; font-size: 15.5px; line-height: 1.4; }
.ag-sub { display: block; font-weight: 500; margin-top: 2px; }
.ag-pres { font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.ag-row.is-break .ag-title { font-weight: 500; font-style: italic; color: rgba(29,68,88,.7); }
.ag-row.is-theater { background: rgba(255,255,255,.4); }
.ag-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 3px 8px;
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: 2px;
}
.ag-tag-pitch { background: var(--orange); }
.ag-submods p { grid-column: 1 / -1; color: var(--liver); font-weight: 600; font-size: 14.5px; }
.ag-submods { padding-top: 22px; }

/* session bar, coral like the original */
.ag-session { margin-top: 26px; }
.ag-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--liver);
  color: var(--white);
  border-radius: 10px;
  padding: 14px 20px;
}
.ag-bar h3 { font-family: var(--font-body); font-weight: 700; font-size: clamp(16px, 1.7vw, 19px); line-height: 1.3; }
.ag-watch {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  padding: 8px 14px;
  min-height: 40px;
  transition: background .18s var(--ease);
}
.ag-watch:hover { background: rgba(255,255,255,.3); }
.ag-watch svg { width: 14px; height: 14px; }
.ag-mods { color: var(--liver); font-weight: 600; font-size: 14.5px; padding: 12px 8px 4px; }

@media (max-width: 860px) {
  .ag-cols { display: none; }
  .ag-row { grid-template-columns: 1fr; gap: 2px; padding: 14px 4px; }
  .ag-time { font-size: 13px; color: var(--orange); }
  .ag-pres { color: rgba(29,68,88,.75); font-weight: 500; font-size: 14px; margin-top: 2px; }
  .ag-pres:empty { display: none; }
  .ag-bar { flex-direction: column; align-items: flex-start; }
}

/* ═══════════ RECORDINGS ═══════════ */
.vid-hero { text-align: center; padding-top: clamp(28px, 4vw, 48px); }
.vid-intro { color: rgba(29,68,88,.75); margin-top: 8px; }
.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 24px;
  margin-top: clamp(32px, 4vw, 48px);
}
.video-shell { position: relative; aspect-ratio: 16 / 9; background: var(--navy); border-radius: 10px; overflow: hidden; }
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; width: 100%; display: block; }
.video-poster {
  background:
    radial-gradient(120% 90% at 85% 15%, rgba(246,147,32,.35), transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-dk) 100%);
  color: var(--white);
  text-align: left;
  padding: 16px 18px;
}
.vp-num {
  position: absolute; left: 18px; top: 14px;
  font-family: var(--font-round); font-weight: 900; font-size: 15px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
}
.vp-title {
  position: absolute; left: 18px; right: 18px; bottom: 14px;
  font-weight: 700; font-size: 15px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  padding-right: 64px;
}
.vp-play {
  position: absolute; left: 50%; top: 50%;
  width: 60px; height: 60px; margin: -30px 0 0 -30px;
  border-radius: 50%;
  background: var(--orange);
  display: grid; place-items: center;
  transition: transform .2s var(--ease);
}
.vp-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-poster:hover .vp-play { transform: scale(1.08); }
.vp-dur {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(10,24,33,.8);
  color: var(--white);
  font-size: 12.5px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
}
.vid-info { padding-top: 12px; }
.vid-num { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.vid-title { font-family: var(--font-body); font-weight: 700; font-size: 17px; line-height: 1.3; margin-top: 2px; }
.vid-meta { font-size: 14px; color: rgba(29,68,88,.7); margin-top: 4px; }
.vid-meta a { color: var(--navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 980px) { .vid-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vid-grid { grid-template-columns: 1fr; } }
