/* Owner request (29 Nov): keep the earlier "These Classrooms Deliver" design on Academics:
   the whole class photo across the full width under a soft navy shade, text on the left. */
.pg-academics .acad-trust { --tw: 680px; min-height: clamp(560px, 52vw, 760px); padding-block: clamp(72px, 9vw, 120px) clamp(80px, 9vw, 128px); }
.pg-academics .acad-trust > img , .pg-academics .acad-trust > :where(.kb-pic) > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.pg-academics .acad-trust::before {
  background:
    linear-gradient(90deg, rgba(12, 14, 28, 0.8) 0%, rgba(12, 14, 28, 0.64) 38%, rgba(12, 14, 28, 0.2) 66%, rgba(12, 14, 28, 0) 100%),
    linear-gradient(0deg, rgba(12, 14, 28, 0.58) 0%, rgba(12, 14, 28, 0) 36%);
}
/* Art direction, 29 Nov (same design, alphas within 0.03 of the first version): the shade is a
   deep night navy in place of the lighter indigo, which turned the red blazers and the carpet
   purple. Tablets and small laptops: the text column covers more of the band, so the shade
   reaches further right there and the words stay readable; the class on the right stays clear. */
@media (min-width: 721px) and (max-width: 1179px) {
  .pg-academics .acad-trust::before {
    background:
      linear-gradient(90deg, rgba(12, 14, 28, 0.84) 0%, rgba(12, 14, 28, 0.74) 52%, rgba(12, 14, 28, 0.34) 84%, rgba(12, 14, 28, 0.12) 100%),
      linear-gradient(0deg, rgba(12, 14, 28, 0.58) 0%, rgba(12, 14, 28, 0) 36%);
  }
}
.pg-academics .acad-trust-inner { max-width: 680px; }
.pg-academics .acad-trust h2, .pg-academics .acad-trust-inner > p, .pg-academics .acad-trust .fact { text-shadow: 0 2px 14px rgba(10, 12, 30, 0.75), 0 0 2px rgba(10, 12, 30, 0.6); }
@media (max-width: 720px) {
  .pg-academics .acad-trust { padding-top: 300px; min-height: 0; }
  .pg-academics .acad-trust > img , .pg-academics .acad-trust > :where(.kb-pic) > img { object-position: 62% 0%; height: 360px; bottom: auto; }
  .pg-academics .acad-trust::before { background: linear-gradient(0deg, var(--night) 0%, var(--night) calc(100% - 340px), rgba(27, 31, 64, 0.5) calc(100% - 220px), rgba(27, 31, 64, 0) 100%); }
}

/* Owner request (1 Dec): aerial bus fleet photo on Facilities, shown whole (all buses visible). */
.pg-facilities .transport-media { aspect-ratio: 1354 / 1162; }
.pg-facilities .transport-media img { object-position: 50% 50%; }

/* Owner request (1 Dec): home "Safety First" uses the aerial bus fleet photo, shown whole. */
.feature-photo:has(img[src*="school-buses-aerial"]) { aspect-ratio: 1354 / 1162; }
.feature-photo img[src*="school-buses-aerial"] { object-fit: cover; object-position: 50% 50%; }
