/* =====================================================================
   Bloom Garden Schools: header and the new pages
   (Our Schools, school pages, Admissions, online forms, Transport,
   Calendar, Sports, Boarding, Job Board, Gallery, Podcast, Blog,
   Partners, Contact Us). Loaded after bloom.css.
   Blue and gold base; each school keeps its own colour.
   ===================================================================== */

:root {
  --bgp-blue: #2e7089;
  --bgp-blue-deep: #245c76;
  --bgp-ink: #234b65;
  --bgp-wash: #f2f7f8;
  --bgp-gold: #f2c75c;
  --bgp-gold-deep: #8c6c00;
  --bgp-text: #4f5f6c;
  --bgp-muted: #6b7a86;
  --bgp-line: #e1e9ee;
  --bgp-radius: 10px;
  --bgp-shadow: 0 10px 30px rgba(35, 75, 101, 0.08);
  --bgp-head-font: "Montserrat", sans-serif;
  --bgp-body-font: "Open Sans", sans-serif;
}

/* School colours, for pages that load only this file */
.bg-school--academy { --school: #2e7089; --school-soft: #e3eff3; --school-on: #fff; }
.bg-school--international { --school: #f2c75c; --school-soft: #fdf3d7; --school-on: #234b65; }
.bg-school--vocational { --school: #3f7a57; --school-soft: #e4f0e8; --school-on: #fff; }
.bg-school--events { --school: #8c6c00; --school-soft: #fbf3dc; --school-on: #fff; }
.bg-school--all { --school: #234b65; --school-soft: #eef3f6; --school-on: #fff; }

.bgp-sr, .bgh-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* =====================================================================
   HEADER (Mustard Seed arrangement: top bar, then logo, menu and Enroll Now)
   ===================================================================== */
.bgh-skip {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 10000;
  padding: 10px 16px;
  background: var(--bgp-gold);
  color: var(--bgp-ink);
  font-weight: 700;
}
.bgh-skip:focus { top: 8px; }

.bgh { position: relative; z-index: 999; font-family: var(--bgp-body-font); }

.bgh-top {
  background: var(--bgp-blue-deep);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 1.4;
}
.bgh-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}
.bgh-top ul { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.bgh-top-contact { gap: 6px 22px; }
.bgh-top-actions { gap: 4px; }
.bgh-top a { display: inline-flex; align-items: center; gap: 7px; color: #fff; text-decoration: none; }
.bgh-top a:hover, .bgh-top a:focus-visible { color: var(--bgp-gold); }
.bgh-top i { color: var(--bgp-gold); font-size: 12px; }
.bgh-top-contact li:first-child a { font-weight: 600; }
.bgh-top-actions a {
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.bgh-top-actions li + li a { background: rgba(255, 255, 255, 0.12); }
.bgh-top-actions li + li a:hover { background: var(--bgp-gold); color: var(--bgp-ink); }
.bgh-top-actions li + li a:hover i { color: var(--bgp-ink); }

.bgh-main {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--bgp-line);
  transition: box-shadow 200ms ease;
}
.bgh.is-scrolled .bgh-main { box-shadow: 0 6px 24px rgba(35, 75, 101, 0.12); }
/* The top bar scrolls away; the menu bar stays */
.bgh { position: sticky; top: -40px; }

.bgh-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.bgh-brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  color: var(--bgp-ink);
  text-decoration: none;
}
.bgh-brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.bgh-brand-text { display: grid; font-family: var(--bgp-head-font); line-height: 1.05; }
.bgh-brand-text strong { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.bgh-brand-text span { color: var(--bgp-gold-deep); font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; }
.bgh-brand:hover { color: var(--bgp-blue); }

.bgh-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bgh-item { position: relative; display: flex; align-items: center; }
.bgh-item > a {
  position: relative;
  display: block;
  padding: 30px 11px;
  color: var(--bgp-ink);
  font-family: var(--bgp-head-font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 150ms ease;
}
.bgh-item > a::after {
  position: absolute;
  right: 11px; bottom: 22px; left: 11px;
  height: 3px;
  border-radius: 2px;
  background: var(--bgp-gold);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.bgh-item > a:hover,
.bgh-item > a:focus-visible,
.bgh-item.is-active > a { color: var(--bgp-blue); }
.bgh-item > a:hover::after,
.bgh-item > a:focus-visible::after,
.bgh-item.is-active > a::after { transform: scaleX(1); }

.bgh-sub-toggle {
  display: none;
  padding: 8px;
  border: 0;
  background: none;
  color: var(--bgp-ink);
  cursor: pointer;
}

.bgh-sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  min-width: 270px;
  margin: 0;
  padding: 10px 0;
  border-top: 3px solid var(--bgp-gold);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(35, 75, 101, 0.16);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}
.bgh-item:hover > .bgh-sub,
.bgh-item:focus-within > .bgh-sub { opacity: 1; visibility: visible; transform: translateY(0); }
.bgh-sub a {
  display: block;
  padding: 9px 22px;
  border-left: 3px solid transparent;
  color: var(--bgp-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.bgh-sub a:hover,
.bgh-sub a:focus-visible,
.bgh-sub a[aria-current="page"] { border-left-color: var(--bgp-gold); background: var(--bgp-wash); color: var(--bgp-blue); }

.bgh-item-cta { margin-left: 12px; }
.bgh-item > a.bgh-enroll {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  background: var(--bgp-gold);
  color: var(--bgp-ink);
  font-family: var(--bgp-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(242, 199, 92, 0.45);
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}
.bgh-item > a.bgh-enroll::after { display: none; }
.bgh-item > a.bgh-enroll:hover, .bgh-item > a.bgh-enroll:focus-visible { background: var(--bgp-blue); color: #fff; transform: translateY(-1px); }

.bgh-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--bgp-line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}
.bgh-toggle-bars { display: grid; gap: 5px; }
.bgh-toggle-bars span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--bgp-ink); transition: transform 180ms ease, opacity 180ms ease; }
.bgh.is-open .bgh-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bgh.is-open .bgh-toggle-bars span:nth-child(2) { opacity: 0; }
.bgh.is-open .bgh-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1199px) {
  .bgh-item > a { padding: 30px 8px; font-size: 12px; }
  .bgh-item > a::after { right: 8px; left: 8px; }
  .bgh-item > a.bgh-enroll { padding: 11px 16px; }
}

/* Phone and tablet: the menu folds into the button */
@media (max-width: 1199px) {
  .bgh { top: -40px; }
  .bgh-main-inner { flex-wrap: wrap; min-height: 72px; }
  .bgh-brand img { width: 50px; height: 50px; }
  .bgh-toggle { display: inline-flex; }
  .bgh-nav {
    display: none;
    flex-basis: 100%;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    padding-bottom: 16px;
  }
  .bgh.is-open .bgh-nav { display: block; }
  .bgh-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .bgh-item { flex-wrap: wrap; justify-content: space-between; border-top: 1px solid var(--bgp-line); }
  .bgh-item > a { flex: 1; padding: 14px 4px; font-size: 13px; }
  .bgh-item > a::after { display: none; }
  .bgh-sub-toggle { display: inline-flex; }
  .bgh-sub-toggle i { transition: transform 160ms ease; }
  .bgh-item.is-expanded .bgh-sub-toggle i { transform: rotate(180deg); }
  .bgh-sub {
    position: static;
    display: none;
    flex-basis: 100%;
    min-width: 0;
    padding: 0 0 10px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .bgh-item.is-expanded > .bgh-sub { display: block; }
  .bgh-item:hover > .bgh-sub { display: none; }
  .bgh-item.is-expanded:hover > .bgh-sub { display: block; }
  .bgh-sub a { padding: 9px 14px; }
  .bgh-item-cta { margin: 14px 0 0; border: 0; }
  .bgh-item > a.bgh-enroll { width: 100%; text-align: center; }
}

@media (max-width: 575px) {
  .bgh-hide-sm { display: none; }
  .bgh-top-inner { justify-content: center; padding-top: 4px; padding-bottom: 4px; }
  .bgh-top-contact li:first-child { display: none; }
  .bgh-brand-text strong { font-size: 17px; }
}

/* The theme's own header styles no longer apply */
#header-part { display: none; }

/* =====================================================================
   SHARED PAGE PIECES
   ===================================================================== */
.bgp-section { padding: 72px 0; background: #fff; }
.bgp-wash { background: var(--bgp-wash); }
.bgp-section p, .bgp-section li { font-family: var(--bgp-body-font); }

.bgp-h {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 12px;
  color: var(--bgp-ink);
  font-family: var(--bgp-head-font);
  font-size: clamp(1.7rem, 3.4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
}
.bgp-h::before {
  position: absolute;
  bottom: 0; left: 0;
  width: 44px; height: 3px;
  border-radius: 2px;
  background: var(--bgp-gold);
  content: "";
}
.bgp-h3 {
  margin: 48px 0 20px;
  color: var(--bgp-ink);
  font-family: var(--bgp-head-font);
  font-size: 1.35rem;
  font-weight: 700;
}
.bgp-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--bgp-gold-deep);
  font-family: var(--bgp-head-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.bgp-kicker-school { display: inline-flex; align-items: center; gap: 8px; }
.bgp-kicker-school::before { width: 10px; height: 10px; border-radius: 50%; background: var(--school, var(--bgp-gold)); content: ""; }

.bgp-lead { max-width: 760px; color: var(--bgp-text); font-size: 17px; line-height: 1.75; }
.bgp-section p { color: var(--bgp-text); font-size: 15.5px; line-height: 1.8; }
.bgp-section p + p { margin-top: 14px; }
.bgp-muted, .bgp-section .bgp-muted { color: var(--bgp-muted); font-size: 14px; }

.bgp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  border: 2px solid var(--bgp-blue);
  border-radius: 4px;
  background: var(--bgp-blue);
  color: #fff;
  font-family: var(--bgp-head-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.bgp-btn:hover, .bgp-btn:focus-visible { border-color: var(--bgp-ink); background: var(--bgp-ink); color: #fff; transform: translateY(-1px); }
.bgp-btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.bgp-btn-outline { background: transparent; color: var(--bgp-blue); }
.bgp-btn-outline:hover, .bgp-btn-outline:focus-visible { border-color: var(--bgp-blue); background: var(--bgp-blue); }
.bgp-btn-lg { padding: 15px 30px; font-size: 14px; }
.bgp-btn-sm { padding: 9px 16px; font-size: 12px; }
.bgp-btn-block { display: flex; width: 100%; margin-top: 18px; }
.bgp-btn-ghost { border-color: rgba(255, 255, 255, 0.7); background: transparent; color: #fff; }
.bgp-btn-ghost:hover { border-color: #fff; background: #fff; color: var(--bgp-ink); }
.bgp-btn-youtube { border-color: #e62117; background: #e62117; }
.bgp-btn-youtube:hover { border-color: #b8170f; background: #b8170f; }

.bgp-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--bgp-blue);
  font-family: var(--bgp-head-font);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: gap 150ms ease, color 150ms ease;
}
.bgp-link:hover, .bgp-link:focus-visible { gap: 11px; color: var(--bgp-ink); }
.bgp-link i { font-size: 12px; }

.bgp-button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bgp-button-stack { display: grid; gap: 10px; min-width: 230px; }
.bgp-card-links { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: auto; padding-top: 18px; }

.bgp-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--bgp-line);
  border-radius: var(--bgp-radius);
  background: #fff;
  box-shadow: var(--bgp-shadow);
}
.bgp-card > i:first-child { display: inline-grid; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 50%; background: #fdf3d7; color: var(--bgp-blue); font-size: 20px; place-items: center; }
.bgp-card h3, .bgp-card h4 { margin: 0 0 10px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.bgp-card h3 i { margin-right: 6px; color: var(--school, var(--bgp-blue)); }

.bgp-tick-list { margin: 14px 0 0; padding: 0; list-style: none; }
.bgp-tick-list li { position: relative; margin: 0 0 9px; padding-left: 28px; color: var(--bgp-text); font-size: 15px; line-height: 1.55; }
.bgp-tick-list li::before {
  position: absolute;
  top: 1px; left: 0;
  color: var(--school, var(--bgp-blue));
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-size: 13px;
  font-weight: 900;
}
.bg-school--international .bgp-tick-list li::before { color: #c99a1d; }
.bgp-tick-list.is-inline { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.bgp-tick-list a { color: var(--bgp-blue); font-weight: 600; }

.bgp-numbered { margin: 0; padding: 0; counter-reset: bgp; list-style: none; }
.bgp-numbered li { position: relative; margin-bottom: 12px; padding: 14px 16px 14px 58px; border: 1px solid var(--bgp-line); border-radius: 8px; background: #fff; color: var(--bgp-text); counter-increment: bgp; }
.bgp-numbered li::before { position: absolute; top: 50%; left: 14px; display: grid; width: 30px; height: 30px; border-radius: 50%; background: var(--bgp-wash); color: var(--bgp-blue); content: counter(bgp); font-family: var(--bgp-head-font); font-size: 13px; font-weight: 700; place-items: center; transform: translateY(-50%); }

.bgp-intro-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 32px; }
.bgp-intro-row > div:first-child { flex: 1 1 520px; }
.bgp-intro-row .bgp-lead { margin-bottom: 0; }

.bgp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.bgp-split-wide { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); align-items: start; }
.bgp-two-col { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 48px; align-items: start; }

.bgp-aside { display: grid; gap: 20px; }
.bgp-aside-card { padding: 26px; border: 1px solid var(--bgp-line); border-top: 3px solid var(--bgp-gold); border-radius: var(--bgp-radius); background: #fff; box-shadow: var(--bgp-shadow); }
.bgp-aside-card h3 { margin: 0 0 12px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.05rem; font-weight: 700; }
.bgp-aside-card p { margin-bottom: 14px; color: var(--bgp-text); font-size: 14.5px; line-height: 1.7; }

.bgp-callout { margin-top: 36px; padding: 24px 28px; border-left: 4px solid var(--bgp-gold); border-radius: 0 8px 8px 0; background: #fffaf0; }
.bgp-callout h3 { margin: 0 0 8px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.05rem; font-weight: 700; }
.bgp-callout p { margin: 0; }
.bgp-callout a { color: var(--bgp-blue); font-weight: 600; }

.bgp-empty { max-width: 640px; margin: 20px auto; padding: 48px 32px; border: 2px dashed var(--bgp-line); border-radius: 14px; text-align: center; }
.bgp-empty > i { margin-bottom: 14px; color: var(--bgp-gold); font-size: 38px; }
.bgp-empty h3 { margin-bottom: 10px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.3rem; font-weight: 700; }
.bgp-empty a { color: var(--bgp-blue); font-weight: 600; }

/* Link tiles (quick links to related pages) */
.bgp-link-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.bgp-link-tiles.is-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bgp-tile {
  display: grid;
  gap: 4px;
  padding: 22px;
  border: 1px solid var(--bgp-line);
  border-radius: var(--bgp-radius);
  background: #fff;
  color: var(--bgp-ink);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.bgp-tile i { margin-bottom: 8px; color: var(--bgp-blue); font-size: 22px; }
.bgp-tile strong { font-family: var(--bgp-head-font); font-size: 15px; }
.bgp-tile span { color: var(--bgp-muted); font-size: 13.5px; }
.bgp-tile:hover, .bgp-tile:focus-visible { border-color: var(--bgp-gold); box-shadow: var(--bgp-shadow); color: var(--bgp-ink); transform: translateY(-3px); }

.bgp-feature-grid, .bgp-vm, .bgp-three-lists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bgp-three-lists .bgp-card { display: flex; flex-direction: column; border-top: 4px solid var(--school, var(--bgp-blue)); }
.bgp-vm .bgp-card { border-top: 4px solid var(--school, var(--bgp-gold)); }

.bgp-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.bgp-social a { display: grid; width: 38px; height: 38px; border-radius: 50%; background: var(--school-soft, var(--bgp-wash)); color: var(--bgp-ink); place-items: center; transition: background 150ms ease, color 150ms ease; }
.bgp-social a:hover { background: var(--bgp-blue); color: #fff; }
.bgp-social.is-small a { width: 32px; height: 32px; font-size: 13px; }

.bgp-contact-lines { margin: 0; padding: 0; list-style: none; }
.bgp-contact-lines li { display: flex; gap: 12px; margin-bottom: 10px; color: var(--bgp-text); font-size: 15px; line-height: 1.5; }
.bgp-contact-lines i { width: 18px; margin-top: 3px; color: var(--school, var(--bgp-blue)); text-align: center; }
.bg-school--international .bgp-contact-lines i { color: #c99a1d; }
.bgp-contact-lines a { color: var(--bgp-blue); font-weight: 600; word-break: break-word; }

/* =====================================================================
   OUR SCHOOLS AND SCHOOL PAGES
   ===================================================================== */
.bgp-school-rows { display: grid; gap: 28px; margin-top: 36px; }
.bgp-school-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); overflow: hidden; border: 1px solid var(--bgp-line); border-left: 5px solid var(--school); border-radius: var(--bgp-radius); background: #fff; box-shadow: var(--bgp-shadow); }
.bgp-school-row-media { display: block; min-height: 240px; background: var(--school-soft); }
.bgp-school-row-media img { width: 100%; height: 100%; object-fit: cover; }
.bgp-school-row-body { display: flex; flex-direction: column; padding: 30px 34px; }
.bgp-school-row h3 { margin: 0 0 12px; font-family: var(--bgp-head-font); font-size: 1.45rem; font-weight: 700; }
.bgp-school-row h3 a { color: #0fb78d; }
.bgp-school-row h3 a:hover { color: var(--bgp-ink); }

.bgp-school-name { color: var(--bgp-ink); }
.bgp-mantra { margin: -6px 0 16px; color: var(--bgp-gold-deep) !important; font-family: var(--bgp-head-font); font-size: 1.05rem !important; font-style: italic; font-weight: 600; }
.bgp-school-facts { position: sticky; top: 110px; overflow: hidden; border-radius: var(--bgp-radius); background: var(--school-soft); }
.bgp-school-facts img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bgp-school-facts .bgp-tick-list { margin: 0; padding: 22px 24px 14px; }

.bgp-stage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 26px 0 16px; }
.bgp-stage { display: grid; gap: 4px; padding: 20px; border-radius: 8px; background: var(--school-soft); }
.bgp-stage strong { color: var(--bgp-ink); font-family: var(--bgp-head-font); }
.bgp-stage span { color: var(--bgp-text); font-size: 14px; }

.bgp-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 26px 0; padding: 0; list-style: none; }
.bgp-course-grid li { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--bgp-line); border-radius: 8px; background: #fff; color: var(--bgp-ink); font-weight: 600; }
.bgp-course-grid i { color: var(--school); }
.bgp-fact-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; overflow: hidden; border-radius: var(--bgp-radius); background: var(--bgp-line); }
.bgp-fact-strip div { display: grid; gap: 4px; padding: 18px 20px; background: var(--school-soft); }
.bgp-fact-strip strong { color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.bgp-fact-strip span { color: var(--bgp-text); font-size: 14.5px; }

.bgp-contact-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }

/* Admissions */
.bgp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.bgp-steps .bgp-card { display: flex; flex-direction: column; padding-top: 34px; }
.bgp-step-number { position: absolute; top: -18px; left: 24px; display: grid; width: 40px; height: 40px; border: 3px solid #fff; border-radius: 50%; background: var(--bgp-gold); color: var(--bgp-ink); font-family: var(--bgp-head-font); font-weight: 800; place-items: center; }
.bgp-steps .bgp-link { margin-top: auto; padding-top: 12px; }
.bgp-school-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bgp-school-card { display: flex; flex-direction: column; border-top: 5px solid var(--school); }
.bgp-school-icon { display: grid; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%; background: var(--school-soft); color: var(--school); font-size: 20px; place-items: center; }
.bg-school--international .bgp-school-icon { color: #b9880f; }

/* =====================================================================
   FORMS
   ===================================================================== */
.bgp-form { margin-top: 10px; }
.bgp-form-narrow { max-width: 460px; }
.bgp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.bgp-span-2 { grid-column: 1 / -1; }
.bgp-fieldset { margin: 0 0 28px; padding: 26px; border: 1px solid var(--bgp-line); border-radius: var(--bgp-radius); background: #fff; }
.bgp-fieldset legend { width: auto; margin: 0; padding: 0 10px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.05rem; font-weight: 700; }
.bgp-field { display: block; margin: 0; color: var(--bgp-ink); font-size: 14px; font-weight: 600; line-height: 1.4; }
.bgp-field input,
.bgp-field select,
.bgp-field textarea,
.bgp-pro-table input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #cbd7df;
  border-radius: 6px;
  background: #fff;
  color: #1f3443;
  font-family: var(--bgp-body-font);
  font-size: 15px;
  font-weight: 400;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.bgp-field textarea { min-height: 96px; resize: vertical; }
.bgp-field > input, .bgp-field > select, .bgp-field > textarea { display: block; margin-top: 7px; }
.bgp-field > .bgp-help { display: block; margin-top: 6px; }
.bgp-field input:focus,
.bgp-field select:focus,
.bgp-field textarea:focus,
.bgp-pro-table input:focus { border-color: var(--bgp-blue); outline: none; box-shadow: 0 0 0 3px rgba(46, 112, 137, 0.18); }
.bgp-help { color: var(--bgp-muted); font-size: 13px; font-weight: 400; }
.bgp-req { color: #c0392b; }
.bgp-options { padding: 0; border: 0; }
.bgp-options legend { margin-bottom: 8px; color: var(--bgp-ink); font-size: 14px; font-weight: 600; }
.bgp-choice-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 16px; }
.bgp-options .bgp-choice-row { margin-top: 0; }
.bgp-check-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; }
.bgp-check { display: inline-flex; align-items: flex-start; gap: 9px; margin: 0; color: var(--bgp-text); font-size: 14.5px; font-weight: 400; line-height: 1.45; cursor: pointer; }
.bgp-check input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--bgp-blue); }
.bgp-consent { margin-top: 18px; padding: 14px 16px; border-radius: 8px; background: var(--bgp-wash); color: var(--bgp-ink); }
.bgp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.bgp-campus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.bgp-campus { position: relative; margin: 0; cursor: pointer; }
.bgp-campus input { position: absolute; opacity: 0; }
.bgp-campus-body { display: grid; gap: 6px; height: 100%; padding: 18px; border: 2px solid var(--bgp-line); border-radius: var(--bgp-radius); background: #fff; transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.bgp-campus-body i { color: var(--school); font-size: 22px; }
.bg-school--international .bgp-campus-body i { color: #c99a1d; }
.bgp-campus-body strong { color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 14.5px; line-height: 1.3; }
.bgp-campus-body small { color: var(--bgp-muted); font-size: 12.5px; line-height: 1.45; }
.bgp-campus input:checked + .bgp-campus-body { border-color: var(--school); background: var(--school-soft); box-shadow: 0 8px 20px rgba(35, 75, 101, 0.1); }
.bgp-campus input:focus-visible + .bgp-campus-body { outline: 3px solid rgba(46, 112, 137, 0.35); outline-offset: 2px; }

.bgp-alert { margin: 18px 0; padding: 16px 20px; border-left: 4px solid #c0392b; border-radius: 0 8px 8px 0; background: #fdf0ee; color: #7b241c; }
.bgp-alert ul { margin: 6px 0 0; padding-left: 18px; }
.bgp-notice { display: flex; gap: 10px; align-items: center; margin: 0 0 24px; padding: 14px 18px; border-radius: 8px; background: #e4f0e8; color: #24563a; font-weight: 600; }

.bgp-success { max-width: 720px; margin: 0 auto; padding: 44px 40px; border: 1px solid var(--bgp-line); border-radius: 14px; background: #fff; box-shadow: var(--bgp-shadow); text-align: center; }
.bgp-success.is-left { margin: 0; text-align: left; }
.bgp-success-icon { display: inline-grid; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: #e4f0e8; color: #3f7a57; font-size: 26px; place-items: center; }
.bgp-success h2 { margin-bottom: 12px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.6rem; font-weight: 700; }
.bgp-reference { display: inline-block; margin: 4px 0 16px !important; padding: 10px 22px; border: 2px dashed var(--bgp-gold); border-radius: 8px; background: #fffaf0; color: var(--bgp-ink) !important; font-family: var(--bgp-head-font); font-size: 1.5rem !important; font-weight: 800; letter-spacing: 0.08em; }
.bgp-next { margin: 26px 0; padding: 24px; border-radius: 10px; background: var(--bgp-wash); text-align: left; }
.bgp-next h3 { margin-bottom: 10px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.1rem; font-weight: 700; }
.bgp-next ol { margin: 0 0 18px; padding-left: 20px; color: var(--bgp-text); line-height: 1.9; }

.bgp-steps-mini { margin: 0 0 14px; padding-left: 20px; color: var(--bgp-text); font-size: 14.5px; line-height: 1.8; }

/* The forms dashboard */
.bgp-forms-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; padding-left: 18px; border-left: 5px solid var(--school); }
.bgp-form-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.bgp-form-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 30px 26px; border: 1px solid var(--bgp-line); border-radius: var(--bgp-radius); background: #fff; box-shadow: var(--bgp-shadow); }
.bgp-form-card.is-sent { border-color: #b9d8c4; background: #f6fbf8; }
.bgp-form-step { color: var(--bgp-gold-deep); font-family: var(--bgp-head-font); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.bgp-form-icon { margin: 14px 0; color: var(--bgp-blue); font-size: 30px; }
.bgp-form-card h3 { margin-bottom: 8px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.15rem; font-weight: 700; }
.bgp-form-card p { flex: 1; color: var(--bgp-text); font-size: 14.5px; }
.bgp-status { flex: 0 !important; margin: 12px 0 16px; padding: 4px 12px; border-radius: 999px; background: var(--bgp-wash); color: var(--bgp-muted) !important; font-size: 13px !important; font-weight: 600; }
.bgp-status.is-sent { background: #e4f0e8; color: #24563a !important; }
.bgp-status.is-draft { background: #fdf3d7; color: #6d5400 !important; }

/* A long form */
.bgp-form-page { max-width: 980px; }
.bgp-form-intro { margin-bottom: 20px; padding-left: 18px; border-left: 5px solid var(--school); }
.bgp-long-form { padding: 34px; border: 1px solid var(--bgp-line); border-radius: 14px; background: #fff; box-shadow: var(--bgp-shadow); }
.bgp-form-heading { margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--bgp-line); color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.15rem; font-weight: 700; }
.bgp-form-heading:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.bgp-form-heading.is-sub { margin-top: 6px; padding-top: 0; border-top: 0; color: var(--bgp-blue); font-size: 0.98rem; }
.bgp-form-heading .bgp-help { display: block; margin-top: 4px; font-family: var(--bgp-body-font); }
.bgp-form-note { margin: 0 !important; padding: 14px 16px; border-radius: 8px; background: var(--bgp-wash); color: var(--bgp-text); font-size: 14px !important; line-height: 1.7 !important; }
.bgp-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--bgp-line); }
.bgp-draft-note { color: var(--bgp-muted); font-size: 13px; }
.bgp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bgp-pro-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.bgp-pro-table th, .bgp-pro-table td { padding: 6px; border-bottom: 1px solid var(--bgp-line); text-align: left; vertical-align: middle; }
.bgp-pro-table thead th { color: var(--bgp-muted); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.bgp-pro-table tbody th { min-width: 150px; color: var(--bgp-ink); font-size: 14px; }
.bgp-pro-table input { min-height: 38px; padding: 6px 10px; font-size: 14px; }

/* =====================================================================
   TRANSPORT
   ===================================================================== */
.bgp-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 30px 0 0; }
.bgp-tab { display: grid; gap: 3px; padding: 16px 18px; border: 1px solid var(--bgp-line); border-bottom: 0; border-radius: 10px 10px 0 0; background: var(--bgp-wash); text-align: left; cursor: pointer; transition: background 150ms ease; }
.bgp-tab strong { color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 14px; line-height: 1.3; }
.bgp-tab span { color: var(--bgp-muted); font-size: 12.5px; }
.bgp-tab[aria-selected="true"] { position: relative; background: #fff; box-shadow: inset 0 4px 0 var(--school); }
.bgp-tab:focus-visible { outline: 3px solid rgba(46, 112, 137, 0.35); }
.bgp-tab-panel { padding: 28px; border: 1px solid var(--bgp-line); border-radius: 0 0 var(--bgp-radius) var(--bgp-radius); background: #fff; box-shadow: var(--bgp-shadow); }
.bgp-panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 16px; }
.bgp-panel-head h3 { margin: 0; color: #0fb78d; font-family: var(--bgp-head-font); font-size: 1.25rem; font-weight: 700; }
.bgp-panel-head p { margin: 0 !important; color: var(--bgp-muted) !important; font-size: 14px !important; }
.bgp-table { width: 100%; border-collapse: collapse; font-family: var(--bgp-body-font); }
.bgp-table th { padding: 14px 16px; background: var(--bgp-ink); color: #fff; font-family: var(--bgp-head-font); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-align: left; text-transform: uppercase; }
.bgp-table td { padding: 14px 16px; border-bottom: 1px solid var(--bgp-line); color: var(--bgp-text); font-size: 15px; }
.bgp-table tbody tr:nth-child(even) td { background: #f8fafb; }
.bgp-table tbody tr:hover td { background: var(--school-soft, var(--bgp-wash)); }
.bgp-table .is-num { text-align: right; white-space: nowrap; }
.bgp-table td.is-num { color: var(--bgp-ink); font-weight: 700; }
.bgp-zone { display: inline-grid; width: 34px; height: 34px; border-radius: 8px; background: var(--school-soft); color: var(--bgp-ink); font-family: var(--bgp-head-font); font-weight: 800; place-items: center; }
.bgp-notes { margin: 22px 0 0; padding: 0; list-style: none; }
.bgp-notes li { margin-bottom: 6px; color: var(--bgp-text); font-size: 14.5px; }
.bgp-notes strong { color: var(--bgp-ink); }

/* =====================================================================
   CALENDAR
   ===================================================================== */
.bgp-calendar-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.bgp-calendar-card { padding: 24px; border: 1px solid var(--bgp-line); border-radius: 14px; background: #fff; box-shadow: var(--bgp-shadow); }
.bgp-calendar-card .fc { --fc-border-color: var(--bgp-line); --fc-today-bg-color: #fdf3d7; --fc-event-bg-color: var(--bgp-blue); --fc-event-border-color: var(--bgp-blue); --fc-button-bg-color: #fff; --fc-button-border-color: #cbd7df; --fc-button-text-color: var(--bgp-ink); --fc-button-hover-bg-color: var(--bgp-wash); --fc-button-hover-border-color: var(--bgp-blue); --fc-button-active-bg-color: var(--bgp-blue); --fc-button-active-border-color: var(--bgp-blue); font-family: var(--bgp-body-font); }
.bgp-calendar-card .fc .fc-toolbar-title { color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.4rem; font-weight: 700; }
.bgp-calendar-card .fc .fc-button { padding: 7px 14px; font-size: 13px; font-weight: 600; text-transform: capitalize; box-shadow: none; }
.bgp-calendar-card .fc .fc-button-primary:not(:disabled).fc-button-active { color: #fff; }
.bgp-calendar-card .fc .fc-button-primary:disabled { opacity: 0.5; }
.bgp-calendar-card .fc .fc-col-header-cell-cushion { padding: 10px 4px; color: var(--bgp-muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.bgp-calendar-card .fc .fc-daygrid-day-number { color: var(--bgp-ink); font-weight: 600; }
.bgp-calendar-card .fc .fc-daygrid-event { padding: 2px 6px; border-radius: 4px; font-size: 12.5px; cursor: pointer; }
.bgp-calendar-card .fc .fc-list-event:hover td { background: var(--bgp-wash); cursor: pointer; }

.bgp-modal { position: fixed; z-index: 10050; inset: 0; display: grid; padding: 20px; background: rgba(21, 55, 73, 0.55); place-items: center; }
.bgp-modal[hidden] { display: none; }
.bgp-modal-box { position: relative; width: min(440px, 100%); padding: 32px; border-top: 5px solid var(--bgp-gold); border-radius: 12px; background: #fff; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25); }
.bgp-modal-box h3 { margin-bottom: 8px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.3rem; font-weight: 700; }
.bgp-modal-box p { margin: 0; color: var(--bgp-text); }
.bgp-modal-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bgp-wash); color: var(--bgp-ink); cursor: pointer; }

/* =====================================================================
   SPORTS AND BOARDING
   ===================================================================== */
.bgp-mini-table { width: 100%; border-collapse: collapse; }
.bgp-mini-table th, .bgp-mini-table td { padding: 12px 0; border-bottom: 1px solid var(--bgp-line); vertical-align: top; }
.bgp-mini-table th { width: 100px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 14px; }
.bgp-school-pill { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 999px; background: var(--school-soft); color: var(--bgp-ink); font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.bgp-swim-card h3 i { color: var(--bgp-blue); }
.bgp-activity-list { display: grid; gap: 22px; }
.bgp-activity { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 30px; align-items: center; padding: 22px; border: 1px solid var(--bgp-line); border-radius: var(--bgp-radius); background: #fff; }
.bgp-activity.no-media { grid-template-columns: 1fr; padding: 28px 30px; }
.bgp-activity img { width: 100%; height: 210px; border-radius: 8px; object-fit: cover; }
.bgp-activity h3 { margin-bottom: 10px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.3rem; font-weight: 700; }
.bgp-activity h3 i { margin-right: 6px; color: var(--bgp-gold-deep); }
.bgp-partner-feature { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.bgp-partner-feature > div { flex: 1 1 520px; }
.bgp-banner-quote { padding: 54px 0; background: var(--bgp-ink); text-align: center; }
.bgp-banner-quote p { margin: 0; color: #fff; font-family: var(--bgp-head-font); font-size: clamp(1.15rem, 2.6vw, 1.6rem); font-weight: 700; letter-spacing: 0.02em; }

/* =====================================================================
   JOB BOARD
   ===================================================================== */
.bgp-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.bgp-lead + .bgp-filter { margin-top: 26px; }
.bgp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--bgp-line); border-radius: 999px; background: #fff; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 13px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background 150ms ease, border-color 150ms ease, color 150ms ease; }
.bgp-chip span { padding: 1px 8px; border-radius: 999px; background: var(--bgp-wash); color: var(--bgp-muted); font-size: 11.5px; }
.bgp-chip::before { width: 9px; height: 9px; border-radius: 50%; background: var(--school, var(--bgp-ink)); content: ""; }
.bgp-chip:hover { border-color: var(--school, var(--bgp-blue)); color: var(--bgp-ink); }
.bgp-chip.is-active, .bgp-chip[aria-pressed="true"] { border-color: var(--bgp-ink); background: var(--bgp-ink); color: #fff; }
.bgp-chip.is-active span, .bgp-chip[aria-pressed="true"] span { background: rgba(255, 255, 255, 0.18); color: #fff; }
.bgp-jobs { display: grid; gap: 16px; }
.bgp-job { overflow: hidden; border: 1px solid var(--bgp-line); border-left: 5px solid var(--school, var(--bgp-gold)); border-radius: var(--bgp-radius); background: #fff; box-shadow: var(--bgp-shadow); }
.bgp-job summary { display: grid; gap: 8px; padding: 22px 26px; cursor: pointer; list-style: none; }
.bgp-job summary::-webkit-details-marker { display: none; }
.bgp-job-title { color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.2rem; font-weight: 700; }
.bgp-job-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--bgp-muted); font-size: 13.5px; }
.bgp-job-meta i { margin-right: 6px; color: var(--bgp-blue); }
.bgp-job-body { padding: 0 26px 26px; border-top: 1px solid var(--bgp-line); }
.bgp-job-body h4 { margin: 20px 0 6px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1rem; font-weight: 700; }
.bgp-job-body a:not(.bgp-btn) { color: var(--bgp-blue); font-weight: 600; }

/* =====================================================================
   GALLERY
   ===================================================================== */
.bgp-gallery { display: grid; gap: 40px; }
.bgp-album[hidden] { display: none; }
.bgp-album-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 14px; padding-left: 14px; border-left: 4px solid var(--school); }
.bgp-album-head h3 { margin: 0; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.2rem; font-weight: 700; }
.bgp-album-head span { color: var(--bgp-muted); font-size: 13.5px; }
.bgp-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.bgp-photo { position: relative; display: block; overflow: hidden; aspect-ratio: 1; border-radius: 8px; background: var(--school-soft, var(--bgp-wash)); }
.bgp-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.bgp-photo-zoom { position: absolute; inset: 0; display: grid; background: rgba(21, 55, 73, 0.45); color: #fff; font-size: 22px; opacity: 0; place-items: center; transition: opacity 200ms ease; }
.bgp-photo:hover img, .bgp-photo:focus-visible img { transform: scale(1.06); }
.bgp-photo:hover .bgp-photo-zoom, .bgp-photo:focus-visible .bgp-photo-zoom { opacity: 1; }
.bgp-social-strip { margin-top: 56px; padding: 30px; border-radius: 14px; background: var(--bgp-wash); }
.bgp-social-strip h3 { margin-bottom: 16px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.15rem; font-weight: 700; }
.bgp-social-strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.bgp-social-strip-item { padding: 18px; border-top: 4px solid var(--school); border-radius: 8px; background: #fff; }
.bgp-social-strip-item strong { color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 14px; }
.bgp-social-strip-item .bgp-social { margin-top: 10px; }
.fancybox__container { --fancybox-accent-color: var(--bgp-gold); }

/* =====================================================================
   PODCAST
   ===================================================================== */
.bgp-podcast-hero { padding: 70px 0 64px; background: radial-gradient(circle at 85% 30%, rgba(242, 199, 92, 0.28), transparent 45%), linear-gradient(120deg, #153749, #245c76 70%, #2e7089); color: #fff; }
.bgp-podcast-hero-inner { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.8fr); gap: 40px; align-items: center; }
.bgp-podcast-hero h1 { margin: 14px 0 16px; color: #fff; font-family: var(--bgp-head-font); font-size: clamp(2.3rem, 6vw, 3.8rem); font-weight: 800; line-height: 1.05; }
.bgp-podcast-hero p { max-width: 620px; color: rgba(255, 255, 255, 0.88); font-size: 17px; line-height: 1.75; }
.bgp-podcast-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(242, 199, 92, 0.18); color: var(--bgp-gold); font-family: var(--bgp-head-font); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.bgp-podcast-art { position: relative; display: grid; aspect-ratio: 1; max-width: 300px; margin-left: auto; border-radius: 50%; background: rgba(255, 255, 255, 0.08); place-items: center; }
.bgp-podcast-art > i { position: relative; color: var(--bgp-gold); font-size: 92px; }
.bgp-wave { position: absolute; inset: 0; border: 2px solid rgba(242, 199, 92, 0.35); border-radius: 50%; animation: bgp-pulse 3.6s ease-out infinite; }
.bgp-wave:nth-child(2) { animation-delay: 1.2s; }
.bgp-wave:nth-child(3) { animation-delay: 2.4s; }
@keyframes bgp-pulse { from { opacity: 0.9; transform: scale(0.55); } to { opacity: 0; transform: scale(1.1); } }
.bgp-episode-featured { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.bgp-video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 12px; background: #000; box-shadow: var(--bgp-shadow); }
.bgp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bgp-episode-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.bgp-episode { padding: 0 0 22px; overflow: hidden; }
.bgp-episode > *:not(.bgp-episode-thumb) { padding: 0 20px; }
.bgp-episode-thumb { position: relative; display: block; margin-bottom: 16px; aspect-ratio: 16 / 9; }
.bgp-episode-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bgp-episode-thumb span { position: absolute; inset: 0; display: grid; color: #fff; font-size: 30px; place-items: center; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); }
.bgp-podcast-band { padding: 46px 0; background: linear-gradient(120deg, #153749, #245c76); }
.bgp-podcast-band-inner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 26px; align-items: center; }
.bgp-podcast-band-icon { display: grid; width: 74px; height: 74px; border-radius: 50%; background: rgba(242, 199, 92, 0.16); color: var(--bgp-gold); font-size: 30px; place-items: center; }
.bgp-podcast-band-kicker { color: var(--bgp-gold); font-family: var(--bgp-head-font); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.bgp-podcast-band h2 { margin: 4px 0 6px; color: #fff; font-family: var(--bgp-head-font); font-size: 1.8rem; font-weight: 800; }
.bgp-podcast-band p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.bgp-podcast-band .bgp-btn { border-color: var(--bgp-gold); background: var(--bgp-gold); color: var(--bgp-ink); }
.bgp-podcast-band .bgp-btn:hover { border-color: #fff; background: #fff; }
.bgp-aside-podcast { margin-top: 26px; padding: 22px; border-radius: 10px; background: linear-gradient(120deg, #153749, #2e7089); }
.bgp-aside-podcast h3 { margin: 12px 0 6px; color: #fff !important; font-family: var(--bgp-head-font); font-size: 1.2rem; font-weight: 800; }
.bgp-aside-podcast p { color: rgba(255, 255, 255, 0.85) !important; font-size: 14px !important; }
.bgp-aside-podcast .bg-text-link { color: var(--bgp-gold) !important; }
.bgp-aside-links { display: grid; gap: 8px; margin-top: 18px; }
.bgp-aside-links a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--bgp-line); border-radius: 8px; color: var(--bgp-ink); font-weight: 600; }
.bgp-aside-links a:hover { border-color: var(--bgp-gold); color: var(--bgp-blue); }
.bg-event-links { display: flex; flex-wrap: wrap; gap: 4px 22px; }

/* =====================================================================
   BLOG
   ===================================================================== */
.bgp-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.bgp-blog-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease; }
.bgp-blog-card:hover { box-shadow: 0 18px 40px rgba(35, 75, 101, 0.14); transform: translateY(-4px); }
.bgp-blog-card.is-featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.bgp-blog-media { display: block; aspect-ratio: 16 / 10; background: var(--bgp-wash); }
.bgp-blog-card.is-featured .bgp-blog-media { aspect-ratio: auto; min-height: 300px; }
.bgp-blog-media img { width: 100%; height: 100%; object-fit: cover; }
.bgp-blog-media > span { display: grid; height: 100%; color: var(--bgp-gold); font-size: 40px; place-items: center; }
.bgp-blog-body { display: flex; flex-direction: column; padding: 22px 24px 26px; }
.bgp-blog-card.is-featured .bgp-blog-body { justify-content: center; padding: 36px; }
.bgp-blog-body h3 { margin: 4px 0 10px; font-family: var(--bgp-head-font); font-size: 1.15rem; font-weight: 700; line-height: 1.35; }
.bgp-blog-card.is-featured h3 { font-size: 1.6rem; }
.bgp-blog-body h3 a { color: var(--bgp-ink); }
.bgp-blog-body h3 a:hover { color: var(--bgp-blue); }
.bgp-blog-body .bgp-link { margin-top: auto; }
.bgp-article { max-width: 780px; margin: 0 auto; }
.bgp-article-title { margin: 18px 0 8px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2; }
.bgp-article-image { width: 100%; margin: 20px 0 26px; border-radius: 12px; }
.bgp-article-body { color: var(--bgp-text); font-size: 17px; line-height: 1.85; }
.bgp-article-body img { max-width: 100%; height: auto; border-radius: 8px; }
.bgp-article-body a { color: var(--bgp-blue); text-decoration: underline; }

/* =====================================================================
   PARTNERS
   ===================================================================== */
.bgp-partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; margin-top: 28px; }
.bgp-partner { display: flex; flex-direction: column; padding: 0 !important; overflow: hidden; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.bgp-partner[hidden] { display: none; }
.bgp-partner:hover { border-color: var(--bgp-gold); box-shadow: 0 18px 40px rgba(35, 75, 101, 0.13); transform: translateY(-3px); }
.bgp-partner-logo { display: grid; height: 150px; padding: 26px 40px; border-bottom: 1px solid var(--bgp-line); background: #fff; place-items: center; }
.bgp-partner-logo img { max-width: 100%; max-height: 96px; object-fit: contain; }
.bgp-partner-initials { display: none; }
.bgp-partner-logo.is-fallback { border-bottom: 0; background: linear-gradient(135deg, var(--bgp-blue), var(--bgp-ink)); }
.bgp-partner-logo.is-fallback .bgp-partner-initials { display: block; color: #fff; font-family: var(--bgp-head-font); font-size: 30px; font-weight: 800; letter-spacing: 0.06em; text-align: center; }
.bgp-partner-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 22px 24px 24px; }
.bgp-partner-tag { display: inline-block; margin-bottom: 8px; color: var(--bgp-gold-deep); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.bgp-partner h3 { margin-bottom: 10px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.08rem; font-weight: 700; line-height: 1.35; }
.bgp-partner p { flex: 1; margin-bottom: 14px; font-size: 14.5px !important; line-height: 1.7 !important; }

/* =====================================================================
   CONTACT US
   ===================================================================== */
.bgp-contact-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 40px; }
.bgp-quick { display: flex; gap: 14px; align-items: center; padding: 20px; border: 1px solid var(--bgp-line); border-radius: var(--bgp-radius); background: #fff; color: var(--bgp-ink); text-decoration: none; box-shadow: var(--bgp-shadow); transition: transform 160ms ease, border-color 160ms ease; }
a.bgp-quick:hover { border-color: var(--bgp-gold); color: var(--bgp-ink); transform: translateY(-3px); }
.bgp-quick > i { display: grid; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: #fdf3d7; color: var(--bgp-blue); font-size: 18px; place-items: center; }
.bgp-quick .fa-whatsapp { background: #e4f6ea; color: #1e9e55; font-size: 22px; }
.bgp-quick span { display: grid; gap: 2px; min-width: 0; color: var(--bgp-muted); font-size: 13.5px; overflow-wrap: anywhere; }
.bgp-quick strong { color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 14.5px; }
.bgp-contact-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.bgp-contact-form-card { padding: 36px; border: 1px solid var(--bgp-line); border-top: 4px solid var(--bgp-gold); border-radius: 14px; background: #fff; box-shadow: var(--bgp-shadow); }
.bgp-contact-form-card .bgp-success { padding: 0; border: 0; box-shadow: none; }
.bgp-campuses { display: grid; gap: 16px; }
.bgp-campuses .bgp-h { margin-bottom: 8px; }
.bgp-campus-card { padding: 22px 24px; border: 1px solid var(--bgp-line); border-left: 5px solid var(--school); border-radius: var(--bgp-radius); background: #fff; }
.bgp-campus-card h3 { margin-bottom: 12px; color: #0fb78d; font-family: var(--bgp-head-font); font-size: 1.05rem; font-weight: 700; }
.bgp-campus-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 8px; }
.bgp-campus-actions .bgp-social { margin: 0 0 0 auto; }
.bgp-map-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid var(--bgp-line); border-radius: 999px; background: #fff; color: var(--bgp-ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.bgp-map-btn[aria-pressed="true"] { border-color: var(--bgp-blue); background: var(--bgp-blue); color: #fff; }
.bgp-map { overflow: hidden; margin-top: 40px; border-radius: 14px; box-shadow: var(--bgp-shadow); }
.bgp-map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 991px) {
  .bgp-section { padding: 56px 0; }
  .bgp-split, .bgp-split-wide, .bgp-two-col, .bgp-contact-band, .bgp-contact-layout, .bgp-calendar-layout, .bgp-episode-featured, .bgp-podcast-hero-inner { grid-template-columns: 1fr; }
  .bgp-school-facts { position: static; }
  .bgp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .bgp-school-cards, .bgp-feature-grid, .bgp-vm, .bgp-three-lists, .bgp-form-cards { grid-template-columns: 1fr; }
  .bgp-stage-grid, .bgp-fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgp-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgp-contact-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgp-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgp-blog-card.is-featured { grid-template-columns: 1fr; }
  .bgp-podcast-art { display: none; }
  .bgp-check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bgp-campus-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .bgp-school-row { grid-template-columns: 1fr; }
  .bgp-school-row-media { min-height: 200px; max-height: 240px; }
  .bgp-school-row-body { padding: 24px; }
  .bgp-activity { grid-template-columns: 1fr; }
  .bgp-tabs { grid-template-columns: 1fr; gap: 6px; }
  .bgp-tab { border-bottom: 1px solid var(--bgp-line); border-radius: 8px; }
  .bgp-tab-panel { margin-top: 10px; padding: 18px; border-radius: var(--bgp-radius); }
  .bgp-podcast-band-inner { grid-template-columns: 1fr; text-align: left; }
  .bgp-calendar-card { padding: 14px; }
  .bgp-calendar-card .fc .fc-toolbar-title { font-size: 1.1rem; }
  .bgp-map iframe { height: 320px; }
}

@media (max-width: 575px) {
  .bgp-section { padding: 44px 0; }
  .bgp-grid { grid-template-columns: 1fr; }
  .bgp-steps, .bgp-stage-grid, .bgp-fact-strip, .bgp-course-grid, .bgp-contact-quick, .bgp-blog-grid, .bgp-check-grid, .bgp-link-tiles.is-compact { grid-template-columns: 1fr; }
  .bgp-fieldset, .bgp-long-form, .bgp-contact-form-card { padding: 20px 16px; }
  .bgp-success { padding: 30px 20px; }
  .bgp-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .bgp-table th, .bgp-table td { padding: 11px 10px; font-size: 14px; }
  .bgp-button-row .bgp-btn, .bgp-form-actions .bgp-btn { width: 100%; }
  .bgp-campus-actions .bgp-social { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bgp-wave { animation: none; }
  .bgp-tile, .bgp-photo img, .bgp-partner, .bgp-blog-card, .bgp-btn, .bgh-sub { transition: none; }
}

/* =====================================================================
   ADMISSIONS OFFICE (admissions-office.php)
   ===================================================================== */
.bgo { margin: 0; background: #f4f7f9; color: #1f3443; font-family: "Open Sans", Arial, sans-serif; }
.bgo-head { display: flex; justify-content: space-between; padding: 16px 24px; background: var(--bgp-ink); color: #fff; }
.bgo-head a { color: var(--bgp-gold); }
.bgo-main { max-width: 1100px; margin: 0 auto; padding: 28px 20px 60px; }
.bgo-main a { color: var(--bgp-blue); }
.bgo-login { display: grid; gap: 14px; max-width: 360px; margin: 60px auto; padding: 30px; border-radius: 10px; background: #fff; box-shadow: var(--bgp-shadow); }
.bgo-login input, .bgo-filter input, .bgo-filter select { width: 100%; padding: 10px 12px; border: 1px solid #cbd7df; border-radius: 6px; font: inherit; }
.bgo-login button, .bgo-filter button { padding: 10px 18px; border: 0; border-radius: 6px; background: var(--bgp-blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.bgo-error { margin: 0; color: #c0392b; }
.bgo-filter { display: grid; grid-template-columns: 220px 1fr auto; gap: 10px; margin-bottom: 18px; }
.bgo-table { width: 100%; border-collapse: collapse; background: #fff; }
.bgo-table th, .bgo-table td { padding: 10px 12px; border-bottom: 1px solid var(--bgp-line); font-size: 14px; text-align: left; }
.bgo-table th { background: var(--bgp-wash); }
.bgo-meta { color: var(--bgp-muted); }
.bgo-data { display: grid; grid-template-columns: 300px 1fr; margin: 0 0 20px; background: #fff; border: 1px solid var(--bgp-line); }
.bgo-data dt, .bgo-data dd { margin: 0; padding: 9px 12px; border-bottom: 1px solid var(--bgp-line); font-size: 14px; }
.bgo-data dt { background: #fafcfd; font-weight: 600; }
.bgo-main h3 { margin: 26px 0 8px; color: var(--bgp-ink); }
@media (max-width: 700px) { .bgo-data, .bgo-filter { grid-template-columns: 1fr; } .bgo-table { display: block; overflow-x: auto; } }
@media print { .bgo-head, .bgo-main > p:first-child { display: none; } .bgo { background: #fff; } }

/* ---------- Footer tidy-ups ---------- */
.bg-footer h2, .bg-footer h3 { font-family: "Montserrat", sans-serif; }
.bg-footer-social-row { margin-top: 14px; }
.bg-footer-social-row > span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.bg-footer-social-row .bg-footer-social { margin: 0; }
.bg-footer-contact-list a[href^="mailto:"] { font-size: 14px; }
.bgp-form > .bgp-field + .bgp-field { margin-top: 16px; }
.bgp-form > .bgp-field + .bgp-btn, .bgp-form > .bgp-field + button { margin-top: 20px; }

/* ---------- Malezi Program ---------- */
.bgp-malezi-weeks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.bgp-malezi-week h3 { margin: 8px 0 14px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.08rem; font-weight: 700; line-height: 1.35; }
.bgp-malezi-week h3 i { margin-right: 6px; color: var(--bgp-gold-deep); }
.bgp-malezi-week.is-internship { border-top: 4px solid var(--bgp-gold); }
.bgp-malezi-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 36px; margin-top: 30px; padding: 28px 32px; border-radius: var(--bgp-radius); background: var(--bgp-ink); color: #fff; }
.bgp-malezi-band > div { flex: 1 1 420px; }
.bgp-malezi-band h3 { margin: 4px 0 8px; color: #fff; font-family: var(--bgp-head-font); font-size: 1.35rem; font-weight: 700; }
.bgp-malezi-band p { margin: 0; color: rgba(255, 255, 255, 0.85); }
.bgp-malezi-band .bgp-btn { background: var(--bgp-gold); color: var(--bgp-ink); }
@media (max-width: 991px) { .bgp-malezi-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bgp-malezi-weeks { grid-template-columns: 1fr; } .bgp-malezi-band { padding: 24px 20px; } }
.bgp-malezi-band .bgp-kicker { color: var(--bgp-gold); }
.bgp-malezi-band.is-neuroart { margin-top: 18px; background: linear-gradient(120deg, var(--bgp-blue), var(--bgp-ink)); }

/* ---------- NeuroArt ---------- */
.bgp-neuro-activities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.bgp-neuro-activity { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--bgp-line); border-radius: 10px; background: #fff; color: var(--bgp-ink); font-weight: 600; font-size: 14.5px; }
.bgp-neuro-activity i { display: grid; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: #fdf3d8; color: var(--bgp-gold-deep); place-items: center; }
@media (max-width: 600px) { .bgp-neuro-activities { grid-template-columns: 1fr; } }
.bgp-aside-podcast.is-neuroart { margin-top: 16px; }

/* =====================================================================
   ROUND 6: plain card edges, green headings, gallery by school
   ===================================================================== */

/* Green used for headings across the site */
.bgp-h.is-green, h2.is-green, h3.is-green, h4.is-green { color: #0fb78d; }

/* Plain edges: no coloured top (or side) strip on cards */
.bgp-aside-card,
.bgp-contact-form-card,
.bgp-three-lists .bgp-card,
.bgp-vm .bgp-card,
.bgp-school-card,
.bgp-social-strip-item,
.bgp-malezi-week.is-internship,
.bg-principle,
.bg-welcome .bg-principle,
.bg-jump-links a { border-top: 1px solid var(--bgp-line); }
.bgp-vm .bgp-card h3, .bgp-three-lists .bgp-card h3 { margin-top: 0; }

/* School pages: contact band on its own now the link tiles are gone */
.bgp-contact-band.is-single { grid-template-columns: 1fr; }

/* NeuroArt activities without icons */
.bgp-neuro-activity { padding: 14px 16px; }

/* Gallery: one card per school, then that school's photos, uncropped */
.bgp-gallery-schools { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 30px 0 36px; }
.bgp-gallery-school { position: relative; display: block; overflow: hidden; min-height: 200px; padding: 0; border: 0; border-radius: 14px; background: var(--bgp-ink); text-align: left; cursor: pointer; box-shadow: var(--bgp-shadow); transition: transform 180ms ease, box-shadow 180ms ease; }
.bgp-gallery-cover, .bgp-gallery-cover img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bgp-gallery-cover img { object-fit: cover; transition: transform 400ms ease; }
.bgp-gallery-school::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 45, 62, 0) 30%, rgba(20, 45, 62, 0.88) 100%); content: ""; }
.bgp-gallery-school-text { position: absolute; right: 18px; bottom: 16px; left: 18px; z-index: 1; display: grid; gap: 4px; color: #fff; }
.bgp-gallery-school-text strong { font-family: var(--bgp-head-font); font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.bgp-gallery-school-text small { color: rgba(255, 255, 255, 0.82); font-size: 13px; }
.bgp-gallery-school:hover, .bgp-gallery-school:focus-visible { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(35, 75, 101, 0.2); }
.bgp-gallery-school:hover img { transform: scale(1.05); }
.bgp-gallery-school:focus-visible { outline: 3px solid var(--bgp-gold); outline-offset: 3px; }
.bgp-gallery-school[aria-selected="true"] { box-shadow: 0 0 0 4px var(--bgp-gold), 0 18px 40px rgba(35, 75, 101, 0.2); }
.bgp-gallery-panel-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.bgp-gallery-panel-head h3 { margin: 0; color: #0fb78d; font-family: var(--bgp-head-font); font-size: 1.4rem; font-weight: 700; }
.bgp-album-title { margin: 30px 0 14px; color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 1.1rem; font-weight: 700; }
.bgp-masonry { column-count: 3; column-gap: 14px; }
.bgp-masonry .bgp-photo { display: block; margin: 0 0 14px; overflow: hidden; aspect-ratio: auto; border-radius: 10px; background: var(--bgp-wash); break-inside: avoid; }
.bgp-masonry .bgp-photo img { display: block; width: 100%; height: auto; transition: transform 300ms ease, opacity 200ms ease; }
.bgp-masonry .bgp-photo:hover img { opacity: 0.92; transform: scale(1.02); }
@media (max-width: 991px) { .bgp-masonry { column-count: 2; } }
@media (max-width: 480px) { .bgp-masonry { column-count: 1; } .bgp-gallery-school { min-height: 160px; } }
.bgp-school-row { border-left: 1px solid var(--bgp-line); }

/* Use more of wide screens */
@media (min-width: 1400px) { .container { max-width: 1320px; } }
@media (min-width: 1800px) { .container { max-width: 1440px; } }
.bgh-item > a { white-space: nowrap; }
@media (max-width: 600px) {
  .bgp-gallery-schools { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bgp-gallery-school { min-height: 140px; }
  .bgp-gallery-school-text { right: 10px; bottom: 10px; left: 10px; }
  .bgp-gallery-school-text strong { font-size: 0.86rem; }
  .bgp-gallery-school-text small { font-size: 11.5px; }
  .bgp-masonry { column-count: 2; column-gap: 8px; }
  .bgp-masonry .bgp-photo { margin-bottom: 8px; }
}

/* ---------- Round 7: school logos in the header and footer ---------- */
.bgh-brand-logos { display: inline-flex; align-items: center; gap: 4px; }
.bgh-brand .bgh-brand-logos img { width: 46px; height: 46px; border-radius: 50%; object-fit: contain; background: #fff; }
@media (max-width: 1199px) {
  .bgh-brand .bgh-brand-logos img { width: 42px; height: 42px; }
}
@media (max-width: 575px) {
  .bgh-brand { gap: 8px; }
  .bgh-brand-logos { gap: 2px; }
  .bgh-brand .bgh-brand-logos img { width: 34px; height: 34px; }
}

.bg-footer-schools { background: #fff; border-top: 1px solid var(--bgp-line, #dfe8ec); }
.bg-footer-school-logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  margin: 0;
  padding: 22px 0;
  list-style: none;
}
.bg-footer-school-logos li { display: flex; justify-content: center; padding: 0 16px; }
.bg-footer-school-logos li + li { border-left: 1px solid #dfe8ec; }
.bg-footer-school-logos a { display: block; transition: opacity .2s ease; }
.bg-footer-school-logos a:hover { opacity: .8; }
.bg-footer-school-logos img { display: block; width: auto; height: 74px; max-width: 100%; object-fit: contain; }
@media (max-width: 600px) {
  .bg-footer-school-logos { padding: 16px 0; }
  .bg-footer-school-logos li { padding: 0 6px; }
  .bg-footer-school-logos img { height: auto; max-height: 52px; }
}

/* ---------- Round 7: Director's message ---------- */
.bgp-director { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.bgp-director-side { position: sticky; top: 130px; }
.bgp-director-photo { margin: 0; }
.bgp-director-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--bgp-radius); }
.bgp-director-photo.is-empty > span {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 5; border-radius: var(--bgp-radius);
  background: var(--bgp-wash, #f2f7f8); border: 1px solid var(--bgp-line);
  color: var(--bgp-blue); font-family: var(--bgp-head-font); font-size: 64px; font-weight: 800; letter-spacing: .04em;
}
.bgp-director-photo figcaption { display: grid; gap: 2px; margin-top: 14px; color: var(--bgp-muted, #5b7183); font-size: 14px; }
.bgp-director-photo figcaption strong { color: var(--bgp-ink); font-family: var(--bgp-head-font); font-size: 16px; }
.bgp-director-message { max-width: 760px; }
.bgp-director-message p { margin-bottom: 1.05em; }
.bgp-director-sign { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--bgp-line); color: var(--bgp-muted, #5b7183); }
.bgp-director-sign strong { color: var(--bgp-ink); font-family: var(--bgp-head-font); }

.bgp-director-band { padding: clamp(56px, 7vw, 90px) 0; background: var(--bgp-wash, #f2f7f8); }
.bgp-director-band-inner { display: grid; grid-template-columns: minmax(180px, 260px) minmax(0, 1fr); gap: clamp(28px, 5vw, 60px); align-items: center; }
.bgp-director-band .bgp-director-photo.is-empty > span { background: #fff; }
.bgp-director-band p { max-width: 720px; }
.bgp-director-band .bgp-director-sign { max-width: 720px; margin: 18px 0 22px; }

@media (max-width: 767px) {
  .bgp-director, .bgp-director-band-inner { grid-template-columns: 1fr; }
  .bgp-director-side { position: static; max-width: 260px; }
  .bgp-director-band .bgp-director-photo { max-width: 200px; }
}

/* ---------- Round 7: Service Provision Charter ---------- */
.bgp-charter-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.bgp-charter .bgp-h3 { margin-top: 34px; }
.bgp-charter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 14px; }
.bgp-charter-grid .bgp-card { padding: 22px; border: 1px solid var(--bgp-line); border-radius: var(--bgp-radius); background: #fff; box-shadow: none; }
.bgp-charter-grid h4 { margin-bottom: 10px; color: var(--bgp-ink); font-size: 17px; }
.bgp-charter-shared { columns: 2 320px; column-gap: 32px; }
.bgp-charter-steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 16px; padding: 0; list-style: none; counter-reset: step; }
.bgp-charter-steps li { counter-increment: step; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border: 1px solid var(--bgp-line); border-radius: 999px; background: #fff; font-weight: 600; }
.bgp-charter-steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bgp-blue); color: #fff; font-size: 13px; }
.bgp-charter-ack { margin-top: 36px; padding: 26px; border: 1px solid var(--bgp-line); border-radius: var(--bgp-radius); background: var(--bgp-wash, #f2f7f8); }
.bgp-charter-ack .bgp-h3 { margin-top: 0; }
.bgp-charter-sign { display: none; }

@media print {
  .bgh, #header-part, .bg-page-banner, .bg-footer, .bgp-no-print, .back-to-top, .preloader { display: none !important; }
  body { background: #fff !important; }
  .bgp-section { padding: 0 !important; }
  .bgp-charter-grid { display: block; }
  .bgp-charter-grid .bgp-card { margin-bottom: 10px; break-inside: avoid; }
  .bgp-charter-ack { background: #fff; break-inside: avoid; }
  .bgp-charter-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 18px; }
  .bgp-charter-sign div { display: grid; gap: 22px; }
  .bgp-charter-sign span { padding-top: 22px; border-bottom: 1px solid #333; font-size: 12px; }
  [data-reveal], [data-aos] { opacity: 1 !important; transform: none !important; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .bgh-brand { gap: 8px; }
  .bgh-brand-logos { gap: 2px; }
  .bgh-brand .bgh-brand-logos img { width: 36px; height: 36px; }
  .bgh-brand-text strong { font-size: 17px; }
  .bgh-main-inner { gap: 12px; }
  .bgh-item > a { padding-right: 8px; padding-left: 8px; letter-spacing: 0.02em; }
  .bgh-item > a::after { right: 8px; left: 8px; }
  .bgh-item-cta { margin-left: 6px; }
  .bgh-item > a.bgh-enroll { padding: 12px 16px; }
}

/* Tick boxes and radio buttons inside form fields keep their own size */
.bgp-field .bgp-check input { width: 18px; height: 18px; min-height: 0; padding: 0; margin-top: 2px; border-radius: 0; }
.bgp-check { align-items: center; }
.bgp-consent { align-items: flex-start; }

/* ---------- NeuroArt banner: flyer artwork on a light band ---------- */
.bgp-banner-art { min-height: 0; padding: 24px 0 8px; background: #f7f7f7; border-bottom: 1px solid var(--bgp-line); }
.bgp-banner-art::before { display: none; }
.bgp-banner-art .container { width: 100%; }
.bgp-banner-art .bg-breadcrumb { color: var(--bgp-muted); }
.bgp-banner-art .bg-breadcrumb a { color: var(--bgp-blue); }
.bgp-banner-art .bg-breadcrumb a:hover { color: var(--bgp-ink); }
.bgp-banner-art h1 { margin: 6px 0 0; text-align: center; font-size: 0; line-height: 0; }
.bgp-banner-art h1 img { display: inline-block; width: 100%; max-width: 700px; height: auto; }
