/* Rich photographic school hero, using the same forest palette as the homepage. */
@media (max-width: 760px) {
  :root body.school-page .school-hero-photo {
    opacity: 1 !important;
    mask: none !important;
    -webkit-mask: none !important;
    background-position: 64% center !important;
    border-radius: 0 0 24px 24px;
    overflow: hidden;
  }

  :root body.school-page .school-hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #0c291fed 0%, #102d24cc 30%, #102d2450 64%, #102d241a 100%);
  }

  :root body.school-page .school-hero {
    min-height: 540px !important;
    padding-bottom: 20px !important;
    color: #fffdf4;
  }

  :root body.school-page .school-hero-copy {
    display: flex;
    flex-direction: column;
    min-height: 500px;
  }

  :root body.school-page .school-breadcrumb,
  :root body.school-page .school-breadcrumb a {
    color: #ffffffc7;
  }

  :root body.school-page .school-hero h1 {
    color: #fffdf4;
    font-size: clamp(42px, 12vw, 54px) !important;
  }

  :root body.school-page .school-lead {
    color: #fffdf4;
  }

  :root body.school-page .school-hero-details {
    color: #ffffffde;
    font-size: 14px !important;
  }

  :root body.school-page .school-reward-hook {
    margin-top: auto !important;
    background: #f2f7ebf2;
    border-color: #ffffff80;
    box-shadow: 0 8px 24px #0a291f1a;
  }

  :root body.school-page .school-classes {
    margin-top: 18px !important;
  }
}
