/* Sport page layouts. Load after styles.css to use the shared VMFit design. */

.sport-page :is(a, summary):focus-visible {
  outline: 3px solid var(--green-300);
  outline-offset: 4px;
}
.sport-page main [id] { scroll-margin-top: 116px; }
.sport-page h2 { font-size: clamp(2rem, 3.6vw, 3.25rem); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 23px;
  color: var(--muted);
  font-size: .8rem;
}
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--green-700); text-decoration: underline; }

/* Hero */
.sport-page .hero { padding: 54px 0 76px; }
.sport-page .hero-copy h1 {
  max-width: 680px;
  font-size: clamp(2.8rem, 4.8vw, 4.5rem);
}
.sport-page .hero-lead { margin-bottom: 1.8rem; }
.sport-page .hero-actions { gap: 20px; margin-bottom: 1rem; }
.sport-page .hero-reassurance { margin-bottom: 0; }
.hero-media { min-width: 0; margin: 0; text-align: center; }

/* Highlights and feature cards */
.quick-facts {
  border-block: 1px solid var(--line);
  background: var(--surface);
}
.quick-facts ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 22px 0;
  list-style: none;
}
.quick-facts li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  color: var(--muted);
  font-size: .87rem;
  font-weight: 750;
  line-height: 1.45;
}
.quick-facts li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px var(--green-100);
}
.sport-page .feature-section > .container > h2 {
  max-width: 820px;
  margin-bottom: 36px;
}
.sport-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.feature-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.feature-card h3 { margin-bottom: 12px; font-size: 1.25rem; line-height: 1.25; }
.feature-card p { margin-bottom: 0; }
.insight-copy { min-width: 0; }
.insight-media { flex-direction: column; margin: 0; text-align: center; }

/* Getting started */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}
.step-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--green-800);
  background: var(--green-100);
  font-size: .95rem;
  font-weight: 850;
}
.steps h3 { margin-bottom: 12px; font-size: 1.2rem; line-height: 1.25; }
.steps p { margin-bottom: 0; font-size: .94rem; }
.sport-page .sport-section-tight { padding: 0 0 80px; }
.truth-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 24px;
  padding: 36px;
  border: 1px solid var(--green-200);
  border-radius: var(--radius-md);
  background: var(--surface-soft);
}
.truth-symbol {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--green-800);
  background: var(--green-100);
  font-weight: 850;
}
.sport-page .truth-note h2 {
  max-width: 860px;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
}
.truth-note p { max-width: 900px; }
.truth-note p:last-child { margin-bottom: 0; }

/* Journal links */
.sport-page .sport-section-compact-top { padding-top: 54px; }
.guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.guide-list li {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.guide-list a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  padding: 32px;
  border-radius: inherit;
  text-decoration: none;
}
.guide-title { padding-right: 18px; font-size: 1.1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.35; }
.guide-desc { color: var(--muted); font-size: .9rem; }
.guide-arrow { position: absolute; top: 27px; right: 24px; color: var(--green-700); font-size: 1.2rem; }
.guide-list a:hover .guide-title { color: var(--green-700); text-decoration: underline; text-underline-offset: 4px; }

/* FAQ and related activities */
.faq-wrap { --container: 860px; }
.sport-page .faq-list { margin-top: 36px; }
.sport-page .related-section { padding-top: 78px; }
.related-row { display: flex; justify-content: space-between; align-items: center; gap: 36px; }
.related-row h2 { margin-bottom: 0; }
.related-row .eyebrow { margin-bottom: .75rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: .7rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--green-800);
  background: var(--surface);
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
}
.related-chip:hover { border-color: var(--green-600); background: var(--green-50); }
.sport-page .cta-grid h2 { max-width: 760px; }
.sport-page .cta-grid .button { white-space: nowrap; }

@media (max-width: 1040px) {
  .steps li, .guide-list a { padding: 26px; }
}
@media (max-width: 820px) {
  .sport-page .hero { padding: 40px 0 60px; }
  .sport-page .hero-copy h1 { margin-inline: auto; }
  .sport-page .hero-reassurance { max-width: 380px; margin-inline: auto; }
  .quick-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
  .sport-page .insight-grid { gap: 40px; }
  .insight-copy { max-width: 680px; }
  .insight-media { order: 2; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 22px; }
  .step-number { margin-bottom: 0; }
  .guide-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .guide-list a { padding-right: 52px; }
  .related-row { flex-direction: column; align-items: flex-start; gap: 24px; }
  .sport-page .sport-section-tight { padding-bottom: 64px; }
  .sport-page .sport-section-compact-top { padding-top: 40px; }
  .sport-page .related-section { padding-top: 64px; }
}
@media (max-width: 560px) {
  .breadcrumb { padding-block: 18px; }
  .sport-page .hero { padding-top: 32px; }
  .sport-page .hero-copy h1 { font-size: clamp(2.4rem, 9vw, 3.15rem); }
  .sport-page .hero-actions { gap: 18px; }
  .sport-page .hero-actions .button { width: auto; min-height: 48px; }
  .quick-facts ul { gap: 20px; }
  .quick-facts li { gap: 10px; font-size: .8rem; }
  .sport-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .feature-card { padding: 26px; }
  .steps li { gap: 18px; padding: 24px; }
  .truth-note { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 26px; }
  .sport-page .cta-grid .button { white-space: normal; }
}
