html { scroll-behavior: smooth; }

.school-academy-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 28px clamp(16px, 3vw, 42px) 0;
  padding: 24px clamp(20px, 3vw, 34px);
  border: 1px solid #1a6250;
  border-radius: 18px;
  background: linear-gradient(125deg, #0e392f, #165f4d);
  box-shadow: 0 18px 42px rgba(11, 48, 39, .18);
  color: #fff;
}

.school-academy-footer-cta div { display: grid; gap: 7px; }
.school-academy-footer-cta small { color: #a9ded0; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.school-academy-footer-cta strong { font-size: clamp(16px, 1.6vw, 22px); line-height: 1.45; }
.school-academy-footer-cta a {
  flex: 0 0 auto;
  padding: 14px 18px;
  border-radius: 12px;
  background: #fff;
  color: #103d33;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
}
.school-academy-footer-cta a:hover, .school-academy-footer-cta a:focus-visible { background: #f6c955; outline: 3px solid rgba(246, 201, 85, .35); }

.school-quick-nav {
  position: fixed;
  display: block;
  right: 14px;
  top: 50%;
  z-index: 2400;
  width: 96px;
  transform: translateY(-50%);
  padding: 10px 8px;
  border: 1px solid rgba(22, 86, 70, .16);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 34px rgba(12, 45, 35, .15);
  backdrop-filter: blur(10px);
}
.school-quick-nav-list { position: relative; display: grid; gap: 2px; }
.school-quick-nav-list::before { content: ""; position: absolute; left: 8px; top: 9px; bottom: 9px; width: 2px; background: #60cbb0; }
.school-quick-nav .school-quick-nav-list > a {
  position: relative;
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  min-height: 29px;
  padding: 4px 5px;
  border-radius: 8px;
  color: #687b75;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}
.school-quick-nav a i { position: relative; z-index: 1; width: 7px; height: 7px; margin-left: 5px; border: 2px solid #55c7aa; border-radius: 50%; background: #fff; }
.school-quick-nav a.is-active { background: #102b38; color: #fff; }
.school-quick-nav a.is-active i { width: 9px; height: 9px; margin-left: 4px; border-color: #20b486; background: #20b486; box-shadow: 0 0 0 4px rgba(32, 180, 134, .18); }
.school-quick-nav a.school-quick-nav-academy { margin-top: 4px; background: #f0b83f; color: #1a332c; }
.school-quick-nav a.school-quick-nav-academy i { border-color: #0d6c4e; background: #0d6c4e; }

@media (max-width: 1180px) {
  .school-quick-nav { right: 8px; width: 88px; }
}

@media (max-width: 760px) {
  body.has-school-quick-nav { padding-right: 32px; }
  .curriculum {
    padding-top: 12px;
    scroll-margin-top: 0;
  }
  .curriculum .section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
  }
  .curriculum .section-heading > div {
    grid-column: 1 / -1;
    grid-row: 1;
    min-width: 0;
  }
  .curriculum .section-heading h2 {
    max-width: 100%;
    font-size: 20.7px;
    line-height: 1.22;
    letter-spacing: -.05em;
    white-space: normal;
    overflow-wrap: break-word;
  }
  .curriculum .section-heading > p {
    grid-column: 1;
    grid-row: 2;
    max-width: 100%;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: -.035em;
    white-space: normal;
    word-break: keep-all;
  }
  .curriculum .section-heading > p br { display: none; }
  .curriculum .section-heading > .other-school-blog {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: stretch;
    width: 170px;
    height: 76px;
    min-width: 0;
    padding: 8px 10px;
    grid-template-columns: 34px 1fr;
    column-gap: 8px;
    border-radius: 11px;
  }
  .curriculum .other-school-blog b { width: 34px; height: 34px; border-radius: 8px; font-size: 17px; }
  .curriculum .other-school-blog span { font-size: 13px; line-height: 1.22; }
  .curriculum .other-school-blog small { font-size: 9px; line-height: 1.2; }
  .school-academy-footer-cta { align-items: stretch; flex-direction: column; margin-inline: 12px; padding: 20px; }
  .school-academy-footer-cta a { text-align: center; }
  .school-quick-nav {
    top: max(72px, env(safe-area-inset-top));
    right: 1px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: 30px;
    max-width: none;
    transform: none;
    padding: 3px 1px;
    border-radius: 9px;
    overflow: hidden;
  }
  .school-quick-nav-list { display: grid; grid-template-rows: repeat(6, minmax(0, 1fr)); width: auto; height: 100%; gap: 1px; }
  .school-quick-nav-list::before { left: 4px; top: 8px; bottom: 8px; }
  .school-quick-nav .school-quick-nav-list > a {
    grid-template-columns: 8px 1fr;
    min-height: 0;
    height: 100%;
    padding: 3px 0;
    border-radius: 7px;
    font-size: 8px;
    line-height: 1;
    white-space: normal;
    touch-action: manipulation;
  }
  .school-quick-nav .school-quick-nav-list > a > span {
    align-self: center;
    justify-self: center;
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: .08em;
  }
  .school-quick-nav a i { width: 5px; height: 5px; margin-left: 1px; }
  .school-quick-nav a.is-active i { width: 7px; height: 7px; margin-left: 0; box-shadow: 0 0 0 2px rgba(32, 180, 134, .16); }
  .school-quick-nav a.school-quick-nav-academy { margin-top: 0; }
}

@media (max-width: 390px) {
  .curriculum .section-heading { grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; }
  .curriculum .section-heading > .other-school-blog { width: 150px; }
  .curriculum .section-heading > p { font-size: 11px; }
}
