.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
}
.guide-tab {
  min-height: 2.75rem;
  padding: .5rem .8rem;
  border: 1px solid var(--line);
  border-radius: .55rem;
  background: var(--wash);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  text-align: left;
  cursor: pointer;
}
.guide-tab:hover { border-color: var(--accent); }
.guide-tab[aria-selected="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.guide-panel[hidden] { display: none; }
.guide-panel { line-height: 1.6; }
.guide-preview-note { color: var(--muted); }
.guide-preview-panel {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--wash);
}
.guide-preview-panel h3 { margin: 0; font-size: 1.12rem; }
.guide-preview-panel ol { margin: .45rem 0 0; padding-inline-start: 1.4rem; }
.guide-lead {
  display: grid;
  grid-template-columns: 1fr .95fr;
  min-height: 14rem;
  overflow: hidden;
  border-radius: .85rem;
  color: var(--white);
  background: #11384d;
}
.guide-lead-copy {
  align-self: center;
  padding: clamp(1.2rem, 3.5vw, 2.3rem);
}
.guide-lead-copy h3 {
  margin: .3rem 0 .55rem;
  font: 400 clamp(1.85rem, 3.9vw, 3.15rem) / 1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -.032em;
}
.guide-range {
  color: #aee4f4;
  font-size: .9rem;
  font-weight: 700;
}
.guide-lead img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}
.guide-media {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: stretch;
  gap: .85rem;
  margin: 1rem 0;
}
.guide-media-card, .guide-lesson, .guide-practice {
  min-width: 0;
  padding: clamp(.85rem, 2vw, 1.2rem);
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--white);
}
.guide-media-card h4, .guide-lessons-heading { font-size: 1.15rem; }
.guide-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: .6rem;
  border-radius: .45rem;
  background: #0e2937;
}
.guide-transcript { margin-top: .6rem; font-size: .925rem; color: var(--muted); }
.guide-transcript summary, .guide-group-sources summary { cursor: pointer; font-weight: 650; color: var(--accent); }
.guide-poster { display: flex; flex-direction: column; align-items: start; }
.guide-poster-link {
  display: grid;
  justify-items: center;
  width: 100%;
  margin: .65rem 0;
  padding: .6rem;
  border-radius: .45rem;
  background: var(--wash);
}
.guide-poster img {
  display: block;
  width: auto;
  height: 15rem;
  max-width: 100%;
  object-fit: contain;
}
.guide-download {
  display: inline-block;
  margin-top: auto;
  color: var(--accent);
  font-size: .925rem;
  font-weight: 700;
  text-underline-offset: .2em;
}
.guide-error { color: #882a24; }
.guide-error:empty { display: none; }
.guide-practice { margin: 1rem 0; background: var(--blue-wash); }
.guide-practice h4 { margin-bottom: .2rem; }
.guide-lessons-heading { margin: 1.35rem 0 .55rem; }
.guide-lessons { display: grid; gap: .5rem; }
.guide-lesson summary { cursor: pointer; font-weight: 700; }
.guide-lesson-number {
  margin-right: .7rem;
  color: var(--accent);
  font-size: .9rem;
  white-space: nowrap;
}
.guide-lesson-text { margin-top: .7rem; }
.guide-lesson-text h5 { margin: .7rem 0 .15rem; font-size: 1rem; }
.guide-panel ul { margin: .4rem 0 .65rem; padding-left: 1.25rem; }
.guide-panel li + li { margin-top: .35rem; }
.guide-sources a { color: var(--accent); text-underline-offset: .16em; overflow-wrap: anywhere; }
.guide-group-sources { margin-top: .8rem; }

@media (max-width: 45rem) {
  .guide-lead, .guide-media { grid-template-columns: minmax(0, 1fr); }
  .guide-lead img { aspect-ratio: 2.2; height: auto; }
  .guide-poster img { height: 13rem; }
}
