/* Deadline guides (/guides/). Builds on site.css: colours, type and the dark
   hero band come from there. */
.guide-page { padding: 0; }
.guide-hero .lede { max-width: 44rem; }
.guide-crumbs { margin: 0; font: 500 var(--step--1)/1.4 var(--mono); }
.guide-crumbs a { color: var(--night-ink); }
.guide-key { margin: 0; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.guide-key span { font: 500 0.8125rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.guide-key time { font-weight: 700; font-size: var(--step-1); }

.guide-page > .guide-wrap {
  padding-block: clamp(2rem, 5vw, 3rem) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: 2rem clamp(1.5rem, 4vw, 3.5rem); align-items: start;
}
.guide-body { min-width: 0; max-width: 46rem; }
.guide-body h2 { scroll-margin-top: 5.5rem; }
.guide-note {
  margin: 0 0 1.5rem; padding: 0.9rem 1rem; border: 1px solid var(--line); border-left: 4px solid var(--seal);
  border-radius: var(--radius-sm); background: var(--surface); color: var(--muted);
}

.guide-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.guide-table caption { text-align: left; color: var(--muted); padding-bottom: 0.75rem; caption-side: top; }
.guide-table th, .guide-table td { text-align: left; vertical-align: top; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); }
.guide-table thead th { font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.guide-table tbody th { font-weight: 650; }
.guide-table td { color: var(--muted); }
.guide-table td:first-of-type { color: var(--ink); }
.guide-table tbody tr:last-child > * { border-bottom: 0; }
.guide-table time { white-space: nowrap; }
.guide-body .table-scroll { margin-bottom: 1.5rem; }
.guide-sources { overflow-wrap: anywhere; }

.guide-side { display: grid; gap: 1.25rem; position: sticky; top: 5.5rem; }
.guide-cta { display: grid; gap: 0.75rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.guide-cta h2 { margin: 0; font-size: var(--step-1); line-height: 1.25; }
.guide-cta p { margin: 0; }
.guide-cta .fine { color: var(--muted); font-size: var(--step--1); }
.guide-cta .link-arrow { color: var(--seal); }
.guide-langs h2 { font: 600 0.8125rem/1 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 0.5rem; }
.guide-langs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.guide-langs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.guide-side > p { margin: 0; }
.guide-side > p .link-arrow { color: var(--seal); }

.guide-cards { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.guide-card { display: grid; gap: 0.5rem; }
.guide-card h2 { margin: 0; font-size: var(--step-1); line-height: 1.25; }
.guide-card p { margin: 0; }
.guide-card .guide-key time { font-size: 1rem; }

@media (max-width: 64rem) {
  .guide-page > .guide-wrap { grid-template-columns: minmax(0, 1fr); }
  .guide-side { position: static; }
}
