@import url("/public/mobile-family-art/guide-marks.css?v=20261129-bright");

@font-face {
  font-family: "Guide Round Extra";
  src: url("/public/mobile-family-art/fonts/guide-round-extra.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+4E00-9FFF;
}

.family-guide, .family-guide-topics, body:has(.family-guide) :is(.family-topbar, .family-bottom-nav) {
  --guide-label: "Kids Reader Round", "Guide Round Extra", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.family-guide {
  --ink: #263f50;
  --muted: #4c606d;
  --rule: #dce4e8;
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: min(100%, 670px);
  margin: 0 auto;
  padding: 9px clamp(1px, 1.1vw, 7px) 22px;
  color: var(--ink);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
.family-guide::before { content: ""; position: fixed; inset: 0; z-index: -1; background: white; pointer-events: none; }
.family-guide :is(h1, h2, p) { margin: 0; }
.family-guide :is(button, a) { touch-action: manipulation; -webkit-tap-highlight-color: rgba(29, 64, 81, .1); }
.family-guide a { text-decoration: none; }
.family-guide :is(a, button):focus-visible { outline: 3px solid #243f53; outline-offset: 3px; }
.family-guide .family-guide-switch, .family-guide .stage-guide-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  margin-bottom: 10px;
}
.family-guide-heading h1 { color: var(--ink); font: 500 clamp(25px, 7vw, 34px)/1.25 var(--guide-label); }
.family-guide .family-guide-switch button, .family-guide .family-guide-subtle, .stage-guide-nav > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  margin: 0;
  padding: 3px 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #284d62;
  font: 500 13px/1.4 var(--guide-label);
}
.family-guide .family-guide-switch button { flex: none; }
.family-guide .guide-assessment {
  display: flex; align-items: center; gap: 7px; width: 100%; min-height: 46px;
  box-sizing: border-box; margin: 0 0 13px; padding: 9px 12px;
  border: 1px solid #d1e2e8; border-radius: 13px; background: #f1f8fa;
  color: #274657; font: 500 14px/1.45 var(--guide-label); text-align: left;
}
.guide-assessment > svg { flex: none; width: 18px; height: 18px; }
.guide-assessment strong { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; flex: none; font-size: 13px; }
.family-course-shelf + .family-guide-topics { margin-top: 24px; }
.family-guide-chevron { display: inline-block; flex: none; width: 7px; height: 7px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg); }
.family-guide-back > span { font: 24px/.8 Arial, sans-serif; }

.family-guide-stages { display: grid; gap: 8px; }
.family-guide [data-stage="starter"] { --stage-fill: #ff8cc5; }
.family-guide [data-stage="elementary"] { --stage-fill: #ffcf4e; }
.family-guide [data-stage="science"] { --stage-fill: #65cff3; }
.family-guide .family-guide-stage, .family-guide .stage-heading {
  --guide-mark-size: clamp(67px, 20vw, 104px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-sizing: border-box;
  width: 100%;
  min-height: clamp(106px, 27.5vw, 126px);
  margin: 0;
  padding: 15px clamp(14px, 4.3vw, 24px);
  border: 0;
  border-radius: 19px;
  background: var(--stage-fill);
  box-shadow: none;
  color: #1b3040;
  font-family: inherit;
  text-align: left;
}
.family-guide-stage-copy {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 8px;
  align-items: center;
}
.guide-stage-fit { display: contents; }
.guide-stage-age { grid-area: 3/1; font-size: 12px; }
.family-guide-stage-copy > small { grid-area: 3/2; font-size: 11px; font-weight: 600; }
.family-guide-stage-copy > strong {
  grid-area: 1/1/2/-1;
  font: 500 clamp(20px, 5.8vw, 26px)/1.32 var(--guide-label);
}
.guide-stage-ability { grid-area: 2/1/3/-1; font-size: 13px; line-height: 1.4; }
.family-guide-stage > .guide-mark { flex: none; margin-right: 14px; }
.family-guide-stage > .family-guide-chevron {
  position: absolute;
  top: 50%;
  right: 13px;
  margin-top: -4px;
}
.family-guide-topics { margin: 8px 0 20px; }
.family-guide-stages + .family-guide-topics { margin-top: 21px; }
.course-guide-page > .family-guide-topics { margin: 28px 0 0; }
.family-guide-reading-title, .stage-course-group h2 {
  margin: 0 0 9px;
  font: 500 clamp(17px, 4.7vw, 22px)/1.35 var(--guide-label);
}
.guide-topic-podcast .guide-mark { color: #2c5a88; }
.guide-topic-podcast .guide-mark > :is(b, em)::after { background: #d8effe; }
@media (min-width: 821px) {
  .family-guide-reading-boards .family-course-shelf { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.family-guide-detail .stage-heading {
  --guide-mark-size: clamp(67px, 19vw, 92px);
  --stage-paper: #f8ecf2;
  --stage-edge: #e4cdd9;
  isolation: isolate;
  overflow: hidden;
  min-height: 96px;
  margin-bottom: 21px;
  padding-block: 12px;
  border: 1px solid var(--stage-edge);
  background: var(--stage-paper);
  box-shadow: 0 3px 10px rgba(43, 67, 78, .05);
}
.family-guide-detail .stage-heading[data-stage="elementary"] {
  --stage-paper: #faf3df;
  --stage-edge: #e3d6b5;
}
.family-guide-detail .stage-heading[data-stage="science"] {
  --stage-paper: #e8f5fa;
  --stage-edge: #c6dfe9;
}
/* A coloured bookmark underneath the glass gives the blur something to diffuse. */
.family-guide-detail .stage-heading::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: -26px;
  right: clamp(36px, 12%, 73px);
  width: 50px;
  height: 103px;
  /* Paint the notch before blurring so WebKit softens the whole silhouette. */
  background: conic-gradient(from 125deg at 50% 83%, transparent 0 110deg, var(--stage-fill) 110deg);
  filter: blur(5px);
  transform: rotate(-16deg);
  pointer-events: none;
}
.family-guide-detail .stage-heading::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: var(--stage-paper);
  box-shadow: inset 0 1px 1px #fff;
  pointer-events: none;
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .family-guide-detail .stage-heading::after {
    background: rgba(255, 255, 255, .41);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .family-guide-detail .stage-heading::after {
    background: var(--stage-paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
.stage-heading h1 { color: inherit; font-size: clamp(22px, 6.4vw, 29px); }
.stage-heading p { margin-top: 3px; font-size: 13px; font-weight: 550; }
.family-guide-detail .stage-guide-nav { margin-bottom: 5px; }
.stage-course-group + .stage-course-group { margin-top: 19px; }
.stage-course-group h2 { margin-bottom: 3px; }
.stage-course-list .stage-course-row, .stage-course-list .stage-course-open {
  display: flex; align-items: center; gap: 11px; min-width: 0; margin: 0;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  color: var(--ink); font-family: inherit; text-align: left;
}
.stage-course-list .stage-course-row { width: 100%; min-height: 68px; padding: 8px 0; }
.stage-course-list .stage-course-row + .stage-course-row { border-top: 1px solid var(--rule); }
.stage-course-list .stage-course-open { flex: 1; min-height: 48px; padding: 0; }
.stage-course-copy, .family-course-copy { display: grid; gap: 3px; min-width: 0; }
.stage-course-copy { flex: 1; }
.stage-course-copy strong, .family-guide .family-course-copy strong { font: 600 clamp(15px, 4vw, 18px)/1.35 var(--guide-label); overflow-wrap: anywhere; }
.stage-course-copy > span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.stage-course-copy small, .family-course-status.is-owned { color: #20664d; font-size: 12px; }
.stage-course-action {
  display: inline-flex; flex: none; align-items: center; gap: 4px; min-height: 44px;
  padding-inline: 3px; color: #284d62; font: 500 13px/1.4 var(--guide-label);
}
.stage-course-action .family-guide-chevron, .stage-scenes .family-guide-chevron { width: 6px; height: 6px; }
.stage-scenes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.stage-scenes a { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 46px; padding: 4px; border-radius: 10px; background: #fff0f7; color: #58394b; font: 500 13px/1.4 var(--guide-label); text-align: center; }
.family-guide .family-guide-subtle { display: flex; margin: 8px auto 0; }
.family-guide-unavailable { margin: 14px 0; color: var(--muted); }
.guide-course-mark {
  flex: none; display: grid; place-items: center; width: 45px; height: 45px; border-radius: 13px;
  color: #075372; background: #b3ecff;
  font: 750 16px/1 -apple-system, BlinkMacSystemFont, "PingFang SC", sans-serif; letter-spacing: -.035em;
}
.guide-course-mark svg { width: 23px; height: 23px; }
.guide-course-mark > img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.guide-course-mark[data-course="discovery"] { background: #c4affb; color: #48257c; }
.guide-course-mark[data-course="life"] { background: #ffa9d0; color: #762650; }
.family-guide .family-guide-reading-title { margin-bottom: 12px; }
.family-course-shelf { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 12px; }
.family-course-shelf .family-course-tile {
  display: flex; flex-direction: column; align-items: stretch; gap: 7px; min-width: 0; margin: 0; padding: 0;
  border: 0; border-radius: 10px; background: transparent; color: #263f50; box-shadow: none; text-align: left; font: inherit;
}
.family-course-copy { padding-inline: 2px; }
.family-course-title { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.family-course-title .family-guide-chevron { width: 6px; height: 6px; margin-right: 3px; color: #607583; }
.family-course-status { line-height: 1.35; }
.family-course-cover { flex: none; display: block; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 10px; background: #eef3f6; }
.family-course-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.stage-course-row .family-course-cover { width: clamp(60px, 18vw, 86px); border-radius: 6px; }
.stage-science-levels { display: flex; flex-wrap: wrap; gap: 4px 8px; padding-bottom: 6px; border-bottom: 1px solid var(--rule); }
.family-guide .stage-science-levels button { min-height: 44px; padding: 5px 12px; border: 0; border-radius: 10px; background: #eaf4f8; color: #24495a; font: 500 13px/1.4 var(--guide-label); }
.family-course-tile:active .family-course-title { color: #15617a; }
@media (max-width: 820px) {
  body:has(.family-guide), body:has(.family-guide) .family-topbar { background: #fff; }
  body:has(.family-guide) .family-topbar { border-bottom-color: #dce4e8; }
  body:has(.family-guide) :is(.family-brand, .family-products-trigger, .family-bottom-nav button) { font-family: var(--guide-label); font-weight: 500; letter-spacing: 0; }
}
@media (max-width: 360px) {
  .family-guide .family-guide-stage { --guide-mark-size: 59px; padding-inline: 12px; }
  .family-guide-stage-copy { column-gap: 5px; }
  .family-guide-stage-copy > small { font-size: 10px; }
  .family-guide-stage > .guide-mark { margin-right: 12px; }
  .guide-stage-ability, .stage-course-action { font-size: 12px; }
  .family-course-shelf { column-gap: 9px; }
  .stage-course-list .stage-course-row, .stage-course-list .stage-course-open { gap: 7px; }
}
@media (hover: hover) {
  .family-guide :is(.family-guide-stage,.guide-topic-card):hover strong, .stage-course-action:hover { text-decoration: underline; }
}
.family-guide .family-course-tile[data-owned="false"] :is(.family-course-cover, .guide-course-mark) {
  filter: grayscale(.58);
  opacity: .86;
}
.family-guide .family-course-status:not(.is-owned) { color: var(--muted); font-size: 12px; }

/* Illustrated course guide on the site’s light canvas. */
.family-guide-editorial,
.course-guide-page {
  --guide-canvas: #fff;
  --guide-surface: #fffdf8;
  --guide-edge: #e6e2dc;
  --guide-ink: #23282d;
  --guide-muted: #565f69;
  --guide-focus: #8b592e;
}

body:has(.family-guide-editorial, .course-guide-page) { background: #fff; }

.family-guide.family-guide-editorial {
  --ink: var(--guide-ink);
  --muted: var(--guide-muted);
  --rule: var(--guide-edge);
  width: min(100%, 760px);
  padding: 14px clamp(12px, 3.5vw, 30px) 28px;
  color: var(--guide-ink);
}

.family-guide-editorial::before { background: var(--guide-canvas); }

.family-guide-editorial :is(a, button):focus-visible,
.course-guide-page :is(a, button):focus-visible {
  outline: 2px solid var(--guide-focus);
  outline-offset: 3px;
}

.family-guide-editorial .family-guide-switch { margin-bottom: 15px; }
.family-guide-editorial .family-guide-switch h1 {
  font: 760 clamp(22px, 5.9vw, 40px)/1.2 var(--guide-label);
  letter-spacing: -.025em;
}

.family-guide-editorial .family-guide-switch button,
.family-guide-editorial .family-guide-subtle,
.family-guide-editorial .stage-guide-nav > button,
.family-guide-editorial .family-guide-back,
.family-guide-editorial .stage-course-action { color: #465c68; }

.family-guide-editorial .family-guide-switch button {
  max-width: 46%;
  min-height: 40px;
  padding: 4px 8px;
  border: 1px solid var(--guide-edge);
  border-radius: 999px;
  background: #f8f6f1;
  line-height: 1.25;
  text-align: left;
}

.guide-editorial-section-title,
.family-guide-topics h2 {
  margin: 0 0 11px;
  color: inherit;
  font: 750 clamp(18px, 4.9vw, 24px)/1.24 var(--guide-label);
  letter-spacing: -.015em;
}

.guide-editorial-art {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  overflow: hidden;
}

.guide-editorial-art::after {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  content: "";
  pointer-events: none;
}

.family-guide-editorial .guide-assessment {
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  min-height: clamp(166px, 49vw, 256px);
  margin-bottom: 24px;
  padding: clamp(17px, 5vw, 29px);
  overflow: hidden;
  border: 1px solid #f1b93c;
  border-radius: 20px;
  background: #ffcc45;
  color: #241b23;
}

.guide-assessment-picture {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(130deg, #ffe281 8%, #ffc941 61%, #ffa63a);
}

.guide-assessment-picture .library-icon {
  position: absolute;
  right: 12%;
  width: clamp(65px, 20vw, 146px);
  height: auto;
  color: #862e36;
}

.guide-assessment-picture::after {
  inset: 6px 8px;
  background-image: url("/public/guide-editorial/hero.webp");
  background-position: right center;
  background-size: contain;
  mask-image: linear-gradient(90deg, transparent 21%, #000 51%);
}

.family-guide-editorial .guide-assessment::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #ffdd64a8 3%, #ffdd6452 42%, transparent 63%);
  content: "";
}

.guide-assessment-copy {
  display: grid;
  justify-items: start;
  gap: 11px;
  max-width: min(53%, 355px);
}

.guide-assessment-title {
  display: block;
  font: 780 clamp(20px, 5.4vw, 35px)/1.24 var(--guide-label);
  letter-spacing: -.025em;
}

.family-guide-editorial .guide-assessment strong {
  min-height: 36px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: #31242a;
  color: #fff0db;
}

.family-guide-editorial .family-guide-stages { gap: 10px; }

.family-guide-editorial .family-guide-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 33%;
  gap: 0;
  min-height: clamp(88px, 24vw, 114px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--guide-edge);
  border-radius: 15px;
  background: var(--guide-surface);
  color: var(--guide-ink);
}

.family-guide-editorial [data-stage="starter"] { --stage-fill: #edacbf; --stage-art: #fc5426; --stage-x: 0%; }
.family-guide-editorial [data-stage="elementary"] { --stage-fill: #f5d283; --stage-art: #fc439b; --stage-x: 50%; }
.family-guide-editorial [data-stage="science"] { --stage-fill: #91cae3; --stage-art: #65faa3; --stage-x: 100%; }

.family-guide-editorial .family-guide-stage-copy { padding: 11px 19px 11px 12px; }
.family-guide-editorial .family-guide-stage-copy > strong { font-weight: 700; font-size: clamp(17px, 4.9vw, 23px); }
.family-guide-editorial .guide-stage-ability { color: var(--guide-muted); }
.family-guide-editorial .guide-stage-age { color: var(--guide-muted); }
.family-guide-editorial .family-guide-stage-copy > small { color: #24664e; }

.guide-stage-picture {
  align-self: stretch;
  min-height: 79px;
  background: var(--stage-art, #ba9eb9);
}

.guide-stage-picture > .guide-mark { --guide-mark-size: 30px; }

.guide-stage-picture::after,
.guide-topic-picture::after {
  inset: 50% auto auto 50%;
  height: calc(100% - 12px);
  transform: translate(-50%, -50%);
  clip-path: inset(1px);
}

/* Trim only the solid-color top and bottom margins of each illustrated column. */
.guide-stage-picture::after {
  aspect-ratio: 3 / 4;
  background-image: url("/public/guide-editorial/stages.webp");
  background-position: var(--stage-x, 50%) 50%;
  background-size: 300% 150%;
}

.family-guide-editorial .family-guide-stage > .family-guide-chevron {
  right: calc(33% + 8px);
  color: #63727b;
}

.family-guide-editorial .family-guide-stages + .family-guide-topics { margin-top: 27px; }
.family-guide-editorial .family-guide-topics,
.course-guide-page > .family-guide-topics { color: var(--guide-ink); }

.family-guide-topics .family-guide-topic-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.family-guide-topics .guide-topic-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  justify-content: flex-start;
  box-sizing: border-box;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e4e0da;
  border-radius: 15px;
  background: #fffdf8;
  box-shadow: none;
  color: #23282d;
  font-family: inherit;
  text-align: left;
  text-decoration: none;
}

.guide-topic-card.guide-topic-video { --topic-art: #bb88f9; --topic-x: 0%; --topic-y: 0%; }
.guide-topic-card.guide-topic-oral { --topic-art: #51e8c3; --topic-x: 100%; --topic-y: 0%; }
.guide-topic-card.guide-topic-podcast { --topic-art: #fd7fbb; --topic-x: 0%; --topic-y: 100%; }
.guide-topic-card.guide-topic-graded-reading { --topic-art: #fec635; --topic-x: 100%; --topic-y: 100%; }

.guide-topic-picture {
  flex: none;
  width: 100%;
  min-height: 67px;
  aspect-ratio: 4 / 3;
  background: var(--topic-art, #bbabd4);
}

.guide-topic-picture::after {
  aspect-ratio: 1;
  background-image: url("/public/guide-editorial/topics.webp");
  background-position: var(--topic-x, 0%) var(--topic-y, 0%);
  background-size: 200% 200%;
}

.guide-topic-picture > .guide-mark { --guide-mark-size: clamp(43px, 13vw, 72px); }
.guide-topic-copy {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-height: 48px;
  padding: 7px 10px;
}
.guide-topic-label { display: grid; flex: 1; min-width: 0; gap: 2px; }
.guide-topic-label strong { font: 680 clamp(15px, 4.5vw, 17px)/1.3 var(--guide-label); overflow-wrap: anywhere; }
.guide-topic-status { color: #5f6469; font-size: 12px; line-height: 1.3; }
.guide-topic-status[data-open="true"] { color: #24664e; }

.family-guide-editorial .family-course-shelf .family-course-tile { color: var(--guide-ink); }
.family-guide-editorial .family-course-cover { border: 1px solid #e7e2dc; background: #f5f1ea; }
.family-guide-editorial .family-course-status.is-owned,
.family-guide-editorial .stage-course-copy small { color: #24664e; }
.family-guide-editorial .family-course-title .family-guide-chevron { color: #63727b; }

.family-guide-editorial .stage-heading {
  --stage-paper: #fbf0f3;
  --stage-edge: #eadde2;
  color: var(--guide-ink);
}

.family-guide-editorial .stage-heading::after {
  background: var(--stage-paper);
  box-shadow: none;
}

.family-guide-editorial .stage-science-levels button,
.family-guide-editorial .stage-scenes a { background: #f2f6f7; color: #3d5767; }

.course-guide-page {
  border-color: var(--guide-edge);
  background: var(--guide-canvas);
  color: var(--guide-ink);
}
.course-guide-page > .family-guide-topics { padding: 0 clamp(14px, 2.8vw, 36px) 28px; }
.course-guide-page .course-guide-heading {
  position: relative;
  display: flex;
  isolation: isolate;
  min-height: clamp(220px, 31vw, 365px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 16px;
  overflow: hidden;
  border-color: #f1b93c;
  background:
    linear-gradient(90deg, #ffcb46 9%, #ffcb46dc 44%, #ffcb4626 64%, transparent 76%),
    url("/public/guide-editorial/hero.webp") right center / contain no-repeat,
    #ffcb46;
}

.course-guide-page :is(.course-guide-heading, .course-path-section, .course-extension-section, .course-choice-section, .course-guide-access) h1,
.course-guide-page :is(.course-guide-heading, .course-path-section, .course-extension-section, .course-choice-section, .course-guide-access) h2,
.course-guide-page :is(.course-path-stage, .course-extension-grid) h3,
.course-guide-page .course-choice-section dt { color: var(--guide-ink); }

.course-guide-page :is(.course-guide-heading, .course-path-section, .course-extension-section, .course-guide-access) p,
.course-guide-page .course-choice-section dd { color: var(--guide-muted); }

.course-guide-page .course-guide-heading > div { max-width: min(60%, 680px); }
.course-guide-page .course-guide-heading :is(h1, p) { color: #382629; }
.course-guide-page .course-guide-heading h1 { color: #241b23; }

.course-guide-page :is(.course-path-section, .course-extension-section, .course-choice-section, .course-guide-access) {
  border-color: var(--guide-edge);
  background: var(--guide-surface);
}

.course-guide-page :is(.course-path-stage, .course-extension-grid article, .course-choice-section dl > div) {
  border-color: var(--guide-edge);
  background-color: #f9f6f0;
}

.course-guide-page :is(.course-path-section, .course-extension-section, .course-choice-section) > header > span,
.course-guide-page .course-guide-access > div > span { color: #865139; }

.course-guide-page .course-stage-marker :is(span, small),
.course-guide-page .course-stage-copy strong,
.course-guide-page .course-extension-grid article > span { color: #755340; }

.course-guide-page :is(.course-path-stage, .course-extension-grid article) button,
.course-guide-page :is(.course-guide-preview, .course-guide-actions button) {
  border-color: #e4d8c8;
  background: #fff8ee;
  color: #513e34;
}

.course-guide-page .course-guide-actions .primary-action {
  border-color: #e8b08a;
  background: #f5ccaa;
  color: #281b27;
}

@media (min-width: 821px) {
  .family-guide-editorial.family-guide-reading-boards { width: min(100%, 940px); }
  .course-guide-page .family-guide-topic-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .course-guide-page .guide-topic-picture { aspect-ratio: 1.23; }
}

@media (max-width: 360px) {
  .family-guide.family-guide-editorial { padding-inline: 10px; }
  .family-guide-editorial .family-guide-switch button { font-size: 12px; }
  .family-guide-editorial .family-guide-stage-copy { padding-inline-start: 9px; }
  .guide-topic-copy { padding-inline: 8px; }
}
