:root {
  --cream: #fbf6ea;
  --paper: #fffdf7;
  --green: #0b4b3f;
  --green-dark: #073a31;
  --red: #bd482f;
  --red-dark: #963824;
  --ink: #17372f;
  --muted: #697b75;
  --line: #d8d8c9;
  --radius: 0;
  --shell: min(1180px, calc(100% - 40px));
  --sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; background: var(--cream); }
body { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--cream); font-family: var(--sans); font-size: 16px; line-height: 1.75; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #e0a28b; outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
.shell--narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 999; top: 12px; left: 12px; padding: 10px 14px; color: #fff; background: var(--green); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

h1, h2, h3, h4 { margin: 0 0 .55em; color: var(--green); font-family: var(--sans); font-weight: 900; line-height: 1.2; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(44px, 6vw, 74px); }
h2 { font-size: clamp(32px, 4vw, 50px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
p { margin: 0 0 1.2em; }
.eyebrow { margin: 0 0 13px; color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: .16em; line-height: 1.45; }
.eyebrow--line { display: block; }
.eyebrow--light { color: #f0b7a3; }
.lede { max-width: 720px; color: #536a62; font-size: clamp(16px, 2vw, 18px); line-height: 1.95; }

.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid var(--red); border-radius: var(--radius); color: #fff; background: var(--red); font-weight: 800; line-height: 1.25; letter-spacing: .02em; text-align: center; transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease; }
.button:hover { border-color: var(--red-dark); background: var(--red-dark); transform: translateY(-1px); }
.button--primary, .button--clay { border-color: var(--red); background: var(--red); }
.button--outline, .button--ghost { border-color: var(--green); color: var(--green); background: transparent; }
.button--outline:hover, .button--ghost:hover { border-color: var(--green); color: #fff; background: var(--green); }
.button--light { border-color: #fff; color: var(--green); background: #fff; }
.button--light:hover { border-color: #f0e5d2; color: var(--green); background: #f0e5d2; }
.button--small { min-height: 42px; padding-inline: 19px; font-size: 14px; }
.button--block { width: 100%; }
.button--disabled, .button--disabled:hover { border-color: #cbd0cb; color: #79867f; background: #e6e8e4; cursor: not-allowed; transform: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.text-link { color: var(--green); font-size: 14px; font-weight: 900; }
.text-link:hover { color: var(--red); }

.site-header { position: relative; z-index: 100; background: var(--paper); }
.announcement { color: #fffaf0; background: var(--green); font-size: 13px; letter-spacing: .03em; }
.announcement__inner { display: flex; min-height: 35px; align-items: center; justify-content: space-between; gap: 24px; }
.announcement__inner p { margin: 0; }
.announcement__contact { color: #f3c9b7; }
.brand-bar { border-bottom: 1px solid var(--line); background: var(--cream); }
.brand-bar__inner { display: flex; min-height: 82px; align-items: center; gap: 28px; }
.brand { display: inline-flex; min-width: 270px; align-items: center; gap: 14px; }
.brand__logo { display: block; width: 220px; height: auto; max-height: 68px; object-fit: contain; object-position: left center; }
.brand__copy { display: grid; gap: 3px; }
.brand__copy strong { color: var(--green); font-family: var(--sans); font-size: 29px; font-weight: 900; line-height: 1; letter-spacing: .06em; }
.brand__copy small { color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.brand-bar__promise { flex: 1; margin: 0; padding-left: 28px; border-left: 1px solid var(--line); color: #5b6c66; font-size: 15px; font-weight: 600; line-height: 1.6; }
.brand-bar__contact { flex: 0 0 auto; }
.nav-toggle { display: none; min-height: 42px; padding: 0 15px; border: 1px solid var(--green); border-radius: var(--radius); color: var(--green); background: transparent; font-size: 13px; font-weight: 800; cursor: pointer; }
.primary-nav { border-bottom: 1px solid var(--line); background: var(--paper); }
.primary-nav__inner { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 38px; }
.primary-nav__inner > a, .nav-cluster > a { display: inline-flex; min-height: 52px; align-items: center; color: #29473e; font-size: 15px; font-weight: 700; }
.primary-nav__inner > a:hover, .primary-nav__inner > a[aria-current="page"], .nav-cluster > a:hover, .nav-cluster > a[aria-current="page"] { color: var(--red); }
.nav-cluster { position: relative; display: flex; align-items: center; }
.nav-cluster__toggle { width: 30px; min-height: 52px; border: 0; color: var(--green); background: transparent; font-size: 17px; cursor: pointer; }
.subnav { position: absolute; top: calc(100% - 1px); left: 50%; display: grid; width: 220px; padding: 8px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 16px 30px rgba(11,75,63,.12); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .18s ease, transform .18s ease, visibility .18s; }
.subnav a { display: block; padding: 10px 12px; color: #37534a; font-size: 14px; }
.subnav a:hover, .subnav a[aria-current="page"] { color: #fff; background: var(--green); }
.nav-cluster:hover .subnav, .nav-cluster:focus-within .subnav, .nav-cluster.is-open .subnav { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@media (min-width: 781px) {
  .nav-cluster__toggle { position: absolute; left: 100%; width: 24px; font-size: 0; }
}

.breadcrumbs { display: flex; min-height: 54px; align-items: center; flex-wrap: wrap; gap: 7px; color: #73817c; font-size: 12px; }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs span[aria-current="page"] { color: var(--green); font-weight: 800; }

.home-hero { padding: 70px 0 58px; border-bottom: 1px solid var(--line); background: var(--cream); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: center; gap: 58px; }
.home-hero__copy h1 { max-width: 700px; margin: 0; font-size: clamp(48px, 5.5vw, 76px); line-height: 1.09; letter-spacing: -.04em; }
.home-hero__copy .lede { margin-top: 24px; }
.home-hero__feature { position: relative; display: flex; min-height: 440px; align-items: flex-end; overflow: hidden; padding: 22px; border: 1px solid var(--green); background: var(--green); box-shadow: 13px 13px 0 #dccfba; }
.home-hero__feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.home-hero__feature-copy { position: relative; width: 100%; padding: 28px; border: 1px solid rgba(255,255,255,.34); color: #fffaf0; background: rgba(11,75,63,.9); }
.home-hero__feature-copy > p { margin: 0 0 8px; color: #f0bcaa; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.home-hero__feature-copy h2 { margin: 0; color: #fffaf0; font-size: 29px; line-height: 1.45; }
.home-hero__feature-copy ol { display: grid; gap: 12px; margin: 24px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.25); list-style: none; }
.home-hero__feature-copy li { display: flex; align-items: center; gap: 13px; color: #f3eee4; font-size: 14px; }
.home-hero__feature-copy li span { color: #f0b7a3; font-weight: 900; }
.home-stats { color: #fff; background: var(--green); }
.home-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-block: 0; }
.home-stats__grid > div { display: flex; min-height: 112px; align-items: center; justify-content: center; gap: 14px; padding: 22px; border-right: 1px solid rgba(255,255,255,.19); }
.home-stats__grid > div:first-child { border-left: 1px solid rgba(255,255,255,.19); }
.home-stats dt { color: #f3c0ad; font-size: 29px; font-weight: 900; }
.home-stats dd { max-width: 120px; margin: 0; color: #eef3ed; font-size: 13px; line-height: 1.55; }

.section { padding: 86px 0; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--mist { background: #edf2e8; }
.section-heading { margin-bottom: 34px; }
.section-heading h2 { margin: 0; }
.section-heading--split { display: grid; grid-template-columns: minmax(0,.9fr) minmax(280px,.7fr); align-items: end; gap: 60px; }
.section-heading--split > p { margin: 0; color: #63736e; font-size: 15px; line-height: 1.85; }
.section-action { display: flex; justify-content: center; margin-top: 34px; }

.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.course-card { position: relative; display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.course-card:focus-within { border-color: #9cac9d; box-shadow: 0 18px 32px rgba(11,75,63,.1); }
.course-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #e4e4d8; }
.course-card__media img { width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none; }
.course-card:hover .course-card__media img { transform: none; }
.course-card__fallback { display: flex; width: 100%; height: 100%; flex-direction: column; justify-content: center; gap: 5px; padding: 25px; color: #f8eee3; background: var(--green); }
.course-card__fallback b { font-size: 23px; font-weight: 900; letter-spacing: .05em; }
.course-card__fallback small { color: #c8d8d1; font-size: 12px; }
.course-card__body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.course-card__type { margin: 0 0 10px !important; color: var(--red) !important; font-size: 12px !important; font-weight: 800; letter-spacing: .05em; }
.course-card__body h3 { margin: 0; font-size: 27px; line-height: 1.35; }
.course-card__body h3 a:hover { color: var(--red); }
.course-card__body > p:not(.course-card__type) { flex: 1; margin: 14px 0 22px; color: #63736e; font-size: 14px; line-height: 1.85; }
.course-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 17px; border-top: 1px solid var(--line); color: #70807a; font-size: 12px; }

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.category-card { display: flex; min-width: 0; min-height: 280px; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.category-card > img { width: 100%; height: 180px; object-fit: contain; object-position: center; background: #e4e4d8; }
.category-card__body { display: flex; flex: 1; align-items: flex-start; flex-direction: column; padding: 26px; }
.category-card__count { margin: 0 0 8px !important; color: var(--red) !important; font-size: 12px !important; font-weight: 800; letter-spacing: .06em; }
.category-card h3 { margin: 0; font-size: 27px; line-height: 1.3; }
.category-card h3 a:hover { color: var(--red); }
.category-card__body > p:not(.category-card__count) { flex: 1; margin: 13px 0 22px; color: #65766f; font-size: 14px; line-height: 1.8; }

.learning-section { color: #f7f1e8; background: var(--green); }
.learning-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 80px; }
.learning-grid > div:first-child { position: sticky; top: 30px; }
.learning-grid h2 { margin: 0; color: #fff; font-size: clamp(36px,4vw,54px); }
.learning-grid > div:first-child > p:last-child { margin: 22px 0 0; color: #c9d7d2; font-size: 15px; line-height: 1.9; }
.learning-points { display: grid; border-top: 1px solid rgba(255,255,255,.22); }
.learning-points article { display: grid; grid-template-columns: 55px 150px 1fr; align-items: start; gap: 18px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.learning-points span { color: #e8a990; font-weight: 900; }
.learning-points h3 { margin: 0; color: #fff; font-size: 19px; }
.learning-points p { margin: 0; color: #c9d7d2; font-size: 14px; line-height: 1.8; }

.page-hero, .category-hero { padding: 70px 0; border-bottom: 1px solid var(--line); background: var(--cream); }
.page-hero--courses { color: var(--ink); background: var(--cream); }
.page-hero__inner, .category-hero__copy { max-width: 940px; margin-inline: auto; text-align: center; }
.page-hero h1, .category-hero h1 { margin: 0; font-size: clamp(44px,6vw,72px); line-height: 1.14; }
.page-hero .lede, .category-hero .lede { margin: 22px auto 0; }
.course-index-hero { width: min(100%, 840px); max-height: 300px; margin: 28px auto 0; border: 8px solid var(--green); object-fit: cover; }
.page-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.category-count { width: fit-content; margin: 24px auto 0; padding: 8px 14px; border: 1px solid #bbcabd; color: var(--green); background: #edf1e8; font-size: 13px; font-weight: 800; }
.category-jump { border-bottom: 1px solid var(--line); background: var(--paper); }
.category-jump__inner { display: flex; min-height: 56px; align-items: center; justify-content: center; gap: 24px; overflow-x: auto; }
.category-jump a { flex: 0 0 auto; color: #456158; font-size: 13px; font-weight: 800; white-space: nowrap; }
.category-jump a:hover { color: var(--red); }
.intro-prose { padding-top: 58px; }
.course-category:nth-of-type(even) { background: var(--paper); }
.empty-state { padding: 55px; border: 1px solid var(--line); background: var(--cream); text-align: center; }
.category-list-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.list-guidance { padding: 58px 0; background: #eee6d5; }
.list-guidance__inner { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 36px; }
.list-guidance h2 { margin: 0; font-size: 28px; }
.list-guidance p { margin: 0; color: #596b64; line-height: 1.8; }
.list-guidance .eyebrow { margin-bottom: 8px; }

.course-hero { padding: 32px 0 62px; border-bottom: 1px solid var(--line); background: var(--cream); }
.course-hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr); align-items: center; gap: 58px; }
.course-hero__copy h1 { margin: 0; font-size: clamp(48px,6vw,74px); line-height: 1.08; letter-spacing: -.04em; }
.course-hero__copy .lede { margin: 22px 0 0; }
.course-hero__media { margin: 0; }
.course-hero__media img { width: 100%; height: auto; max-height: 460px; border: 10px solid var(--green); border-radius: var(--radius); object-fit: contain; object-position: center; background: #e4e4d8; }
.course-hero__fallback { display: flex; min-height: 360px; flex-direction: column; justify-content: flex-end; padding: 36px; border: 10px solid var(--green); color: #fff; background: var(--red); }
.course-hero__fallback strong { color: #fff; font-size: clamp(34px,4vw,54px); font-weight: 900; line-height: 1.2; }
.course-hero__fallback span { margin-top: 12px; color: #f3d8cb; }
.course-content-grid { display: grid; grid-template-columns: minmax(0,1fr) 340px; align-items: start; gap: 38px; padding-top: 48px; padding-bottom: 80px; background: var(--paper); }
.course-main { display: grid; min-width: 0; gap: 24px; }
.content-panel { padding: clamp(28px,4vw,46px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); }
.content-panel--tint { background: #f5efe2; }
.content-panel h2 { font-size: 31px; }
.course-aside { position: sticky; top: 24px; display: grid; gap: 18px; min-width: 0; }
.outcome-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin: 25px 0 0; padding: 0; list-style: none; }
.outcome-list li { display: grid; grid-template-columns: 36px 1fr; align-items: start; gap: 13px; padding: 18px; border: 1px solid #d6dbcf; background: var(--paper); }
.outcome-list li > span { color: var(--red); font-size: 12px; font-weight: 900; }
.outcome-list p { margin: 0; color: #445d54; line-height: 1.75; }
.chapter-list { display: grid; gap: 0; margin: 25px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.chapter-disclosure { margin: 16px 0 0; padding: 12px 14px; border-left: 3px solid var(--red); color: #61736c; background: #f1eadc; font-size: 13px; }
.chapter-list li { display: grid; grid-template-columns: 54px 1fr; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--line); }
.chapter-list__number { color: var(--red); font-size: 21px; font-weight: 900; }
.chapter-list h3 { margin: 3px 0 0; color: var(--green); font-size: 18px; }
.chapter-list p { margin: 8px 0 0; color: #677870; font-size: 14px; }

.teacher-card, .offline-card { padding: 30px; border: 1px solid var(--line); background: var(--cream); }
.teacher-card__portrait { width: 150px; margin: 0 auto 26px; }
.teacher-card__portrait img, .teacher-card__fallback { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: top; }
.teacher-card__fallback { display: grid; place-content: center; color: #fff; background: var(--green); text-align: center; }
.teacher-card__fallback strong { font-size: 52px; line-height: 1; }
.teacher-card__fallback span { margin-top: 8px; color: #c8d8d1; font-size: 12px; }
.teacher-card__content h2 { font-size: 25px; }
.teacher-card__content .prose { font-size: 14px; line-height: 1.9; }
.credential-list { margin: 16px 0; padding-left: 20px; color: var(--red); font-size: 13px; font-weight: 700; line-height: 1.75; }
.credential-list li { margin-bottom: 4px; }
.offline-card { background: #edf2e8; }
.offline-card h2 { font-size: 24px; }
.offline-card > p:not(.eyebrow) { color: #596d65; font-size: 14px; line-height: 1.9; }
.offline-card .button { margin-top: 12px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.testimonial-grid--detail { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 24px; }
.testimonial { position: relative; margin: 0; padding: 28px; border: 1px solid var(--line); background: var(--cream); }
.testimonial__mark { color: var(--red); font-size: 34px; font-weight: 900; line-height: 1; }
.testimonial blockquote { margin: 10px 0 20px; color: #405951; font-size: 15px; line-height: 1.9; }
.testimonial figcaption { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--line); color: var(--red); font-size: 13px; font-weight: 800; }
.testimonial figcaption span { color: var(--muted); font-weight: 500; }
.stars { display: block; margin-top: 8px; color: #b77a36; font-size: 12px; }

.offline-cta { padding: 66px 0; color: #fff; background: #103d35; }
.offline-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.offline-cta h2 { margin: 0; color: #fff; }
.offline-cta p:not(.eyebrow) { max-width: 760px; margin: 14px 0 0; color: #c7d6d0; }
.offline-cta .button { flex: 0 0 auto; }

.default-layout { padding-top: 70px; padding-bottom: 90px; }
.default-layout__image { width: 100%; max-height: 560px; margin-bottom: 45px; border: 8px solid var(--green); object-fit: cover; }
.prose { color: #536961; font-size: 16px; line-height: 1.95; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose h2 { font-size: 34px; }
.prose h3 { font-size: 23px; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose img { margin: 2em auto; }
.prose table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); }
.prose blockquote { margin: 2em 0; padding: 18px 24px; border-left: 4px solid var(--red); background: var(--cream); }

.contact-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(440px,1.2fr); align-items: start; gap: 76px; }
.contact-card { padding: 34px; border: 1px solid var(--line); color: #fff; background: var(--green); }
.contact-card h2 { color: #fff; }
.contact-card p:not(.eyebrow) { color: #c9d8d2; }
.contact-copy h2 { font-size: 38px; }
.contact-copy > p:not(.eyebrow):not(.medical-safety-note) { color: #5d7068; line-height: 1.9; }
.contact-note, .contact-details { display: grid; gap: 9px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); color: #5b6e67; font-size: 14px; }
.contact-note strong, .contact-details strong { color: var(--red); }
.contact-details a { width: fit-content; color: var(--green); font-weight: 900; text-decoration: underline; text-underline-offset: 3px; }
.contact-details p { margin: 0; }
.medical-safety-note { margin: 28px 0 0; padding: 16px 18px; border-left: 4px solid var(--red); color: #6f4b41; background: #f1e5d7; font-size: 13px; line-height: 1.8; }
.notice { padding: 12px; border: 1px solid rgba(255,255,255,.3); }
.contact-prose { padding-top: 55px; }

.about-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.about-panel { padding: 36px; border: 1px solid var(--line); background: var(--cream); }
.about-panel h2 { font-size: 34px; }
.about-notice { margin-top: 28px; padding: 24px 28px; border-left: 4px solid var(--red); background: #f1eadc; }
.about-notice strong { color: var(--green); }
.about-notice p { margin: 7px 0 0; color: #61736c; }

.article-page-count { width: fit-content; margin: 24px auto 0; padding: 8px 14px; border: 1px solid #bbcabd; color: var(--green); background: #edf1e8; font-size: 13px; font-weight: 800; }
.article-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.article-card { display: flex; min-width: 0; flex-direction: column; padding: 30px; border: 1px solid var(--line); background: var(--cream); }
.article-card__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 14px; color: var(--red); font-size: 12px; font-weight: 800; }
.article-card h2 { margin: 0; font-size: 28px; line-height: 1.4; }
.article-card h2 a:hover { color: var(--red); }
.article-card > p:not(.article-card__meta) { flex: 1; margin: 16px 0 22px; color: #61736c; font-size: 14px; line-height: 1.9; }
.article-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 38px; }
.article-pagination a, .article-pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--green); color: var(--green); background: transparent; font-weight: 800; }
.article-pagination a:hover, .article-pagination span[aria-current="page"] { color: #fff; background: var(--green); }
.article-pagination__edge { padding-inline: 18px; }
.article-hero { padding: 52px 0 62px; border-bottom: 1px solid var(--line); background: var(--cream); }
.article-hero h1 { margin: 0; font-size: clamp(42px,6vw,66px); }
.article-hero .lede { margin-top: 22px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #70807a; font-size: 13px; }
.article-byline span { color: var(--red); font-weight: 800; }
.article-layout { padding-top: 58px; padding-bottom: 88px; }
.article-body { color: #405951; }
.article-body hr { margin: 42px 0; border: 0; border-top: 1px solid var(--line); }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-notice { margin-top: 42px; padding: 24px; border-left: 4px solid var(--red); background: #f1eadc; }
.article-notice strong { color: var(--green); }
.article-notice p { margin: 6px 0 0; color: #61736c; }
.article-neighbors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-top: 36px; }
.article-neighbors a { display: grid; gap: 5px; padding: 20px; border: 1px solid var(--line); background: var(--paper); }
.article-neighbors a:last-child { text-align: right; }
.article-neighbors a:hover { border-color: var(--green); }
.article-neighbors small { color: var(--red); font-weight: 800; }
.article-neighbors strong { color: var(--green); line-height: 1.55; }
.article-back { margin-top: 30px; }

.site-footer { color: #e7eee9; background: var(--green-dark); }
.site-footer__grid { display: grid; grid-template-columns: 1.35fr .65fr .75fr .75fr 1fr; gap: 46px; padding-block: 60px; }
.site-footer h2 { margin: 0 0 16px; color: #f0c1ae; font-size: 15px; letter-spacing: 0; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-top: 10px; }
.site-footer li a { color: #d7e1dd; font-size: 13px; }
.site-footer li a:hover { color: #fff; }
.brand--footer { min-width: 0; }
.brand__logo--footer { filter: brightness(0) invert(1); }
.brand--footer .brand__copy strong { color: #fff; }
.brand--footer .brand__copy small { color: #b9c8c2; }
.footer-brand > p, .footer-contact p { color: #b9c8c2; font-size: 14px; line-height: 1.9; }
.footer-brand > p { max-width: 420px; margin-top: 18px; }
.site-footer__bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.14); color: #94aaa2; font-size: 12px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 30px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom p:last-child { max-width: 620px; text-align: right; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .primary-nav__inner { gap: 24px; }
  .brand-bar__promise { display: none; }
  .brand-bar__inner { justify-content: space-between; }
  .course-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-footer__grid { grid-template-columns: 1.3fr .7fr .8fr .8fr; }
  .footer-contact { grid-column: 1 / -1; }
  .learning-grid { gap: 50px; }
  .learning-points article { grid-template-columns: 40px 120px 1fr; }
}

@media (max-width: 900px) {
  .home-hero__grid { grid-template-columns: minmax(0,1fr) minmax(320px,.82fr); gap: 34px; }
  .home-hero__feature { min-height: 410px; }
  .course-hero__grid { grid-template-columns: minmax(0,1fr) minmax(300px,.8fr); gap: 34px; }
  .course-content-grid { grid-template-columns: minmax(0,1fr) 300px; gap: 24px; }
  .contact-grid { gap: 44px; }
  .list-guidance__inner { grid-template-columns: 1fr 1.2fr; }
  .list-guidance__inner > .button { grid-column: 1 / -1; width: fit-content; }
}

@media (max-width: 780px) {
  :root { --shell: min(100% - 32px, 1180px); }
  .announcement__inner { min-height: 32px; justify-content: center; }
  .announcement__contact { display: none; }
  .brand-bar__inner { min-height: 70px; }
  .brand { min-width: 0; }
  .brand__logo { width: 180px; max-height: 54px; }
  .brand__copy strong { font-size: 24px; }
  .brand__copy small, .brand-bar__contact { display: none; }
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .primary-nav { display: block; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: block; }
  .primary-nav__inner { display: grid; gap: 0; padding-block: 9px 15px; }
  .primary-nav__inner > a, .nav-cluster > a { width: 100%; min-height: 44px; padding-inline: 4px; border-bottom: 1px solid #e3e2d7; }
  .nav-cluster { display: grid; grid-template-columns: 1fr auto; }
  .nav-cluster__toggle { min-height: 44px; border-bottom: 1px solid #e3e2d7; }
  .subnav { display: grid; position: static; width: auto; grid-column: 1 / -1; padding: 0 0 8px 18px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .js .subnav { display: none; }
  .js .nav-cluster.is-open .subnav { display: grid; }
  .home-hero { padding: 52px 0 45px; }
  .home-hero__grid, .course-hero__grid { grid-template-columns: 1fr; }
  .home-hero__copy { max-width: 640px; }
  .home-hero__feature { min-height: 340px; }
  .home-stats__grid { grid-template-columns: repeat(2,1fr); }
  .home-stats__grid > div { min-height: 100px; border-bottom: 1px solid rgba(255,255,255,.18); }
  .section { padding: 66px 0; }
  .section-heading--split { grid-template-columns: 1fr; gap: 18px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .learning-grid { grid-template-columns: 1fr; gap: 36px; }
  .learning-grid > div:first-child { position: static; }
  .course-content-grid { grid-template-columns: 1fr; }
  .course-aside { position: static; grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .offline-cta__inner { align-items: flex-start; flex-direction: column; gap: 26px; }
  .offline-cta .button { width: fit-content; }
  .contact-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  :root { --shell: min(100% - 28px, 1180px); }
  body { font-size: 15px; }
  h1 { font-size: 43px; }
  h2 { font-size: 34px; }
  .announcement { font-size: 11px; }
  .brand-bar__inner, .brand { gap: 10px; }
  .brand__logo { width: 180px; }
  .brand__copy strong { font-size: 21px; }
  .nav-toggle { min-height: 38px; padding-inline: 11px; font-size: 12px; }
  .home-hero { padding-top: 42px; }
  .home-hero__copy h1, .course-hero__copy h1 { font-size: clamp(42px,13vw,54px); }
  .home-hero__copy .lede { margin-top: 18px; font-size: 16px; line-height: 1.82; }
  .button-row { display: grid; grid-template-columns: 1fr; }
  .page-hero-actions { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .home-hero__feature { min-height: 330px; padding: 12px; box-shadow: 7px 7px 0 #dccfba; }
  .home-hero__feature-copy { padding: 22px; }
  .home-hero__feature-copy h2 { font-size: 25px; }
  .home-stats__grid > div { min-width: 0; padding: 17px 10px; }
  .home-stats dt { font-size: 24px; }
  .home-stats dd { font-size: 12px; }
  .course-grid, .category-grid { grid-template-columns: 1fr; }
  .course-card__body { padding: 22px; }
  .course-card__meta { align-items: flex-start; }
  .category-card { min-height: 0; }
  .learning-points article { grid-template-columns: 36px 1fr; gap: 12px; }
  .learning-points article p { grid-column: 2; }
  .list-guidance__inner { grid-template-columns: 1fr; gap: 20px; }
  .list-guidance__inner > .button { grid-column: auto; width: 100%; }
  .page-hero, .category-hero { padding: 52px 0; }
  .page-hero h1, .category-hero h1 { font-size: 43px; }
  .category-jump__inner { justify-content: flex-start; gap: 18px; }
  .course-hero { padding-bottom: 44px; }
  .course-hero__fallback { min-height: 300px; padding: 26px; }
  .course-content-grid { padding-top: 28px; }
  .content-panel { padding: 25px 20px; }
  .outcome-list { grid-template-columns: 1fr; }
  .chapter-list li { grid-template-columns: 42px 1fr; gap: 11px; }
  .course-aside, .testimonial-grid--detail { grid-template-columns: 1fr; }
  .offline-cta .button { width: 100%; }
  .article-card { padding: 24px 20px; }
  .article-neighbors { grid-template-columns: 1fr; }
  .article-neighbors a:last-child { text-align: left; }
  .article-pagination__edge { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-brand, .footer-contact { grid-column: auto; }
  .site-footer__bottom { display: grid; gap: 10px; }
  .site-footer__bottom p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .category-jump, .button, .offline-cta, .article-pagination { display: none !important; }
  body { color: #000; background: #fff; }
  .course-content-grid { display: block; }
}

/* Commerce: product prices and purchase controls live only in the shop templates. */
.nav-cart { gap: 7px; }
.nav-cart__count { display: inline-grid; min-width: 22px; height: 22px; place-items: center; padding: 0 6px; border-radius: 0; color: #fff; background: var(--red); font-size: 11px; line-height: 1; }
.nav-cart__count[hidden] { display: none; }
.commerce-hero--compact { padding-block: 52px; }
.commerce-catalog { min-height: 420px; }
.product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.product-card { display: flex; min-width: 0; flex-direction: column; border: 1px solid var(--line); background: var(--cream); }
.product-card__media { display: grid; min-height: 280px; overflow: hidden; place-items: center; border-bottom: 1px solid var(--line); background: #eee6d5; }
.product-card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-card__media img { transform: scale(1.025); }
.product-card__placeholder { color: #779087; font-size: 15px; font-weight: 900; letter-spacing: .12em; }
.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.product-card__category { margin: 0 0 8px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.product-card h3 { margin: 0; font-size: 25px; line-height: 1.35; }
.product-card h3 a:hover { color: var(--red); }
.product-card__summary { flex: 1; margin: 13px 0 22px; color: #61736c; font-size: 14px; line-height: 1.8; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.product-price { margin: 0; color: var(--green); font-size: 19px; font-weight: 900; white-space: nowrap; }
.product-price--large { margin: 28px 0 8px; font-size: clamp(28px,4vw,40px); }
.commerce-empty { grid-column: 1 / -1; }
.commerce-empty[hidden] { display: none; }
.commerce-empty h2 { font-size: 30px; }
.commerce-empty p { max-width: 620px; margin-inline: auto; color: var(--muted); }
.commerce-status { min-height: 1.75em; margin: 22px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

.product-detail__hero { padding: 58px 0 70px; border-bottom: 1px solid var(--line); background: var(--cream); }
.product-detail__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.88fr); align-items: center; gap: 64px; }
.product-detail__media { margin: 0; border: 10px solid var(--green); background: #eee6d5; }
.product-detail__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-detail__placeholder { display: flex; min-height: 520px; align-items: flex-start; justify-content: flex-end; flex-direction: column; padding: 42px; color: #fff; background: var(--green); }
.product-detail__placeholder span { color: #efb7a2; font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.product-detail__placeholder strong { margin-top: 12px; font-size: clamp(34px,5vw,58px); line-height: 1.15; }
.product-detail__copy h1 { margin: 0; font-size: clamp(44px,6vw,72px); }
.stock-note { width: fit-content; margin: 0 0 8px; padding: 6px 11px; border: 1px solid #aabcb4; color: var(--green); background: #edf2e8; font-size: 12px; font-weight: 900; }
.stock-note--out_of_stock { border-color: #d4bbb4; color: #8b3f2f; background: #f5e9e3; }
.product-sku { color: var(--muted); font-size: 13px; }
.product-purchase { display: grid; grid-template-columns: 82px minmax(170px,1fr); gap: 10px 14px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.product-purchase label { grid-column: 1; color: var(--green); font-size: 13px; font-weight: 900; }
.product-purchase input { grid-column: 1; width: 82px; min-height: 48px; padding: 8px 12px; border: 1px solid #aebbb5; color: var(--ink); background: var(--paper); }
.product-purchase .button { grid-column: 2; grid-row: 2; }
.product-purchase .text-link { grid-column: 2; text-align: center; }
.commerce-security-note { margin: 22px 0 0; color: #667871; font-size: 12px; line-height: 1.75; }
.product-detail__content { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 30px; padding-top: 54px; padding-bottom: 88px; }
.product-facts { padding: 30px; border: 1px solid var(--line); background: #edf2e8; }
.product-facts h2 { font-size: 25px; }
.product-facts p { color: #576d64; font-size: 14px; }
.commerce-toast { position: fixed; z-index: 500; right: 22px; bottom: 22px; max-width: min(390px,calc(100vw - 44px)); padding: 15px 18px; color: #fff; background: var(--green); box-shadow: 0 10px 32px rgba(7,58,49,.25); font-weight: 800; }

.commerce-two-column { display: grid; grid-template-columns: minmax(0,1fr) 350px; align-items: start; gap: 38px; }
.cart-lines { display: grid; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 92px minmax(0,1fr) auto; align-items: center; gap: 20px; padding: 18px; border: 1px solid var(--line); background: var(--cream); }
.cart-line__image { display: grid; width: 92px; height: 92px; overflow: hidden; place-items: center; color: #789087; background: #eee6d5; font-size: 11px; font-weight: 900; text-align: center; }
.cart-line__image img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__content h3 { margin: 0; font-size: 20px; }
.cart-line__content h3 a:hover { color: var(--red); }
.cart-line__price { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.cart-line__controls { display: grid; justify-items: end; gap: 8px; }
.cart-line__controls label { color: var(--muted); font-size: 12px; }
.cart-line__controls input { width: 76px; min-height: 42px; padding: 5px 10px; border: 1px solid #aebbb5; background: var(--paper); }
.cart-line__remove { padding: 3px; border: 0; color: var(--red); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.order-summary { padding: 30px; border: 1px solid var(--line); background: var(--cream); }
.order-summary h2 { font-size: 28px; }
.order-summary dl { margin: 22px 0; }
.order-summary dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.order-summary dt { color: #5e7169; }
.order-summary dd { margin: 0; color: var(--green); font-weight: 900; }
.order-summary__note { color: var(--muted); font-size: 12px; line-height: 1.7; }
.order-summary__continue { display: block; margin-top: 18px; text-align: center; }
.order-summary__total { font-size: 20px; }
.order-summary--sticky { position: sticky; top: 24px; }
.order-summary .button[aria-disabled="true"] { border-color: #cbd0cb; color: #79867f; background: #e6e8e4; pointer-events: none; }

.commerce-two-column--checkout { grid-template-columns: minmax(0,1fr) 390px; }
.checkout-form { display: grid; gap: 18px; }
.checkout-panel { position: relative; padding: clamp(24px,4vw,38px); border: 1px solid var(--line); background: var(--cream); }
.checkout-panel h2 { margin-bottom: 24px; font-size: 28px; }
.checkout-step { position: absolute; top: 21px; right: 25px; margin: 0; color: #b5c0b9; font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.form-grid__full { grid-column: 1 / -1; }
.field { display: grid; gap: 7px; color: var(--green); font-size: 13px; font-weight: 800; }
.field input, .field select { width: 100%; min-height: 48px; padding: 9px 12px; border: 1px solid #acbab3; border-radius: 0; color: var(--ink); background: var(--paper); }
.field input:focus, .field select:focus { border-color: var(--green); outline: 3px solid rgba(11,75,63,.12); }
.choice-list { display: grid; gap: 10px; }
.choice-list__placeholder { margin: 0; padding: 18px; border: 1px dashed #adbab4; color: var(--muted); background: var(--paper); font-size: 14px; }
.choice-card { display: flex; min-height: 66px; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid #bac4be; background: var(--paper); cursor: pointer; }
.choice-card:has(input:checked) { border-color: var(--green); box-shadow: inset 4px 0 0 var(--green); }
.choice-card input { width: 18px; height: 18px; accent-color: var(--green); }
.choice-card span { display: grid; gap: 1px; }
.choice-card strong { color: var(--green); }
.choice-card small { color: var(--muted); }
.choice-card__price { margin-left: auto; color: var(--green); font-weight: 900; }
.checkout-consent { display: flex; align-items: flex-start; gap: 10px; color: #5b6e67; font-size: 13px; line-height: 1.7; }
.checkout-consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 3px; accent-color: var(--green); }
.checkout-consent a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.field-error, .checkout-error { min-height: 1.5em; margin: 10px 0 0; color: #a43927; font-size: 13px; font-weight: 700; }
.checkout-items { display: grid; gap: 12px; }
.checkout-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.checkout-item p { margin: 0; color: var(--green); font-size: 14px; font-weight: 800; }
.checkout-item small { display: block; color: var(--muted); font-weight: 500; }
.checkout-item strong { flex: 0 0 auto; color: var(--green); font-size: 14px; }

.order-result { min-height: 640px; padding: clamp(60px,10vw,120px) 0; background: var(--cream); }
.order-result__card { padding: clamp(34px,7vw,70px); border: 1px solid var(--line); background: var(--paper); text-align: center; }
.order-result__icon { display: grid; width: 74px; height: 74px; margin: 0 auto 24px; place-items: center; border: 2px solid var(--green); border-radius: 50%; color: var(--green); font-size: 30px; font-weight: 900; }
.order-result__card h1 { font-size: clamp(38px,6vw,58px); }
.order-result__card .lede { margin-inline: auto; }
.order-result__details { max-width: 560px; margin: 34px auto 0; text-align: left; }
.order-result__details > div { display: flex; justify-content: space-between; gap: 20px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.order-result__details dd { margin: 0; color: var(--green); font-weight: 900; text-align: right; overflow-wrap: anywhere; }
.order-result__actions { justify-content: center; }

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-detail__grid { gap: 38px; }
  .commerce-two-column--checkout { grid-template-columns: minmax(0,1fr) 340px; }
}

@media (max-width: 780px) {
  .product-detail__grid, .product-detail__content, .commerce-two-column, .commerce-two-column--checkout { grid-template-columns: 1fr; }
  .product-detail__placeholder { min-height: 380px; }
  .product-facts, .order-summary--sticky { position: static; }
  .order-summary { grid-row: auto; }
  .commerce-two-column--checkout .order-summary { grid-row: 1; }
  .cart-line { grid-template-columns: 76px minmax(0,1fr); }
  .cart-line__image { width: 76px; height: 76px; }
  .cart-line__controls { grid-column: 2; grid-template-columns: auto auto; align-items: end; justify-content: start; justify-items: start; }
}

@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card__media { min-height: 240px; }
  .product-card__footer { align-items: stretch; flex-direction: column; }
  .product-detail__hero { padding-top: 38px; }
  .product-detail__media { border-width: 7px; }
  .product-detail__placeholder { min-height: 300px; padding: 28px; }
  .product-purchase { grid-template-columns: 76px 1fr; }
  .commerce-toast { right: 14px; bottom: 14px; max-width: calc(100vw - 28px); }
  .cart-line { grid-template-columns: 58px minmax(0,1fr); gap: 13px; padding: 14px; }
  .cart-line__image { width: 58px; height: 58px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid__full { grid-column: auto; }
  .choice-card { align-items: flex-start; }
  .choice-card__price { margin-left: 0; }
  .order-result__details > div { display: grid; gap: 2px; }
  .order-result__details dd { text-align: left; }
}

@media print {
  .commerce-toast, .checkout-form, .product-purchase, .cart-line__controls { display: none !important; }
}

@media screen and (min-width: 1081px) {
  .site-header .brand-bar__inner { gap: 14px; }
  .site-header .brand-bar__inner > .brand { min-width: 0; }
  .site-header .brand-bar__inner > .brand > .brand__logo { width: 220px; }
  .site-header .brand-bar__inner > .brand-bar__promise { padding-left: 0; border-left: 0; }
}

.page-hero--courses { padding: 64px 0 60px; }
.page-hero--courses .page-hero__inner { max-width: 900px; }
.page-hero--courses .eyebrow { margin-bottom: 18px; }
.page-hero--courses h1 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.2; letter-spacing: -.02em; }
.page-hero--courses .lede { max-width: 620px; margin-top: 20px; line-height: 1.8; }
.page-hero--courses .page-hero-actions { margin-top: 28px; }

@media (max-width: 780px) {
  .page-hero--courses { padding: 46px 0 44px; }
  .page-hero--courses h1 { font-size: clamp(32px, 6.5vw, 44px); line-height: 1.22; }
  .page-hero--courses .lede { margin-top: 18px; font-size: 16px; }
  .page-hero--courses .page-hero-actions { margin-top: 24px; }
}

/* Course-card motion keeps the complete cover image inside its existing frame. */
.course-card__meta .text-link { display: inline-block; transition: color .22s ease, transform .22s ease; }

@media (hover: hover) and (pointer: fine) {
  .course-card, .js .course-card.reveal.is-visible { transition: opacity .5s ease, transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
  .course-card:hover, .js .course-card.reveal.is-visible:hover { border-color: var(--green); box-shadow: 0 18px 32px rgba(11,75,63,.16); transform: translateY(-4px); }
  .course-card:hover .course-card__meta .text-link { color: var(--red); transform: translateX(3px); }
}

@media (prefers-reduced-motion: reduce) {
  .course-card:hover, .js .course-card.reveal.is-visible:hover { transform: none; transition: none; }
  .course-card__meta .text-link { transition: none; }
  .course-card:hover .course-card__meta .text-link { transform: none; }
}

/* Hide only the note directly inside course recommendations. */
#course-recommendations > .chapter-disclosure { display: none; }
