:root {
  --bg: #eef8ff;
  --bg2: #fffdf7;
  --surface: #ffffff;
  --surface-soft: #f8fcff;
  --surface-tint: #fdf8ef;
  --hero-tint: linear-gradient(180deg, #fffdf3 0%, #f5fbff 100%);
  --text: #17324a;
  --muted: #5d7488;
  --heading: #123a57;
  --border: #d7e8ef;
  --border-strong: #c6dce6;
  --accent: #ef8a5b;
  --accent-dark: #d86a38;
  --accent-soft: #fff0e7;
  --cta: #eb7b4d;
  --cta-dark: #cf6034;
  --cta-shadow: rgba(235, 123, 77, 0.24);
  --medical: #66c7cb;
  --medical-dark: #369fa7;
  --medical-soft: #e8fbfb;
  --star: #f1ab3d;
  --shadow: 0 16px 36px rgba(18, 58, 87, 0.08);
  --shadow-soft: 0 10px 22px rgba(18, 58, 87, 0.05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(102, 199, 203, 0.18), transparent 26%),
    radial-gradient(circle at top left, rgba(241, 171, 61, 0.14), transparent 24%),
    radial-gradient(circle at 50% -6%, rgba(255, 210, 120, 0.18), transparent 22%),
    linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}

body img {
  max-width: 100%;
  height: auto;
}

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

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 16px 60px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.site-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px 4px;
}

.site-brand-bar-inline {
  padding: 0;
}

.site-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  color: var(--heading);
}

.site-brand-logo {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.site-brand-wordmark {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.slug-hub-shell {
  background:
    radial-gradient(circle at top right, rgba(255, 222, 160, 0.16), transparent 22%),
    radial-gradient(circle at top left, rgba(102, 199, 203, 0.12), transparent 18%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 253, 255, 0.98) 100%);
}

.hero {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) 164px;
  gap: 20px;
  align-items: start;
  padding-bottom: 4px;
}

.date-badge {
  min-width: 96px;
  border-radius: 22px;
  background: linear-gradient(180deg, #5f7ff0 0%, #2f5dde 100%);
  color: #fff;
  text-align: center;
  padding: 14px 10px;
  box-shadow: 0 10px 24px rgba(47, 93, 222, 0.20);
}

.date-month {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.date-day {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.02;
  margin: 6px 0;
}

.date-weekday {
  font-size: 13px;
  font-weight: 700;
}

.hero-main {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fef6de 0%, #eefcfb 100%);
  border: 1px solid #dbead6;
  color: #28606d;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.home-hero-links {
  flex-wrap: wrap;
}

.home-hero-links a {
  color: inherit;
  text-decoration: none;
  border-radius: 999px;
}

.home-hero-links a:hover,
.home-hero-links a:focus-visible {
  color: #0f5e9c;
  text-decoration: underline;
  outline: 2px solid rgba(15, 94, 156, 0.22);
  outline-offset: 3px;
}

.hero h1 {
  margin: 0 0 10px 0;
  font-size: 36px;
  line-height: 1.08;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.subhead {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 62ch;
}

.hero-side {
  display: grid;
  gap: 12px;
}

.cert-badge,
.trust-badge {
  background: var(--hero-tint);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
}

.cert-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}

.cert-badge img {
  max-width: 74px;
  max-height: 74px;
  object-fit: contain;
}

.trust-badge {
  text-align: center;
  padding: 12px 10px;
}

.trust-badge strong {
  display: block;
  font-size: 13px;
  color: var(--heading);
  margin-bottom: 4px;
}

.trust-badge span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

.hero-details {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: start;
}

.confidence-block {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.confidence-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 15px;
  box-shadow: var(--shadow-soft);
}

.confidence-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.confidence-item strong {
  display: block;
  color: var(--heading);
  font-size: 15px;
  line-height: 1.35;
}

.confidence-outcome ul {
  margin: 0;
  padding-left: 18px;
  color: var(--heading);
  font-size: 14px;
  line-height: 1.45;
}

.confidence-outcome li + li {
  margin-top: 4px;
}

.trust-snippet {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow-soft);
}

.trust-snippet-score {
  display: grid;
  gap: 4px;
}

.trust-snippet-score strong {
  color: var(--heading);
  font-size: 14px;
  line-height: 1.35;
}

.trust-snippet p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
}

.trust-snippet p span {
  color: var(--muted);
  font-weight: 700;
}

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

.meta-item {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 15px;
}

.meta-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.meta-value {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  line-height: 1.35;
}

.cta-panel {
  background: linear-gradient(180deg, #fffafb 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

.cta-panel-label {
  margin: 0 0 8px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.cta-panel-copy {
  margin: 0 0 14px 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(180deg, var(--cta) 0%, var(--cta-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 24px var(--cta-shadow);
}

.button.primary:hover {
  background: linear-gradient(180deg, #d95581 0%, #b93f68 100%);
}

.button.secondary {
  background: #fff;
  color: var(--heading);
  border: 1px solid var(--border-strong);
}

.button.secondary:hover {
  background: #f9fbfd;
}

.button.small {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 13px;
  border-radius: 12px;
}

.jump-link {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.stack {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.section-box {
  margin-top: 18px;
  background: linear-gradient(180deg, var(--surface-soft) 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
}

.course-description-priority {
  background: linear-gradient(180deg, #ffffff 0%, #f8fcff 100%);
}

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

.section-title-wrap h2 {
  margin: 0;
  font-size: 24px;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.section-title-wrap p {
  margin: 6px 0 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.text-link {
  color: #2c65d6;
  text-decoration: none;
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

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

.upcoming-head {
  margin-bottom: 14px;
}

.upcoming-head h2 {
  margin: 0;
  color: var(--heading);
  font-size: 22px;
  letter-spacing: -0.01em;
}

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

.upcoming-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 15px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
}

.upcoming-main {
  min-width: 0;
}

.upcoming-date {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}

.upcoming-time {
  font-size: 15px;
  font-weight: 700;
  color: #325d94;
  margin-bottom: 4px;
}

.upcoming-location {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.upcoming-footer-link {
  margin-top: 16px;
  text-align: center;
}

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

.current-courses-sidebar {
  position: sticky;
  top: 18px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--medical-soft) 0%, #ffffff 100%);
}

.current-courses-sidebar h2 {
  margin: 0;
  color: var(--heading);
  font-size: 21px;
}

.current-courses-sidebar > p {
  margin: 7px 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.current-courses-sidebar ul {
  display: grid;
  gap: 9px;
  margin: 0 0 15px;
  padding: 0;
  list-style: none;
}

.current-courses-sidebar li a {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--heading);
  text-decoration: none;
}

.current-courses-sidebar li a:hover {
  border-color: var(--medical-dark);
  box-shadow: var(--shadow-soft);
}

.current-courses-sidebar li span {
  color: var(--muted);
  font-size: 12px;
}

.brand-strip {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.brand-card,
.image-card {
  background: linear-gradient(180deg, var(--surface-soft) 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
}

.brand-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 162px;
}

.brand-card img {
  max-width: 130px;
  max-height: 90px;
  object-fit: contain;
}

.image-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 162px;
  background:
    radial-gradient(circle at top right, rgba(126, 201, 200, 0.10), transparent 26%),
    radial-gradient(circle at bottom left, rgba(217, 91, 136, 0.08), transparent 22%),
    linear-gradient(180deg, #fcfdff 0%, #f7fafc 100%);
}

.image-card img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

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

.review-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.review-stars {
  color: var(--star);
  font-size: 15px;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.review-text {
  margin: 0 0 12px 0;
  line-height: 1.65;
  color: var(--text);
  font-size: 15px;
}

.review-author {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.description-html,
.copy-block p {
  line-height: 1.7;
  color: var(--text);
  font-size: 15px;
}

.description-html p,
.copy-block p:last-child {
  margin-bottom: 0;
}

.copy-block p {
  margin: 0 0 12px 0;
}

.build-stamp {
  margin-top: 24px;
  color: #8a97a6;
  font-size: 11px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .hero-side {
    grid-column: 1 / -1;
    grid-template-columns: 120px 1fr;
    align-items: stretch;
  }

  .hero-details {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    max-width: 420px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

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

  .trust-snippet {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .brand-strip {
    grid-template-columns: 1fr;
  }

  .meta-grid,
  .upcoming-grid,
  .confidence-block {
    grid-template-columns: 1fr;
  }

  .lander-discovery-layout {
    grid-template-columns: 1fr;
  }

  .current-courses-sidebar {
    position: static;
  }
}

@media (max-width: 700px) {
  .wrap {
    padding: 18px 12px 42px;
  }

  .card {
    padding: 18px;
    border-radius: 22px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-side {
    grid-template-columns: 1fr 1fr;
  }

  .date-badge {
    max-width: 100px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .upcoming-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .upcoming-card .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .hero-side {
    grid-template-columns: 1fr;
  }

  .meta-item {
    padding: 13px 14px;
  }
}

.slug-hub-shell {
  padding: 0;
  overflow: hidden;
}

.slug-hero {
  grid-template-columns: minmax(0, 1fr) 260px;
  padding: 28px 28px 8px;
}

.slug-tabs-block {
  margin: 0 28px;
}

.hub-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hub-tabs .tab-btn {
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--heading);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.hub-tabs .tab-btn.active {
  background: linear-gradient(180deg, #355fda 0%, #294fbf 100%);
  border-color: #294fbf;
  color: #ffffff;
}

.slug-panel-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.slug-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.slug-panel-head h2 {
  margin: 0 0 8px 0;
  color: var(--heading);
  font-size: 26px;
  line-height: 1.1;
}

.slug-panel-copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 60ch;
}

.slug-panel-cta {
  display: grid;
  gap: 10px;
  min-width: 220px;
}

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

.slug-pill {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.slug-pill-date {
  border-radius: 16px;
  background: linear-gradient(180deg, #5f7ff0 0%, #2f5dde 100%);
  color: #ffffff;
  text-align: center;
  padding: 10px 8px;
  box-shadow: 0 10px 24px rgba(47, 93, 222, 0.16);
}

.slug-pill-month {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.slug-pill-day {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.05;
  margin: 4px 0;
}

.slug-pill-weekday {
  font-size: 12px;
  font-weight: 700;
}

.slug-pill-main {
  min-width: 0;
}

.slug-pill-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}

.slug-pill-meta,
.slug-pill-subtitle {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.slug-pill-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.slug-empty {
  border: 1px dashed var(--border-strong);
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
}

.slug-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
}

.slug-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.slug-empty-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.slug-banner {
  margin: 20px 28px 28px;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(126, 201, 200, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(217, 91, 136, 0.10), transparent 22%),
    linear-gradient(180deg, #fdfefe 0%, #f7fafc 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.slug-banner-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2f6f70;
  margin-bottom: 6px;
}

.slug-banner h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
  color: var(--heading);
}

@media (max-width: 900px) {
  .slug-hero,
  .slug-panel-head,
  .slug-banner {
    grid-template-columns: 1fr;
  }

  .slug-popular-section .slug-inventory-head h3::after {
    display: block;
    content: "Popular session momentum";
    margin-top: 4px;
  }

  .slug-flex-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .slug-flex-row-actions {
    width: 100%;
  }

  .slug-flex-row-actions .button {
    width: 100%;
  }

  .slug-panel-cta {
    min-width: 0;
  }
}

@media (max-width: 700px) {
  .slug-tabs-block,
  .slug-banner,
  .group-training-push {
    margin-left: 18px;
    margin-right: 18px;
  }

  .slug-hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .slug-pill {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .slug-flexible-start-choices {
    grid-column: 1 / -1;
    width: 100%;
  }

  .slug-pill-actions .button,
  .slug-panel-cta .button,
  .slug-banner .button {
    width: 100%;
  }

  .slug-pill-date {
    max-width: 82px;
  }
}

.home-shell {
  padding: 0;
  overflow: hidden;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 18px;
  padding: 28px 28px 14px;
}

.site-header-phone {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--heading);
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1;
  font-weight: 850;
  white-space: nowrap;
  text-decoration: none;
}

.site-header-phone:hover,
.site-header-phone:focus-visible {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 520px) {
  .site-brand-bar {
    gap: 10px;
    padding-inline: 10px;
  }

  .site-brand-link {
    gap: 7px;
  }

  .site-brand-logo {
    height: 38px;
  }

  .site-brand-wordmark {
    font-size: 18px;
  }

  .site-header-phone {
    font-size: 17px;
  }
}

.home-hero .hero-side {
  width: 100%;
  margin: 0;
}

.affiliation-cluster {
  display: grid;
  gap: 12px;
  min-height: 100%;
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-top: 4px solid transparent;
  border-radius: 20px;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, #d71920 0 38%, #ef3340 38% 68%, #117fbb 68% 100%) border-box;
  box-shadow: 0 14px 30px rgba(18, 55, 80, 0.12);
}

.affiliation-cluster-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.affiliation-cluster-heading span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.affiliation-cluster-heading strong {
  color: var(--heading);
  font-size: 15px;
}

.affiliation-cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
}

.affiliation-item {
  display: grid;
  grid-template-rows: 82px auto;
  gap: 7px;
  align-items: center;
  justify-items: center;
  min-width: 0;
  padding: 9px 6px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  color: var(--heading);
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.affiliation-item:hover,
.affiliation-item:focus-visible {
  color: var(--heading);
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-soft);
}

.affiliation-item img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: contain;
}

.affiliation-item span {
  color: var(--heading);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.home-authority {
  display: grid;
  grid-template-rows: auto auto;
  gap: 9px;
  min-height: 0;
  align-self: start;
  margin: 8px 28px 0;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f6fbff 100%);
  box-shadow: var(--shadow-soft);
}

.home-authority-heading {
  display: grid;
  gap: 3px;
}

.home-authority-heading > span {
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.home-authority-heading > strong {
  color: var(--heading);
  font-size: 17px;
  line-height: 1.25;
}

.home-authority .affiliation-cluster-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-authority .affiliation-item {
  grid-template-columns: 46px minmax(0, 1fr);
  grid-template-rows: auto;
  min-height: 60px;
  justify-items: start;
  padding: 6px 10px;
}

.home-authority .affiliation-item img {
  width: 46px;
  height: 46px;
}

.home-authority .affiliation-item span {
  text-align: left;
  font-size: 12px;
}

.home-authority .affiliation-item span strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.home-hero {
  grid-template-columns: minmax(0, 1fr);
  padding-top: 22px;
  padding-bottom: 4px;
}

.home-hero .hero-main {
  max-width: 900px;
}

.home-locality {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .55fr);
  gap: 24px;
  align-items: center;
  padding: 26px 28px 30px;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, #edf8fc 0%, #f9fcff 55%, #fff8ec 100%);
}

.home-locality h2 {
  margin: 6px 0 8px;
  color: var(--heading);
  font-size: clamp(22px, 3vw, 32px);
}

.home-locality p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-locality-links {
  display: grid;
  gap: 8px;
}

.home-locality-links a {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  color: var(--heading);
  font-weight: 800;
  text-decoration: none;
}

.home-locality-links a:hover,
.home-locality-links a:focus-visible {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.home-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 28px 10px;
}

.home-course-jumps {
  gap: 22px;
  padding-bottom: 18px;
}

.home-index-course-jumps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.course-jump-card {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 10px;
  flex: 1 1 180px;
  min-width: 170px;
  max-width: 220px;
  color: var(--heading);
}

.home-index-course-card {
  min-width: 0;
  max-width: none;
}

.home-index-course-card img {
  aspect-ratio: 1.18;
}

.home-index-course-card strong {
  font-size: 18px;
}

.home-index-course-card span:not(.course-jump-kicker) {
  font-size: 13px;
  line-height: 1.45;
}

.home-index-course-card b {
  min-height: 38px;
  padding: 9px 11px;
  font-size: 12px;
}

.course-jump-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.course-jump-logo-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 14px;
  border-radius: 8px;
  background: #f7fafc;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.course-jump-logo-button:hover,
.course-jump-logo-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(22, 42, 66, 0.12);
}

.course-jump-logo-button img {
  display: block;
  width: 72%;
  max-width: 118px;
  max-height: 86%;
  object-fit: contain;
}

.course-jump-card:hover,
.course-jump-card:focus-visible {
  color: var(--heading);
}

.course-jump-card img {
  width: 100%;
  aspect-ratio: 1.15;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f8fb;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.course-jump-card-logo img {
  object-fit: contain;
  padding: 22px;
}

.course-jump-card:hover img,
.course-jump-card:focus-visible img {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(22, 42, 66, 0.12);
}

.course-jump-kicker {
  color: #2f6a3d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-jump-card strong {
  color: var(--heading);
  font-size: 22px;
  line-height: 1.25;
}

.course-jump-card span:not(.course-jump-kicker) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.course-jump-card b {
  justify-self: start;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 6px;
  background: #1f6b9c;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.heartsaver-course-jumps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 10px;
}

.heartsaver-course-heading {
  margin-bottom: 0;
}

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

.heartsaver-jump-card {
  max-width: none;
  min-width: 0;
  padding: 20px;
  background: #f1f1f1;
}

.heartsaver-jump-card img {
  aspect-ratio: 2;
  border-radius: 0;
  object-fit: contain;
  background: #bfc3c6;
  box-shadow: none;
}

.heartsaver-jump-card:hover img,
.heartsaver-jump-card:focus-visible img {
  box-shadow: none;
}

.heartsaver-jump-card strong {
  font-size: 18px;
}

.heartsaver-jump-card span:not(.course-jump-kicker) {
  font-size: 14px;
}

.top-trust {
  width: calc(100% - 56px);
  max-width: 980px;
  margin: 12px auto 0;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background:
    linear-gradient(90deg, #4285f4 0 24%, #34a853 24% 50%, #fbbc05 50% 74%, #ea4335 74% 100%) top / 100% 4px no-repeat,
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 300px);
  gap: 16px;
  align-items: center;
}

.top-trust-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.google-review-card {
  display: grid;
  gap: 5px;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(66, 133, 244, 0.22);
  background:
    linear-gradient(135deg, rgba(66, 133, 244, 0.10), rgba(52, 168, 83, 0.08) 42%, rgba(251, 188, 5, 0.12) 72%, rgba(234, 67, 53, 0.08)),
    #ffffff;
  color: var(--heading);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.google-review-card:hover,
.google-review-card:focus-visible {
  transform: translateY(-1px);
  border-color: #b9cad8;
  box-shadow: 0 14px 24px rgba(22, 42, 66, 0.08);
}

.google-review-card .review-stars {
  color: #f5a623;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0;
}

.google-review-card .review-stars-large {
  font-size: 25px;
  text-shadow: 0 1px 0 rgba(111, 76, 0, 0.12);
}

.google-review-card strong {
  font-size: 18px;
  line-height: 1.25;
}

.google-review-card em {
  color: #5b7082;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.google-review-card span:last-child {
  color: #1a73e8;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

.review-snippets {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.review-theme-label {
  grid-column: 1 / -1;
  color: #5b7082;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-snippet {
  margin: 0;
  padding: 12px 14px;
  border-left: 3px solid #2f6f70;
  background: #ffffff;
}

.review-snippet p {
  margin: 0;
  color: var(--heading);
  font-size: 13px;
  line-height: 1.5;
}

.jump-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--heading);
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.jump-chip:hover {
  transform: translateY(-1px);
  border-color: #b7cbdd;
  box-shadow: 0 12px 24px rgba(22, 42, 66, 0.08);
}

.home-status {
  margin: 8px auto 0;
  padding: 18px 20px;
  width: calc(100% - 56px);
  max-width: 980px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at top right, rgba(126, 201, 200, 0.14), transparent 26%),
    linear-gradient(180deg, #fdfefe 0%, #f7fafc 100%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.home-status-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2f6f70;
  margin-bottom: 6px;
}

.home-status p {
  margin: 0;
  max-width: 860px;
  color: var(--muted);
  line-height: 1.7;
}

.home-status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}

.home-stat {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--heading);
  font-size: 13px;
  font-weight: 700;
}

.home-finder {
  padding: 26px 28px 28px;
  scroll-margin-top: 12px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 20px;
  align-items: end;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 0;
  color: var(--heading);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.finder-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 20px;
}

.finder-card-loading {
  grid-column: 1 / -1;
}

.finder-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.finder-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.finder-card-head h3 {
  margin: 0 0 8px 0;
  color: var(--heading);
  font-size: 25px;
  line-height: 1.12;
}

.finder-card-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.finder-pills {
  display: grid;
  gap: 12px;
}

.finder-subgroups {
  display: grid;
  gap: 16px;
}

.finder-subgroup {
  display: grid;
  gap: 12px;
}

.finder-subgroup + .finder-subgroup {
  padding-top: 14px;
  border-top: 1px solid rgba(219, 231, 240, 0.9);
}

.finder-subgroup-head {
  display: grid;
  gap: 4px;
}

.finder-subgroup-head h4 {
  margin: 0;
  color: var(--heading);
  font-size: 17px;
  line-height: 1.2;
}

.finder-subgroup-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.finder-pill-link {
  display: block;
}

.finder-pill {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.finder-pill-link:hover .finder-pill,
.finder-pill-link:focus-visible .finder-pill {
  transform: translateY(-1px);
  border-color: #bed0de;
  box-shadow: 0 14px 24px rgba(22, 42, 66, 0.08);
}

.finder-pill-subtitle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin-top: 4px;
}

.finder-pill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 2px;
}

.finder-pill-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eef7ef;
  color: #2f6a3d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.finder-pill-tag-format {
  background: #e8f3ff;
  color: #1f4f95;
}

.finder-pill-tag-popular {
  background: #fff1e5;
  color: #b65d33;
}

.finder-pill-side-label {
  color: #2a56cf;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.home-finder .finder-pill .slug-pill-title {
  font-size: 18px;
  font-weight: 800;
}

.home-finder .class-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.home-finder .class-card-top-row .slug-pill-date {
  width: 78px;
  flex: 0 0 78px;
  max-width: none;
}

.home-finder .class-card-course-image {
  width: 96px;
  height: 86px;
  border-radius: 14px;
  border: 1px solid var(--border);
  object-fit: cover;
  background: #ffffff;
  display: block;
  flex: 0 0 auto;
}

.home-finder .finder-pill-group .slug-pill-main {
  width: 100%;
}

.home-finder .group-pill-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5f7ff0 0%, #2f5dde 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-finder .finder-pill-group .slug-pill-subtitle {
  margin-top: 6px;
}

.finder-empty {
  border: 1px dashed var(--border-strong);
  border-radius: 18px;
  padding: 18px;
  background: #ffffff;
}

.finder-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--heading);
}

.finder-empty p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.course-pathway-jumps {
  justify-content: center;
  padding-top: 6px;
}

.home-course-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.home-course-tile {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  color: var(--heading);
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-course-tile:hover,
.home-course-tile:focus-visible {
  transform: translateY(-1px);
  border-color: #b7cbdd;
  box-shadow: 0 14px 24px rgba(22, 42, 66, 0.08);
  outline: 2px solid rgba(15, 94, 156, 0.18);
  outline-offset: 2px;
}

.home-course-tile img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--border);
  object-fit: cover;
  background: #f8fafc;
}

.home-course-tile-copy {
  display: grid;
  min-width: 0;
}

.home-course-tile-copy strong {
  color: var(--heading);
  font-size: 16px;
  line-height: 1.2;
}

.home-course-tile-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
}

.home-help-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(15, 94, 156, 0.18);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.home-help-panel h3 {
  margin: 0 0 6px;
  color: var(--heading);
  font-size: 20px;
}

.home-help-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.home-course-chooser {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(15, 94, 156, 0.16);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.home-course-chooser[hidden] {
  display: none;
}

.home-course-chooser:focus {
  outline: 2px solid rgba(15, 94, 156, 0.35);
  outline-offset: 3px;
}

.home-course-chooser-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-course-choice-group,
.home-exact-wording {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-soft);
}

.home-course-choice-group h4,
.home-exact-wording h4 {
  margin: 0;
  color: var(--heading);
  font-size: 16px;
}

.home-choice-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-choice-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--heading);
  font-weight: 700;
  text-decoration: none;
}

.home-choice-links a:hover,
.home-choice-links a:focus-visible {
  border-color: #b7cbdd;
  outline: 2px solid rgba(15, 94, 156, 0.18);
  outline-offset: 2px;
}

.home-exact-wording label {
  color: var(--muted);
  font-weight: 700;
}

.home-exact-wording textarea {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px;
  font: inherit;
  color: var(--text);
}

.home-help-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-pathway-card {
  align-content: start;
}

.course-pathway-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.9fr);
  gap: 18px;
}

.course-pathway-body strong {
  display: block;
  margin-bottom: 8px;
  color: var(--heading);
}

.course-pathway-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.35;
}

.course-pathway-list li {
  display: flex;
  min-width: 0;
}

.course-choice-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-decoration: none;
}

a.course-choice-chip {
  border: 1px solid #bae6fd;
  background: #e0f2fe;
  color: #0f5e9c;
}

a.course-choice-chip:hover,
a.course-choice-chip:focus-visible {
  background: #0f5e9c;
  color: #ffffff;
  outline: 2px solid #93c5fd;
  outline-offset: 2px;
}

.course-choice-chip-muted {
  background: #f1f5f9;
  color: #64748b;
}

.format-choice-list {
  display: grid;
  gap: 9px;
}

.format-choice-link {
  display: block;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  color: #1f6b9c;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.format-choice-link:hover,
.format-choice-link:focus-visible {
  border-color: #b7cbdd;
  box-shadow: var(--shadow-soft);
}

.ecosystem-hub {
  --ecosystem-accent: var(--cta);
  --ecosystem-soft: #f5f8fb;
}

.ecosystem-arc {
  --ecosystem-accent: #c8102e;
  --ecosystem-soft: #fff4f6;
}

.ecosystem-hsi {
  --ecosystem-accent: #0f766e;
  --ecosystem-soft: #ecfdf7;
}

.ecosystem-hub .slug-hero-image,
.ecosystem-card-logo {
  object-fit: contain;
  background: var(--ecosystem-soft);
}

.ecosystem-hub .slug-hero-image {
  padding: 24px;
}

.ecosystem-card {
  border-top: 4px solid var(--ecosystem-accent);
}

.ecosystem-card-logo {
  padding: 12px;
  border-color: color-mix(in srgb, var(--ecosystem-accent) 25%, var(--border));
}

.ecosystem-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.ecosystem-empty-note {
  border-color: color-mix(in srgb, var(--ecosystem-accent) 30%, var(--border-strong));
  background: linear-gradient(180deg, #ffffff 0%, var(--ecosystem-soft) 100%);
}

.home-noscript {
  margin-top: 18px;
}

.home-noscript h2 {
  margin-top: 0;
  color: var(--heading);
}

.home-noscript p {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .section-heading,
  .finder-grid,
  .top-trust,
  .home-status {
    grid-template-columns: 1fr;
  }

  .review-snippets {
    grid-template-columns: 1fr;
  }

  .home-status-badges {
    justify-content: flex-start;
  }

  .home-index-course-jumps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-jump-stack {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
}

@media (max-width: 700px) {
  .home-shell {
    display: flex;
    flex-direction: column;
  }

  .home-shell > .site-brand-bar {
    order: 0;
  }

  .home-hero {
    display: contents;
  }

  .home-hero .hero-main {
    order: 1;
    padding: 10px 18px 4px;
  }

  .home-hero .hero-main .subhead {
    margin-bottom: 0;
  }

  .home-hero .hero-actions {
    display: none;
  }

  .home-hero .hero-side {
    order: 2;
    padding: 0 18px;
  }

  .affiliation-cluster {
    gap: 9px;
    padding: 10px;
    border-radius: 16px;
  }

  .affiliation-cluster-heading {
    align-items: center;
  }

  .affiliation-cluster-heading strong {
    font-size: 13px;
  }

  .affiliation-cluster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .affiliation-item {
    grid-template-rows: 58px auto;
    gap: 5px;
    padding: 6px 4px;
    border-radius: 12px;
  }

  .affiliation-item img {
    height: 58px;
  }

  .affiliation-item span {
    font-size: 9.5px;
  }

  .home-finder {
    order: 3;
  }

  .top-trust {
    order: 4;
  }

  .home-hero,
  .home-finder {
    padding-left: 18px;
    padding-right: 18px;
  }

  .home-jumps,
  .top-trust,
  .home-status {
    margin-left: 18px;
    margin-right: 18px;
  }

  .home-jumps {
    padding-left: 0;
    padding-right: 0;
  }

  .home-course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .home-course-tile {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 54px;
    gap: 8px;
    padding: 8px;
    border-radius: 13px;
  }

  .home-course-tile img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .home-course-tile-copy strong {
    font-size: 12.5px;
    line-height: 1.15;
  }

  .home-help-panel {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 16px;
  }

  .home-help-actions {
    justify-content: stretch;
  }

  .home-help-actions .button,
  .home-help-secondary-actions .button {
    width: 100%;
  }

  .home-course-chooser-grid {
    grid-template-columns: 1fr;
  }

  .course-choice-chip {
    min-height: 40px;
    padding: 7px 11px;
  }

  .home-index-course-jumps,
  .course-jump-stack {
    grid-template-columns: 1fr;
  }

  .course-jump-stack {
    grid-column: auto;
  }

  .course-jump-card {
    max-width: none;
    flex-basis: 230px;
  }

  .course-jump-card strong {
    font-size: 20px;
  }

  .heartsaver-course-grid {
    grid-template-columns: 1fr;
  }

  .heartsaver-jump-card strong {
    font-size: 18px;
  }

  .home-hero,
  .finder-card-head {
    grid-template-columns: 1fr;
  }

  .course-pathway-body {
    grid-template-columns: 1fr;
  }

  .home-hero .hero-side {
    width: 100%;
    margin: 0;
  }

  .hero-actions .button,
  .finder-card-head .button {
    width: 100%;
  }

  .slug-panel-head,
  .slug-escape-hatch,
  .group-training-push {
    grid-template-columns: 1fr;
  }

  .slug-full-schedule-button {
    width: 100%;
    justify-self: stretch;
  }

  .finder-pill-side {
    min-width: 0;
    align-self: center;
  }

  .finder-pill-side-label {
    text-align: left;
  }

  .home-finder .class-card-top-row .slug-pill-date {
    width: 74px;
    flex-basis: 74px;
  }

  .home-finder .class-card-course-image {
    width: 84px;
    height: 76px;
  }
}

.page-shell {
  display: grid;
  gap: 20px;
}

.muted {
  color: var(--muted);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
}

.tab-panel {
  display: block;
}

.slug-tabs-ready > .tab-panel {
  display: none;
}

.slug-tabs-ready > .tab-panel.active {
  display: block;
}

.heartsaver-course-flow.slug-tabs-ready .heartsaver-delivery-panels > .tab-panel {
  display: none;
}

.heartsaver-course-flow.slug-tabs-ready .heartsaver-delivery-panels > .tab-panel.active {
  display: block;
}

.callout {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
}

.callout strong {
  display: block;
  color: var(--heading);
  margin-bottom: 6px;
}

.callout p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field span {
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  line-height: 1.5;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #5f7ff0;
  box-shadow: 0 0 0 4px rgba(95, 127, 240, 0.12);
  background: #fcfdff;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  color: #284ca5;
  font-size: 12px;
  font-weight: 700;
}

.slug-hub-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(95, 127, 240, 0.08), transparent 22%),
    radial-gradient(circle at top left, rgba(217, 91, 136, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.slug-hero {
  position: relative;
  grid-template-columns: minmax(0, 1fr) 296px;
  gap: 26px;
  padding: 24px 32px 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 250, 252, 0.96) 100%);
}

.slug-hero::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 201, 200, 0.18) 0%, rgba(126, 201, 200, 0) 72%);
  pointer-events: none;
}

.slug-hero > * {
  position: relative;
  z-index: 1;
}

.slug-hero .subhead {
  max-width: 66ch;
}

.slug-hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background:
    linear-gradient(180deg, rgba(236, 242, 255, 0.95) 0%, rgba(222, 233, 248, 0.95) 100%);
  box-shadow: 0 18px 34px rgba(22, 42, 66, 0.12);
}

.slug-hero-image-wrap[hidden] {
  display: none !important;
}

.slug-hero-image {
  display: block;
  width: 100%;
  height: 172px;
  object-fit: cover;
}

.slug-hero-actions,
.request-hero-actions,
.request-submit-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.slug-hero-picks {
  margin-top: 22px;
}

.slug-hero-picks-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 10px;
}

.slug-quick-picks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slug-quick-pick {
  display: grid;
  gap: 2px;
  min-width: 132px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  color: var(--heading);
  cursor: pointer;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.slug-quick-pick span {
  font-size: 13px;
  font-weight: 700;
}

.slug-quick-pick strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.slug-quick-pick:hover,
.slug-quick-pick.active {
  transform: translateY(-1px);
  border-color: rgba(53, 95, 218, 0.36);
  background: #f6f8ff;
  box-shadow: 0 12px 22px rgba(22, 42, 66, 0.08);
}

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

.slug-stat {
  padding: 14px 12px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.slug-stat strong {
  display: block;
  color: var(--heading);
  font-size: 22px;
  line-height: 1.1;
}

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

.slug-tabs-block {
  margin: 10px 32px 0;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.9) 0%, rgba(255, 255, 255, 0.94) 100%);
}

.slug-guidance-stack {
  display: grid;
  gap: 14px;
  margin: 0 32px 18px;
}

.slug-guidance-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(31, 135, 175, 0.18);
  background: linear-gradient(135deg, rgba(240, 251, 252, 0.96) 0%, rgba(255, 247, 235, 0.98) 100%);
  box-shadow: 0 14px 28px rgba(22, 42, 66, 0.06);
}

.slug-guidance-copy {
  min-width: 0;
}

.slug-guidance-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(38, 122, 136, 0.12);
  color: #267a88;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.slug-guidance-copy h2 {
  margin: 10px 0 8px;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.16;
}

.slug-guidance-copy p {
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
}

.slug-guidance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.below-inventory-trust {
  margin-top: 22px;
}

.slug-guidance-actions .button {
  white-space: nowrap;
}

.hub-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hub-tabs .tab-btn {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 78px;
  min-width: 240px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
  color: var(--heading);
  font-weight: 700;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  cursor: pointer;
}

.hub-tabs .tab-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(53, 95, 218, 0.3);
  box-shadow: 0 12px 22px rgba(22, 42, 66, 0.08);
}

.hub-tabs .tab-btn.active {
  background: linear-gradient(180deg, #26a9c2 0%, #1f87af 100%);
  border-color: #1f87af;
  color: #ffffff;
}

.hub-tab-icon {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
  justify-self: start;
  align-self: center;
  flex-shrink: 0;
}

.hub-tab-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.hub-tab-label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.hub-tab-tag {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eefaf8;
  color: #267a88;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hub-tabs .tab-btn.active .hub-tab-tag {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.hub-empty-state {
  margin-top: 4px;
}

.slug-panel-card {
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 250, 242, 0.98) 100%);
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(22, 42, 66, 0.06);
}

.slug-panel-head {
  gap: 12px;
  margin-bottom: 12px;
}

.slug-panel-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eefaf8;
  color: #267a88;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.slug-panel-head h2 {
  font-size: 24px;
}

.slug-panel-copy {
  max-width: 62ch;
}

.slug-panel-description {
  max-width: 62ch;
}

.slug-more-toggle {
  margin-top: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--link);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.slug-more-copy[hidden] {
  display: none;
}

.slug-more-copy p {
  margin-top: 10px;
}

.slug-emergency-alert {
  margin: 0 24px 24px;
  padding: 18px 20px;
  border: 4px solid #111827;
  border-radius: 14px;
  background: #ffea00;
  color: #0b0b0b;
  box-shadow: 0 16px 30px rgba(17, 24, 39, 0.14);
}

.slug-emergency-alert h2 {
  margin: 0 0 10px;
  color: #0b0b0b;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
}

.slug-emergency-alert p {
  margin: 8px 0 0;
  color: #0b0b0b;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 800;
}

.slug-panel-cta {
  min-width: 190px;
}

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

.slug-pill {
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fffdf8 100%);
  border: 1px solid #dbe7f0;
  box-shadow: 0 10px 22px rgba(22, 42, 66, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.slug-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(53, 95, 218, 0.28);
  box-shadow: 0 16px 28px rgba(22, 42, 66, 0.08);
  background: #fcfdff;
}

.slug-pill-date {
  border-radius: 14px;
  padding: 7px 6px;
}

.slug-pill-title {
  font-size: 16px;
  margin-bottom: 2px;
}

.slug-pill-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.slug-pill-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f5f9fc;
  color: #345173;
  font-size: 11px;
  font-weight: 700;
}

.slug-pill-chip-location {
  color: var(--muted);
  font-weight: 600;
}

.slug-pill-chip-format {
  background: #e8f3ff;
  color: #1f4f95;
}

.slug-pill-chip-family {
  background: #eef7ef;
  color: #2f6a3d;
}

.slug-pill-subtitle {
  color: var(--muted);
}

.slug-pill-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.slug-inventory-section + .slug-inventory-section {
  margin-top: 12px;
}

.slug-inventory-head {
  margin-bottom: 8px;
}

.slug-inventory-head h3 {
  margin-bottom: 2px;
  font-size: 18px;
}

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

.slug-popular-section .slug-inventory-head h3::after {
  content: "";
  color: #d26c3d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.curated-offers-section {
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid rgba(54, 159, 167, 0.24);
  border-radius: 22px;
  background: linear-gradient(180deg, #f8fdff 0%, #fffaf4 100%);
  box-shadow: 0 14px 28px rgba(22, 42, 66, 0.05);
}

.curated-offers-head {
  display: grid;
  gap: 3px;
  margin-bottom: 12px;
}

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

.curated-offer-card {
  overflow: hidden;
  border: 1px solid #dbe7f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(22, 42, 66, 0.04);
}

.curated-offer-header {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto 28px;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 88px;
  padding: 12px;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.curated-offer-card.is-open .curated-offer-header {
  background: linear-gradient(180deg, #ffffff 0%, #f7fcff 100%);
}

.curated-offer-media {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 16px;
  background: #f4f9fc;
  border: 1px solid #dbe7f0;
}

.curated-offer-media img {
  max-width: 52px;
  max-height: 52px;
  object-fit: contain;
}

.curated-offer-main {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.curated-offer-title {
  color: var(--heading);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.25;
}

.curated-offer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.curated-offer-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f5f9fc;
}

.curated-offer-benefit {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.curated-offer-status {
  justify-self: end;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2e8;
  color: #b85e34;
  font-size: 12px;
  font-weight: 900;
}

.curated-offer-icon {
  position: relative;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid #cbdde9;
  background: #ffffff;
}

.curated-offer-icon::before,
.curated-offer-icon::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  top: 12px;
  height: 2px;
  border-radius: 999px;
  background: var(--heading);
}

.curated-offer-icon::after {
  transform: rotate(90deg);
  transition: transform 0.18s ease;
}

.curated-offer-card.is-open .curated-offer-icon::after {
  transform: rotate(0deg);
}

.curated-offer-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.24s ease;
}

.curated-offer-body[data-open="true"] {
  max-height: none;
}

.curated-offer-body-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 0 12px 14px 90px;
}

.curated-offer-body-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.curated-offer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.curated-offer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(210, 108, 61, 0.28);
  background: #fffaf4;
}

.curated-offer-footer span {
  color: var(--heading);
  font-size: 14px;
  font-weight: 900;
}

.slug-pill-chip-momentum {
  background: #fff2e8;
  color: #b85e34;
}

.slug-escape-hatch {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(210, 108, 61, 0.38);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 238, 224, 0.98), rgba(255, 255, 255, 0.98) 58%, rgba(232, 243, 255, 0.92)),
    #ffffff;
  box-shadow: 0 16px 30px rgba(22, 42, 66, 0.08);
}

.slug-escape-copy {
  display: grid;
  gap: 4px;
}

.slug-escape-copy strong {
  color: var(--heading);
  font-size: 15px;
  line-height: 1.35;
}

.slug-escape-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.slug-full-schedule-button {
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(210, 108, 61, 0.26);
}

.slug-flexible-section {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid #d9e5ef;
  background: linear-gradient(180deg, rgba(245, 251, 255, 0.96) 0%, rgba(255, 250, 244, 0.98) 100%);
}

.slug-flexible-shell {
  display: grid;
  gap: 14px;
}

.slug-flexible-copy p,
.slug-flexible-note {
  margin: 0;
  color: var(--muted);
}

.slug-flexible-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.slug-flexible-results[hidden] {
  display: none;
}

.slug-flex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid #dbe7f0;
  background: rgba(255, 255, 255, 0.92);
}

.slug-flex-row + .slug-flex-row {
  margin-top: 10px;
}

.slug-flex-row-title {
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.slug-flex-row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slug-flex-row-actions {
  flex-shrink: 0;
}

.slug-flexible-empty {
  padding: 14px 0 4px;
}

.slug-flexible-empty p {
  color: var(--muted);
}

.slug-pill-hint {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
}

.slug-pill-actions .button.small {
  min-width: 140px;
}

.slug-pill-action-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.slug-flexible-start-choices {
  grid-column: 2 / -1;
  min-width: 0;
  margin-top: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

.slug-flexible-start-label {
  color: var(--heading);
  font-weight: 900;
  margin-bottom: 4px;
}

.slug-flexible-start-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}

.slug-flexible-start-time-link {
  color: var(--medical-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.slug-flexible-start-time-link:focus,
.slug-flexible-start-time-link:hover {
  color: var(--cta-dark);
}

.slug-flexible-start-separator {
  color: var(--muted);
}

.slug-time-row > .slug-flexible-start-choices {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0;
}

.slug-empty {
  border-style: solid;
  border-radius: 22px;
  padding: 20px;
  background:
    radial-gradient(circle at top right, rgba(241, 171, 61, 0.12), transparent 28%),
    radial-gradient(circle at top left, rgba(102, 199, 203, 0.10), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
}

.group-training-push {
  margin: 14px 32px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(31, 135, 175, 0.24);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(232, 247, 250, 0.98) 0%, rgba(255, 248, 238, 0.98) 100%);
  box-shadow: 0 16px 34px rgba(22, 42, 66, 0.08);
}

.group-training-copy h2 {
  margin: 10px 0 8px;
  color: var(--heading);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.12;
}

.group-training-copy p,
.group-training-individual p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.group-training-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.group-training-primary {
  min-height: 56px;
  padding: 0 28px;
  font-size: 16px;
  white-space: nowrap;
}

.group-training-individual {
  display: grid;
  gap: 8px;
  justify-items: center;
  max-width: 230px;
  text-align: center;
}

.slug-empty-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.slug-training-options {
  margin: 0 32px 32px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fff9ef 100%);
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(22, 42, 66, 0.06);
}

.training-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.training-option-card {
  padding: 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8fdff 0%, #fffaf1 100%);
  border: 1px solid #dbe7f0;
}

.training-option-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.training-option-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.slug-tabs-block .slug-pill-list {
  grid-template-columns: 1fr;
}

.slug-day-card {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  padding-right: 46px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #d6e5f2;
  box-shadow: 0 8px 18px rgba(22, 42, 66, 0.035);
}

.slug-day-card-base {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.slug-day-card-alt {
  background: linear-gradient(180deg, #f3f8ff 0%, #fbfdff 100%);
}

.slug-day-cert-logos {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  gap: 4px;
  justify-items: end;
  pointer-events: none;
}

.slug-day-cert-logo {
  display: block;
  width: 28px;
  max-height: 28px;
  object-fit: contain;
  opacity: 0.94;
}

.slug-day-main {
  min-width: 0;
}

.slug-day-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: var(--heading);
}

.slug-time-list {
  display: grid;
  gap: 6px;
}

.slug-time-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px 10px;
  border-top: 1px solid rgba(219, 231, 240, 0.9);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.slug-day-card[hidden],
.slug-time-row[hidden] {
  display: none !important;
}

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

.slug-time-row:hover,
.slug-time-row:focus,
.slug-time-row:focus-within {
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 0 0 1px rgba(53, 95, 218, 0.18), 0 8px 18px rgba(22, 42, 66, 0.045);
}

.slug-time-row:focus {
  outline: 3px solid rgba(53, 95, 218, 0.34);
  outline-offset: 2px;
}

.slug-time-copy {
  min-width: 0;
}

.slug-time-meta {
  align-items: center;
  margin-bottom: 3px;
}

.slug-time-value {
  display: inline-flex;
  align-items: center;
  color: #162f55;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 900;
}

.slug-time-subtitle {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.slug-time-actions {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.slug-reveal-control {
  display: flex;
  justify-content: center;
  padding-top: 14px;
}

.slug-reveal-button {
  min-width: min(100%, 300px);
  box-shadow: 0 10px 18px rgba(22, 42, 66, 0.08);
}

.slug-banner {
  margin: 22px 32px 32px;
  padding: 22px 24px;
  border-radius: 26px;
  box-shadow: 0 16px 30px rgba(22, 42, 66, 0.06);
}

.request-shell {
  padding: 0;
  overflow: hidden;
}

.request-hero {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(126, 201, 200, 0.14), transparent 28%),
    radial-gradient(circle at bottom left, rgba(217, 91, 136, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.request-tabs-shell {
  margin: 0 32px 0;
  padding: 18px;
}

.request-tabs {
  margin-bottom: 18px;
  gap: 14px;
}

.request-tab-btn {
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  min-height: 96px;
  padding: 12px 14px;
}

.request-tab-image {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  padding: 4px;
}

.request-tab-label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.request-program-card {
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.request-program-card h2 {
  margin: 0 0 8px 0;
  font-size: 26px;
  color: var(--heading);
}

.request-program-card p,
.request-program-card li {
  color: var(--text);
  line-height: 1.7;
}

.request-program-card ul {
  margin: 14px 0 0 18px;
  padding: 0;
}

.request-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 18px;
  padding: 22px 32px 32px;
}

.request-form-card,
.request-sidebar {
  padding: 22px;
}

.request-form-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.request-form-head h2,
.request-sidebar h2 {
  margin: 0;
  font-size: 28px;
  color: var(--heading);
}

.form-note {
  margin: 14px 0 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.request-sidebar {
  display: grid;
  gap: 0;
  align-content: start;
}

.request-checklist {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.request-checklist li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.request-link-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.request-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--heading);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.request-link-list a:hover {
  border-color: rgba(53, 95, 218, 0.28);
  background: #f9fbff;
}

.request-seat-board {
  border-width: 2px;
  border-color: #b8d0e7;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(102, 199, 203, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 16px 28px rgba(22, 42, 66, 0.06);
}

.request-seat-board strong {
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 980px) {
  .grid-2,
  .request-form-grid,
  .slug-stat-grid,
  .request-stat-grid,
  .request-hero,
  .slug-hero {
    grid-template-columns: 1fr;
  }

  .slug-stat-grid,
  .request-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .slug-hero,
  .request-hero,
  .request-form-grid {
    padding-left: 18px;
    padding-right: 18px;
  }

  .slug-tabs-block,
  .slug-banner,
  .request-tabs-shell {
    margin-left: 18px;
    margin-right: 18px;
  }

  .slug-panel-card,
  .request-program-card,
  .request-form-card,
  .request-sidebar {
    padding: 18px;
  }

  .hub-tabs .tab-btn {
    grid-template-columns: 36px minmax(0, 1fr);
    min-width: min(100%, 260px);
    width: 100%;
  }

  .request-tab-btn {
    grid-template-columns: 68px minmax(0, 1fr);
    min-height: 88px;
  }

  .request-tab-image {
    width: 56px;
    height: 56px;
  }

  .slug-guidance-stack {
    margin: 0 18px 16px;
  }

  .slug-guidance-banner {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .slug-guidance-actions {
    justify-content: center;
  }

  .slug-guidance-actions .button {
    width: 100%;
    white-space: normal;
  }

  .slug-hero-actions .button,
  .request-hero-actions .button,
  .request-submit-row .button,
  .slug-panel-cta .button,
  .slug-banner .button,
  .group-training-actions .button {
    width: 100%;
  }

  .slug-pill {
    grid-template-columns: 1fr;
  }

  .curated-offers-section {
    padding: 12px;
  }

  .curated-offer-header {
    grid-template-columns: 52px minmax(0, 1fr) 28px;
    min-height: 82px;
    gap: 10px;
  }

  .curated-offer-media {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .curated-offer-media img {
    max-width: 42px;
    max-height: 42px;
  }

  .curated-offer-status {
    grid-column: 2 / 3;
    justify-self: start;
    white-space: normal;
  }

  .curated-offer-icon {
    grid-column: 3;
    grid-row: 1;
  }

  .curated-offer-body-inner {
    grid-template-columns: 1fr;
    padding: 0 12px 14px;
  }

  .curated-offer-actions {
    justify-content: stretch;
  }

  .curated-offer-actions .button {
    width: 100%;
  }

  .curated-offer-footer {
    align-items: stretch;
  }

  .curated-offer-footer .button {
    width: 100%;
  }

  .slug-pill-list {
    grid-template-columns: 1fr;
  }

  .slug-day-card,
  .slug-time-row {
    grid-template-columns: 1fr;
  }

  .slug-day-card {
    padding: 14px 44px 14px 14px;
  }

  .slug-day-cert-logos {
    top: 14px;
    right: 14px;
  }

  .slug-day-cert-logo {
    width: 24px;
    max-height: 24px;
  }

  .slug-time-actions {
    justify-items: stretch;
  }

  .slug-pill-actions {
    justify-items: stretch;
  }

  .slug-pill-hint {
    text-align: left;
  }

  .slug-pill-actions .button.small {
    width: 100%;
  }

  .slug-emergency-alert {
    margin: 0 14px 18px;
    padding: 14px;
    border-width: 3px;
  }

  .slug-emergency-alert h2 {
    font-size: 19px;
  }

  .slug-emergency-alert p {
    font-size: 14px;
  }

  .slug-time-actions .button.small {
    width: 100%;
  }

  .slug-stat-grid,
  .request-stat-grid {
    grid-template-columns: 1fr;
  }
}

.heartsaver-featured-card {
  border-color: rgba(18, 100, 163, 0.42);
  box-shadow: 0 18px 42px rgba(18, 100, 163, 0.14);
  transform: translateY(-2px);
}

.heartsaver-featured-card::before {
  content: "Most common";
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 2px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(18, 100, 163, 0.1);
  color: #0b4f82;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.heartsaver-delivery-card img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.heartsaver-course-flow-stack {
  display: grid;
  gap: 18px;
}

@media (max-width: 640px) {
  .heartsaver-featured-card {
    transform: none;
  }

  .heartsaver-delivery-card img {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 900px) {
  .home-authority .affiliation-cluster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-locality {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .home-authority {
    order: 3;
    margin: 6px 14px 0;
    padding: 12px;
  }

  .home-hero {
    display: block;
    order: 1;
    padding: 12px 18px 0;
  }

  .home-finder {
    order: 2;
    padding-top: 12px;
  }

  .home-finder .section-heading {
    display: none;
  }

  .top-trust {
    order: 4;
  }

  .home-faq {
    order: 5;
  }

  .home-locality {
    order: 6;
  }

  .home-hero .home-hero-links {
    display: none;
  }

  .home-hero .subhead {
    margin-bottom: 0;
  }
}

@media (max-width: 560px) {
  .home-authority .affiliation-cluster-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-authority .affiliation-item {
    grid-template-columns: 1fr;
    grid-template-rows: 38px auto;
    gap: 4px;
    min-height: 84px;
    justify-items: center;
    padding: 6px 4px;
  }

  .home-authority .affiliation-item img {
    width: 38px;
    height: 38px;
  }

  .home-authority .affiliation-item span {
    font-size: 10px;
    text-align: center;
  }

  .home-locality {
    padding: 22px 18px 26px;
  }
}
/* Confirmed seated session state. */
.anchor-class-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem 1rem;
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  border: 1px solid #9fd5ad;
  border-radius: 12px;
  background: #e6f6e9;
  color: #174f2b;
}
.anchor-class-banner strong { font-size: 1.05rem; }

/* Group training uses request cards, not the dated session and sidebar grids. */
.group-training-page .slug-hero { grid-template-columns: minmax(0, 1fr); }
.group-training-page .slug-hero .hero-side { display: none; }
.group-training-page .hub-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.group-training-page .hub-tabs .tab-btn { min-width: 0; width: 100%; }
.group-training-page .slug-group-request-pill { grid-template-columns: minmax(0, 1fr) auto; }
.group-training-page .slug-group-request-pill .slug-pill-actions { justify-content: flex-end; }
.group-training-page .group-training-request-grid { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 850px) {
  .group-training-page .hub-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .group-training-page .slug-group-request-pill { grid-template-columns: minmax(0, 1fr); }
  .group-training-page .slug-group-request-pill .slug-pill-actions { justify-content: stretch; }
}
@media (max-width: 500px) {
  .group-training-page .hub-tabs { grid-template-columns: minmax(0, 1fr); }
}
