/* GENERATED from hoa-data-discipline/14-STORY-PAGE.html — do not hand-edit.
   Regenerate: web/scripts/gen_training.py
   Scoped to .panel .panel-body so the story page's generic .teach* names
   cannot reach anything else on the site. */
.panel .panel-body .teach {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
  }
.panel .panel-body .teach { grid-template-rows: auto auto auto auto 1fr auto auto; }
.panel .panel-body .teach-card {
      display: grid;
      grid-row: span 7;
      grid-template-rows: subgrid;
      row-gap: 1.1rem;
    }
.panel .panel-body .teach-list { align-self: start; }
.panel .panel-body .teach-close { margin-top: 0; }
.panel .panel-body .teach-card {
    background: var(--elev-1);
    border: 1px solid var(--line);
    border-top: 3px solid var(--accent);
    border-radius: 26px;
    padding: clamp(1.35rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }
.panel .panel-body .teach-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--line);
  }
.panel .panel-body .teach-icon { flex: none; width: 26px; height: 26px; color: var(--accent); }
.panel .panel-body .teach-icon path,
.panel .panel-body .teach-icon circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
.panel .panel-body .teach-for {
    font-family: var(--mono);
    font-size: var(--step--1);
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--text-3);
    line-height: 1.4;
  }
.panel .panel-body .teach-title {
    margin: 0;
    font-size: var(--step-2);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
  }
.panel .panel-body .teach-format {
    margin: -0.55rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--mono);
    font-size: var(--step--1);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
  }
.panel .panel-body .teach-format svg { flex: none; width: 15px; height: 15px; }
.panel .panel-body .teach-format svg path,
.panel .panel-body .teach-format svg circle {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
.panel .panel-body .teach-lede { margin: 0; color: var(--text-2); line-height: 1.5; }
.panel .panel-body .teach-lede b { color: var(--text); font-weight: 600; }
.panel .panel-body .teach-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.panel .panel-body .teach-list li {
    display: grid;
    grid-template-columns: 1.05rem 1fr;
    gap: 0.6rem;
    color: var(--text-2);
    line-height: 1.45;
  }
.panel .panel-body .teach-list svg { margin-top: 0.24em; width: 1.05rem; height: 1.05rem; }
.panel .panel-body .teach-list svg path {
    fill: none;
    stroke: var(--accent);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
.panel .panel-body .teach-kicker {
    margin: 0;
    color: var(--text-2);
    line-height: 1.5;
  }
.panel .panel-body .teach-close {
    margin: auto 0 0;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line);
    color: var(--accent);
    font-size: var(--step-1);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.01em;
    text-wrap: pretty;
  }

/* one card per tab, so the two-up grid from the story page is dropped */
.panel .panel-body .teach { display: block; }
.panel .panel-body .teach-card { margin: var(--space-6) 0; }

/* The story page's own tokens are scoped to #tabpanel-gap (see gap.css),
   so out here --line, --elev-1 and the --step-* scale do not exist. An
   undefined var invalidates its WHOLE declaration, which is why the card
   rendered with only a top border and no box. Map them to site tokens. */
.panel .panel-body .teach {
  --line: var(--border-soft);
  --elev-1: rgba(255, 255, 255, 0.02);
  --step--1: 0.82rem;
  --step-1: 1.12rem;
  --step-2: 1.4rem;
}
