/* chrome.css — the public site's frame: tokens, type, header, menu, footer and
   the course advisor. Loaded on every public page, rebuilt or not, so every
   rule is scoped to an sc- class and sets what it needs explicitly (legacy
   pages still carry Bootstrap's reboot underneath).

   Taste rules (Dale): borders not drop shadows, solid-fill active states,
   6px radius on surfaces and controls, 4px on menu rows, nothing hover-only. */

@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/schibsted-grotesk-latin-wght-italic.woff2) format("woff2");
}

:root {
  --sc-ink: #052a2d;
  --sc-text: #233539;
  --sc-muted: #56686d;
  --sc-brand: #007580;
  --sc-brand-strong: #045c64;
  --sc-brand-wash: #e2f0f0;
  --sc-paper: #ffffff;
  --sc-surface: #f2f6f6;
  --sc-line: #d4dfe0;
  --sc-line-strong: #a9bcbf;
  --sc-focus: #019cde;
  --sc-good: #2b7a3b;
  --sc-bad: #b42318;
  --sc-r: 6px;
  --sc-r-sm: 4px;
  --sc-font: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sc-max: 74rem;
  --sc-gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  /* the eight-colour block strip, the brand motif from the original header */
  --sc-strip: linear-gradient(90deg,
    #007580 0 12.5%, #006600 0 25%, #3366cc 0 37.5%, #666699 0 50%,
    #cc9900 0 62.5%, #66cc00 0 75%, #cccccc 0 87.5%, #019cde 0 100%);
}

.sc-wrap {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--sc-max);
  margin-inline: auto;
  padding-inline: var(--sc-gutter);
}

.sc-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
body.sc-adv-open { overflow: hidden; }

.sc-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.sc-skip {
  position: absolute; left: 0.5rem; top: -4rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--sc-ink); color: #fff;
  font: 600 1rem/1.2 var(--sc-font); border-radius: var(--sc-r); text-decoration: none;
}
.sc-skip:focus { top: 0.5rem; }

/* ---------------------------------------------------------------- buttons */

.sc-btn {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0.55rem 1.1rem;
  border: 1px solid var(--sc-brand-strong); border-radius: var(--sc-r);
  background: var(--sc-brand-strong); color: #fff;
  font: 600 1rem/1.2 var(--sc-font); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color 120ms, border-color 120ms, color 120ms;
}
.sc-btn:hover { background: var(--sc-ink); border-color: var(--sc-ink); color: #fff; text-decoration: none; }
.sc-btn--line { background: var(--sc-paper); color: var(--sc-brand-strong); border-color: var(--sc-line-strong); }
.sc-btn--line:hover { background: var(--sc-brand-wash); color: var(--sc-ink); border-color: var(--sc-brand); }
.sc-btn--ghost { background: transparent; color: var(--sc-brand-strong); border-color: transparent; padding-inline: 0.6rem; }
.sc-btn--ghost:hover { background: var(--sc-brand-wash); color: var(--sc-ink); border-color: transparent; }
.sc-btn--small { min-height: 2.25rem; padding: 0.35rem 0.8rem; font-size: 0.9375rem; }
.sc-btn:focus-visible, .sc-nav a:focus-visible, .sc-iconbtn:focus-visible,
.sc-foot a:focus-visible, .sc-adv button:focus-visible, .sc-adv a:focus-visible,
.sc-adv textarea:focus-visible, .sc-adv input:focus-visible {
  outline: 3px solid var(--sc-focus); outline-offset: 2px;
}

/* ---------------------------------------------------------------- header */

.sc-head {
  position: sticky; top: 0; z-index: 40;
  background: var(--sc-paper); border-bottom: 1px solid var(--sc-line);
  font-family: var(--sc-font); color: var(--sc-text);
}
.sc-head::before { content: ""; display: block; height: 4px; background: var(--sc-strip); }

/* the log-in strip: desktop only, above the brand strip. The header is sticky
   at minus the strip's height, so the strip scrolls away and the bar stays. */
.sc-util { display: none; }
@media (min-width: 72rem) {
  .sc-head { display: flex; flex-direction: column; top: -2rem; }
  .sc-head::before { order: 1; }
  .sc-head__bar { order: 2; width: 100%; }
  .sc-util { display: block; order: 0; height: 2rem; background: var(--sc-surface); }
  .sc-util ul { display: flex; justify-content: flex-end; align-items: center; gap: 1.25rem; height: 100%; margin-block: 0; list-style: none; }
  .sc-util a { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--sc-text); font: 500 0.875rem/1 var(--sc-font); text-decoration: none; }
  .sc-util a:hover { color: var(--sc-brand-strong); text-decoration: underline; text-underline-offset: 2px; }
  .sc-util .sc-ico { width: 0.95em; height: 0.95em; }
}
.sc-head__bar { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.sc-brand { display: inline-flex; align-items: center; flex: none; margin-right: auto; }
.sc-brand img { display: block; height: 2.1rem; width: auto; }

/* The bar must always fit its row: logo, six links, Request a quote and (when
   there is room) the phone. Measured 2026-10-17: at 1024 px the old sizes
   pushed Request a quote off-screen, and from 1280 px the row ran 7 px past its
   container with the quote button jammed against the phone number. With
   Learner support and Flagship Programme in the menu (2026-10-19) the row
   needs about 1,130 px, so the full menu starts at 72rem; below that, the
   menu button. */
.sc-nav { display: none; flex: none; }
/* The header row may run wider than the page column: six links, the phone and
   the quote button need ~1,140 px, more than the 74rem column holds. */
.sc-head .sc-wrap { max-width: 84rem; }
.sc-nav ul { display: flex; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.sc-nav a {
  display: block; padding: 0.5rem 0.65rem; border-radius: var(--sc-r-sm);
  color: var(--sc-text); font: 550 0.9875rem/1.2 var(--sc-font); text-decoration: none; white-space: nowrap;
}
.sc-nav a:hover { background: var(--sc-surface); color: var(--sc-ink); }
.sc-nav a[aria-current="page"], .sc-nav a.is-active { background: var(--sc-brand-strong); color: #fff; }

.sc-head__tools { display: flex; align-items: center; gap: 0.5rem; }
.sc-head__phone {
  display: none; align-items: center; gap: 0.4rem; padding: 0.5rem 0.4rem;
  color: var(--sc-text); font: 600 0.9875rem/1 var(--sc-font); text-decoration: none; white-space: nowrap;
}
.sc-head__phone:hover { color: var(--sc-brand-strong); }
/* Request a quote sits in the bar at every width, beside the menu button on
   smaller screens: website quotes fell from about 19 a month to three in two
   months once it left the live header (2026-10). */
.sc-head__quote { padding: 0.4rem 0.75rem; font-size: 0.9375rem; }
@media (max-width: 30rem) {
  .sc-head__bar { gap: 0.5rem; }
  .sc-brand img { height: auto; max-width: 36vw; }
  .sc-head__quote { padding: 0.4rem 0.6rem; font-size: 0.875rem; }
  .sc-head__menu { padding: 0; }
  .sc-head__menu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 22.5rem) {
  .sc-head .sc-head__bar { gap: 0.4rem; padding-inline: 0.75rem; }
  .sc-brand img { max-width: 32vw; }
  .sc-head__quote { padding: 0.35rem 0.5rem; font-size: 0.8125rem; }
}

.sc-iconbtn {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.7rem;
  border: 1px solid var(--sc-line-strong); border-radius: var(--sc-r);
  background: var(--sc-paper); color: var(--sc-ink);
  font: 600 0.9375rem/1 var(--sc-font); cursor: pointer;
}
.sc-iconbtn:hover { background: var(--sc-surface); }
.sc-iconbtn[aria-expanded="true"] { background: var(--sc-ink); border-color: var(--sc-ink); color: #fff; }

.sc-head__tools { flex: none; }
@media (min-width: 72rem) {
  .sc-nav { display: block; }
  .sc-head__menu { display: none; }
  .sc-head__quote { padding: 0.55rem 1.1rem; font-size: 1rem; }
  .sc-head__bar { gap: 0.75rem; }
  .sc-brand img { height: 1.8rem; }
  .sc-nav a { padding: 0.5rem 0.5rem; font-size: 0.9375rem; }
}
@media (min-width: 80rem) {
  .sc-head__bar { gap: 1rem; }
  .sc-brand img { height: 2.1rem; }
  .sc-nav a { padding: 0.5rem 0.6rem; font-size: 0.9875rem; }
}
@media (min-width: 90rem) {
  .sc-head__phone { display: inline-flex; }
}

/* the menu: a sheet under the header, opened by tap, closed by tap / Escape */
.sc-menu {
  position: fixed; inset: calc(4rem + 5px) 0 0 0; z-index: 39;
  overflow-y: auto; background: var(--sc-paper);
  border-top: 1px solid var(--sc-line);
  font-family: var(--sc-font); color: var(--sc-text);
}
.sc-menu[hidden] { display: none; }
.sc-menu__inner { padding-block: 1rem 2.5rem; display: grid; gap: 1.5rem; }
.sc-menu__logins { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 0.6rem; margin: -1rem 0 0; padding: 0; list-style: none; border-bottom: 1px solid var(--sc-line); }
.sc-menu__logins a {
  display: inline-flex; align-items: center; gap: 0.3rem; min-height: 2.75rem;
  color: var(--sc-text); font: 500 0.875rem/1 var(--sc-font); text-decoration: none;
}
.sc-menu__logins a:hover { color: var(--sc-brand-strong); text-decoration: underline; text-underline-offset: 2px; }
.sc-menu__logins .sc-ico { width: 0.95em; height: 0.95em; }
.sc-menu__main { display: grid; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.sc-menu__main a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 0.75rem; border-radius: var(--sc-r-sm);
  color: var(--sc-ink); font: 650 1.25rem/1.2 var(--sc-font); text-decoration: none;
}
.sc-menu__main a:hover { background: var(--sc-surface); }
.sc-menu__main a[aria-current="page"] { background: var(--sc-brand-strong); color: #fff; }
.sc-menu__main small { display: block; margin-top: 0.2rem; font-weight: 450; font-size: 0.875rem; color: var(--sc-muted); }
.sc-menu__main a[aria-current="page"] small { color: rgba(255,255,255,0.8); }
.sc-menu__cta { display: grid; gap: 0.6rem; }
.sc-menu__cta .sc-btn { width: 100%; }
.sc-menu__more { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin: 0; padding: 0; list-style: none; }
.sc-menu__more a { color: var(--sc-muted); font: 500 0.9375rem/1.8 var(--sc-font); }
@media (min-width: 72rem) { .sc-menu { display: none !important; } }
body.sc-menu-open { overflow: hidden; }

/* section subnav (legacy section pages: About, Venues) */
.sc-subnav { border-bottom: 1px solid var(--sc-line); background: var(--sc-surface); font-family: var(--sc-font); }
.sc-subnav__inner { display: flex; gap: 0.25rem; overflow-x: auto; padding-block: 0.4rem; scrollbar-width: none; }
.sc-subnav a {
  flex: none; padding: 0.45rem 0.7rem; border-radius: var(--sc-r-sm);
  color: var(--sc-text); font: 500 0.9375rem/1.2 var(--sc-font); text-decoration: none; white-space: nowrap;
}
.sc-subnav a:hover { background: var(--sc-paper); }
.sc-subnav a[aria-current="page"] { background: var(--sc-ink); color: #fff; }

/* ---------------------------------------------------------------- footer */

.sc-foot {
  margin-top: 0; background: var(--sc-ink); color: #cfdcdd;
  font: 400 0.9375rem/1.55 var(--sc-font);
}
.sc-foot::before { content: ""; display: block; height: 4px; background: var(--sc-strip); }
.sc-foot a { color: #fff; text-decoration: none; }
.sc-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sc-foot__top { display: grid; gap: 2rem; padding-block: 2.75rem 2rem; }
.sc-foot__brand img { display: block; height: 2rem; width: auto; margin-bottom: 1rem; }
.sc-foot__brand p { margin: 0 0 1rem; max-width: 30rem; }
.sc-foot__contact { display: grid; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.sc-foot__contact a { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.sc-foot h2 { margin: 0 0 0.6rem; color: #fff; font: 650 0.9375rem/1.3 var(--sc-font); letter-spacing: 0; text-transform: none; }
.sc-foot ul.sc-foot__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.sc-foot ul.sc-foot__links a { color: #cfdcdd; }
.sc-foot ul.sc-foot__links a:hover { color: #fff; }
.sc-foot__legal { border-top: 1px solid rgba(255,255,255,0.14); }
.sc-foot__legal .sc-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1rem 1.25rem; font-size: 0.875rem; }
.sc-foot__legal nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.sc-foot__legal a { color: #cfdcdd; }
@media (min-width: 48rem) {
  .sc-foot__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------------------------------------------------------------- course advisor */

/* The colour strip's blue in a white ring, Dale's pick of four (2026-10-20):
   in ink it vanished into the footer, which is ink too (Debbie); blue stands
   apart from the all-teal site and the ring holds its edge on the footer.
   White text on it is 5.3:1. The outer 1px is a second ring, not a shadow. */
.sc-advlaunch {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 45;
  display: inline-flex; align-items: center; gap: 0.55rem;
  min-height: 3rem; padding: 0 1.1rem 0 0.95rem;
  border: 2px solid #fff; border-radius: 999px;
  background: #3366cc; color: #fff;
  box-shadow: 0 0 0 1px #3366cc;
  font: 650 1rem/1 var(--sc-font); cursor: pointer;
}
@media (max-width: 29.99rem) { .sc-advlaunch span { font-size: 0; } .sc-advlaunch span::after { content: "Advisor"; font-size: 1rem; } }
.sc-advlaunch:hover { background: #2952a3; box-shadow: 0 0 0 1px #2952a3; }
/* Room under the footer's last row, so the button never sits on its links. */
.sc-foot__legal .sc-wrap { padding-bottom: 4.75rem; }
.sc-advlaunch:focus-visible { outline: 3px solid var(--sc-focus); outline-offset: 3px; }
.sc-advlaunch[hidden], .has-livechat .sc-advlaunch { display: none; }

.sc-advpanel {
  position: fixed; z-index: 50; inset: 0;
  display: flex; flex-direction: column;
  background: var(--sc-paper); color: var(--sc-text);
  font: 400 1rem/1.5 var(--sc-font);
}
.sc-advpanel[hidden] { display: none; }
@media (min-width: 48rem) {
  .sc-advpanel {
    inset: auto 1rem 1rem auto; width: 26.5rem; height: min(40rem, calc(100vh - 2rem));
    border: 1px solid var(--sc-line-strong); border-radius: var(--sc-r);
    box-shadow: 0 16px 40px rgba(5, 42, 45, 0.2);
  }
}
.sc-advpanel__head {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.85rem 0.85rem 0.75rem 1rem; border-bottom: 1px solid var(--sc-line);
}
.sc-advpanel__head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--sc-strip); border-radius: var(--sc-r) var(--sc-r) 0 0; }
.sc-advpanel__title { flex: 1; margin: 0.15rem 0 0; }
.sc-advpanel__title strong { display: block; color: var(--sc-ink); font-size: 1.0625rem; font-weight: 700; }
.sc-advpanel__title span { display: block; color: var(--sc-muted); font-size: 0.8125rem; line-height: 1.35; }
.sc-advpanel__tools { flex: none; }
.sc-advpanel__tools[hidden] { display: none; }

/* the conversation itself: used in the panel and inline on the home page */
.sc-adv { display: flex; flex-direction: column; min-height: 0; flex: 1; font-family: var(--sc-font); }
.sc-adv__log {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.9rem;
  overscroll-behavior: contain;
}
.sc-adv__log:empty { display: none; }
.sc-adv__bar { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.35rem 0.4rem 0.35rem 1.1rem; border-bottom: 1px solid var(--sc-line); }
.sc-adv__bar[hidden] { display: none; }
.sc-adv__bar strong { color: var(--sc-ink); font-size: 0.9375rem; font-weight: 700; }
.sc-adv__reset { padding-inline: 0.6rem; }
.sc-msg { max-width: 92%; font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.sc-msg p { margin: 0 0 0.6rem; }
.sc-msg p:last-child, .sc-msg ul:last-child, .sc-msg ol:last-child { margin-bottom: 0; }
.sc-msg ul, .sc-msg ol { margin: 0 0 0.6rem; padding-left: 1.2rem; }
.sc-msg li { margin: 0.15rem 0; }
.sc-msg a { color: var(--sc-brand-strong); text-decoration: underline; text-underline-offset: 2px; }
.sc-msg--me {
  align-self: flex-end; padding: 0.6rem 0.85rem;
  border-radius: var(--sc-r); background: var(--sc-brand-strong); color: #fff;
}
.sc-msg--bot { align-self: flex-start; color: var(--sc-text); }
.sc-msg--note { align-self: stretch; max-width: none; padding: 0.7rem 0.85rem; border: 1px solid var(--sc-line); border-radius: var(--sc-r); background: var(--sc-surface); font-size: 0.9375rem; }
.sc-msg--error { color: var(--sc-bad); }
.sc-typing { display: inline-flex; gap: 0.3rem; padding: 0.4rem 0; }
.sc-typing i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--sc-line-strong); animation: sc-dot 1s infinite ease-in-out; }
.sc-typing i:nth-child(2) { animation-delay: 0.15s; }
.sc-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes sc-dot { 0%, 80%, 100% { opacity: 0.35; } 40% { opacity: 1; } }

/* course cards the advisor recommends */
.sc-advcards { display: grid; gap: 0.5rem; align-self: stretch; }
.sc-advcard {
  display: grid; gap: 0.2rem; padding: 0.7rem 0.85rem 0.75rem;
  border: 1px solid var(--sc-line); border-left: 4px solid var(--sc-topic, var(--sc-brand)); border-radius: var(--sc-r);
  background: var(--sc-paper); color: var(--sc-text); text-decoration: none;
}
.sc-advcard:hover { border-color: var(--sc-line-strong); border-left-color: var(--sc-topic, var(--sc-brand)); background: var(--sc-surface); }
.sc-advcard strong { color: var(--sc-ink); font-weight: 650; line-height: 1.3; }
.sc-advcard span { color: var(--sc-muted); font-size: 0.875rem; }

.sc-adv__replies { display: flex; flex-wrap: wrap; gap: 0.4rem; align-self: stretch; }
.sc-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  min-height: 2.5rem; padding: 0.45rem 0.8rem;
  border: 1px solid var(--sc-line-strong); border-radius: 999px;
  background: var(--sc-paper); color: var(--sc-ink);
  font: 500 0.9375rem/1.25 var(--sc-font); text-align: left; cursor: pointer;
}
.sc-chip:hover { border-color: var(--sc-brand); background: var(--sc-brand-wash); }
.sc-chip i { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 2px; background: var(--sc-topic, var(--sc-brand)); }

.sc-adv__form { display: flex; gap: 0.5rem; align-items: flex-end; padding: 0.75rem 1rem 0.5rem; border-top: 1px solid var(--sc-line); }
.sc-adv__form textarea {
  box-sizing: border-box; flex: 1; min-height: 2.9rem; max-height: 9rem; resize: none;
  padding: 0.65rem 0.8rem; border: 1px solid var(--sc-line-strong); border-radius: var(--sc-r);
  background: var(--sc-paper); color: var(--sc-ink); font: 400 1rem/1.4 var(--sc-font);
}
.sc-adv__form textarea::placeholder { color: #7a8b8f; }
.sc-adv__send {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 2.9rem; height: 2.9rem; border: 0; border-radius: var(--sc-r);
  background: var(--sc-brand-strong); color: #fff; cursor: pointer;
}
.sc-adv__send:hover { background: var(--sc-ink); }
.sc-adv__send:disabled { background: var(--sc-line-strong); cursor: default; }
.sc-adv__human {
  margin: 0; padding: 0 1rem 0.8rem; color: var(--sc-muted); font-size: 0.8125rem; line-height: 1.5;
}
.sc-adv__human a { color: var(--sc-brand-strong); font-weight: 600; }

/* the hand-over form */
.sc-lead { display: grid; gap: 0.65rem; align-self: stretch; padding: 0.9rem; border: 1px solid var(--sc-line-strong); border-radius: var(--sc-r); background: var(--sc-surface); }
.sc-lead h3 { margin: 0; color: var(--sc-ink); font: 700 1rem/1.3 var(--sc-font); }
.sc-lead p { margin: 0; font-size: 0.9375rem; }
.sc-lead label { display: grid; gap: 0.25rem; font: 600 0.875rem/1.3 var(--sc-font); color: var(--sc-ink); }
.sc-lead label span { font-weight: 400; color: var(--sc-muted); }
.sc-lead input, .sc-lead textarea {
  box-sizing: border-box; width: 100%; min-height: 2.75rem; padding: 0.55rem 0.7rem;
  border: 1px solid var(--sc-line-strong); border-radius: var(--sc-r); background: #fff;
  font: 400 1rem/1.3 var(--sc-font); color: var(--sc-ink);
}
.sc-lead textarea { min-height: 4.5rem; resize: vertical; }
.sc-lead__row { display: grid; gap: 0.65rem; }
@media (min-width: 30rem) { .sc-lead__row { grid-template-columns: 1fr 1fr; } }
/* The spam trap is display:none: an off-screen field gets filled by browser autofill (October 2026). */
.sc-lead__hp { display: none !important; }
.sc-lead__err { color: var(--sc-bad); font-size: 0.875rem; }
.sc-lead__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  .sc-typing i { animation: none; opacity: 0.7; }
  .sc-btn, .sc-chip { transition: none; }
}

/* "Training on this topic" at the foot of a blog post (blog_post.php, a page
   that still runs on the old stylesheet, so it lives in the frame's file) */
.sc-related { display: grid; gap: 0.6rem; font-family: var(--sc-font); }
@media (min-width: 48rem) { .sc-related { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sc-related .sc-advcard { font-size: 1rem; }
.sc-related__more { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0 0; }
