.schools-page { --schools-green: #113b2d; --schools-line: #cbdacf; }
.schools-page h2 { margin: 0 0 22px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; color: var(--schools-green); }
.schools-page p { color: #43564f; margin: 0 0 18px; }
.schools-page .button { text-align: center; }
.schools-hero { background: #eef2e7; padding: 28px 0 56px; }
.schools-hero .breadcrumbs { margin-bottom: 36px; }
.schools-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.schools-intro h1 { color: var(--schools-green); font-size: clamp(2.5rem, 4.7vw, 4rem); line-height: 1.08; margin: 0 0 28px; }
.schools-intro p { max-width: 600px; font-size: 1.0625rem; }
.schools-intro .button { margin-top: 10px; }
.schools-map { margin: 0; padding: 28px; border: 1px solid var(--schools-line); border-radius: 24px; background: #fffefa; text-align: center; }
.schools-map figcaption { color: var(--schools-green); font-weight: 700; margin-bottom: 24px; }
.schools-map-sources { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.schools-map-node { display: flex; flex-direction: column; align-items: center; }
.schools-map-node svg { width: 52px; height: 52px; padding: 10px; border-radius: 14px; background: #fff1bf; color: var(--schools-green); margin-bottom: 8px; }
.schools-map-node strong { color: var(--schools-green); }
.schools-map-node span { font-size: .8125rem; color: #43564f; }
.schools-map-merge { position: relative; width: 53%; height: 24px; margin: 12px auto 24px; border: 2px solid #8ca88e; border-top: 0; border-radius: 0 0 12px 12px; }
.schools-map-merge::after { content: ''; position: absolute; left: calc(50% - 1px); top: 100%; height: 24px; border-left: 2px solid #8ca88e; }
.schools-map-hub { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; background: var(--schools-green); color: #fff; padding: 16px; border-radius: 16px; }
.schools-map-hub img { width: 74px; height: 64px; object-fit: contain; background: #fff; border-radius: 10px; }
.schools-map-hub span { text-align: left; font-size: .9375rem; }
.schools-map-arrow { font-size: 1.8rem; line-height: 1.4; color: #66846a; }
.schools-map-student { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 18px; }
.schools-map-student svg { width: 42px; height: 42px; color: var(--schools-green); }
.schools-map-student strong { display: block; color: var(--schools-green); }
.schools-map-student span { display: block; font-size: .8125rem; color: #43564f; }
.schools-map > a { font-size: .875rem; }
.schools-pathways { padding: 56px 0; }
.schools-section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; margin-bottom: 28px; }
.schools-section-heading h2, .schools-section-heading p { margin-bottom: 0; }
.schools-referral-heading { display: block; max-width: 780px; }
.schools-referral-heading h2 { margin-bottom: 16px; }
.schools-referral { border: 1px solid var(--schools-line); border-radius: 22px; padding: 36px; background: #f3f6ee; }
.schools-referral-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; list-style: none; padding: 0; margin: 0; }
.schools-referral-steps li { position: relative; }
.schools-referral-steps li:not(:last-child)::after { content: ''; position: absolute; top: 31px; left: 82px; right: -18px; border-top: 2px dashed #a1b7a0; }
.schools-referral-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; color: #113b2d; background: #ffe7a0; margin-bottom: 22px; }
.schools-referral-steps li:last-child .schools-referral-icon { background: #113b2d; color: #fff; }
.schools-referral-icon svg { width: 30px; height: 30px; }
.schools-referral-steps h3 { margin: 0 0 12px; color: #113b2d; font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.2; }
.schools-referral-steps p { font-size: .9375rem; margin: 0; }
.schools-referral-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--schools-line); }
.schools-text-link { color: var(--schools-green); font-weight: 700; text-underline-offset: 5px; overflow-wrap: anywhere; }
.schools-text-link:hover { text-decoration-thickness: 2px; }
.schools-admission { background: #f4f6f1; border-radius: 12px; margin-top: 24px; }
.schools-admission summary { padding: 20px 24px; cursor: pointer; color: var(--schools-green); font-weight: 700; }
.schools-admission-body { padding: 0 24px 24px; color: #43564f; font-size: .9375rem; }
.schools-admission-body ul { margin: 0 0 16px; padding-left: 20px; }
.schools-admission-body li { margin-bottom: 8px; }
.schools-support { padding: 8px 0 24px; }
.schools-support-panel { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; background: #113b2d; border-radius: 28px; padding: clamp(28px, 4.5vw, 56px); }
.schools-support-panel::before { content: ''; position: absolute; z-index: -1; right: -190px; top: -260px; width: 510px; height: 510px; border: 64px solid rgb(255 210 79 / 7%); border-radius: 50%; pointer-events: none; }
.schools-support-copy h2 { color: #fffefa; font-size: clamp(2.4rem, 4.6vw, 3.7rem); line-height: 1.08; margin-bottom: 24px; }
.schools-support-copy > p { color: #dae6dc; max-width: 430px; font-size: 1.0625rem; }
.schools-support .schools-support-cta { display: inline-flex; gap: 24px; min-height: 58px; margin-top: 12px; padding: 16px 24px; background: #ffd24f; color: #113b2d; font-size: 1.125rem; font-weight: 700; border: 1px solid #ffd24f; box-shadow: 0 8px 22px rgb(0 0 0 / 12%); }
.schools-support-cta span { font-size: 1.45rem; line-height: 1; }
.schools-support .schools-support-cta:hover { background: #ffe180; border-color: #ffe180; }
.schools-support-copy .schools-support-policy { color: #c5d7c9; font-size: .8125rem; line-height: 1.6; margin: 18px 0 0; }
.schools-support-options h3 { color: #fffefa; margin: 0 0 14px; font-size: 1.25rem; line-height: 1.3; }
.schools-support-list { list-style: none; padding: 0; margin: 0; }
.schools-support-list li { border-bottom: 1px solid #4b6b59; }
.schools-support-list li:first-child { border-top: 1px solid #4b6b59; }
.schools-support-list a { display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; gap: 16px; align-items: center; padding: 22px 8px; text-decoration: none; color: #fffefa; }
.schools-support-list a:hover { background: #1d4939; }
.schools-support-list svg { width: 32px; height: 32px; color: #ffd24f; }
.schools-support-list strong { display: block; font-size: 1.0625rem; line-height: 1.3; }
.schools-support-impact { display: block; margin-top: 5px; font-size: .875rem; color: #c5d7c9; }
.schools-support-arrow { color: #ffd24f; font-size: 1.3rem; }
.schools-support a:focus-visible { outline: 3px solid #ffd24f; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .schools-support .schools-support-cta { transition: none; transform: none; }
}
.schools-contact { padding: 48px 0; }
.schools-contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.schools-contact p { margin-bottom: 0; max-width: 600px; }
.schools-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; justify-self: end; max-width: 100%; }
@media (max-width: 760px) {
  .schools-hero { padding-bottom: 36px; }
  .schools-hero-grid, .schools-support-panel, .schools-contact-layout { grid-template-columns: 1fr; gap: 24px; }
  .schools-pathways, .schools-contact { padding: 36px 0; }
  .schools-support { padding: 0 0 12px; }
  .schools-support-panel { padding: 28px 24px; border-radius: 20px; gap: 36px; }
  .schools-section-heading { display: block; }
  .schools-section-heading h2 { margin-bottom: 12px; }
  .schools-map { padding: 22px; max-width: 500px; width: 100%; justify-self: center; }
  .schools-contact-actions { justify-self: start; }
}
@media (max-width: 400px) {
  .schools-map { padding: 18px 14px; }
  .schools-map-hub { gap: 10px; padding: 12px; }
  .schools-map-hub img { width: 58px; height: 52px; }
}

@media (max-width: 760px) {
  .schools-referral { padding: 26px 22px; }
  .schools-referral-steps { grid-template-columns: 1fr; gap: 28px; }
  .schools-referral-steps li { padding-left: 78px; min-height: 64px; }
  .schools-referral-icon { position: absolute; left: 0; top: 0; width: 56px; height: 56px; margin: 0; }
  .schools-referral-steps li:not(:last-child)::after { top: 68px; bottom: -16px; left: 27px; right: auto; border-top: 0; border-left: 2px dashed #a1b7a0; }
  .schools-referral-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
}

/* Keep eligibility and the application actions together in the referral panel. */
.schools-referral .schools-admission { background: transparent; border-top: 1px solid var(--schools-line); border-bottom: 1px solid var(--schools-line); border-radius: 0; margin-top: 28px; }
.schools-referral .schools-admission summary { padding: 18px 0; }
.schools-referral .schools-admission-body { padding: 0 0 20px; }
.schools-referral .schools-referral-actions { border-top: 0; padding-top: 0; margin-top: 24px; }
