/* Academy Levels extends the shared Sunshine Training theme. */
.academy-levels-page .levels-hero {
  padding: clamp(42px, 6vw, 84px) 0;
  background: linear-gradient(125deg, #f3eaf8, #fdfafd 72%, #fff);
}
.levels-hero-grid,
.levels-application {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.academy-levels-page .levels-hero h1 {
  font-size: clamp(40px, 5vw, 70px);
  margin: 14px 0 22px;
}
.levels-hero-copy > p:not(.eyebrow) { font-size: clamp(17px, 1.65vw, 21px); }
.levels-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 24px; }
.levels-hero-visual {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #e9deee;
  background: #fff;
  box-shadow: 0 16px 40px #25183515;
}
.levels-hero-visual img { width: 100%; height: auto; display: block; }
.levels-hero-visual p { margin: 0; padding: 16px 22px 19px; }
.levels-hero-visual strong { display: block; color: var(--sunshine-text, #5e3672); font-size: 24px; }
.levels-hero-visual span { display: block; font-size: 16px; }
.levels-section { padding: clamp(42px, 6vw, 78px) 0; }
.levels-section-heading { max-width: 760px; margin-bottom: 26px; }
.levels-section-heading p { margin-top: 12px; }
.levels-tint { background: #f7f1fb; }
.level-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.level-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  border: 1px solid #e9deee;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px #25183509;
}
.level-card-title {
  background: #5e3672;
  color: #fff;
  padding: 15px 16px;
}
.level-card-title p { font-size: 14px; margin: 0 0 3px; }
.academy-levels-page .level-card-title h3 { color: #fff; margin: 0; font-size: clamp(21px, 2vw, 26px); }
.level-card-body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.level-use { margin: 0; min-height: 3.1em; line-height: 1.42; }
.level-rates { margin: 15px 0 18px; }
.level-rates > div { border-top: 1px solid #e9deee; padding: 12px 0 0; margin-top: 10px; }
.level-rates dt { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.level-rates dd { margin: 0; }
.level-rates > div:first-child dd { color: var(--sunshine-text, #5e3672); font-size: clamp(22px, 2.3vw, 31px); font-weight: 800; }
.level-rates .level-total { margin-top: 6px; font-weight: 800; color: var(--sunshine-text, #5e3672); }
.level-card .button { margin-top: auto; padding-inline: 8px; text-align: center; }
.level-cost-notes {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 16px 26px;
  padding: 19px 22px;
  background: #f7f1fb;
  border-inline-start: 4px solid #5e3672;
  border-radius: 7px;
}
.level-cost-notes p { margin: 0; font-size: 16px; }
.levels-extra-help { margin: 18px 0 0; }
.levels-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.levels-feature-grid article,
.levels-extras article {
  padding: 20px 22px;
  border: 1px solid #e9deee;
  background: #fff;
  border-radius: 12px;
}
.levels-feature-grid h3,
.levels-extras h3 { color: var(--sunshine-text, #5e3672); margin: 0 0 8px; }
.levels-feature-grid p,
.levels-extras p { margin: 0; }
.levels-application { align-items: start; }
.levels-steps { display: grid; gap: 13px; padding-inline-start: 22px; margin: 20px 0 0; }
.levels-steps li::marker { color: var(--sunshine-text, #5e3672); font-weight: 800; }
.levels-requirements {
  padding: 22px;
  border: 1px solid #e9deee;
  border-radius: 12px;
  background: #f7f1fb;
}
.levels-requirements h3 { margin: 0; }
.levels-requirements p { margin: 10px 0 14px; }
.levels-extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 18px; }
.academy-levels-page .academy-band .levels-actions { min-inline-size: min(245px,100%); }
.levels-light-link { color: #fff; font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 1060px) {
  .level-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .levels-hero-grid, .levels-application, .level-cost-notes { grid-template-columns: minmax(0, 1fr); }
  .level-grid, .levels-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .levels-hero-visual { max-width: 520px; }
}
@media (max-width: 480px) {
  .level-grid, .levels-feature-grid, .levels-extras { grid-template-columns: minmax(0, 1fr); }
  .level-use { min-height: 0; }
  .levels-actions .button { width: 100%; }
}
@media print {
  .level-card { break-inside: avoid; }
  .level-card-title { background: #fff; color: var(--sunshine-text, #251835); }
  .academy-levels-page .level-card-title h3 { color: var(--sunshine-text, #251835); }
  .level-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
