:root {
  --dark: #004533;
  --ink: #192922;
  --muted: #4a5952;
  --pale: #ebf4eb;
  --green: #00ab7b;
  --rule: #cedbd2;
  --pad: clamp(20px, 5.8vw, 94px);
  --font: "Noto Sans TC", "Open Sans", "Microsoft JhengHei", Arial, sans-serif;
  --heading: "GenYoGothic TW", "源樣黑體 TW", var(--font);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font: 16px/1.75 var(--font); background: white; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid #00865f; outline-offset: 4px; }
.hero a:focus-visible, .coaching a:focus-visible, footer a:focus-visible, footer summary:focus-visible { outline-color: white; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3, blockquote, strong { font-family: var(--heading); }
h1, h2, h3, blockquote { text-wrap: balance; }
h1 { font-size: clamp(22px, 2.4vw, 38px); line-height: 1.4; }
h2 { font-size: clamp(29px, 3.6vw, 56px); font-weight: 700; line-height: 1.26; letter-spacing: -.045em; }
h3 { line-height: 1.45; }
.wrap { width: min(100%, 1540px); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(58px, 7vw, 108px); }
.section-heading, .analysis-heading { margin-bottom: clamp(28px, 3.3vw, 52px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.analysis-intro { margin-top: 12px; color: var(--muted); text-wrap: balance; }
.kicker, .by, .chart-label, .attribution { color: var(--dark); font-weight: 700; }
.kicker { font: 700 12px/1.4 Arial, sans-serif; letter-spacing: .18em; margin-bottom: 17px; }
.kicker::before { display: inline-block; content: ""; width: 19px; height: 4px; margin-right: 10px; background: currentColor; transform: skewX(-30deg); vertical-align: middle; }
.skip { position: absolute; top: -60px; left: 8px; z-index: 9; background: white; padding: 8px; }
.skip:focus { top: 8px; }
.head { background: white; position: relative; z-index: 2; }
.head-in, .desktop-nav, .account, .actions, .hero-actions, .foot, .foot nav { display: flex; align-items: center; }
.head-in { height: 80px; gap: 30px; }
.brand img, .foot img { width: 148px; }
.desktop-nav { margin-left: auto; gap: clamp(16px, 2.7vw, 40px); }
.desktop-nav, .account .login { font-family: var(--heading); font-weight: 600; }
.account { gap: 20px; }
.desktop-nav a:hover, .login:hover, .foot a:hover { text-decoration: underline; text-underline-offset: .3em; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 15px; background: var(--green); color: #001e15; padding: 13px 22px; font-weight: 700; border-radius: 4px; min-height: 48px; line-height: 1.4; }
.btn:hover { background: #008d65; color: white; }
.btn.small { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn.dark { background: var(--dark); color: white; }
.btn.dark:hover, .btn.light-btn:hover { background: var(--green); color: #001e15; }
.btn.light-btn { color: var(--dark); background: white; }
.text-link { font-weight: 700; color: var(--dark); padding-block: 4px; border-bottom: 1px solid currentColor; }
.text-link:hover { color: #007451; }
.light { color: white; }
.light:hover { color: #bcf2d7; }
.mobile-nav { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); background: var(--dark); color: white; position: relative; }
.hero-copy { padding: clamp(50px,6.1vw,102px) clamp(22px,3.4vw,62px) clamp(50px,5vw,85px) max(var(--pad),calc((100vw - 1540px) / 2 + var(--pad))); align-self: center; }
.slogan { width: min(100%, 570px); margin-bottom: clamp(26px,3vw,50px); }
.hero-copy p { color: #dfefe6; max-width: 31em; margin: 15px 0 29px; }
.actions, .hero-actions { gap: 24px; flex-wrap: wrap; }
.runner-story { background: var(--pale); }
.runner-story-inner { display: grid; grid-template-columns: minmax(12em, 22em) minmax(0, 40em); gap: clamp(28px, 5vw, 76px); justify-content: center; }
.runner-story h2 { font-size: clamp(30px, 3.5vw, 48px); }
.runner-story-list { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.runner-goal { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.runner-goal + label { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 12px; background: #fff; border: 1px solid var(--rule); border-radius: 8px; font-size: 16px; line-height: 1.45; cursor: pointer; }
.runner-goal + label::before { content: ''; flex: none; width: 14px; height: 14px; border: 1px solid currentColor; border-radius: 50%; }
.runner-goal:checked + label { color: var(--dark); border-color: currentColor; font-weight: 700; }
.runner-goal:checked + label::before { border: 5px solid currentColor; box-sizing: border-box; }
.runner-goal:focus-visible + label { outline: 2px solid var(--dark); outline-offset: 2px; }
.runner-story-by { font-size: 14px; color: var(--muted); }
.runner-story-body { display: none; order: 1; grid-column: 1 / -1; padding: 20px 4px 0; }
.runner-goal:checked + label + .runner-story-body { display: flow-root; }
.runner-story-photo { float: right; width: 34%; max-width: 210px; height: auto; margin: 0 0 12px 20px; }
.runner-story-photo[src$="-rq.webp"] { border-radius: 50%; }
.runner-story-body h3 { margin-block: 4px 8px; }
.runner-story-list > .actions { order: 2; grid-column: 1 / -1; padding-top: 8px; }
.runner-story-body .text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
@media (max-width: 760px) {
  .runner-story-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 520px) {
  .runner-story-photo { float: none; display: block; width: 64%; margin: 0 auto 16px; }
}
.hero-photo { position: relative; overflow: hidden; min-height: 100%; }
.app-download { margin-top: 24px; }
.app-download strong { display: block; font-size: 16px; }
.store-rating { display: inline-flex; flex-wrap: wrap; gap: 0 8px; align-items: center; min-height: 44px; color: #fff; font-size: 14px; }
.store-rating:hover { text-decoration: underline; }
.rating-stars { color: #f1c40f; }
.store-badges { display: flex; align-items: center; gap: 6px; }
.store-badges a { display: flex; align-items: center; min-height: 50px; }
.store-badges img { width: clamp(116px, 30vw, 135px); }
.store-badges a + a img { width: clamp(139px, 36vw, 155px); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 47% center; position: absolute; }
.hero-photo::after { content: ""; position: absolute; left: -15px; bottom: -7px; width: 115px; height: 56px; transform: skewX(-23deg); background: repeating-linear-gradient(90deg, var(--dark) 0 13px, transparent 13px 23px); }
.analysis-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px,6vw,96px); align-items: start; }
.question { border-top: 1px solid var(--rule); }
.question:last-child { border-bottom: 1px solid var(--rule); }
.question summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 19px 2px; gap: 15px; }
summary::-webkit-details-marker { display: none; }
.question summary small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.question strong { font-size: clamp(17px,1.5vw,23px); }
.question p { margin: -4px 36px 18px 2px; color: var(--muted); }
.plus { position: relative; width: 20px; height: 20px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; inset: 9px 2px; background: var(--dark); }
.plus::after { transform: rotate(90deg); }
.question[open] .plus::after { display: none; }
.instrument { padding: clamp(21px,3.3vw,48px); background: var(--pale); border-top: 4px solid var(--dark); min-height: 360px; }
.chart-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.chart-label small { font-weight: 400; font-size: 12px; }
.value { font: 700 clamp(49px,5.8vw,82px)/1.2 Arial,sans-serif; color: var(--dark); margin: 14px 0 6px; letter-spacing: -.065em; }
.value small { font: 600 14px var(--font); letter-spacing: 0; }
.bars { display: flex; gap: 4%; height: 133px; margin: 29px 0 47px; background: repeating-linear-gradient(to top, #bdd0c2 0 1px, transparent 1px 33.33%); }
.bars div { position: relative; display: flex; flex-direction: column; justify-content: end; align-items: center; flex: 1; min-width: 0; }
.bars i { width: min(90%,34px); background: #779f8b; flex-shrink: 0; }
.bars i.peak { background: var(--dark); }
.bars span, .bars b { font: 600 12px/1.4 var(--font); }
.bars b { position: absolute; top: 100%; margin-top: 6px; }
.caption { border-top: 1px solid #bdcec1; padding-top: 12px; font-size: 14px; color: var(--muted); }
.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 125px), 1fr)); gap: 8px; padding: 0; margin: 22px 0; list-style: none; }
.zones li { display: grid; gap: 3px; background: #f8faf7; border-left: 5px solid; padding: 9px 12px; }
.zones li:first-child { background: #fff; }
.zones strong { font-size: 14px; }
.zones span { font-size: 15px; font-variant-numeric: tabular-nums; }
.value.pace { font-size: clamp(29px,4vw,64px); }
.pace-range { white-space: nowrap; letter-spacing: normal; font-variant-numeric: tabular-nums; }
.trend-card { margin: 18px 0; padding: clamp(8px,1.2vw,16px); background: #f8faf7; border: 1px solid #cbd8ce; border-radius: 8px; }
.trend-legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 5px; padding: 0; list-style: none; }
.trend-legend li { display: flex; gap: 5px; align-items: center; color: #253b32; font-size: 14px; font-weight: 600; }
.trend-legend li::before { content: ''; width: 15px; border-top: 3px solid; }
.trend-legend .fitness::before { border-color: #206eaa; }
.trend-legend .fatigue::before { border-color: #bd484a; }
.trend-legend .form::before { border-color: #aa630c; }
.trend { display: block; width: 100%; height: auto; }
.race-trend { margin: 0; padding: clamp(12px,2vw,24px); color: #eff7f5; background: #152c30; border-radius: 10px; font-variant-numeric: tabular-nums; }
.race-trend figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 12px; font-size: clamp(18px,2vw,26px); font-weight: 700; }
.race-trend figcaption span, .trend-day, .trend-control { color: #c9dbd9; font-size: 14px; }
.trend-readout { margin-top: 12px; border-top: 1px solid #486163; padding-top: 12px; }
.trend-values { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.trend-values > div { flex: 1 0 min-content; }
.race-trend .fitness { color: #77c8ff; }
.race-trend .fatigue { color: #ff9e94; }
.race-trend .form { color: #ffce76; }
.trend-values dt { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.trend-values dt::before { content: ''; width: 13px; border-top: 3px solid; }
.trend-values .fatigue dt::before { border-top-style: dashed; }
.trend-values .form dt::before { border-top-style: dotted; }
.trend-values dd { margin: 0; font: 700 clamp(22px,3vw,34px)/1.25 Arial,sans-serif; }
.trend-plot { display: block; width: 100%; cursor: crosshair; touch-action: pan-y; overflow: visible; }
.trend-plot text { fill: #c5d8d7; font: 14px Arial,sans-serif; }
.trend-grid { stroke: #3d5558; }
.trend-line { fill: none; stroke: currentColor; stroke-width: 2.3; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.trend-line.fatigue { stroke-dasharray: 6 2; }
.trend-line.form { stroke-dasharray: 2 3; stroke-linecap: round; }
.trend-marker { fill: currentColor; stroke: #152c30; stroke-width: 1.4; }
.trend-cursor { stroke: #e5edec; stroke-dasharray: 3 4; }
.trend-control { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.trend-control input { flex: 1; min-width: 0; height: 40px; accent-color: #d5e3e1; cursor: pointer; }
.trend-control input:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 540px) {
    .trend-plot text { font-size: 20px; }
    .race-trend { margin-inline: -8px; }
}
.library { background: #f4f6f3; }
.services { background: var(--pale); }
.service-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(22px, 6vw, 90px); margin-top: 32px; }
.service-option { display: flex; flex-direction: column; align-items: start; border-top: 2px solid var(--dark); padding-top: 20px; scroll-margin-top: 22px; }
.path-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.path-links a { border: 1px solid var(--dark); border-radius: 4px; color: var(--dark); padding: 8px 16px; font-weight: 700; }
.path-links a:hover { background: var(--dark); color: white; }
.training-path { margin-top: clamp(32px, 5vw, 72px); scroll-margin-top: 24px; }
.training-path h3 { color: var(--dark); font-size: clamp(26px, 3vw, 44px); }
.training-path p { margin-top: 8px; color: var(--muted); }
.service-option h4 { margin: 0; font-family: var(--heading); color: var(--dark); font-size: clamp(21px, 2vw, 30px); line-height: 1.4; }
.service-option > .actions { margin-top: auto; }
.service-option p { color: var(--muted); margin-block: 12px 24px; max-width: 32em; }
.service-option .terms { color: var(--dark); font-weight: 600; margin: auto 0 16px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 24px; width: 100%; }
.plan-features li { border-top: 1px solid var(--rule); padding: 9px 0; }
.glossary { margin-top: 24px; border-block: 1px solid var(--rule); }
.glossary summary { cursor: pointer; display: flex; align-items: center; gap: 12px; padding-block: 13px; font-weight: 700; color: var(--dark); }
.glossary dl { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(210px,100%),1fr)); gap: 22px; margin: 8px 0 24px; }
.glossary dt { font-weight: 700; }
.glossary dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.bookshelf { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 76px); }
.bookshelf h3 { margin: 0 0 18px; padding-top: 14px; border-top: 2px solid var(--dark); font-size: clamp(20px, 2vw, 28px); }
.bookshelf img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.bookshelf-ranking { margin: 0; padding: 0; list-style: none; }
.bookshelf-ranking li + li { border-top: 1px solid var(--rule); }
.bookshelf-ranking a { display: grid; grid-template-columns: 2ch clamp(52px, 4.5vw, 68px) 1fr; align-items: center; gap: 14px; padding: 10px 0; }
.bookshelf-ranking li:first-child a { padding-top: 0; }
.shelf-rank { color: var(--dark); font: 600 18px/1.2 var(--font); font-variant-numeric: tabular-nums; }
.shelf-title { font-family: var(--heading); font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.bookshelf a:hover .shelf-title, .bookshelf a:focus-visible .shelf-title { text-decoration: underline; text-underline-offset: .2em; }
.bookshelf-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.shelf-author { margin: 12px 0 4px; font-size: 14px; color: var(--muted); }
.bookshelf-picks h4 { margin: 0; font-size: clamp(18px, 1.8vw, 28px); }
.film h2 + p, .coach-grid h2 + p { margin: 13px 0 24px; color: var(--muted); }
@media (max-width: 840px) { .bookshelf { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.film, .coach-grid { display: grid; grid-template-columns: 1.14fr 1fr; gap: clamp(24px,6vw,100px); align-items: center; }
.screen { display: block; }
.screen img { width: 100%; height: auto; }
.course-access { color: var(--dark); font-weight: 600; margin-bottom: 12px; }
.coaching { background: var(--dark); color: white; position: relative; overflow: hidden; }
.coaching::after { content: ""; position: absolute; right: 0; bottom: 0; width: 25%; height: 50%; background: radial-gradient(#51816a 1px,transparent 1px) 0 0/7px 7px; pointer-events: none; }
.coach-grid { position: relative; z-index: 1; grid-template-columns: .93fr 1.3fr; }
.coach-grid .kicker, .coach-grid h2 + p, .coach-grid figcaption { color: #dfefe6; }
.coach-grid img { width: 100%; background: var(--pale); border: 6px solid #fff; }
.coach-grid figcaption { font-size: 13px; margin-top: 8px; }
.stories { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 6%; margin-top: 32px; }
.stories figure { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.stories h3 { font-size: 16px; color: var(--muted); margin-bottom: 12px; }
.stories blockquote { flex: 1; color: var(--dark); font-size: clamp(20px,1.75vw,28px); line-height: 1.55; font-weight: 600; }
.stories q:lang(zh) { quotes: "「" "」" "『" "』"; }
.stories figcaption img { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.coach-roster { margin-top: clamp(40px, 6vw, 78px); }
.coach-roster h4 { font-family: var(--heading); font-size: clamp(21px, 2vw, 30px); margin: 0 0 24px; }
.coach-roster ul { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 12px; list-style: none; margin: 0; padding: 0; }
.coach-roster a { display: grid; justify-items: center; gap: 10px; color: var(--dark); font-weight: 600; }
.coach-roster a:hover span, .coach-roster a:focus-visible span { text-decoration: underline; }
.coach-portrait { width: min(100%, 112px); overflow: hidden; border-radius: 50%; border: 1px solid var(--rule); background: white; }
.coach-portrait img { width: 100%; height: auto; transform: var(--portrait-crop, none); }
.portrait-uian { --portrait-crop: translate(-4%, -9%) scale(1.19); }
.portrait-wenyen { --portrait-crop: translate(-2%, -10%) scale(1.21); }
.portrait-rickychu { --portrait-crop: translate(5%, -7%) scale(1.15); }
.portrait-hank { --portrait-crop: translate(-2%, 0) scale(1.21); }
.portrait-triyang { --portrait-crop: translate(2%, 1%) scale(1.17); }
.portrait-amos { --portrait-crop: translate(1%, -1%) scale(1.25); }
@media (max-width: 900px) { .coach-roster ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stories figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.start { background: var(--pale); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); margin: 36px 0; padding: 0; counter-reset: steps; list-style: none; gap: 4%; }
.steps li { border-top: 1px solid #a5beb0; padding-top: 17px; counter-increment: steps; }
.steps li::before { content: counter(steps, decimal-leading-zero); color: var(--dark); font: 600 16px Arial,sans-serif; }
.steps h3 { margin: 8px 0 4px; font-size: 22px; }
.steps p { color: var(--muted); }
.coach-invitation { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 5vw, 76px); }
.coach-invitation h2 { font-size: clamp(24px, 2.7vw, 38px); }
.coach-invitation p { margin-top: 10px; color: var(--muted); max-width: 56ch; }
footer { background: #152d24; color: white; padding-block: 32px; }
.foot { justify-content: space-between; gap: 24px; }
.foot nav { gap: 20px; font-size: 14px; }
.home-language summary { cursor: pointer; padding: 10px 0; white-space: nowrap; }
.foot .home-language nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 16px; }
.home-language a { padding: 8px 0; }
.home-language a[aria-current] { text-decoration: underline; }
@media (max-width: 960px) {
  .head-in { gap: 16px; }
  .desktop-nav { gap: 12px; font-size: 14px; }
  .brand img { width: 125px; }
  .analysis-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .instrument { scroll-margin-block-start: 16px; }
  .hero-copy { padding-right: 22px; }
}
@media (max-width: 1140px) {
  .head-in { height: 63px; gap: 12px; }
  .brand img { width: 112px; }
  .desktop-nav, .login { display: none; }
  .account { margin-left: auto; }
  .btn.small { font-size: 13px; gap: 8px; padding-inline: 12px; }
  .mobile-nav { display: block; }
  .mobile-nav summary { cursor: pointer; list-style: none; width: 38px; height: 44px; display: grid; place-items: center; font: 23px Arial; }
  .mobile-nav nav { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: white; padding: 8px var(--pad) 16px; border-bottom: 1px solid var(--rule); }
  .mobile-nav a { padding: 8px 0; }
}
@media (max-width: 760px) {
  .service-options { grid-template-columns: 1fr; gap: 34px; }
  .stories { grid-template-columns: 1fr; }
  .hero { display: flex; flex-direction: column; }
  .hero-copy { width: 100%; padding: 34px var(--pad) 31px; }
  .slogan { width: min(84%,405px); margin-bottom: 18px; }
  .hero-copy p { margin: 10px 0 18px; }
  .hero-photo { height: auto; aspect-ratio: 4 / 3; }
  .hero-photo img { object-position: center 55%; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; }
  .film, .coach-grid { grid-template-columns: minmax(0, 1fr); }
  .instrument { min-height: 0; }
  .steps { grid-template-columns: 1fr; gap: 19px; }
  .steps li { padding-left: 38px; position: relative; }
  .steps li::before { position: absolute; left: 0; top: 22px; }
  .steps h3 { margin-top: 0; }
  .foot { align-items: start; flex-direction: column; }
  .foot nav { flex-wrap: wrap; }
}
/* Supporting content beneath the coaching and membership section. */
.home-extras { border-block: 1px solid #dbe7de; background: #f7faf7; }
.home-extras-grid { display: grid; gap: clamp(24px, 5vw, 74px); padding-block: clamp(28px, 4.4vw, 61px); }
.home-extras-paired { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; }
.home-extras h2 { font-size: clamp(24px, 2.5vw, 36px); letter-spacing: -.033em; }
.home-course-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 10px; }
.home-extras .text-link { font-size: 14px; }
.home-course-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid #dce6df; }
.home-course-list li { border-top: 1px solid #dce6df; }
.home-course-link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 77px; padding-block: 8px; }
.home-course-with-image { grid-template-columns: 62px minmax(0, 1fr) auto; }
.home-course-link:hover strong { text-decoration: underline; text-underline-offset: .18em; }
.home-course-thumb { width: 62px; height: 57px; border-radius: 5px; background: #e8f1eb; overflow: hidden; }
.home-course-thumb img { width: 100%; height: 100%; object-fit: contain; }
.home-course-info { min-width: 0; overflow-wrap: anywhere; }
.home-course-date { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; }
.home-course-info strong { display: block; color: #173429; font-size: 17px; line-height: 1.48; margin-top: 3px; }
.home-course-action { font-size: 14px; font-weight: 600; color: var(--dark); }
#home-campaigns { min-width: 0; scroll-margin-top: 20px; }
.home-campaign-list { display: grid; gap: 16px; }
.home-campaign-list.is-scrollable {
  position: relative;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.home-campaign-list.is-scrollable::-webkit-scrollbar { display: none; }
.home-campaign { background: var(--pale); border: 1px solid #d5e4d9; border-radius: 8px; overflow: hidden; }
.is-scrollable > .home-campaign { scroll-snap-align: start; scroll-snap-stop: always; }
.home-campaign-with-image { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.home-campaign-copy { padding: 18px 21px 22px; overflow-wrap: anywhere; }
.is-scrollable .home-campaign-copy { align-self: center; }
.home-campaign h2 { font-size: clamp(21px, 2vw, 30px); color: var(--dark); }
.home-campaign p { color: var(--muted); font-size: 14px; margin-block: 6px 10px; }
.home-campaign-art { display: block; background: #d8e8dd; height: clamp(104px, 12vw, 162px); padding: 11px 18px; }
.home-campaign-art img { width: 100%; height: 100%; object-fit: contain; }
.is-scrollable .home-campaign-art { position: relative; height: auto; min-height: clamp(124px, 15vw, 208px); }
.is-scrollable .home-campaign-art img { position: absolute; inset: 0; padding: 11px 18px; }
.home-campaign-controls:not([hidden]) { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 12px; }
.home-campaign-controls button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #bfd3c5;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  cursor: pointer;
}
.home-campaign-controls button:hover:not([aria-disabled="true"]) { background: var(--pale); border-color: var(--dark); }
.home-campaign-controls button:focus-visible { outline: 3px solid #00865f; outline-offset: 3px; }
.home-campaign-controls button[aria-disabled="true"] { opacity: .45; cursor: default; }
.home-campaign-controls button span { width: 9px; height: 9px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); }
.home-campaign-controls .home-campaign-prev span { transform: rotate(-135deg); }
.home-campaign-position { min-width: 44px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; color: var(--dark); }

@media (min-width: 851px) {
  .home-extras-paired .home-campaign-with-image:only-child { grid-template-columns: minmax(0, 1fr); }
  .home-extras-paired .home-campaign-with-image:only-child .home-campaign-art { grid-row: 1; }
}

@media (max-width: 850px) {
  .home-extras-paired { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .home-campaign-list.is-scrollable {
    align-items: start;
    height: var(--home-campaign-height, auto);
    overflow-y: hidden;
  }
  .home-campaign-with-image { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .home-campaign-with-image .home-campaign-copy { grid-row: 2; align-self: start; }
  .home-campaign .home-campaign-art { grid-row: 1; height: auto; min-height: 0; padding: 0; }
  .home-campaign .home-campaign-art img {
    display: block;
    position: static;
    height: auto;
    max-height: min(440px, 100vw);
    aspect-ratio: auto 16 / 9;
    padding: 0;
  }
}

@media (max-width: 530px) {
  .home-course-link { grid-template-columns: minmax(0, 1fr) minmax(54px, max-content); min-height: 66px; gap: 9px; }
  .home-course-with-image { grid-template-columns: 52px minmax(0, 1fr) minmax(54px, max-content); }
  .home-course-thumb { width: 52px; height: 48px; }
  .home-course-info strong { font-size: 15px; }
  .home-course-action { max-width: 88px; text-align: right; }
  .home-campaign-copy { padding: 12px 12px 14px; }
}
