/* ==========================================================================
   Photon Academy cheatsheet topic template 2026 (the "Mix" resource topic page).
   Used by /resources/<subject>/<topic>/ (70 pages). Written by tools/site2026_topic.py; behaviour in
   js/site-2026-topic.js. Tokens, .s26-wrap, .s26-btn and the shell live in site-2026.css; everything here is
   prefixed tp- or scoped to <main class="tp-main"> so it cannot reach the header, the footer or another page.
   The article keeps the generator's own class names (formula-row, callout, deriv-table, worked-example,
   faq-block ...); the old inline <style> block is gone, so every one of them is restyled below.
   ========================================================================== */
body.tp {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 400 17px/1.62 var(--fu);
  font-kerning: normal;
}
@media (max-width: 599px) {
  body.tp {
    font-size: 16.5px;
  }
}
.tp-main [hidden] {
  display: none !important;
}
:where(.tp-main) img,
:where(.tp-main) svg {
  max-width: 100%;
}
:where(.tp-main) img {
  height: auto;
  display: block;
}
:where(.tp-main) a {
  color: inherit;
}
:where(.tp-main) p {
  margin: 0 0 1em;
  font: inherit;
  color: inherit;
}
:where(.tp-main) ol,
:where(.tp-main) ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:where(.tp-main) h1,
:where(.tp-main) h2,
:where(.tp-main) h3,
:where(.tp-main) h4 {
  margin: 0;
  letter-spacing: normal;
}
.tp-main :focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Masthead ---------- */
.tp-mast {
  padding: clamp(26px, 3.4vw, 50px) 0 clamp(26px, 3vw, 40px);
}
.tp-mast .tp-crumb {
  margin: 0 0 20px;
  font: 500 13.5px/1.5 var(--fu);
  color: var(--ink2);
}
.tp-mast .tp-crumb a {
  color: var(--ink2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.tp-mast .tp-crumb a:hover {
  color: var(--ink);
  text-decoration-color: var(--gold);
}
.tp-mast .tp-crumb span {
  font-size: 0;
}
.tp-mast .tp-crumb span::before {
  content: "\203A";
  font-size: 15px;
  margin: 0 0.5em;
  color: var(--ctl);
}
.tp-mast .tp-rh {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 4px;
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
}
.tp-mast .tp-rh::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.tp-mast h1 {
  margin: 10px 0 clamp(16px, 2vw, 24px);
  max-width: 20em;
  font-family: var(--fd);
  font-weight: 380;
  font-optical-sizing: auto;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}
.tp-mast h1 em {
  font-style: italic;
  font-weight: 360;
  color: var(--goldt);
}
.tp-mast .tp-sub {
  max-width: 38em;
  margin: 0 0 22px;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--ink2);
}
.tp-mast .tp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 0;
  font-size: 15px;
  color: var(--ink);
}
.tp-mast .tp-meta > span {
  padding-right: 18px;
  margin-right: 18px;
  border-right: 1px solid var(--line);
  line-height: 1.3;
}
.tp-mast .tp-meta > span:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}
.tp-mast .tp-meta strong {
  display: block;
  margin: 0 0 3px;
  font: 600 11.5px/1.2 var(--fu);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink2);
}
@media (max-width: 599px) {
  .tp-mast .tp-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
  }
  .tp-mast .tp-meta > span {
    border: 0;
    margin: 0;
    padding: 0;
  }
}

/* ---------- What this page gives you ---------- */
.tp-gives {
  background: var(--chalk);
  border-block: 1px solid var(--line);
  padding: clamp(22px, 2.6vw, 34px) 0 clamp(24px, 3vw, 38px);
}
.tp-gives__lab {
  margin: 0 0 clamp(14px, 1.8vw, 22px);
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
}
.tp-gives__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4.6vw, 72px);
  align-items: start;
}
.tp-gives__h {
  margin: 0 0 8px;
}
.tp-mk {
  font: 600 12px/1.2 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--goldt);
}
.tp-mk::before {
  content: "[";
  margin-right: 1px;
}
.tp-mk::after {
  content: "]";
  margin-left: 1px;
}
.tp-gives__list li {
  border-top: 1px solid var(--line);
}
.tp-gives__list li:last-child {
  border-bottom: 1px solid var(--line);
}
.tp-gives__list a {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 14px;
  padding: 13px 34px 13px 0;
  position: relative;
  min-height: 48px;
  text-decoration: none;
}
.tp-gives__list a::after {
  content: "\2192";
  position: absolute;
  right: 4px;
  top: 13px;
  color: var(--goldt);
  transition: transform 0.15s;
}
.tp-gives__list a:hover::after {
  transform: translateX(4px);
}
.tp-gives__list strong,
.tp-pdf strong {
  font: 600 16.5px/1.35 var(--fu);
  color: var(--ink);
}
.tp-gives__list a:hover strong {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.tp-gives__list span {
  flex-basis: 100%;
  margin-top: 2px;
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--ink2);
}
.tp-pdf {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s;
}
.tp-pdf:hover {
  border-color: var(--ink);
}
.tp-pdf img {
  flex: none;
  width: 84px;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
}
.tp-pdf__t {
  display: block;
  min-width: 0;
}
.tp-pdf__t strong {
  display: block;
  margin-bottom: 2px;
}
.tp-pdf__t span {
  display: block;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink2);
}
@media (max-width: 899px) {
  .tp-gives__cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

/* ---------- Layout: article and sticky side column ---------- */
.tp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(36px, 5vw, 76px);
  align-items: start;
  padding-block: clamp(34px, 4.4vw, 62px) clamp(34px, 4vw, 56px);
}
.tp-body {
  min-width: 0;
  max-width: 830px;
}
.tp-side {
  position: sticky;
  top: calc(var(--s26-hdr) + 24px);
  align-self: start;
}
.tp-toc {
  margin: 0 0 24px;
}
.tp-toc > summary {
  list-style: none;
  cursor: default;
  padding: 0 0 12px;
}
.tp-toc > summary::-webkit-details-marker {
  display: none;
}
.tp-toc h4 {
  margin: 0;
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
}
.tp-toc ol {
  border-left: 1px solid var(--line);
}
@media (min-width: 1024px) {
  /* closed in the markup so a phone never sees it flash open; wide screens open it in the script, and
     browsers that can style the hidden part show it at once */
  .tp-toc::details-content {
    content-visibility: visible;
    display: block;
  }
}
.tp-toc li {
  margin: 0;
}
.tp-toc a {
  display: block;
  margin-left: -1px;
  padding: 7px 4px 7px 16px;
  border-left: 2px solid transparent;
  font: 400 14.5px/1.4 var(--fu);
  color: var(--ink2);
  text-decoration: none;
}
.tp-toc a:hover {
  color: var(--ink);
}
.tp-toc a[aria-current="true"] {
  border-left-color: var(--gold);
  color: var(--ink);
  font-weight: 500;
}
.tp-trial__r {
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink2);
}
.tp-trial .s26-btn {
  width: 100%;
}
@media (max-width: 1023px) {
  .tp-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch; /* the wide-screen rule says start, which lets long maths widen the article past the screen */
    gap: 0;
  }
  .tp-body {
    max-width: none;
  }
  .tp-side {
    display: contents;
  }
  .tp-toc {
    order: -1;
    margin: 0 0 26px;
    border: 1px solid var(--line);
    border-radius: var(--s26-r);
    background: #fff;
  }
  .tp-toc > summary {
    cursor: pointer;
    position: relative;
    padding: 14px 44px 14px 16px;
    min-height: 48px;
  }
  .tp-toc > summary::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    width: 14px;
    height: 14px;
    margin-top: -7px;
    background: linear-gradient(var(--goldt), var(--goldt)) center/100% 2px no-repeat, linear-gradient(var(--goldt), var(--goldt)) center/2px 100% no-repeat;
  }
  .tp-toc[open] > summary::after {
    background: linear-gradient(var(--goldt), var(--goldt)) center/100% 2px no-repeat;
  }
  .tp-toc ol {
    margin: 0 16px 14px;
  }
  .tp-trial {
    order: 1;
    margin: 36px 0 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--s26-r);
    background: var(--chalk);
  }
}

/* ---------- Article ---------- */
.tp-body > p,
.tp-body > ul,
.tp-body > ol {
  max-width: 44em;
}
.tp-body p {
  margin: 0 0 1.05em;
  line-height: 1.68;
  text-wrap: pretty;
}
.tp-body > p:first-child {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.6;
}
.tp-body a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.tp-body a:hover {
  text-decoration-thickness: 3px;
}
.tp-body strong,
.tp-body b {
  font-weight: 600;
  color: var(--ink);
}
.tp-body em {
  color: var(--ink2);
}
.tp-body code {
  padding: 1px 6px;
  border-radius: 2px;
  background: var(--chalk);
  font: 0.92em ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.tp-body h2 {
  margin: clamp(44px, 5.4vw, 72px) 0 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--fd);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.tp-body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.tp-body h3 {
  margin: 30px 0 8px;
  font: 600 18px/1.35 var(--fu);
  letter-spacing: 0;
  color: var(--ink);
}
.tp-body .syl-tag {
  display: inline-block;
  margin-left: 0.7em;
  vertical-align: 0.34em;
  font: 600 12px/1.2 var(--fu);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--goldt);
  white-space: nowrap;
}
.tp-body .syl-tag::before {
  content: "[";
}
.tp-body .syl-tag::after {
  content: "]";
}
.tp-body ul,
.tp-body ol {
  margin: 0 0 1.1em;
  padding-left: 1.35em;
}
.tp-body ul {
  list-style: disc;
}
.tp-body ol {
  list-style: decimal;
}
.tp-body li {
  margin-bottom: 6px;
  padding-left: 0.2em;
  line-height: 1.62;
}
.tp-body li::marker {
  color: var(--goldt);
  font-weight: 600;
}
.tp-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2em 0;
}

/* Formula rows: label left, formula right, hairlines */
.tp-body .formula-row {
  display: grid;
  grid-template-columns: minmax(104px, 190px) minmax(0, 1fr);
  gap: 4px 18px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16.5px;
  color: var(--ink);
}
.tp-body :not(.formula-row) + .formula-row {
  border-top: 1px solid var(--line);
  margin-top: 14px;
}
.tp-body .formula-row + :not(.formula-row) {
  margin-top: 18px;
}
.tp-body .formula-row__label {
  font: 600 12px/1.4 var(--fu);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink2);
}
.tp-body .formula-row > span:last-child {
  position: relative;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
}
@media (max-width: 599px) {
  .tp-body .formula-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Tables */
.tp-tw {
  position: relative; /* makes it the containing block of KaTeX's absolute parts, so they scroll inside it instead of widening the page */
  margin: 18px 0 26px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.tp-body .deriv-table {
  display: table; /* components.css makes .resource-content tables display:block */
  width: 100%;
  max-width: none;
  margin: 0;
  border-collapse: collapse;
  font-size: 15.5px;
  color: var(--ink);
}
.tp-body .deriv-table th {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  font: 600 11.5px/1.3 var(--fu);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink2);
  white-space: nowrap;
}
.tp-body .deriv-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
  color: var(--ink);
}
.tp-body .deriv-table tr:last-child td {
  border-bottom: 0;
}
.tp-body .deriv-table tbody tr:hover td {
  background: var(--chalk);
}

/* Callouts: trap, trick, note */
.tp-body .callout {
  margin: 22px 0;
  padding: 14px 18px 14px 20px;
  border-left: 3px solid var(--ctl);
  border-radius: 0 var(--s26-r) var(--s26-r) 0;
  background: var(--chalk);
  font-size: 16px;
  line-height: 1.62;
  color: var(--ink);
}
.tp-body .callout strong {
  display: block;
  margin: 0 0 4px;
  font: 600 11.5px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tp-body .callout--trap {
  border-left-color: #b3261e;
  background: #fbf1f0;
}
.tp-body .callout--trap strong {
  color: #8e1b14;
}
.tp-body .callout--trick {
  border-left-color: #1e7a4b;
  background: #eff7f2;
}
.tp-body .callout--trick strong {
  color: #14583a;
}
.tp-body .callout--note {
  border-left-color: var(--gold);
  background: #fff8e6;
}
.tp-body .callout--note strong {
  color: var(--goldt);
}

/* Worked example: an exam question with its marks */
.tp-body .worked-example {
  margin: 28px 0;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--s26-r);
  background: #fff;
}
.tp-body .worked-example__title {
  margin: 0 0 10px;
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--goldt);
}
.tp-body .worked-example p {
  max-width: none;
}
.tp-body .worked-example ol {
  margin-bottom: 6px;
}
.tp-body .worked-example li {
  margin-bottom: 10px;
}
.tp-body .worked-example li strong {
  color: var(--goldt);
}
.tp-body .worked-example p[style] {
  margin-top: 14px !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 15px !important;
  color: var(--ink2) !important;
}

/* FAQ */
.tp-body .faq-block {
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.tp-body .faq-block:last-of-type {
  border-bottom: 1px solid var(--line);
}
.tp-body .faq-block summary {
  position: relative;
  display: block;
  padding: 18px 40px 18px 0;
  min-height: 48px;
  list-style: none;
  cursor: pointer;
  font: 500 17.5px/1.4 var(--fu);
  color: var(--ink);
}
.tp-body .faq-block summary::-webkit-details-marker {
  display: none;
}
.tp-body .faq-block summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 25px;
  width: 14px;
  height: 14px;
  background: linear-gradient(var(--goldt), var(--goldt)) center/100% 2px no-repeat, linear-gradient(var(--goldt), var(--goldt)) center/2px 100% no-repeat;
}
.tp-body .faq-block[open] summary::after {
  background: linear-gradient(var(--goldt), var(--goldt)) center/100% 2px no-repeat;
}
.tp-body .faq-block summary:hover {
  color: var(--navy);
}
.tp-body .faq-answer {
  max-width: 40em;
  padding: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.66;
  color: var(--ink2);
}

/* Figures: image diagrams and inline SVG diagrams */
.tp-body .cheatsheet-diagram-wrap {
  display: flex;
  justify-content: center;
  margin: 22px 0 8px;
}
.tp-body .cheatsheet-diagram {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  box-shadow: none;
  background: #fff;
}
.tp-body .cheatsheet-caption {
  display: block;
  margin: 8px 0 22px;
  text-align: center;
  font-size: 14px;
  font-style: italic;
  color: var(--ink2);
}
.tp-body .diagram {
  margin: 24px 0;
  padding: 18px 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: #fff;
  overflow-x: auto;
}
.tp-body .diagram svg {
  display: block;
  width: 100%;
  max-width: 620px;
  height: auto;
  margin: 0 auto;
}
.tp-body .diagram__cap {
  margin: 12px auto 0;
  max-width: 560px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  color: var(--ink2);
}
.tp-body .katex {
  font-size: 1.04em;
}
.tp-body .katex-display {
  position: relative;
  margin: 0.7em 0;
  padding: 4px 0;
  overflow-x: auto;
  overflow-y: hidden;
}

/* Physics: what the exam database says about this topic */
.tp-body .exam-bank {
  margin: 26px 0 8px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--s26-r);
  background: #fff;
}
.tp-body .exam-bank__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 0;
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
}
.tp-body .exam-bank__head svg {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--goldt);
}
.tp-body .exam-bank__body {
  padding: 10px 18px 16px;
}
.tp-body .exam-bank__body > p {
  max-width: none;
  margin: 0 0 8px;
  font: 600 12px/1.4 var(--fu);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink2);
}
.tp-body .exam-bank__tests {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.tp-body .exam-bank__tests span {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: var(--chalk);
  font: 500 12.5px/1.4 var(--fu);
  color: var(--ink);
}
.tp-body .exam-bank__tip {
  position: relative;
  padding: 10px 0 10px 24px;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
}
.tp-body .exam-bank__tip::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 17px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.tp-body .exam-freq {
  display: inline-block;
  margin: 0 2px;
  padding: 1px 6px;
  border: 1px solid var(--goldt);
  border-radius: 2px;
  font: 600 11.5px/1.5 var(--fu);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--goldt);
  vertical-align: 1px;
}

/* ---------- Buttons ---------- */
.tp-main a.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--s26-r);
  font: 600 15.5px/1.25 var(--fu);
  letter-spacing: 0.005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.tp-main a.tp-btn--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tp-main a.tp-btn--ink:hover {
  background: var(--navy);
  border-color: var(--navy);
}
.tp-main a.tp-btn--line {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.tp-main a.tp-btn--line:hover {
  background: var(--ink);
  color: #fff;
}
.tp-main a.tp-btn--paper {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.tp-main a.tp-btn--paper:hover {
  background: var(--chalk);
  border-color: var(--chalk);
}
.tp-main a.tp-btn--ghost {
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
  color: #fff;
}
.tp-main a.tp-btn--ghost:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
@media (max-width: 599px) {
  .tp-body .download-cta__buttons .tp-btn,
  .tp-body .paid-teaser__cta .tp-btn {
    width: 100%;
  }
}

/* ---------- End of article blocks ---------- */
.tp-body .paid-teaser {
  margin: clamp(40px, 5vw, 60px) 0 24px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--s26-r);
  background: var(--ink);
  color: #fff;
}
.tp-body .paid-teaser h3 {
  margin: 0 0 12px;
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.tp-body .paid-teaser p {
  max-width: 40em;
  margin: 0 0 12px;
  color: var(--onnavy);
}
.tp-body .paid-teaser ul {
  max-width: 44em;
  margin: 0 0 6px;
  padding-left: 1.2em;
}
.tp-body .paid-teaser li {
  margin-bottom: 8px;
  color: var(--onnavy);
}
.tp-body .paid-teaser li::marker {
  color: var(--gold);
}
.tp-body .paid-teaser strong {
  color: #fff !important; /* components.css forces gold here */
}
.tp-body .paid-teaser__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.tp-body .download-cta {
  margin: 24px 0;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: var(--chalk);
}
.tp-body .download-cta h3 {
  margin: 0 0 6px;
  font: 400 clamp(21px, 2vw, 26px)/1.2 var(--fd);
  letter-spacing: -0.01em;
}
.tp-body .download-cta p {
  max-width: 36em;
  margin: 0 0 16px;
  color: var(--ink2);
}
.tp-body .download-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Free downloads panel (the AA HL vectors page) */
.tp-body .dl-panel {
  margin: 36px 0;
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  border-radius: var(--s26-r);
  background: var(--chalk);
}
.tp-body .dl-panel__head {
  margin: 0 0 20px;
}
.tp-body .dl-panel__eyebrow {
  display: block;
  margin: 0 0 6px;
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--goldt);
}
.tp-body .dl-panel__head h3 {
  margin: 0 0 8px;
  font: 400 clamp(22px, 2.2vw, 28px)/1.2 var(--fd);
  letter-spacing: -0.01em;
}
.tp-body .dl-panel__head p {
  max-width: 40em;
  margin: 0;
  font-size: 16px;
  color: var(--ink2);
}
.tp-body .dl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.tp-body a.dl-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s;
}
.tp-body a.dl-card:hover {
  border-color: var(--ink);
}
.tp-body .dl-card__tag {
  font: 600 11.5px/1.3 var(--fu);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--goldt);
}
.tp-body .dl-card strong {
  font-size: 17px;
  line-height: 1.3;
}
.tp-body .dl-card__body {
  flex: 1;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink2);
}
.tp-body .dl-card__go {
  margin-top: 4px;
  font-weight: 600;
  color: var(--ink);
}
.tp-body .dl-panel__foot {
  max-width: none;
  margin: 18px 0 0;
  font-size: 15px;
  color: var(--ink2);
}
@media (max-width: 719px) {
  .tp-body .dl-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Previous / next topic, related topics */
.tp-body .topic-pn {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin: 36px 0 8px;
}
.tp-body a.topic-pn__a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: #fff;
  font: 600 15.5px/1.35 var(--fu);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s;
}
.tp-body a.topic-pn__a:hover {
  border-color: var(--ink);
  transform: none;
}
.tp-body .topic-pn__a small {
  font: 600 11.5px/1.3 var(--fu);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--goldt);
}
.tp-body .topic-pn__next {
  text-align: right;
}
.tp-body a.topic-pn__all {
  align-self: center;
  padding: 8px 6px;
  font: 600 14.5px/1.3 var(--fu);
  text-align: center;
  text-decoration-color: var(--gold);
}
@media (max-width: 719px) {
  .tp-body .topic-pn {
    grid-template-columns: 1fr;
  }
  .tp-body .topic-pn__all {
    order: 3;
  }
  .tp-body .topic-pn__next {
    text-align: left;
  }
}
.tp-body .related-strip {
  margin: 30px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.tp-body .related-strip h3 {
  margin: 0 0 12px;
  font: 600 12px/1.3 var(--fu);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink2);
}
.tp-body .related-strip__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tp-body .related-strip__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  font: 500 14.5px/1.3 var(--fu);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s, background-color 0.15s;
}
.tp-body .related-strip__links a:hover {
  border-color: var(--ink);
  background: var(--chalk);
}

/* ---------- More: data booklet and tuition card ---------- */
.tp-more {
  border-top: 1px solid var(--line);
  padding: clamp(28px, 3.4vw, 48px) 0 clamp(40px, 5vw, 72px);
}
.tp-more__in {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s26-gap);
  align-items: start;
}
.tp-more a.tp-doc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: #fff;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.15s;
}
.tp-more a.tp-doc:hover {
  border-color: var(--ink);
}
.tp-more .tp-doc svg {
  flex: none;
  width: 22px !important;
  height: 22px !important;
  color: var(--goldt);
}
.tp-more .tp-doc strong {
  font-weight: 600;
}
.tp-more .tp-doc small {
  font-size: 14px;
  color: var(--ink2);
}
.tp-more .tp-card {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--s26-r);
  background: var(--chalk);
}
.tp-more .tp-card h4 {
  margin: 0 0 8px;
  font: 400 clamp(21px, 2vw, 26px)/1.2 var(--fd);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.tp-more .tp-card p {
  max-width: 34em;
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--ink2);
}
@media (max-width: 799px) {
  .tp-more__in {
    grid-template-columns: minmax(0, 1fr);
  }
  .tp-more .tp-card .tp-btn {
    width: 100%;
  }
}

@media print {
  .tp-side,
  .tp-more,
  .tp-gives {
    display: none !important;
  }
}
