:root {
  --navy: #061a2f;
  --navy-2: #102d4b;
  --ink: #142033;
  --muted: #68727f;
  --paper: #f7f2ea;
  --surface: #ffffff;
  --line: #ded3c4;
  --gold: #b88a3b;
  --gold-2: #d0ae67;
  --teal: #1f5e52;
  --green: #255f4d;
  --rose: #6f3d3a;
  --shadow: 0 18px 46px rgba(6, 26, 47, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(230, 223, 212, 0.85);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(145deg, #f6efe2, #fff);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: 0 7px 18px rgba(6, 26, 47, 0.07);
  overflow: hidden;
}

.brand-mark span {
  width: 18px;
  height: 26px;
  display: block;
  position: relative;
}

.brand-mark span::before,
.brand-mark span::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 22px;
  transform: skewY(-18deg);
}

.brand-mark span::before {
  left: 0;
  top: 0;
  background: #c4652d;
}

.brand-mark span::after {
  right: 0;
  bottom: 0;
  background: #2b2d31;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: #344258;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 7px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: #fff;
  color: var(--navy);
}

.nav-translate {
  appearance: none;
  border: 1px solid rgba(184, 138, 59, 0.55);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  border-radius: 7px;
  padding: 9px 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.nav-translate:hover {
  background: #fff;
  border-color: var(--gold);
}

.language-panel {
  position: fixed;
  right: 18px;
  top: 92px;
  z-index: 60;
  width: min(360px, calc(100vw - 36px));
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(6, 26, 47, 0.18);
  padding: 18px;
  display: none;
}

.language-panel.is-open {
  display: block;
}

.language-panel strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.2;
  margin-right: 28px;
}

.language-panel p {
  color: #4d5968;
  font-size: 13px;
  line-height: 1.5;
  margin: 10px 0 0;
}

.language-panel a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  margin-right: 8px;
  min-height: 38px;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  padding: 8px 12px;
}

.language-panel-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbf8f2;
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.zh-hero .band {
  padding-top: 44px;
  padding-bottom: 42px;
}

.zh-band .section-head {
  max-width: 920px;
}

.zh-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.zh-service-grid article,
.zh-focus-main,
.zh-contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(6, 26, 47, 0.06);
}

.zh-service-grid span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f6efe3;
  color: var(--navy);
  font-weight: 850;
  font-size: 13px;
}

.zh-service-grid h3,
.zh-focus-main h2,
.zh-contact-card h3 {
  color: var(--navy);
  margin: 12px 0 8px;
}

.zh-service-grid p,
.zh-focus-main p,
.zh-contact-card p {
  color: #4d5968;
}

.zh-service-grid a,
.zh-link-list a {
  color: var(--navy);
  font-weight: 850;
}

.zh-focus-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 0.8fr);
  gap: 16px;
  align-items: start;
}

.zh-link-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.zh-link-list a {
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbf8f2;
}

.zh-link-list span {
  color: #5c6673;
  font-weight: 600;
}

.zh-contact-card {
  border-left: 4px solid var(--gold);
}

.zh-page h1 {
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(32px, 3.5vw, 44px);
  line-height: 1.12;
  font-weight: 850;
  max-width: 560px;
}

.zh-page .hero-inner {
  min-height: 500px;
}

.zh-page + .band .section-head h2,
.zh-page ~ .band .section-head h2,
.zh-page ~ .spotlight .section-head h2 {
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.2;
  font-weight: 850;
}

.zh-page p,
.zh-page ~ .band .section-head p,
.zh-page ~ .spotlight .section-head p {
  font-size: 15px;
  line-height: 1.55;
}

.zh-page ~ .band .section-head,
.zh-page ~ .spotlight .section-head {
  margin-bottom: 24px;
}

.zh-page + .band.compact-band,
.zh-page ~ .band.compact-band {
  padding-top: 36px;
  padding-bottom: 36px;
}

.zh-page ~ .band {
  padding-top: 52px;
  padding-bottom: 52px;
}

.zh-page + .band .index-grid article {
  min-height: 96px;
  padding: 14px 16px;
}

.zh-page + .band .index-grid b {
  margin-bottom: 8px;
}

.zh-page + .band .index-grid strong {
  font-size: 16px;
}

.zh-page + .band .index-grid span {
  margin-top: 6px;
  line-height: 1.38;
}

.nav-cta {
  background: var(--navy);
  color: #fff !important;
  box-shadow: 0 7px 18px rgba(6, 26, 47, 0.16);
}

.hero {
  background:
    linear-gradient(90deg, rgba(6, 26, 47, 0.055), transparent 38%),
    var(--paper);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: var(--navy);
  transform: none;
}

.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.62fr);
  gap: 34px;
  align-items: center;
  padding: 34px 0 40px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
  color: inherit;
}

h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 700;
  margin-top: 10px;
  max-width: 760px;
}

.hero-title-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 10px 18px 12px;
  background: var(--navy);
  color: #fff;
  border-left: 5px solid var(--gold);
}

.hero-title-block h1 {
  max-width: none;
  margin-top: 0;
  color: #fff;
  white-space: nowrap;
  font-size: clamp(42px, 4.15vw, 54px);
  line-height: 0.98;
}

.hero-subhead {
  max-width: none;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Source Sans 3", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
}

.hero p {
  color: #4c596b;
  font-size: clamp(16px, 1.7vw, 18px);
  margin: 14px 0 0;
  max-width: 660px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: #091b31;
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--navy);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(222, 211, 196, 0.5);
  border-radius: 7px;
  padding: 14px;
  box-shadow: none;
}

.hub-map {
  display: grid;
  gap: 10px;
}

.hub-item {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(222, 211, 196, 0.72);
  border-radius: 0;
  padding: 9px 2px 8px;
}

.hub-item:first-child {
  border-top: 0;
}

.hub-item strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
}

.hub-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.panel-label {
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-directory {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-width: 760px;
}

.hero-directory a {
  border: 0;
  border-top: 1px solid rgba(222, 211, 196, 0.9);
  background: transparent;
  border-radius: 0;
  padding: 9px 0 8px;
  min-height: 0;
}

.hero-directory strong {
  display: block;
  color: var(--navy);
  font-size: 14px;
  line-height: 1.2;
}

.hero-directory span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 5px;
}

.band {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0;
}

.compact-band {
  padding-top: 54px;
  padding-bottom: 54px;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.compact-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  color: var(--navy);
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
  margin: 14px 0 0;
}

.index-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.05);
}

.index-grid article {
  padding: 18px;
  border-right: 1px solid var(--line);
  min-height: 145px;
}

.index-grid article:last-child {
  border-right: 0;
}

.index-grid b {
  color: var(--gold);
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.index-grid strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.2;
}

.index-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 8px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pill {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 7px;
  padding: 7px 11px;
  color: #42506a;
  font-size: 12px;
  font-weight: 700;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.app-summary-band {
  padding-top: 30px;
  padding-bottom: 18px;
}

.app-summary-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 6px 20px rgba(6, 26, 47, 0.045);
}

.app-summary-strip article {
  padding: 13px 15px;
  border-right: 1px solid var(--line);
  min-height: 92px;
}

.app-summary-strip article:last-child {
  border-right: 0;
}

.app-summary-strip b {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.app-summary-strip strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.15;
}

.app-summary-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin-top: 6px;
}

.app-summary-note {
  margin-top: 12px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.45;
}

.course-system-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.05);
}

.course-system-grid article,
.course-system-entry {
  min-height: 265px;
  padding: 18px;
  border-right: 1px solid var(--line);
  display: block;
  transition: background 0.16s ease, transform 0.16s ease;
}

.course-system-grid article:last-child,
.course-system-entry:last-child {
  border-right: 0;
}

.course-system-entry:hover {
  background: #fbf8f2;
  transform: translateY(-1px);
}

.course-system-grid b {
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.13em;
  margin-bottom: 18px;
}

.course-system-grid h3 {
  color: var(--navy);
  font-size: 21px;
}

.course-system-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
  margin: 12px 0 0;
}

.course-system-grid span {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eadfce;
  color: #6c5527;
  font-size: 12px;
  line-height: 1.42;
}

.course-system-entry span::after {
  content: "Open entrance";
  display: inline-block;
  margin-top: 11px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.external-support-block {
  padding-top: 54px;
}

.curriculum-overview {
  border-top: 1px solid rgba(222, 211, 196, 0.72);
  border-bottom: 1px solid rgba(222, 211, 196, 0.72);
}

.curriculum-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: stretch;
}

.curriculum-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.05);
}

.curriculum-map-wide {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.curriculum-map article,
.curriculum-card {
  min-height: 250px;
  padding: 17px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.curriculum-map article:nth-child(4n),
.curriculum-map article:last-child,
.curriculum-card:nth-child(4n),
.curriculum-card:last-child {
  border-right: 0;
}

.curriculum-map article:nth-last-child(-n + 4),
.curriculum-card:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.curriculum-card {
  color: inherit;
  transition: background 0.16s ease, transform 0.16s ease;
}

.curriculum-card:hover {
  background: #fbf8f2;
  transform: translateY(-1px);
}

.curriculum-map b {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.curriculum-map strong {
  color: var(--navy);
  font-size: 20px;
  line-height: 1.1;
}

.curriculum-map span {
  color: #6c5527;
  font-size: 12px;
  font-weight: 800;
}

.curriculum-map p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
  margin: 0;
}

.curriculum-map em {
  margin-top: auto;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.4;
  font-style: normal;
  font-weight: 700;
}

.curriculum-card small {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.curriculum-panel,
.curriculum-support-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.045);
}

.curriculum-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.curriculum-panel h3 {
  color: var(--navy);
  font-size: 25px;
}

.curriculum-panel p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.curriculum-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.curriculum-tags span {
  border: 1px solid #eadfce;
  background: #fbf8f2;
  border-radius: 7px;
  color: #6c5527;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 8px;
}

.curriculum-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.curriculum-support-grid strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.15;
}

.curriculum-support-grid span {
  display: block;
  color: #6c5527;
  font-size: 12px;
  font-weight: 800;
  margin-top: 6px;
}

.curriculum-support-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 10px 0 0;
}

.btec-progression-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.btec-compact-hero .band {
  padding-top: 38px;
  padding-bottom: 34px;
}

.btec-page-band {
  padding-top: 32px;
  padding-bottom: 58px;
}

.btec-page-band .section-head {
  margin-bottom: 18px;
}

.btec-quick-grid,
.btec-workflow {
  display: grid;
  gap: 12px;
}

.btec-quick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.btec-quick-link,
.btec-quick-grid article,
.btec-workflow-link,
.btec-workflow article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 6px 18px rgba(6, 26, 47, 0.035);
}

.btec-quick-link strong,
.btec-quick-grid strong,
.btec-workflow-link strong,
.btec-workflow strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.15;
}

.btec-quick-link span,
.btec-quick-grid span,
.btec-workflow-link span,
.btec-workflow span {
  display: block;
  color: #6c5527;
  font-size: 12px;
  font-weight: 800;
  margin-top: 5px;
}

.btec-quick-link p,
.btec-quick-grid p,
.btec-workflow-link p,
.btec-workflow p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
  margin: 8px 0 0;
}

.btec-workflow-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.btec-quick-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.btec-quick-link:hover,
.btec-workflow-link:hover {
  transform: translateY(-1px);
  border-color: rgba(183, 138, 62, 0.55);
  background: #fbf8f2;
}

.btec-matrix-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.btec-matrix-head h2 {
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
}

.btec-matrix-head p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.btec-code,
.btec-workflow-link b,
.btec-workflow b {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.btec-zh {
  color: #6c5527;
  font-size: 12px;
  font-weight: 800;
  margin: 5px 0 9px;
}

.btec-subject-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.btec-subject-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.btec-subject-link-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 7px 10px;
  align-items: start;
  min-height: 148px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(6, 26, 47, 0.035);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.btec-subject-link-card:hover {
  transform: translateY(-1px);
  border-color: rgba(183, 138, 62, 0.55);
  background: #fbf8f2;
}

.btec-subject-link-card strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.12;
}

.btec-subject-link-card em {
  grid-column: 2 / 3;
  color: #6c5527;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.btec-subject-link-card p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
  margin: 2px 0 0;
}

.btec-subject-toggle {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(6, 26, 47, 0.035);
  overflow: hidden;
}

.btec-subject-toggle summary {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  list-style: none;
  cursor: pointer;
  padding: 12px 14px;
  color: var(--navy);
}

.btec-subject-toggle summary::-webkit-details-marker {
  display: none;
}

.btec-subject-toggle summary::after {
  content: "+";
  color: var(--gold);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.btec-subject-toggle[open] summary {
  border-bottom: 1px solid var(--line);
  background: #fbf8f2;
}

.btec-subject-toggle[open] summary::after {
  content: "-";
}

.btec-subject-toggle strong {
  display: block;
  min-width: 0;
  font-size: 17px;
  line-height: 1.1;
}

.btec-subject-toggle em {
  justify-self: end;
  color: #6c5527;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.btec-toggle-body {
  padding: 12px 14px 14px;
}

.btec-toggle-body dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.btec-toggle-body dt {
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btec-toggle-body dd {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.38;
  margin: 2px 0 0;
}

.btec-workflow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0;
}

.btec-subpage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
}

.btec-subpage-main,
.btec-subpage-side {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(6, 26, 47, 0.035);
}

.btec-subpage-main h2,
.btec-subpage-side h3 {
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
  line-height: 1.05;
  margin-top: 7px;
}

.btec-subpage-main p {
  color: var(--muted);
  line-height: 1.55;
  margin: 10px 0 0;
}

.btec-subpage-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.btec-subpage-columns h3 {
  color: var(--navy);
  font-size: 18px;
}

.btec-subpage-main ul,
.btec-subpage-side ul {
  color: var(--muted);
  margin: 9px 0 0;
  padding-left: 18px;
  line-height: 1.45;
}

.btec-subpage-side .btn {
  margin-top: 16px;
}

.btec-diagnosis-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
}

.btec-diagnosis-main,
.btec-diagnosis-side,
.btec-diagnosis-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(6, 26, 47, 0.035);
}

.btec-diagnosis-main h2,
.btec-diagnosis-side h3,
.btec-diagnosis-grid h3 {
  color: var(--navy);
}

.btec-diagnosis-main h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1.05;
  margin-top: 7px;
}

.btec-diagnosis-main p,
.btec-diagnosis-grid p,
.btec-diagnosis-side li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.btec-diagnosis-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.btec-diagnosis-steps article {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.btec-diagnosis-steps strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
}

.btec-diagnosis-steps span {
  display: block;
  color: #6c5527;
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
}

.btec-diagnosis-side ol {
  margin: 10px 0 0;
  padding-left: 18px;
}

.btec-diagnosis-side .btn {
  margin-top: 16px;
}

.btec-diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.btec-diagnosis-output .section-head {
  margin-bottom: 14px;
}

.btec-level3-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 14px;
}

.btec-level3-main,
.btec-level3-side,
.btec-level3-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(6, 26, 47, 0.035);
}

.btec-level3-main h2,
.btec-level3-side h3,
.btec-level3-grid h3 {
  color: var(--navy);
}

.btec-level3-main h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1.05;
  margin-top: 7px;
}

.btec-level3-main p,
.btec-level3-grid p,
.btec-level3-side p,
.btec-level3-side li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.btec-level3-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.btec-level3-points article {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.btec-level3-points strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
}

.btec-level3-points span {
  display: block;
  color: #6c5527;
  font-size: 12px;
  font-weight: 800;
  margin-top: 4px;
}

.btec-level3-side ul {
  margin: 10px 0 0;
  padding-left: 18px;
}

.btec-level3-side a:not(.btn) {
  color: var(--navy);
  font-weight: 800;
}

.btec-level3-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.btec-level3-output .section-head {
  margin-bottom: 14px;
}

.external-route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.05);
}

.external-route-card {
  min-height: 292px;
  padding: 18px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.16s ease, transform 0.16s ease;
}

.external-route-card:last-child {
  border-right: 0;
}

.external-route-card:hover {
  background: #fbf8f2;
  transform: translateY(-1px);
}

.external-route-card b {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.external-route-card strong {
  color: var(--navy);
  font-size: 22px;
  line-height: 1.12;
}

.external-route-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 750;
}

.external-route-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.external-route-card em {
  margin-top: auto;
  color: var(--navy);
  font-size: 11px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}

.support-main,
.support-aside {
  min-width: 0;
}

.support-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.programme-matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.045);
}

.programme-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.programme-matrix th,
.programme-matrix td {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 13px;
  text-align: left;
  vertical-align: top;
  font-size: 12px;
  line-height: 1.38;
}

.programme-matrix thead th {
  background: #f4eadb;
  color: var(--navy);
  font-weight: 850;
}

.programme-matrix tbody th {
  width: 190px;
  color: var(--navy);
  font-weight: 850;
  background: #fbf8f2;
}

.programme-matrix td {
  color: var(--muted);
}

.ou-course-directory {
  display: grid;
  gap: 18px;
}

.ou-catalogue-tools {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.045);
  display: grid;
  gap: 12px;
}

.ou-catalogue-tools > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.ou-catalogue-tools strong {
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.ou-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.ou-filter-row button {
  appearance: none;
  border: 1px solid var(--line);
  background: #fbf8f2;
  color: var(--navy);
  border-radius: 7px;
  padding: 7px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.ou-filter-row button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.ou-subject-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.045);
  overflow: hidden;
}

.ou-subject-head {
  padding: 15px 17px;
  background: #f4eadb;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ou-subject-head h3 {
  color: var(--navy);
  font-size: 20px;
}

.ou-subject-head span {
  color: #6c5527;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.ou-course-list {
  display: grid;
}

.ou-course-card {
  border-bottom: 1px solid var(--line);
}

.ou-course-card:last-child {
  border-bottom: 0;
}

.ou-course-card summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 17px;
}

.ou-course-card summary::-webkit-details-marker {
  display: none;
}

.ou-course-card summary b {
  display: block;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.2;
}

.ou-course-card summary em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  margin-top: 4px;
}

.ou-course-card summary em i {
  color: #6c5527;
  border: 1px solid #eadfce;
  border-radius: 999px;
  background: #fbf8f2;
  padding: 2px 7px;
  margin-right: 6px;
  font-style: normal;
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ou-course-card summary strong {
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbf8f2;
  padding: 7px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ou-course-panel {
  border-top: 1px solid #efe5d7;
  padding: 15px 17px 17px;
  background: #fffdf9;
}

.ou-course-panel dl {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 12px;
}

.ou-course-panel dl div {
  border: 1px solid #eadfce;
  border-radius: 7px;
  padding: 9px 10px;
  background: #fff;
}

.ou-course-panel dt {
  color: var(--gold);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ou-course-panel dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.ou-course-panel p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
  margin: 8px 0 0;
}

.support-table {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.045);
}

.support-table article {
  min-height: 206px;
  padding: 15px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.support-table strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.18;
}

.support-table span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.22;
}

.support-table p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.42;
  margin: 0;
}

.support-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.support-table a {
  margin-top: auto;
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 10px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 850;
  background: #fbf8f2;
}

.support-card-actions a {
  margin-top: 0;
}

.support-card-actions a:first-child {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.support-table-detail article {
  min-height: 224px;
}

.pathway-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pathway-strip a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  padding: 9px 11px;
  box-shadow: 0 6px 16px rgba(6, 26, 47, 0.035);
}

.translate-entry {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(6, 26, 47, 0.04);
}

.translate-entry button {
  appearance: none;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  border-radius: 7px;
  padding: 8px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.translate-entry span {
  color: var(--muted);
  font-size: 12px;
}

.support-aside {
  display: grid;
  gap: 12px;
}

.support-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(6, 26, 47, 0.04);
}

.support-note h3 {
  color: var(--navy);
  font-size: 18px;
}

.support-note p,
.support-note li {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.support-note p {
  margin: 8px 0 0;
}

.support-note ol {
  margin: 10px 0 0;
  padding-left: 18px;
}

.support-note.boundary {
  border-left: 4px solid var(--gold);
}

.support-note.contact .btn {
  margin-top: 12px;
  min-height: 40px;
  padding: 10px 12px;
  font-size: 12px;
}

.subject-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.subject-grid article {
  background: #fbf8f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  min-height: 142px;
}

.subject-grid strong {
  display: block;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.18;
}

.subject-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 9px;
}

.academic-area-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.doctoral-highlight {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  box-shadow: 0 8px 24px rgba(6, 26, 47, 0.045);
}

.doctoral-highlight h3 {
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
}

.doctoral-highlight p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
  margin: 8px 0 0;
}

.doctoral-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.doctoral-actions a {
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--navy);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 9px 11px;
}

.doctoral-actions a:last-child {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.academic-area-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(6, 26, 47, 0.045);
}

.area-card-head {
  padding-bottom: 12px;
  border-bottom: 1px solid #eadfce;
}

.area-card-head strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.14;
}

.area-card-head span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
  margin-top: 6px;
}

.level-block {
  margin-top: 12px;
}

.level-block b {
  color: var(--gold);
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.level-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
}

.level-block li {
  color: var(--ink);
  font-size: 11.5px;
  line-height: 1.32;
  padding: 0;
  border-bottom: 1px solid #f0e8dc;
}

.level-block li:last-child {
  border-bottom: 0;
}

.qualification-detail summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 6px 0;
}

.qualification-detail summary::-webkit-details-marker {
  display: none;
}

.qualification-detail summary span {
  position: relative;
  padding-left: 14px;
}

.qualification-detail summary span::before {
  content: "+";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 900;
}

.qualification-detail[open] summary span::before {
  content: "-";
}

.qualification-detail em {
  font-style: normal;
  white-space: nowrap;
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1.35;
}

.qualification-panel {
  background: #fbf8f2;
  border: 1px solid #eadfce;
  border-radius: 7px;
  margin: 0 0 8px 14px;
  padding: 10px;
}

.qualification-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  margin: 0;
}

.qualification-panel dl div {
  min-width: 0;
}

.qualification-panel .progression-row {
  grid-column: 1 / -1;
}

.qualification-panel dt {
  color: var(--gold);
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.qualification-panel dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.35;
}

.qualification-panel p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.42;
  margin: 10px 0 0;
}

.qualification-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.qualification-actions a {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--navy);
  font-size: 11px;
  font-weight: 800;
  padding: 7px 9px;
}

.qualification-actions a:last-child {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.status-approved {
  color: #174c3f;
  background: #e5f2ed;
  border: 1px solid #beddd1;
}

.status-tbc {
  color: #6a552c;
  background: #fbf2de;
  border: 1px solid #e8d4a5;
}

.tool-category-grid,
.app-directory-grid,
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tool-category-grid article,
.app-directory-grid article,
.metrics-grid article,
.pipeline-list article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(6, 26, 47, 0.045);
}

.tool-category-grid b {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fbf2de;
  color: #8a6321;
  font-size: 12px;
  margin-bottom: 12px;
}

.app-directory-grid b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #fbf2de;
  color: #8a6321;
  font-size: 11px;
  margin-bottom: 12px;
}

.tool-category-grid strong,
.app-directory-grid strong,
.metrics-grid strong,
.pipeline-list strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.18;
}

.tool-category-grid span,
.app-directory-grid p,
.metrics-grid p,
.pipeline-list p {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 9px 0 0;
}

.app-directory-grid ul {
  list-style: none;
  display: grid;
  gap: 7px;
  margin: 14px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid #eadfce;
}

.app-directory-grid li {
  color: #43516b;
  font-size: 12.5px;
  line-height: 1.35;
}

.app-directory-grid li span {
  display: inline-block;
  min-width: 52px;
  margin-right: 6px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.app-directory-grid a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.metrics-grid span {
  display: block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  margin-top: 8px;
}

.pipeline-list {
  display: grid;
  gap: 10px;
}

.pipeline-list article {
  display: grid;
  grid-template-columns: 52px minmax(0, 0.34fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.pipeline-list article span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.pipeline-list p {
  margin: 0;
}

.consulting-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.55fr);
  gap: 24px;
  align-items: stretch;
}

.consulting-stat-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  display: grid;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.055);
}

.consulting-stat-panel div {
  border-left: 3px solid var(--gold);
  padding: 8px 0 8px 14px;
}

.consulting-stat-panel b {
  display: block;
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.consulting-stat-panel span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 5px;
}

.consulting-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.consulting-grid article,
.consulting-levels article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(6, 26, 47, 0.045);
}

.consulting-grid b {
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.consulting-grid strong,
.consulting-levels strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.18;
}

.consulting-grid span,
.consulting-levels p,
.consulting-levels span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 9px;
}

.consulting-levels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.consulting-levels span {
  color: #6d5528;
  font-size: 12px;
  padding-top: 9px;
  border-top: 1px solid #eadfce;
}

.chat-app {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.055);
  overflow: hidden;
}

.chat-window {
  height: 520px;
  overflow: auto;
  padding: 18px;
  background: linear-gradient(180deg, #fff, #fbf8f2);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-message {
  max-width: 82%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font-size: 14px;
  line-height: 1.48;
}

.chat-message strong {
  color: var(--navy);
}

.chat-message p {
  margin: 6px 0 0;
}

.chat-message .zh {
  color: #596577;
}

.chat-message.bot {
  align-self: flex-start;
  background: #fff;
}

.chat-message.user {
  align-self: flex-end;
  background: #0b2440;
  color: #fff;
  border-color: #0b2440;
}

.chat-message.user p {
  margin: 0;
}

.chat-message a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.quick-prompts button {
  border: 1px solid var(--line);
  background: #fbf8f2;
  color: var(--navy);
  border-radius: 999px;
  padding: 7px 11px;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.chat-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}

.search-app {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.055);
}

.search-box {
  display: grid;
  gap: 8px;
}

.search-box span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  background: #fbf8f2;
}

.search-meta {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.search-result {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: #fff;
}

.search-result span {
  display: block;
  color: var(--gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.search-result strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.18;
}

.search-result p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 8px 0 0;
}

.source-note {
  color: #746955;
  font-size: 12px;
  line-height: 1.45;
  margin: 16px 0 0;
}

.feature,
.product,
.app-card,
.resource-row,
.about-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.055);
}

.feature {
  padding: 24px;
}

.feature .num {
  color: var(--gold);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature h3 {
  color: var(--navy);
  font-size: 22px;
  margin-top: 16px;
}

.feature p {
  color: var(--muted);
  margin: 12px 0 0;
}

.office-notice {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 22px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(6, 26, 47, 0.055);
}

.office-notice h2 {
  color: var(--navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(28px, 3vw, 40px);
  margin: 6px 0 0;
}

.office-notice p {
  color: #4d5968;
  margin: 10px 0 0;
}

.office-notice-details {
  background: #faf7f1;
  border: 1px solid rgba(222, 211, 196, 0.85);
  border-radius: 7px;
  padding: 16px;
}

.office-notice-details a {
  color: var(--navy);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(184, 138, 59, 0.55);
  text-underline-offset: 3px;
}

.spotlight {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 34px;
  align-items: stretch;
}

.app-screen {
  min-height: 440px;
  border-radius: 7px;
  background: linear-gradient(150deg, #0a213c, #10395d);
  color: #fff;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.app-screen::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(228, 193, 109, 0.35);
  transform: rotate(9deg);
}

.screen-stat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.screen-stat div {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 7px;
  padding: 16px;
}

.screen-stat b {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.screen-stat span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.screen-title {
  position: relative;
  z-index: 1;
}

.screen-title h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 40px;
}

.screen-title p {
  color: rgba(255, 255, 255, 0.72);
  margin: 12px 0 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.product-grid.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.publishing-overview {
  padding-top: 66px;
}

.publishing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(420px, 1fr);
  gap: 20px;
  align-items: start;
}

.publishing-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.publishing-categories-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.publishing-categories a {
  min-height: 142px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(6, 26, 47, 0.045);
}

.publishing-categories b {
  display: block;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.publishing-categories strong {
  display: block;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.18;
}

.publishing-categories span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 8px;
}

.series-shelf {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 8px 28px rgba(6, 26, 47, 0.055);
}

.shelf-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.shelf-head h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--navy);
  font-size: 28px;
}

.shelf-head p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.shelf-head a {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
}

.shelf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.shelf-grid-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ebook-service-card {
  background: #fdfbf6;
}

.ebook-service-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.ebook-service-steps span {
  border-top: 1px solid var(--line);
  color: #42506a;
  font-size: 12px;
  font-weight: 800;
  padding-top: 9px;
}

.ebook-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ebook-service-grid article:nth-child(3n) {
  border-right: 0;
}

.ebook-service-grid article:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}

.ebook-support-page {
  background: #fbf8f2;
}

.ebook-support-page .band {
  width: min(1320px, calc(100% - 48px));
}

.ebook-support-page .compact-band,
.ebook-support-page > .band {
  padding-top: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(222, 211, 196, 0.78);
}

.ebook-support-page > .band:last-child {
  border-bottom: 0;
}

.ebook-service-hero .band {
  padding-top: 34px;
  padding-bottom: 34px;
}

.ebook-service-hero h1 {
  font-size: clamp(30px, 3.2vw, 42px);
}

.ebook-service-hero p {
  max-width: 720px;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.55;
}

.ebook-support-page .section-head {
  max-width: 1040px;
  margin-bottom: 16px;
}

.ebook-support-page .section-head h2 {
  font-family: "Source Sans 3", Arial, sans-serif;
  font-size: clamp(22px, 2.1vw, 30px);
  line-height: 1.16;
  font-weight: 850;
}

.ebook-support-page .section-head p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.ebook-support-page .ebook-service-grid {
  background: #fffdfa;
  box-shadow: none;
}

.ebook-support-page .ebook-service-grid article {
  min-height: 116px;
  padding: 14px 16px;
}

.ebook-support-page .ebook-service-grid b {
  margin-bottom: 8px;
  color: #9a6d20;
  font-size: 11px;
}

.ebook-support-page .ebook-service-grid strong {
  font-size: 16px;
}

.ebook-support-page .ebook-service-grid span {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.38;
}

.ebook-support-page .resource-list {
  gap: 0;
  border: 1px solid var(--line);
  background: #fffdfa;
}

.ebook-support-page .resource-row {
  border-bottom: 1px solid var(--line);
  padding: 12px 16px;
}

.ebook-support-page .resource-row:last-child {
  border-bottom: 0;
}

.ebook-support-page .resource-row h3 {
  font-size: 16px;
}

.ebook-support-page .resource-row p {
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.42;
}

.ebook-support-page .two-col {
  gap: 14px;
  margin-bottom: 14px;
}

.ebook-support-page .about-panel {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 16px 18px;
  box-shadow: none;
}

.ebook-support-page .about-panel h3 {
  font-size: 18px;
  margin: 6px 0 8px;
}

.ebook-support-page .about-panel ul {
  margin: 0;
  padding-left: 18px;
}

.ebook-support-page .about-panel li {
  font-size: 12.8px;
  line-height: 1.46;
  margin: 4px 0;
}

.ebook-support-page .notice {
  border-radius: 0;
  padding: 12px 14px;
  font-size: 12.8px;
  line-height: 1.45;
}

.ebook-support-page .actions {
  margin-top: 14px;
}

.shelf-book {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: stretch;
  min-height: 88px;
  border: 1px solid #e8ded0;
  border-radius: 7px;
  padding: 8px;
  background: #fbf8f2;
}

.shelf-cover {
  background: linear-gradient(145deg, var(--navy), #123250);
  color: #fff;
  border-radius: 4px;
  padding: 7px 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.shelf-cover span,
.shelf-cover em {
  color: var(--gold-2);
  font-size: 8px;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shelf-cover strong {
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 11px;
  line-height: 1.04;
}

.shelf-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shelf-text b {
  color: var(--gold);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.shelf-text strong {
  color: var(--navy);
  font-size: 14px;
  line-height: 1.14;
  margin-top: 3px;
}

.shelf-text small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  margin-top: 7px;
}

.product {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cover {
  aspect-ratio: 1 / 1.32;
  background: linear-gradient(145deg, var(--navy), #123250);
  color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  min-height: 340px;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 12% -20% auto auto;
  width: 48%;
  height: 76%;
  border: 1px solid rgba(228, 193, 109, 0.32);
  transform: rotate(7deg);
}

.cover small {
  color: var(--gold-2);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
}

.cover-unit {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 750;
  margin-top: 8px;
}

.cover strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.1;
  max-width: 250px;
  position: relative;
  z-index: 1;
}

.cover-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  max-width: 250px;
}

.cover-bottom span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

.product-body {
  padding: 18px;
}

.product-body h3 {
  color: var(--navy);
  font-size: 19px;
}

.product-body p {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 0;
}

.isbn-line {
  margin-top: 12px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.product-actions {
  margin-top: 14px;
}

.product-actions a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  padding: 8px 12px;
}

.meta {
  color: var(--gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 12px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.about-panel {
  padding: 24px;
}

.about-panel h3 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 10px;
}

.about-panel p,
.about-panel li {
  color: var(--muted);
}

.resource-list {
  display: grid;
  gap: 12px;
}

.resource-row {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.resource-row h3 {
  color: var(--navy);
  font-size: 18px;
}

.resource-row p {
  color: var(--muted);
  margin: 5px 0 0;
  font-size: 14px;
}

.page-hero {
  background: linear-gradient(135deg, var(--navy), #0c2d50);
  color: #fff;
}

.page-hero .band {
  padding: 48px 0;
}

.page-hero h1 {
  font-size: clamp(34px, 4.2vw, 54px);
}

.page-hero p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.notice {
  background: #fbf2de;
  border: 1px solid #e4d1a3;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 16px 18px;
  color: #654d1e;
  font-size: 14px;
}

.advice-signpost {
  color: #51401d;
}

.advice-signpost p {
  margin: 8px 0 0;
}

.advice-signpost .actions {
  margin-top: 12px;
}

.site-footer {
  background: #06172b;
  color: rgba(255, 255, 255, 0.72);
  padding: 28px 0 18px;
  border-top: 1px solid rgba(208, 174, 103, 0.32);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.18fr 1fr 1fr 1.05fr;
  gap: 20px;
}

.footer-inner strong {
  color: #fff;
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 8px;
}

.footer-col {
  border-left: 1px solid rgba(208, 174, 103, 0.24);
  padding-left: 14px;
}

.footer-col p {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  font-weight: 350;
  line-height: 1.38;
}

.footer-about p:first-of-type {
  color: rgba(255, 255, 255, 0.72);
}

.footer-contact a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.footer-legal {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 4px;
  justify-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.52);
  font-size: 10.5px;
  font-weight: 350;
  line-height: 1.45;
}

.footer-legal span:last-child {
  text-align: center;
}

.embedded-app-frame {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
  height: min(900px, 86vh);
  min-height: 680px;
  overflow: hidden;
}

.embedded-app-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #faf7f2;
}

@media (max-width: 920px) {
  .nav {
    align-items: flex-start;
    padding: 14px 0;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-inner,
  .app-spotlight,
  .two-col,
  .publishing-layout,
  .consulting-hero,
  .curriculum-layout {
    grid-template-columns: 1fr;
  }

  .hero-directory,
  .index-grid,
  .ebook-service-grid,
  .publishing-categories,
  .publishing-categories-wide,
  .curriculum-map,
  .curriculum-map-wide {
    grid-template-columns: 1fr;
  }

  .index-grid article,
  .index-grid article:last-child,
  .ebook-service-grid article,
  .ebook-service-grid article:nth-child(3n),
  .ebook-service-grid article:nth-child(n + 4),
  .curriculum-map article,
  .curriculum-card,
  .curriculum-card:nth-child(4n),
  .curriculum-card:nth-last-child(-n + 4),
  .curriculum-card:last-child,
  .curriculum-map article:nth-child(4n),
  .curriculum-map article:nth-last-child(-n + 4),
  .curriculum-map article:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .index-grid article:last-child,
  .ebook-service-grid article:last-child,
  .curriculum-card:last-child,
  .curriculum-map article:last-child {
    border-bottom: 0;
  }

  .hero-inner {
    min-height: auto;
  }

  .zh-page + .band .index-grid article,
  .zh-page + .band .index-grid article:last-child {
    min-height: auto;
    padding: 12px 16px;
  }

  .feature-grid,
  .product-grid,
  .app-summary-strip,
  .app-directory-grid,
  .course-system-grid,
  .external-route-grid,
  .curriculum-support-grid,
  .btec-quick-grid,
  .btec-subject-list,
  .btec-subject-link-grid,
  .btec-workflow,
  .btec-matrix-head,
  .btec-subpage-layout,
  .btec-subpage-columns,
  .btec-diagnosis-layout,
  .btec-diagnosis-steps,
  .btec-diagnosis-grid,
  .btec-level3-layout,
  .btec-level3-points,
  .btec-level3-grid,
  .zh-service-grid,
  .zh-focus-layout,
  .support-mini-grid,
  .support-layout,
  .support-table,
  .subject-grid,
  .academic-area-grid,
  .tool-category-grid,
  .metrics-grid,
  .consulting-grid,
  .consulting-levels,
  .office-notice {
    grid-template-columns: 1fr;
  }

  .pipeline-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btec-subject-toggle summary {
    grid-template-columns: 38px minmax(0, 1fr) 18px;
  }

  .btec-subject-toggle em {
    grid-column: 2 / 3;
    justify-self: start;
    white-space: normal;
  }

  .course-system-grid article,
  .app-summary-strip article,
  .course-system-grid article:last-child,
  .app-summary-strip article:last-child,
  .external-route-card,
  .external-route-card:last-child,
  .course-system-entry,
  .course-system-entry:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .course-system-grid article:last-child,
  .app-summary-strip article:last-child,
  .external-route-card:last-child,
  .course-system-entry:last-child {
    border-bottom: 0;
  }

  .product-grid.two-up {
    grid-template-columns: 1fr;
  }

  .shelf-grid,
  .shelf-grid-wide {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .band {
    padding: 42px 0;
  }

  .hero-title-block {
    width: 100%;
    padding: 9px 10px 10px;
  }

  .hero-title-block h1 {
    font-size: clamp(27px, 8.6vw, 38px);
  }

  .hero-subhead {
    font-size: 16px;
  }

  .page-hero .band,
  .btec-compact-hero .band {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .zh-page + .band.compact-band,
  .zh-page ~ .band.compact-band {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .zh-page ~ .band {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .nav-links a {
    font-size: 13px;
    padding: 8px 9px;
  }

  .hero-actions,
  .actions,
  .resource-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ebook-service-steps {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .chat-window {
    height: 460px;
  }

  .chat-message {
    max-width: 100%;
  }

  .chat-form {
    grid-template-columns: 1fr;
  }

  .search-results {
    grid-template-columns: 1fr;
  }

  .ou-course-panel dl {
    grid-template-columns: 1fr;
  }

  .doctoral-highlight {
    grid-template-columns: 1fr;
  }

  .doctoral-actions {
    justify-content: flex-start;
  }

  .qualification-panel dl {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-direction: column;
  }

  .footer-legal span:last-child {
    text-align: center;
  }

  .embedded-app-frame {
    height: 760px;
    min-height: 640px;
  }
}

.lms-shell {
  min-height: 100vh;
  background: #f5f6f4;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  color: #27313d;
}

.lms-sidebar {
  background: #23384d;
  color: #fff;
  padding: 22px;
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.lms-brand {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
}

.lms-brand small {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
}

.lms-menu {
  display: grid;
  gap: 6px;
}

.lms-menu a {
  color: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
}

.lms-menu a:hover,
.lms-menu a[aria-current="page"] {
  background: #fff;
  color: #102d4b;
}

.lms-reviewer-card {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 16px;
}

.lms-reviewer-card span,
.lms-profile span,
.lms-tag,
.lms-status-grid span,
.lms-feedback-card span {
  display: block;
  color: #9a7a45;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lms-reviewer-card p {
  color: rgba(255, 255, 255, 0.76);
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.45;
}

.lms-main {
  padding: 32px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.lms-topbar,
.lms-panel,
.lms-disclaimer {
  background: #fff;
  border: 1px solid #d9dedf;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(32, 52, 68, 0.055);
}

.lms-topbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
  align-items: center;
  padding: 24px;
}

.lms-topbar h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 38px;
  font-weight: 600;
  margin: 8px 0 10px;
  color: #213246;
}

.lms-topbar p,
.lms-panel p,
.lms-disclaimer p {
  margin: 0;
  color: #556273;
}

.lms-profile {
  border-left: 3px solid #b79a63;
  background: #f7f4ed;
  border-radius: 8px;
  padding: 16px;
}

.lms-profile strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-weight: 500;
}

.lms-profile small {
  display: block;
  color: #68727f;
}

.lms-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.lms-status-grid article {
  background: #fff;
  border: 1px solid #d9dedf;
  border-radius: 8px;
  padding: 18px;
}

.lms-status-grid strong {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px;
  font-weight: 600;
  line-height: 1;
  margin: 8px 0;
  color: #25384d;
}

.lms-status-grid small {
  color: #68727f;
}

.lms-panel,
.lms-disclaimer {
  padding: 22px;
}

.lms-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.lms-panel h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 29px;
  font-weight: 600;
  margin-top: 4px;
  color: #25384d;
}

.lms-panel button {
  border: 0;
  border-radius: 7px;
  background: #2f4358;
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 10px 14px;
}

.lms-unit-grid,
.lms-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.lms-unit-grid article,
.lms-support-grid article,
.lms-note,
.lms-upload-box,
.lms-feedback-card {
  border: 1px solid #d9dedf;
  border-radius: 8px;
  background: #f9fbfc;
  padding: 16px;
}

.lms-unit-grid b {
  color: #9a7a45;
  font-weight: 600;
}

.lms-unit-grid strong,
.lms-support-grid strong {
  display: block;
  color: #25384d;
  font-weight: 600;
  margin: 4px 0;
}

.lms-unit-grid span,
.lms-support-grid span {
  color: #5d6875;
}

.lms-table {
  display: grid;
  border: 1px solid #d9dedf;
  border-radius: 8px;
  overflow: hidden;
}

.lms-table > div {
  display: grid;
  grid-template-columns: 1fr 2fr 0.9fr 0.9fr;
}

.lms-table span {
  padding: 12px;
  border-bottom: 1px solid #d9dedf;
  background: #fff;
}

.lms-table-head span {
  background: #eef2f3;
  color: #25384d;
  font-weight: 600;
}

.lms-split-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
}

.lms-upload-box {
  margin-top: 16px;
  display: grid;
  gap: 8px;
  border-style: dashed;
  background: #fff;
}

.lms-upload-box span {
  color: #68727f;
}

.lms-feedback-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  background: #fff;
}

.lms-feedback-meta {
  border-left: 1px solid #d9dedf;
  padding-left: 18px;
}

.lms-progress-list {
  display: grid;
  gap: 14px;
}

.lms-progress-list div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 12px;
}

.lms-progress-list b {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b88a3b, #1f5e52);
  position: relative;
}

.lms-progress-list b::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(16, 45, 75, 0.15);
}

.lms-progress-list em {
  color: #25384d;
  font-style: normal;
  font-weight: 600;
}

.lms-disclaimer {
  border-left: 3px solid #b79a63;
}

.lms-disclaimer strong {
  color: #25384d;
  font-weight: 600;
}

.family-guide-hero {
  background: #eef2f3;
  border-bottom: 1px solid #d6dddf;
}

.family-guide-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 0;
  padding: 24px 0;
  display: block;
}

.family-guide-inner h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 3.4vw, 46px);
  color: #213246;
}

.family-guide-inner p {
  max-width: 760px;
  margin: 8px 0 0;
  color: #4c596b;
  font-size: 16px;
}

.family-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.family-guide-card {
  background: #fff;
  border: 1px solid #d6dddf;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(32, 52, 68, 0.07);
  display: grid;
  gap: 6px;
}

.family-guide-card span,
.family-guide-card small {
  color: #68727f;
  font-weight: 650;
}

.family-guide-card strong {
  color: #213246;
  font-size: 20px;
  line-height: 1.18;
}

.family-guide {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
  display: grid;
  gap: 16px;
}

.guide-section {
  background: #fff;
  border: 1px solid #d9dedf;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 10px 28px rgba(32, 52, 68, 0.055);
}

.guide-summary-section {
  border-top: 5px solid #23384d;
}

.guide-summary-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.guide-summary-head h2 {
  color: #25384d;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.family-guide .section-head h2,
.family-guide .check-panel h2,
.family-guide .accommodation-panel h2,
.family-guide .source-panel h2 {
  color: #25384d;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.2;
}

.guide-summary-head strong {
  color: #25384d;
  background: #f7f4ed;
  border: 1px solid #ded3c4;
  border-radius: 7px;
  padding: 8px 12px;
  white-space: nowrap;
}

.route-chart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  margin-top: 14px;
}

.route-stop {
  min-height: 210px;
  background: #f9fbfc;
  border: 2px solid #23384d;
  border-radius: 8px;
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 8px;
}

.route-stop-accent {
  border-color: #b88a3b;
  background: #fffaf0;
}

.route-number {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #23384d;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
}

.route-stop-accent .route-number {
  background: #b88a3b;
  color: #091b31;
}

.route-stop small {
  color: #9a7a45;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.route-stop h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #102d4b;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.05;
}

.route-stop p {
  color: #344258;
  font-size: 18px;
  font-weight: 750;
  margin: 0;
}

.route-stop-facts {
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
}

.route-stop-facts div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  border-top: 1px solid #d9dedf;
  padding-top: 6px;
}

.route-stop-facts dt {
  color: #9a7a45;
  font-size: 12px;
  font-weight: 900;
}

.route-stop-facts dd {
  color: #25384d;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
  margin: 0;
}

.route-arrow {
  display: grid;
  place-items: center;
}

.route-arrow span {
  width: 100%;
  height: 6px;
  background: #23384d;
  position: relative;
}

.route-arrow span::after {
  content: "";
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 18px solid #23384d;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
}

.document-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.accommodation-panel {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr;
  gap: 18px;
  align-items: start;
}

.accommodation-card {
  border: 1px solid #d9dedf;
  border-radius: 8px;
  background: #fffaf0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  padding: 16px;
}

.accommodation-card strong {
  color: #25384d;
  font-size: 20px;
  grid-column: 1 / -1;
}

.accommodation-card span {
  color: #344258;
  font-weight: 750;
  line-height: 1.35;
}

.accommodation-card span:nth-child(2),
.accommodation-card span:nth-child(4) {
  grid-column: 1 / -1;
}

.document-link-card {
  border: 2px solid #23384d;
  border-radius: 8px;
  background: #fff;
  color: #25384d;
  display: grid;
  gap: 6px;
  padding: 14px;
  text-decoration: none;
  min-height: 118px;
}

.document-link-card:hover {
  background: #f7f4ed;
}

.document-link-card strong {
  font-size: 18px;
  line-height: 1.25;
}

.document-link-card em {
  color: #556273;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.doc-tag {
  color: #9a7a45;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.compact-details {
  display: grid;
  gap: 12px;
}

.compact-details .section-head {
  margin-bottom: 0;
}

.compact-programme {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  border: 1px solid #d9dedf;
  border-radius: 8px;
  background: #f9fbfc;
  padding: 16px;
}

.compact-programme h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #25384d;
  font-size: 28px;
  font-weight: 600;
}

.compact-programme p {
  margin: 8px 0 0;
  color: #556273;
}

.mini-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.mini-facts span {
  border: 1px solid #d9dedf;
  border-radius: 7px;
  background: #fff;
  color: #344258;
  padding: 6px 9px;
  font-size: 13px;
  font-weight: 700;
}

.tight-grid {
  padding: 16px;
}

.compare-section {
  display: grid;
  gap: 14px;
}

.contact-compare-table,
.activity-compare-table {
  border: 1px solid #cfd7da;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.compare-row {
  display: grid;
  border-top: 1px solid #d9dedf;
}

.contact-compare-table .compare-row {
  grid-template-columns: 150px 1.25fr 1.25fr 1.6fr;
}

.activity-compare-table .compare-row {
  grid-template-columns: 150px 1fr 1fr;
}

.compare-row:first-child {
  border-top: 0;
}

.compare-row > span {
  padding: 13px 14px;
  border-left: 1px solid #d9dedf;
  color: #344258;
  line-height: 1.42;
}

.compare-row > span:first-child {
  border-left: 0;
  color: #9a7a45;
  font-weight: 900;
}

.compare-head > span {
  background: #23384d;
  color: #fff !important;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.compare-row strong {
  display: block;
  color: #102d4b;
  font-weight: 900;
}

.compare-row em {
  display: block;
  color: #68727f;
  font-style: normal;
  font-weight: 700;
  margin-top: 3px;
}

.compare-warning > span {
  background: #fff8ea;
}

.compare-warning > span:first-child {
  color: #7b4f10;
}

.programme-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.programme-timeline article,
.guide-panel,
.activity-board article,
.contact-strip article {
  border: 1px solid #d9dedf;
  border-radius: 8px;
  background: #f9fbfc;
  padding: 18px;
}

.programme-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 7px;
  background: #23384d;
  color: #fff;
  padding: 6px 10px;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
}

.programme-timeline h3,
.guide-panel h2,
.activity-board h3,
.check-panel h2,
.source-panel h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #25384d;
  font-weight: 600;
}

.activity-board p {
  margin: 8px 0 0;
}

.programme-timeline h3 {
  font-size: 30px;
  margin-top: 14px;
}

.programme-timeline ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

.programme-timeline li,
.guide-note,
.activity-board p,
.check-panel li,
.source-panel p {
  color: #556273;
}

.guide-grid,
.activity-board,
.contact-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fact-list {
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.fact-list div {
  border-top: 1px solid #d9dedf;
  padding-top: 10px;
}

.fact-list dt,
.contact-strip b {
  color: #9a7a45;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fact-list dd {
  margin: 3px 0 0;
  color: #27313d;
  font-weight: 650;
}

.contact-strip article {
  display: grid;
  gap: 7px;
}

.contact-strip strong {
  color: #25384d;
  line-height: 1.2;
}

.contact-strip span {
  color: #5d6875;
  font-size: 14px;
}

.check-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
  align-items: start;
  border-left: 4px solid #b88a3b;
}

.check-panel ol {
  margin: 0;
  padding-left: 22px;
}

.source-panel {
  background: #f7f4ed;
}

@media (max-width: 980px) {
  .lms-shell {
    grid-template-columns: 1fr;
  }

  .lms-sidebar {
    position: static;
    height: auto;
  }

  .lms-menu,
  .lms-status-grid,
  .lms-unit-grid,
  .lms-support-grid,
  .lms-topbar,
  .lms-split-panel,
  .lms-feedback-card {
    grid-template-columns: 1fr;
  }

  .lms-progress-list div {
    grid-template-columns: 1fr;
  }

  .family-guide-inner,
  .programme-timeline,
  .guide-grid,
  .activity-board,
  .contact-strip,
  .check-panel,
  .accommodation-panel,
  .guide-summary-head,
  .compact-programme {
    grid-template-columns: 1fr;
  }

  .guide-summary-head {
    align-items: start;
  }

  .guide-summary-head strong {
    white-space: normal;
  }

  .route-chart,
  .document-links {
    grid-template-columns: 1fr;
  }

  .route-stop {
    min-height: 0;
  }

  .route-arrow {
    min-height: 54px;
  }

  .route-arrow span {
    width: 6px;
    height: 46px;
  }

  .route-arrow span::after {
    right: auto;
    top: auto;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
    border-top: 18px solid #23384d;
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-bottom: 0;
  }

  .accommodation-card {
    grid-template-columns: 1fr;
  }

  .accommodation-card span {
    grid-column: 1 / -1;
  }

  .contact-compare-table .compare-row,
  .activity-compare-table .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-head {
    display: none;
  }

  .compare-row {
    border-top: 10px solid #eef2f3;
  }

  .compare-row > span {
    border-left: 0;
    border-top: 1px solid #edf0f1;
  }

  .compare-row > span:first-child {
    border-top: 0;
    background: #23384d;
    color: #fff;
  }

  .contact-compare-table .compare-row > span:nth-child(2)::before {
    content: "姓名 / 机构：";
    display: block;
    color: #9a7a45;
    font-weight: 900;
    margin-bottom: 3px;
  }

  .contact-compare-table .compare-row > span:nth-child(3)::before {
    content: "电邮 / 电话：";
    display: block;
    color: #9a7a45;
    font-weight: 900;
    margin-bottom: 3px;
  }

  .contact-compare-table .compare-row > span:nth-child(4)::before {
    content: "地址 / 备注：";
    display: block;
    color: #9a7a45;
    font-weight: 900;
    margin-bottom: 3px;
  }

  .activity-compare-table .compare-row > span:nth-child(2)::before {
    content: "IH London 英语课：";
    display: block;
    color: #9a7a45;
    font-weight: 900;
    margin-bottom: 3px;
  }

  .activity-compare-table .compare-row > span:nth-child(3)::before {
    content: "InvestIN 艺术设计夏令营：";
    display: block;
    color: #9a7a45;
    font-weight: 900;
    margin-bottom: 3px;
  }
}

@media (max-width: 560px) {
  .family-guide-inner {
    padding: 22px 0;
  }

  .family-guide-inner h1 {
    font-size: 31px;
  }

  .family-guide-inner p {
    font-size: 15px;
  }

  .family-guide-actions .btn {
    min-height: 42px;
  }

  .guide-section {
    padding: 14px;
  }

  .guide-summary-head h2 {
    font-size: 20px;
  }

  .compact-programme {
    padding: 14px;
  }

  .compact-programme h3 {
    font-size: 24px;
  }
}
