/* ── Generic content pages ─────────────────────────────────────
   Shared shell for News, Webinar and Rookie to Ready. Long-form
   reading and simple card rows, on the light surface.
──────────────────────────────────────────────────────────────── */
.page {
  background: var(--color-bg);
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--gutter) var(--space-3xl);
}

.page__inner {
  max-width: var(--content-width);
  margin: 0 auto;
}
.page__inner--narrow { max-width: 780px; }

.page__eyebrow {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.page__headline {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.page__standfirst {
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 62ch;
  margin-bottom: var(--space-2xl);
}
.page__standfirst a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

/* ── News ──────────────────────────────────────────────────────
   One entry per item, newest first. Entries are long, so each is
   collapsed to its opening by default and opens on click — the
   page carries a year of updates.
──────────────────────────────────────────────────────────────── */
.news-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.news-item {
  background: var(--color-bg);
  border: 1px solid rgba(26,10,20,0.08);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg) var(--space-xl);
}

.news-item__date {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.news-item__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}

.news-item__body {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-secondary);
}
.news-item__body p { margin-bottom: var(--space-md); }
.news-item__body p:last-child { margin-bottom: 0; }
.news-item__body ul,
.news-item__body ol { margin: 0 0 var(--space-md) var(--space-lg); }
.news-item__body ul { list-style: disc; }
.news-item__body ol { list-style: decimal; }
.news-item__body li { margin-bottom: var(--space-sm); }
.news-item__body strong { color: var(--color-text-primary); font-weight: 500; }
.news-item__body a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Collapsed by default; <details> keeps it working without JS */
.news-item__body[data-collapsible] { position: relative; }
.news-item details > summary {
  list-style: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-accent);
  margin-top: var(--space-sm);
}
.news-item details > summary::-webkit-details-marker { display: none; }
.news-item details > summary::after { content: ' →'; }
.news-item details[open] > summary::after { content: ' ↑'; }
.news-item details[open] > summary { margin-bottom: var(--space-md); }

/* ── Card rows (Rookie categories, Webinar agenda) ── */
.page__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
  list-style: none;
}

.page-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-md);
  padding: var(--space-lg);
}
.page-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}
.page-card__body {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* ── Presenter / bio panel ── */
.page__panel {
  background: var(--color-surface);
  border-radius: var(--border-radius-md);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  max-width: 780px;
}
.page__panel h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text-primary);
  margin-bottom: var(--space-md);
}
.page__panel p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}
.page__panel p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .page { padding-top: calc(var(--nav-height) + var(--space-xl)); }
  .news-item { padding: var(--space-lg); }
}

/* ── Rookie to Ready ───────────────────────────────────────────
   Cover sits beside the intro; the desk shot breaks the page
   before the download panel.
──────────────────────────────────────────────────────────────── */
.rookie-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-2xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
}
.rookie-hero__text .page__standfirst { margin-bottom: 0; }

.rookie-hero__cover,
.rookie-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius-md);
}

.rookie-shot {
  max-width: 780px;
  margin: 0 auto var(--space-2xl);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .rookie-hero {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  .rookie-hero__cover { max-width: 260px; }
}
