/* ==========================================================================
   Basil Woods Hyderabad – public site styles
   Palette and type taken from the original Elementor kit:
   primary #6AC07A · secondary #6D66AA · cream #F2F3EE · yellow #FFF8AC · dark green #038148 · blue #94B5DE
   Playfair Display (headings) · Space Grotesk (text) · Montserrat (menu labels)
   ========================================================================== */
:root {
    --bw-green: #6AC07A;
    --bw-green-dark: #038148;
    --bw-green-light: #A8E2B1;
    --bw-purple: #6D66AA;
    --bw-purple-menu: #6c67a3;
    --bw-purple-dark: #4f4985;
    --bw-cream: #F2F3EE;
    --bw-yellow: #FFF8AC;
    --bw-blue: #94B5DE;
    --bw-text: #000;
    --bw-muted: #4a4a4a;
    --bw-serif: "Playfair Display", Georgia, serif;
    --bw-sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
    --bw-menu: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --bw-gutter: clamp(16px, 4vw, 48px);
    --bs-body-font-family: var(--bw-sans);
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--bw-sans);
    font-size: 16px;
    line-height: 25px;
    color: var(--bw-text);
    background: var(--bw-cream);
    overflow-x: hidden;
}
/* menu open: page scroll is NOT locked (as on live) – locking it hid the scrollbar and re-laid out the whole page, which made the menu stutter */
h1, h2, h3, h4, h5, h6 { font-family: var(--bw-serif); font-weight: 400; line-height: 1.2; }
a { color: var(--bw-purple); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--bw-green-dark); }
img { max-width: 100%; height: auto; }
.container-xl { max-width: 1380px; padding-left: 30px; padding-right: 30px; }
.bw-skip { position: absolute; z-index: 100000; top: 8px; left: 8px; background: #fff; padding: 8px 14px; border-radius: 6px; }
.bw-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
::selection { background: var(--bw-green); color: #fff; }

/* ---------- backgrounds ---------- */
.bg-cream { background: var(--bw-cream); }
.bg-white { background: #fff; }
.bg-green { background: var(--bw-green); }
.bg-purple { background: var(--bw-purple); }
.bg-yellow { background: var(--bw-yellow); }
.bg-dark { background: var(--bw-green-dark) !important; }
.bg-blue { background: var(--bw-blue); }
.bg-purple, .bg-green, .bg-dark { color: #fff; }
.bg-purple .bw-title, .bg-green .bw-title, .bg-dark .bw-title,
.bg-purple .bw-intro, .bg-green .bw-intro, .bg-dark .bw-intro { color: #fff; }

.bw-section { padding: 90px 0; position: relative; }
.bw-section + .bw-section.bg-cream, .bg-cream + .bg-cream, .bg-yellow + .bg-yellow, .bg-white + .bg-white { padding-top: 30px; }

/* ---------- headings ---------- */
.bw-eyebrow {
    display: inline-block;
    font-family: var(--bw-serif);
    font-style: italic;
    font-size: 30px;
    line-height: 40px;
    color: var(--bw-text);
    min-width: 300px;
    text-align: center;
    padding: 0 40px 10px;
    margin-bottom: 26px;
    border-bottom: 1px solid currentColor;
}
.bw-eyebrow.text-center, .text-center > .bw-eyebrow { display: table; margin-left: auto; margin-right: auto; }
.bg-purple .bw-eyebrow, .bg-green .bw-eyebrow, .bg-dark .bw-eyebrow { color: #fff; }
.bw-title { font-size: clamp(30px, 3.6vw, 46px); color: var(--bw-purple); margin-bottom: 18px; }
.bw-title-italic { font-style: italic; }
.bw-title-sans { font-family: var(--bw-sans); font-weight: 300; font-size: clamp(32px, 4vw, 54px); letter-spacing: -.5px; }
.bw-heading { max-width: 900px; }
.bw-intro { font-size: 17px; line-height: 1.7; color: var(--bw-purple); }
.bw-intro p:last-child { margin-bottom: 0; }
.bw-intro-italic { font-family: var(--bw-serif); font-style: italic; font-size: 19px; color: var(--bw-text); }
.bg-purple .bw-intro-italic, .bg-green .bw-intro-italic { color: #fff; }
.bw-label { font-family: var(--bw-sans); font-size: 15px; letter-spacing: .2em; color: var(--bw-purple); margin-bottom: 18px; }
.bw-footnote { font-family: var(--bw-serif); font-style: italic; font-size: 22px; color: var(--bw-purple); margin-top: 40px; }
.on-dark .bw-footnote { color: #fff; }

/* ---------- buttons (outline pill with circular arrow) ---------- */
.bw-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.text-center .bw-btns, .bw-btns.justify-content-center { justify-content: center; }
.bw-btn-sep { width: 30px; height: auto; opacity: .9; }
.bw-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 5px 24px 5px 5px;
    border: 1px solid var(--bw-purple);
    border-radius: 40px;
    color: var(--bw-purple);
    font-family: var(--bw-sans); font-size: 14px; line-height: 1.2;
    background: transparent;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
    cursor: pointer;
}
.bw-btn-ico { width: 32px; height: 32px; border-radius: 50%; border: 1px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; transition: transform .25s ease; flex: 0 0 32px; }
.bw-btn:hover { background: var(--bw-purple); color: #fff; }
.bw-btn:hover .bw-btn-ico { transform: translateX(3px); }
.bw-btn-green { border-color: var(--bw-green-dark); color: var(--bw-green-dark); }
.bw-btn-green:hover { background: var(--bw-green-dark); color: #fff; }
.bw-btn-light { border-color: #fff; color: #fff; }
.bw-btn-light:hover { background: #fff; color: var(--bw-purple); }
.bw-btn-solid { background: var(--bw-purple); color: #fff; border-color: var(--bw-purple); }
.bw-btn-solid:hover { background: var(--bw-green-dark); border-color: var(--bw-green-dark); }
.is-purple .bw-btn-solid { background: #fff; color: var(--bw-purple); border-color: #fff; }
.is-purple .bw-btn-solid:hover { background: var(--bw-green); border-color: var(--bw-green); color: #fff; }

/* ---------- header ---------- */
.bw-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; height: 170px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.bw-header > * { pointer-events: auto; }
.bw-logo img { width: 200px; height: auto; display: block; }
.bw-hamburger { position: fixed; top: 52px; left: 4%; z-index: 1000; display: inline-block; background: none; border: 0; padding: 0; cursor: pointer; line-height: 0; }
.bw-hamburger img { display: block; width: 60px; height: auto; transition: opacity .25s ease; }
.bw-hamburger .bw-icon-green { position: absolute; top: 0; left: 0; opacity: 0; }
.bw-hamburger:hover .bw-icon-green, .bw-hamburger:focus-visible .bw-icon-green, .bw-hamburger.is-scrolled .bw-icon-green { opacity: 1; }
.bw-hamburger:hover .bw-icon-blue, .bw-hamburger:focus-visible .bw-icon-blue, .bw-hamburger.is-scrolled .bw-icon-blue { opacity: 0; }
.bw-tour-link { position: fixed; top: 70px; right: 4%; z-index: 1000; font-family: var(--bw-sans); font-size: 16px; color: #fff; letter-spacing: .02em; text-shadow: 0 1px 8px rgba(0,0,0,.12); }
.bw-tour-link:hover { color: var(--bw-yellow); }
.bw-tour-link.is-scrolled { color: var(--bw-purple); text-shadow: none; }
.bw-tour-link.is-scrolled:hover { color: var(--bw-green-dark); }
.bw-preview-bar { position: relative; z-index: 60; background: #ffc107; color: #000; text-align: center; padding: 8px; font-size: 14px; }

/* ---------- overlay menu (from the original theme) ---------- */
.bw-overlay { position: fixed; inset: 0; z-index: 99999; background: var(--bw-purple-menu); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease; will-change: opacity; }
.bw-overlay.is-open { opacity: 1; visibility: visible; }
.bw-overlay__inner { margin: 0 auto; padding: 80px 11% 60px; }
.bw-overlay__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 70px; }
.bw-toplink { font-family: var(--bw-menu); font-size: 18px; letter-spacing: .18em; text-transform: uppercase; color: #fff; text-decoration: none; background: none; border: 0; padding: 0 0 4px; border-bottom: 1px solid #fff; cursor: pointer; }
.bw-toplink:hover { opacity: .75; color: #fff; }
.bw-nav { position: relative; }
.bw-nav > ul { list-style: none; margin: 0; padding: 0; width: 400px; }
.bw-nav > ul > li { position: static; }
.bw-nav > ul > li > a { position: relative; display: inline-block; width: 100%; font-family: var(--bw-serif); font-size: 32px; line-height: 1.2; color: #fff; text-decoration: none; padding: 16px 0; transition: color .25s ease; }
.bw-nav > ul > li > a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: #000; transition: width .35s ease; }
.bw-nav > ul > li > a::before { content: ""; position: absolute; right: 1px; bottom: -4px; width: 8px; height: 8px; border-top: 1px solid #000; border-right: 1px solid #000; transform: rotate(45deg); opacity: 0; transition: opacity .2s ease .15s; }
.bw-nav > ul > li > a:hover, .bw-nav > ul > li.is-active > a { color: #000; font-style: italic; }
.bw-nav > ul > li.is-active.has-sub > a::after { width: 100%; }
.bw-nav > ul > li.is-active.has-sub > a::before { opacity: 1; }
.bw-sub { list-style: none; margin: 0; padding: 0; position: absolute; left: 445px; display: none; }
.bw-nav li.is-active > .bw-sub { display: block; }
.bw-sub li a { display: block; font-family: var(--bw-serif); font-size: 26px; color: #fff; text-decoration: none; padding: 10px 0; opacity: 0; transform: translateX(-10px); transition: color .2s ease; }
.bw-nav li.is-active > .bw-sub li a { animation: bwSubIn .35s ease forwards; }
.bw-nav li.is-active > .bw-sub li:nth-child(2) a { animation-delay: .06s; }
.bw-nav li.is-active > .bw-sub li:nth-child(3) a { animation-delay: .12s; }
.bw-nav li.is-active > .bw-sub li:nth-child(4) a { animation-delay: .18s; }
.bw-sub li a:hover, .bw-sub li a[aria-current] { color: #000; font-style: italic; }
@keyframes bwSubIn { to { opacity: 1; transform: translateX(0); } }
.bw-overlay a:focus-visible, .bw-overlay button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.bw-overlay__contact { margin-top: 60px; display: flex; flex-wrap: wrap; gap: 28px; }
.bw-overlay__contact a { color: #fff; font-family: var(--bw-menu); font-size: 15px; opacity: .85; }
.bw-overlay__contact a:hover { opacity: 1; color: #fff; }

/* ---------- home hero ---------- */
.bw-hero-home { position: relative; min-height: 100vh; min-height: 100svh; }
.bw-hero-home .carousel, .bw-hero-home .carousel-inner { min-height: inherit; }
.bw-hero-home .carousel-item { min-height: 100vh; min-height: 100svh; background: var(--hero-bg, var(--bw-green)); position: relative; }
.bw-hero-home__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bw-hero-home__media::after { content: ""; position: absolute; inset: 0; background: var(--hero-bg); opacity: .35; }
.bw-hero-home__content { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 140px; padding-bottom: 80px; }
.bw-hero-home__title { color: var(--hero-fg, var(--bw-purple)); font-size: clamp(34px, 4.2vw, 60px); line-height: 65px; max-width: 745px; margin: 0; }
.bw-hero-home__text { color: var(--hero-fg); font-size: 18px; margin-top: 20px; max-width: 700px; }
.bw-hero-home__link { display: flex; align-items: center; gap: 22px; margin-top: 46px; }
.bw-hero-home__link img { width: clamp(50px, 14vw, 200px); height: 2px; }
.bw-hero-home__link a { color: #fff; font-family: var(--bw-sans); font-size: 18px; white-space: nowrap; }
.bw-hero-home__link a:hover { color: var(--bw-yellow); }
.anim-bounce { animation: bwBounceIn 1.4s cubic-bezier(.215,.61,.355,1) .3s both; }
@keyframes bwBounceIn { 0% { opacity: 0; transform: scale3d(.3,.3,.3); } 20% { transform: scale3d(1.08,1.08,1.08); } 40% { transform: scale3d(.95,.95,.95); } 60% { opacity: 1; transform: scale3d(1.02,1.02,1.02); } 80% { transform: scale3d(.99,.99,.99); } 100% { opacity: 1; transform: none; } }

/* ---------- inner page heroes ---------- */
.hero-plain { padding: 190px 0 80px; text-align: center; }
.bw-hero-plain { max-width: 900px; margin: 0 auto; }
.bw-hero-plain h1, .bw-hero-plain h2 { font-size: clamp(34px, 4.6vw, 60px); color: #fff; margin-bottom: 18px; }
.bg-cream.hero-plain h1, .bg-yellow.hero-plain h1, .bg-white.hero-plain h1 { color: var(--bw-purple); }
.bw-hero-sub { font-family: var(--bw-serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); line-height: 1.45; margin: 0; }
.hero-plain .bw-btns { justify-content: center; }
.bw-hero-photo { position: relative; }
.bw-hero-photo__img { position: relative; height: 100vh; height: 100svh; max-height: 980px; min-height: 520px; overflow: hidden; background: #ddd; }
.bw-hero-photo__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bw-hero-photo__img::after { content: ""; position: absolute; inset: 0 0 auto; height: 220px; background: linear-gradient(rgba(0,0,0,.35), transparent); }
.bw-hero-photo__bar { position: relative; z-index: 3; padding-bottom: 40px; }
.bw-hero-box { position: relative; margin-top: -210px; max-width: 660px; padding: 38px 48px 40px; background: var(--bw-cream); }
.bw-hero-box h1, .bw-hero-box h2 { font-size: 24px; font-style: italic; color: var(--bw-text); margin-bottom: 14px; }
.bw-hero-box .bw-hero-sub { color: var(--bw-purple); font-size: clamp(20px, 2.3vw, 30px); font-style: normal; }
.bw-hero-box.box-green { background: var(--bw-green); }
.bw-hero-box.box-purple { background: var(--bw-purple); }
.bw-hero-box.box-purple h1, .bw-hero-box.box-purple h2, .bw-hero-box.box-purple .bw-hero-sub { color: #fff; }
.bw-hero-box.box-green .bw-hero-sub { color: var(--bw-purple); }
.bw-hero-photo__bar .bw-btns { margin-top: 30px; }
.hero-center .bw-hero-photo__overlay { position: absolute; inset: 0; background: rgba(40, 36, 80, .45); }
.bw-hero-photo__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; z-index: 2; }
.bw-hero-photo__center h1 { color: #fff; font-size: clamp(36px, 5vw, 64px); }
.bw-hero-tabs { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-plain .bw-hero-tabs { justify-content: center; }
.bw-hero-tabs a, .bw-hero-tabs span { display: inline-block; padding: 6px 20px; border-radius: 30px; border: 1px solid currentColor; font-family: var(--bw-sans); font-size: 14px; color: inherit; }
.bw-hero-tabs span { background: #fff; color: var(--bw-purple); border-color: #fff; }
.bw-hero-tabs a:hover { background: rgba(255,255,255,.2); color: inherit; }
.bw-crumbs { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 14px; }
.bw-crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .7; }
.bw-crumbs a { color: #fff; opacity: .9; }
.bw-crumbs a:hover { opacity: 1; color: var(--bw-yellow); }

/* ---------- text + image ---------- */
.bw-split__inner { padding: 10px 0; }
.bw-split__title { font-size: clamp(28px, 3.2vw, 42px); color: var(--bw-purple); margin-bottom: 18px; }
.bw-split__title.is-display { font-family: var(--bw-sans); font-weight: 300; font-size: clamp(38px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -1px; }
.bw-split__sub { font-family: var(--bw-serif); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--bw-text); }
.bw-split__body { font-size: 16px; line-height: 1.75; }
.bw-split__body p:last-child { margin-bottom: 0; }
.bw-split__caption { font-family: var(--bw-serif); font-style: italic; font-size: 20px; margin-top: 20px; color: var(--bw-purple); }
.bw-split__icon { display: block; max-height: 110px; width: auto; margin-bottom: 20px; }
.split-boxed .bw-split__icon { position: absolute; right: 30px; bottom: 30px; max-height: 120px; margin: 0; opacity: .95; }
.bw-split__media img { width: 100%; display: block; }
.on-dark, .on-dark .bw-split__title, .on-dark .bw-split__sub, .on-dark .bw-split__caption { color: #fff; }
.on-dark a:not(.bw-btn) { color: #fff; text-decoration: underline; }
.bw-box { position: relative; padding: 52px 56px; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.split-boxed .bw-split__text, .split-boxed .bw-split__media { align-self: stretch; }
.split-boxed .bw-split__media { display: flex; }
.split-boxed .bw-split__media img { object-fit: cover; height: 100%; }
.box-purple { background: var(--bw-purple); }
.box-green { background: var(--bw-green); }
.box-cream { background: var(--bw-cream); }
.box-yellow { background: var(--bw-yellow); }
.box-white { background: #fff; }
.bw-box.box-green .bw-split__title { color: #fff; }
.bw-box.box-yellow .bw-split__title, .bw-box.box-cream .bw-split__title, .bw-box.box-white .bw-split__title { color: var(--bw-purple); }
.split-display .bw-split__body { font-size: 19px; color: var(--bw-purple); }

.bw-list { list-style: none; padding: 0; margin: 18px 0 0; }
.bw-list li { position: relative; padding: 7px 0 7px 34px; border-bottom: 1px solid rgba(109,102,170,.18); }
.bw-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bw-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M13.5 4.5 6 12 2.5 8.5l1-1L6 10l6.5-6.5z'/%3E%3C/svg%3E") center/13px no-repeat; }
.on-dark .bw-list li, .bw-box.on-dark .bw-list li { border-color: rgba(255,255,255,.25); }
.on-dark .bw-list li::before { background-color: rgba(255,255,255,.25); }

/* ---------- schools ---------- */
.bw-school-row { padding: 30px 0; }
.bw-school-row + .bw-school-row { border-top: 0; }
.bw-school-row__text { max-width: 480px; }
.flex-lg-row-reverse .bw-school-row__text { margin-left: auto; }
.bw-school-row h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; }
.bw-school-row h3 a { color: var(--bw-purple); }
.bw-school-row h3 a:hover { color: var(--bw-green-dark); }
.bw-school-type { font-family: var(--bw-serif); font-style: italic; color: var(--bw-green); font-size: 19px; margin-bottom: 10px; }
.bw-school-row__img { display: block; overflow: hidden; }
.bw-school-row__img img { width: 100%; transition: transform .8s ease; }
.bw-school-row__img:hover img { transform: scale(1.04); }

/* ---------- leaders ---------- */
.bw-profile { text-align: center; padding: 0 10px; }
.bw-profile__img img { width: 230px; height: 230px; object-fit: contain; object-position: bottom; margin: 0 auto 16px; display: block; filter: grayscale(100%); }
.bw-profile h3 { font-size: 21px; color: var(--bw-purple); margin-bottom: 4px; }
.bw-profile__role { color: var(--bw-green-dark); font-size: 15px; margin-bottom: 10px; }
.bw-profile__desc { font-size: 14px; line-height: 1.6; max-width: 280px; margin: 0 auto; }
.bw-member { text-align: center; }
.bw-member__img { aspect-ratio: 4 / 5; overflow: hidden; background: #e7e7e1; margin-bottom: 16px; }
.bw-member__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.bw-member:hover .bw-member__img img { transform: scale(1.04); }
.bw-member h3 { font-size: 20px; color: var(--bw-purple); margin-bottom: 4px; }
.bw-member p { font-size: 14px; margin: 0; }
.bg-purple .bw-member h3, .bg-purple .bw-profile h3 { color: #fff; }

/* ---------- statements ---------- */
.bw-statement-lead { font-family: var(--bw-serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 50px; }
.bw-statement { max-width: 760px; margin: 0 auto 50px; }
.bw-statement h3 { display: inline-block; font-size: 28px; color: var(--bw-purple); letter-spacing: .04em; padding: 0 50px 8px; border-bottom: 1px solid var(--bw-purple); margin-bottom: 20px; }
.bw-statement p { font-family: var(--bw-serif); font-style: italic; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.45; color: var(--bw-purple); margin: 0; }

/* ---------- cards ---------- */
.bw-card { height: 100%; }
.bw-card h3 { font-size: 26px; margin-bottom: 10px; }
.bw-card p { margin-bottom: 0; }
.bw-card--bottom { background: #fff; padding: 30px 26px 26px; text-align: center; display: flex; flex-direction: column; }
.bw-card--bottom h3 { font-size: clamp(24px, 2.2vw, 32px); color: var(--bw-text); }
.bw-card--bottom p { font-size: 14px; color: var(--bw-purple); line-height: 1.6; margin-bottom: 20px; }
.bw-card--bottom .bw-card__img { margin-top: auto; overflow: hidden; }
.bw-card--bottom .bw-card__img img { width: 100%; aspect-ratio: 600 / 353; object-fit: cover; display: block; transition: transform .7s ease; }
.bw-card--bottom:hover .bw-card__img img { transform: scale(1.05); }
.bw-card--top { background: #fff; display: flex; flex-direction: column; }
.bw-card--top .bw-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bw-card--top .bw-card__body { padding: 24px 24px 28px; text-align: center; display: flex; flex-direction: column; flex: 1; }
.bw-card--top h3 { color: var(--bw-purple); font-size: 24px; }
.bw-card--top p { font-size: 15px; line-height: 1.6; }
.bw-leaves { display: flex; justify-content: center; gap: 4px; margin: 0 0 12px; }
.bw-leaves img { height: 14px; width: auto; }
.bw-card__more { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 16px; font-size: 15px; color: var(--bw-purple); justify-content: center; }
.bw-card__more img { width: 28px; }
.bw-card--iconbox { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border: 1px solid var(--bw-purple); background: transparent; }
.cards-icon-box .col-sm-6.col-lg-3 .bw-card--iconbox, .cards-icon-box .bw-carousel .bw-card--iconbox { flex-direction: column; align-items: center; text-align: center; }
.bw-card__icon { width: 54px; height: 54px; object-fit: contain; flex: 0 0 54px; }
.bw-card--iconbox h3 { font-family: var(--bw-sans); font-weight: 400; font-size: 22px; color: var(--bw-purple); }
.bw-card--iconbox p { font-size: 14px; line-height: 1.6; }
.bw-card--tile { background: var(--bw-purple); color: #fff; padding: 30px 32px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.bw-card--tile h3 { color: #fff; font-size: clamp(22px, 2vw, 28px); }
.bw-card--tile p { font-size: 14px; line-height: 1.6; opacity: .95; }
.bw-card--tile .bw-card__icon { width: 51px; height: 63px; flex: 0 0 51px; }
.bw-card--step { display: flex; gap: 18px; align-items: flex-start; background: #fff; padding: 28px; }
.bw-card__num { width: 52px; height: 52px; border-radius: 50%; flex: 0 0 52px; display: flex; align-items: center; justify-content: center; background: var(--bw-purple); color: #fff; font-family: var(--bw-serif); font-size: 24px; }
.bw-card__num-img { width: 60px; height: 60px; flex: 0 0 60px; }
.bw-card--step h3 { font-family: var(--bw-sans); font-size: 20px; color: var(--bw-purple); }
.bw-card--step p { font-size: 15px; line-height: 1.6; }
.bw-card--quote { margin: 0; background: #fff; display: flex; flex-direction: column; }
.bw-card--quote .bw-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.bw-card--quote figcaption { padding: 24px 26px 28px; }
.bw-card--quote blockquote { font-family: var(--bw-serif); font-style: italic; font-size: 16px; line-height: 1.6; margin: 10px 0 0; }
.bw-card--quote blockquote.is-title { font-size: 21px; color: var(--bw-purple); margin: 0 0 8px; }
.bw-card--quote h3 { font-size: 22px; color: var(--bw-purple); margin-bottom: 0; }
.bw-card__sub { color: var(--bw-green-dark); font-size: 14px; margin: 0; }
.bw-card--overlay { position: relative; margin: 0; overflow: hidden; }
.bw-card--overlay img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; display: block; }
.bw-card--overlay figcaption { position: absolute; left: 0; bottom: 0; background: var(--bw-purple); color: #fff; padding: 14px 26px; font-family: var(--bw-serif); font-size: 24px; }
.bw-card--overlay figcaption small { display: block; font-family: var(--bw-sans); font-size: 14px; }
.bw-card--check { display: flex; gap: 12px; align-items: flex-start; background: #fff; padding: 18px 20px; font-size: 16px; }
.bw-card--check i { color: var(--bw-green-dark); font-size: 22px; line-height: 1; }
.bw-card--plain { background: #fff; padding: 30px; }
.bw-card--plain h3 { color: var(--bw-purple); font-size: 24px; }
.bw-card--plain .bw-card__sub { margin-bottom: 10px; }
.bw-card--plain p { font-size: 15px; line-height: 1.65; }
.on-dark .bw-card--plain, .on-dark .bw-card--step, .on-dark .bw-card--check { background: rgba(255,255,255,.1); color: #fff; }
.on-dark .bw-card--plain h3, .on-dark .bw-card--step h3 { color: #fff; }
.on-dark .bw-list li { color: #fff; }
.bg-yellow .bw-card--iconbox, .bg-cream .bw-card--iconbox { background: transparent; }

/* side-scrolling carousels */
.bw-carousel { position: relative; }
.bw-carousel__track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; scrollbar-width: none; }
.bw-carousel__track::-webkit-scrollbar { display: none; }
.bw-carousel__item { scroll-snap-align: start; flex: 0 0 calc((100% - 48px) / 3); }
.bw-carousel.cols-1 .bw-carousel__item { flex-basis: 100%; }
.bw-carousel.cols-2 .bw-carousel__item { flex-basis: calc((100% - 24px) / 2); }
.bw-carousel.cols-4 .bw-carousel__item { flex-basis: calc((100% - 72px) / 4); }
.bw-carousel__nav { display: flex; justify-content: center; gap: 14px; margin-top: 26px; }
.bw-carousel__btn { background: none; border: 0; padding: 0; line-height: 0; cursor: pointer; transition: transform .2s ease, opacity .2s; }
.bw-carousel__btn:hover { transform: scale(1.08); }
.bw-carousel__btn:disabled { opacity: .35; }
.on-dark .bw-carousel__btn img { filter: brightness(0) invert(1); }

/* ---------- stats ---------- */
.bw-stats { background: #fff; padding: 46px 30px; }
.bg-white .bw-stats { background: transparent; padding: 0; }
.bw-stat { text-align: center; }
.bw-stat__num { font-family: var(--bw-sans); font-weight: 300; font-size: clamp(42px, 5vw, 72px); line-height: 1; color: var(--bw-purple); }
.bw-stat__label { margin-top: 12px; font-size: 14px; }
.bw-stat__note { font-size: 13px; color: var(--bw-muted); margin-top: 4px; }

/* ---------- group link list ---------- */
.bw-linklist { max-width: 1000px; margin: 0 auto; }
.bw-linklist__row { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.bw-linklist__row h3 { flex: 1; font-size: clamp(20px, 2vw, 26px); color: var(--bw-purple); margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--bw-text); }
.bw-linklist__row a { flex: 0 0 42%; background: var(--bw-purple); color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; }
.bw-linklist__row a:hover { background: var(--bw-green-dark); color: #fff; }

/* ---------- logos ---------- */
.bw-logos { background: #fff; padding: 40px 0; }
.bg-white .bw-logos { padding: 10px 0 0; }
.bw-logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 30px 40px; }
.bw-logos__item img { max-height: 110px; width: auto; max-width: 240px; object-fit: contain; filter: none; transition: transform .3s ease; }
.bw-logos__item img:hover { transform: scale(1.05); }
.sec-logos { padding-bottom: 0; }
.sec-logos + .bw-section { padding-top: 90px !important; }

/* ---------- photo slider + highlights ---------- */
.bw-photo-slider .carousel-item img { aspect-ratio: 16 / 9; object-fit: cover; }
.bw-photo-slider .carousel-control-prev, .bw-photo-slider .carousel-control-next { width: 60px; }
.bw-glance-img img { width: 100%; }
.bw-highlights { background: var(--bw-purple); color: #fff; padding: 30px; height: 100%; }
.bw-highlights h3 { font-size: 24px; color: #fff; margin-bottom: 16px; }
.bw-highlights ul { list-style: none; margin: 0; padding: 0; }
.bw-highlights li { padding: 10px 0 10px 28px; border-bottom: 1px solid rgba(255,255,255,.25); position: relative; font-size: 15px; }
.bw-highlights li::before { content: ""; position: absolute; left: 0; top: 15px; width: 14px; height: 14px; background: url("../images/bw-icon-white.svg") center/contain no-repeat; }

/* ---------- table ---------- */
.bw-table { background: #fff; border-radius: 0; height: 100%; }
.bw-table table { color: var(--bw-text); margin: 0; }
.bw-table thead th { background: var(--bw-purple); color: #fff; font-family: var(--bw-serif); font-weight: 400; font-size: 20px; padding: 16px 20px; border: 0; }
.bw-table td, .bw-table tbody th { padding: 16px 20px; border-color: rgba(109,102,170,.2); font-weight: 400; vertical-align: middle; }
.bw-table tbody th { color: var(--bw-purple); font-family: var(--bw-serif); font-size: 18px; }
.bw-note { background: var(--bw-purple); color: #fff; padding: 30px; height: 100%; }
.bw-note h3 { color: #fff; font-size: 24px; margin-bottom: 16px; }
.bw-note p { margin-bottom: 10px; }

/* ---------- checklist on photo ---------- */
.bw-checklist { position: relative; min-height: 75vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 0; overflow: hidden; }
.bw-checklist__bg { position: absolute; inset: 0; }
.bw-checklist__bg img { width: 100%; height: 100%; object-fit: cover; }
.bw-checklist > .container-xl { position: relative; z-index: 2; padding-bottom: 90px; }
.bw-checklist__card { max-width: 480px; background: var(--bw-green); color: #fff; padding: 44px 44px 40px; }
.bw-checklist__card h2 { color: #fff; font-size: clamp(26px, 2.8vw, 36px); margin-bottom: 14px; }
.bw-checklist__sub { font-family: var(--bw-serif); font-style: italic; font-size: 18px; }
.bw-checklist__card .bw-list li { border-color: rgba(255,255,255,.3); }
.bw-checklist__card .bw-list li::before { background-color: var(--bw-purple); }
.bw-checklist__footer { position: relative; z-index: 2; background: var(--bw-purple); color: #fff; padding: 26px 0; text-align: center; }
.bw-checklist__footer p { font-family: var(--bw-serif); font-style: italic; font-size: clamp(18px, 2vw, 24px); margin: 0; }

/* ---------- quote banner ---------- */
.bw-quote-banner { position: relative; padding: 110px 0; overflow: hidden; }
.bw-quote-banner__bg { position: absolute; inset: 0; }
.bw-quote-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.bw-quote-banner.has-img::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); z-index: 1; }
.bw-quote-banner .container-xl { position: relative; z-index: 2; }
.bw-quote-banner blockquote { font-family: var(--bw-serif); font-style: italic; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.2; color: var(--bw-purple); margin: 0; }
.bw-quote-banner.bg-purple blockquote, .bw-quote-banner.has-img blockquote { color: #fff; }
.bw-quote-banner__author { margin-top: 16px; font-size: 16px; }

/* ---------- FAQ ---------- */
.bw-faq .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--bw-purple); border-radius: 0 !important; }
.bw-faq .accordion-button { background: transparent; box-shadow: none; padding: 20px 0; font-family: var(--bw-sans); font-size: 18px; color: var(--bw-purple); }
.bw-faq .accordion-button:not(.collapsed) { color: var(--bw-green-dark); }
.bw-faq .accordion-button:focus-visible { outline: 2px solid var(--bw-purple); }
.bw-faq .accordion-body { padding: 0 0 22px; font-size: 15px; line-height: 1.7; }
.bw-faq-side { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--bw-purple); color: #fff; padding: 40px; height: 100%; min-height: 220px; font-family: var(--bw-serif); font-size: 32px; }
.bw-faq-side img { filter: brightness(0) invert(1); }
.bw-faq-side:hover { background: var(--bw-green-dark); color: #fff; }

/* ---------- videos ---------- */
.bw-video { display: block; position: relative; width: 100%; border: 0; padding: 0; background: #000; cursor: pointer; overflow: hidden; }
.bw-video img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform .6s ease, opacity .3s; }
.bw-video:hover img { transform: scale(1.04); opacity: .85; }
.bw-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 74px; height: 74px; border-radius: 50%; background: rgba(109,102,170,.92); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 38px; padding-left: 4px; transition: background .2s; }
.bw-video:hover .bw-video__play { background: var(--bw-green); }
.bw-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bw-video.is-playing { aspect-ratio: 16 / 9; }
.bw-video__desc { margin-top: 10px; font-size: 15px; }

/* ---------- blog ---------- */
.bw-post-featured { display: grid; grid-template-columns: 1.2fr 1fr; background: var(--bw-purple); color: #fff; margin-bottom: 60px; }
.bw-post-featured__img img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; display: block; }
.bw-post-featured__body { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.bw-post-featured__body h3 { font-size: clamp(26px, 2.6vw, 36px); }
.bw-post-featured__body h3 a { color: #fff; }
.bw-post-featured__body p { opacity: .95; }
.bw-blog-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 36px; }
.bw-filter { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bw-filter a { display: inline-block; padding: 7px 18px; border: 1px solid var(--bw-purple); border-radius: 30px; font-size: 14px; color: var(--bw-purple); }
.bw-filter a.active, .bw-filter a:hover { background: var(--bw-purple); color: #fff; }
.bw-blog-search { display: flex; border: 1px solid var(--bw-purple); border-radius: 30px; overflow: hidden; background: #fff; min-width: 260px; }
.bw-blog-search input { border: 0; padding: 9px 18px; flex: 1; font-size: 14px; outline: none; background: transparent; min-width: 0; }
.bw-blog-search button { border: 0; background: var(--bw-purple); color: #fff; padding: 0 18px; }
.bw-post { background: #fff; height: 100%; display: flex; flex-direction: column; }
.bw-post__img { display: block; overflow: hidden; }
.bw-post__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; transition: transform .7s ease; }
.bw-post:hover .bw-post__img img { transform: scale(1.05); }
.bw-post__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.bw-post__cat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--bw-green-dark); margin-bottom: 8px; }
.bw-post h2, .bw-post h3 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.bw-post h2 a, .bw-post h3 a { color: var(--bw-purple); }
.bw-post p { font-size: 14px; line-height: 1.65; color: var(--bw-muted); }
.bw-post__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--bw-muted); margin: auto 0 12px; }
.bw-post__more { font-size: 14px; color: var(--bw-purple); }
.pagination .page-link { color: var(--bw-purple); border-color: rgba(109,102,170,.3); }
.pagination .page-item.active .page-link { background: var(--bw-purple); border-color: var(--bw-purple); color: #fff; }
.bw-post-hero { padding-bottom: 70px; }
.bw-post-hero h1 { font-size: clamp(30px, 3.8vw, 50px); }
.bw-post-hero__meta { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; font-size: 15px; margin: 0; }
.bw-post-cover { margin-bottom: 34px; }
.bw-post-cover img { width: 100%; }
.bw-post-tags { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 36px; font-size: 14px; }
.bw-post-tags a { background: #fff; padding: 4px 14px; border-radius: 20px; font-size: 13px; }
.bw-share { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(109,102,170,.25); }
.bw-share a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bw-purple); color: #fff; }
.bw-share a:hover { background: var(--bw-green-dark); color: #fff; }
.bw-sidebar { position: sticky; top: 30px; }
.bw-sidebar h2 { font-size: 22px; color: var(--bw-purple); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--bw-purple); }
.bw-recent, .bw-catlist { list-style: none; padding: 0; margin: 0 0 34px; }
.bw-recent li + li { margin-top: 14px; }
.bw-recent a { display: flex; gap: 14px; align-items: center; color: var(--bw-text); font-size: 14px; line-height: 1.4; }
.bw-recent img { width: 80px; height: 60px; object-fit: cover; flex: 0 0 80px; }
.bw-recent small { display: block; color: var(--bw-muted); margin-top: 4px; }
.bw-catlist a { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed rgba(109,102,170,.3); color: var(--bw-text); }
.bw-catlist span { color: var(--bw-purple); }
.bw-sidebar__cta { background: var(--bw-purple); color: #fff; padding: 30px; }
.bw-sidebar__cta h2 { color: #fff; border-color: rgba(255,255,255,.4); }

/* ---------- prose (blog / legal pages) ---------- */
.bw-prose { max-width: 820px; margin: 0 auto; font-size: 17px; line-height: 1.8; }
.bw-prose-wide { max-width: none; }
.bw-prose h2, .bw-prose h3, .bw-prose h4 { color: var(--bw-purple); margin: 1.6em 0 .6em; }
.bw-prose h2 { font-size: 32px; } .bw-prose h3 { font-size: 26px; } .bw-prose h4 { font-size: 22px; }
.bw-prose img { margin: 10px 0; }
.bw-prose a { text-decoration: underline; }
.bw-prose table { width: 100%; background: #fff; margin-bottom: 30px; }
.bw-prose table th { background: var(--bw-purple); color: #fff; font-weight: 400; }
.bw-prose table th, .bw-prose table td { padding: 12px 16px; border: 1px solid rgba(109,102,170,.2); }
.bw-prose blockquote { border-left: 4px solid var(--bw-green); padding-left: 20px; font-style: italic; }

/* ---------- gallery ---------- */
.bw-album__img { display: block; position: relative; overflow: hidden; }
.bw-album__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .8s ease; }
.bw-album__img:hover img { transform: scale(1.05); }
.bw-album__count { position: absolute; right: 14px; bottom: 14px; background: rgba(109,102,170,.92); color: #fff; font-size: 13px; padding: 4px 12px; border-radius: 20px; }
.bw-album h2 { font-size: 30px; margin: 20px 0 10px; }
.bw-album h2 a { color: var(--bw-purple); }
.bw-album p { font-size: 15px; line-height: 1.7; }
.bw-album__date { font-size: 13px; color: var(--bw-muted); }
.bw-album-card { display: block; background: #fff; height: 100%; color: var(--bw-text); overflow: hidden; }
.bw-album-card > img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; transition: transform .7s ease; }
.bw-album-card:hover > img { transform: scale(1.05); }
.bw-album-card__body { display: block; padding: 22px 24px 26px; position: relative; }
.bw-album-card__body strong { display: block; font-family: var(--bw-serif); font-weight: 400; font-size: 24px; color: var(--bw-purple); margin-bottom: 8px; }
.bw-album-card__body span { display: block; font-size: 14px; line-height: 1.6; padding-right: 40px; }
.bw-album-card__body img { position: absolute; right: 20px; bottom: 22px; }
.bw-masonry { columns: 3 300px; column-gap: 16px; }
.bw-masonry__item { display: block; margin-bottom: 16px; break-inside: avoid; overflow: hidden; }
.bw-masonry__item img { width: 100%; display: block; transition: transform .6s ease; }
.bw-masonry__item:hover img { transform: scale(1.04); }
.bw-lightbox { position: fixed; inset: 0; z-index: 100001; background: rgba(20, 18, 40, .94); display: flex; align-items: center; justify-content: center; }
.bw-lightbox[hidden] { display: none; }
.bw-lightbox figure { margin: 0; max-width: 90vw; text-align: center; }
.bw-lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; }
.bw-lightbox figcaption { color: #fff; margin-top: 12px; font-size: 14px; }
.bw-lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 34px; padding: 14px; cursor: pointer; }
.bw-lightbox__close { top: 10px; right: 16px; }
.bw-lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.bw-lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- jobs ---------- */
.bw-job { background: #fff; color: var(--bw-text); padding: 30px; height: 100%; display: flex; flex-direction: column; align-items: flex-start; }
.bw-job h3 { font-size: 24px; margin-bottom: 12px; }
.bw-job h3 a { color: var(--bw-purple); }
.bw-job p { font-size: 14px; line-height: 1.65; color: var(--bw-muted); }
.bw-job__meta { list-style: none; padding: 0; margin: 4px 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.bw-job__meta li { font-size: 13px; padding: 4px 12px; border-radius: 20px; background: var(--bw-cream); color: var(--bw-purple); }
.hero-plain .bw-job__meta li { background: rgba(255,255,255,.18); color: #fff; }
.bw-job .bw-btn { margin-top: auto; }
.bw-sticky { position: sticky; top: 30px; }

/* ---------- campuses / contact ---------- */
.bw-campus { margin-bottom: 40px; background: var(--bw-purple); color: #fff; }
.bw-campus__img { height: 100%; }
.bw-campus__img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1 / 1; display: block; }
.bw-campus__body { padding: clamp(28px, 4vw, 56px); }
.bw-campus__body h2 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 16px; }
.bw-campus__body > p { font-size: 15px; line-height: 1.7; }
.bw-contact-list { list-style: none; padding: 0; margin: 20px 0 26px; }
.bw-contact-list li { display: flex; gap: 14px; padding: 8px 0; font-size: 15px; line-height: 1.6; }
.bw-contact-list i { font-size: 18px; line-height: 1.4; }
.bw-contact-list a { color: inherit; }
.bw-contact-list.is-large li { font-size: 17px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.bw-location { background: #fff; padding: 20px; height: 100%; }
.bw-location h3 { font-size: 20px; color: var(--bw-purple); margin-bottom: 8px; }
.bw-location__phone { display: block; font-size: 14px; color: var(--bw-text); margin-bottom: 10px; }
.bw-location__links { display: flex; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.bw-location__links a { text-decoration: underline; }
.bw-getintouch { background: var(--bw-purple); padding: 36px; color: #fff; height: 100%; }
.bw-getintouch h3 { color: #fff; font-size: 30px; margin-bottom: 20px; }
.bw-getintouch a { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 17px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.3); }
.bw-getintouch a:hover { color: var(--bw-yellow); }

/* ---------- forms ---------- */
.sec-form.has-photo { padding: 0; position: relative; min-height: 100vh; display: flex; align-items: flex-end; }
.sec-form__photo { position: absolute; inset: 0; }
.sec-form__photo img { width: 100%; height: 100%; object-fit: cover; }
.sec-form.has-photo > .container-xl { position: relative; z-index: 2; padding-top: 220px; padding-bottom: 60px; width: 100%; }
.bw-form-card { background: #fff; padding: clamp(26px, 4vw, 48px); }
.bw-form-card.is-purple { background: var(--bw-purple); color: #fff; }
.bw-form-card__title { font-size: clamp(30px, 3.4vw, 44px); color: var(--bw-purple); text-align: center; margin-bottom: 10px; }
.bw-form-card.is-purple .bw-form-card__title { color: #fff; }
.bw-form-card__intro { text-align: center; margin-bottom: 26px; font-size: 15px; }
.bw-field label { display: block; font-size: 14px; margin-bottom: 6px; }
.bw-field .req { color: #e05656; margin-left: 2px; }
.is-purple .bw-field .req { color: var(--bw-yellow); }
.bw-form .form-control, .bw-form .form-select { border-radius: 4px; border: 1px solid rgba(109,102,170,.35); padding: 10px 14px; font-size: 15px; }
.bw-form .form-control:focus, .bw-form .form-select:focus { border-color: var(--bw-purple); box-shadow: 0 0 0 3px rgba(109,102,170,.2); }
.is-purple .bw-form .form-control, .is-purple .bw-form .form-select { border-color: transparent; }
.bw-form.was-validated .form-control:invalid, .bw-form.was-validated .form-select:invalid { border-color: #dc3545; }
.bw-form-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; justify-content: center; }
.bw-form-switch label { cursor: pointer; }
.bw-form-switch input { position: absolute; opacity: 0; }
.bw-form-switch span { display: inline-block; padding: 8px 20px; border-radius: 30px; border: 1px solid currentColor; font-size: 14px; }
.bw-form-switch input:checked + span { background: var(--bw-green); border-color: var(--bw-green); color: #fff; }
.bw-form-switch input:focus-visible + span { outline: 2px solid var(--bw-yellow); outline-offset: 2px; }
.bw-form[data-mode="admission"] .only-tour, .bw-form[data-mode="tour"] .only-admission { display: none; }
.bw-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 26px; }
.bw-form-note { font-size: 12px; margin: 0; opacity: .85; flex: 1; min-width: 220px; }
.is-purple .bw-form-note a { color: #fff; text-decoration: underline; }
.bw-form-msg:empty { display: none; }
.bw-form-msg { margin-top: 18px; padding: 12px 16px; border-radius: 4px; font-size: 15px; }
.bw-form-msg.is-error { background: #fde8e8; color: #9b1c1c; }
.bw-form-msg.is-ok { background: #e6f6ea; color: #14532d; }
.bw-form button[disabled] { opacity: .65; cursor: progress; }

/* ---------- footer ---------- */
.bw-footer { background: var(--bw-green); color: #fff; }
.bw-footer__band { padding: 60px 0 40px; }
.bw-footer__title { font-size: clamp(30px, 3.6vw, 48px); color: var(--bw-purple); margin: 0; }
.bw-footer__panel { padding: 0 0 0; }
.bw-footer__panel > .container-xl { background: var(--bw-purple) url("../images/footer-bg.jpg") center/cover no-repeat; padding-top: 56px; padding-bottom: 20px; }
.bw-footer__panel > .container-xl { position: relative; }
.bw-footer__panel > .container-xl::before { content: ""; position: absolute; inset: 0; background: rgba(109,102,170,.9); }
.bw-footer__panel .row, .bw-footer__bottom { position: relative; z-index: 1; }
.bw-footer__logo img { width: 150px; height: auto; margin-bottom: 18px; }
.bw-footer__about { font-size: 14px; line-height: 1.6; max-width: 240px; }
.bw-footer h4 { font-size: 24px; color: var(--bw-green-light); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; margin-bottom: 16px; }
.bw-footer ul { list-style: none; padding: 0; margin: 0; }
.bw-footer li { padding: 4px 0; font-size: 14px; line-height: 1.5; }
.bw-footer a { color: #fff; }
.bw-footer a:hover { color: var(--bw-yellow); }
.bw-footer__social i { margin-right: 6px; }
.bw-footer__note { opacity: .9; }
.bw-footer__contact strong { color: var(--bw-green-light); font-weight: 500; }
.bw-footer__bottom { border-top: 1px solid rgba(255,255,255,.25); margin-top: 40px; padding-top: 16px; font-size: 13px; opacity: .9; }

/* floating controls */
.bw-enquire-tab { position: fixed; right: 14px; top: 50%; transform: translateY(-30%); z-index: 990; width: 56px; line-height: 0; transition: transform .2s ease; }
.bw-enquire-tab:hover { transform: translateY(-30%) translateX(-3px); }
.bw-enquire-tab img { width: 56px; height: auto; }
.bw-totop { position: fixed; right: 18px; bottom: 18px; z-index: 990; width: 44px; height: 44px; border: 0; background: var(--bw-purple); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.bw-totop.is-visible { opacity: 1; visibility: visible; }
.bw-popup { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; padding: 20px; }
.bw-popup[hidden] { display: none; }
.bw-popup__box { position: relative; max-width: 560px; width: 100%; animation: bwPop .4s ease; }
.bw-popup__box img { width: 100%; display: block; }
.bw-popup__close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bw-purple); color: #fff; z-index: 2; }
@keyframes bwPop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- scroll animations ---------- */
.js [data-anim] { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js [data-anim].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js [data-anim] { opacity: 1; transform: none; transition: none; }
    .anim-bounce { animation: none; }
    .bw-overlay, .bw-nav a, .bw-nav a::after { transition: none; }
    .bw-nav li.is-active > .bw-sub li a { animation: none; opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
    .bw-carousel.cols-4 .bw-carousel__item { flex-basis: calc((100% - 48px) / 3); }
}
@media (max-width: 991px) {
    .bw-section { padding: 70px 0; }
    .bw-header { height: 130px; }
    .bw-logo img { width: 150px; }
    .bw-hamburger { top: 36px; }
    .bw-hamburger img { width: 50px; }
    .bw-tour-link { top: 50px; font-size: 14px; }
    .bw-hero-box { margin-top: -120px; max-width: none; padding: 30px; }
    .bw-hero-photo__img { height: 70vh; min-height: 420px; }
    .bw-box { padding: 40px 30px; }
    .split-boxed .bw-split__media img { height: auto; }
    .bw-carousel__item, .bw-carousel.cols-2 .bw-carousel__item, .bw-carousel.cols-4 .bw-carousel__item { flex-basis: calc((100% - 24px) / 2); }
    .bw-carousel.cols-1 .bw-carousel__item { flex-basis: 100%; }
    .bw-post-featured { grid-template-columns: 1fr; }
    .bw-post-featured__body { padding: 30px; }
    .bw-linklist__row { flex-direction: column; align-items: stretch; gap: 8px; }
    .bw-linklist__row a { flex-basis: auto; }
    .hero-plain { padding: 150px 0 60px; }
    .bw-sidebar, .bw-sticky { position: static; }
}
@media (max-width: 900px) {
    .bw-overlay__inner { padding: 50px 24px 60px; }
    .bw-overlay__top { margin-bottom: 40px; }
    .bw-toplink { font-size: 14px; }
    .bw-nav > ul { width: 100%; }
    .bw-nav > ul > li > a { font-size: 26px; padding: 12px 0; }
    .bw-sub { position: static; padding: 6px 0 10px 20px; }
    .bw-sub li a { font-size: 20px; padding: 8px 0; }
}
@media (max-width: 767px) {
    body { font-size: 15px; }
    .bw-section { padding: 56px 0; }
    .bw-header { height: 110px; justify-content: center; }
    .bw-logo img { width: 120px; }
    .bw-hamburger { top: 30px; left: 16px; }
    .bw-hamburger img { width: 46px; }
    .bw-tour-link { display: none; }
    .bw-hero-home__link { gap: 12px; }
    .bw-hero-home__link a { font-size: 15px; white-space: normal; }
    .bw-hero-photo__img { height: 62vh; min-height: 360px; }
    .bw-hero-box { margin-top: -70px; padding: 24px; }
    .bw-hero-box h1 { font-size: 20px; }
    .bw-eyebrow { font-size: 22px; padding: 0 20px 8px; }
    .bw-carousel__item, .bw-carousel.cols-2 .bw-carousel__item, .bw-carousel.cols-4 .bw-carousel__item { flex-basis: 86%; }
    .bw-card--iconbox { flex-direction: column; }
    .bw-card--tile { padding: 24px; }
    .bw-card--overlay img { aspect-ratio: 4 / 3; }
    .bw-statement h3 { padding: 0 24px 8px; }
    .bw-enquire-tab { width: 42px; right: 6px; }
    .bw-enquire-tab img { width: 42px; }
    .bw-checklist { min-height: 0; padding-top: 0; }
    .bw-checklist__bg { position: relative; height: 260px; }
    .bw-checklist > .container-xl { margin-top: -60px; padding-bottom: 50px; }
    .bw-checklist__card { padding: 30px 24px; }
    .bw-faq-side { min-height: 0; font-size: 26px; padding: 28px; }
    .sec-form.has-photo { min-height: 0; display: block; }
    .sec-form__photo { position: relative; height: 300px; }
    .sec-form.has-photo > .container-xl { padding-top: 0; margin-top: -80px; }
    .bw-footer__band { padding: 44px 0 30px; }
    .bw-blog-search { min-width: 0; width: 100%; }
}

/* very tall screens (portrait monitors): keep full-height blocks at a sensible size */
@media (min-height: 1300px) {
    .bw-hero-home, .bw-hero-home .carousel-item, .bw-hero-home__content { min-height: 900px; }
    .sec-form.has-photo { min-height: 900px; }
    .bw-checklist { min-height: 700px; }
}
.no-img .bw-list { max-width: 640px; margin-left: auto; margin-right: auto; text-align: left; }
.bw-contact-list a { text-decoration: none !important; }
.bw-footer__panel > .container-xl { background-image: none; }
/* keep tall cut-out photos (e.g. Academics philosophy) from stretching boxed blocks */
.split-boxed .bw-split__media img { max-height: 600px; object-fit: contain; }
.split-boxed .bw-split__media img[src$=".jpg"], .split-boxed .bw-split__media img[src$=".webp"] { object-fit: cover; }

/* ---------- Connect page (matches the original WordPress design) ---------- */
.bw-connect-hero, .bw-video-band { padding: 180px 30px; color: #fff; }
.bw-ch, .bw-vb { max-width: 1320px; margin: 0 auto; }
.bw-ch__title, .bw-vb__title { font-family: var(--bw-sans); font-size: 120px; line-height: 110px; font-weight: 400; color: #fff; margin: 0; padding-left: 132px; max-width: 590px; }
.bw-ch__sub, .bw-vb__sub { font-family: var(--bw-sans); font-size: 25px; line-height: 34px; color: #fff; margin: 0 0 54px; padding-left: 449px; max-width: 950px; }
.bw-vid { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; margin: 0; }
.bw-vid img, .bw-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.bw-vid__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; border-radius: 50%; border: 4px solid #fff; background: transparent; color: #fff; font-size: 60px; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0 0 0 4px; }
.bw-vid__play:hover { background: rgba(255,255,255,.2); }
.bw-ch__intro { padding: 76px 0 0 198px; max-width: 1320px; }
.bw-ch__intro p { font-size: 18px; line-height: 26px; color: #fff; margin: 0 0 20px; }
.bw-ch__btn { text-align: center; margin-top: 40px; }
.bw-ch__btn a { display: inline-block; color: #fff; }
.bw-section.bw-cb { padding: 180px 30px !important; }
.bw-cb__row { display: flex; align-items: center; gap: 55px; max-width: 1380px; margin: 0 auto; }
.bw-cb.is-reverse .bw-cb__row { flex-direction: row-reverse; }
.bw-cb__img { flex: 0 0 690px; }
.bw-cb__img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.bw-cb__body { flex: 1 1 0; min-width: 0; max-width: 580px; color: var(--bw-purple); font-family: var(--bw-sans); }
.bw-cb__body h2 { font-family: var(--bw-sans); font-size: 40px; line-height: 50px; font-weight: 400; color: var(--bw-purple); max-width: 580px; margin: 0 0 42px; }
.bw-hl { background: #6C66A4; color: var(--bw-green); padding: 0 10px; display: inline-block; }
.bw-cb__text { font-size: 18px; line-height: 26px; max-width: 464px; margin: 0 0 22px; }
.bw-cb__list { list-style: none; padding: 0; margin: 0 0 28px; font-size: 16px; line-height: 25px; }
.bw-cb__list li { margin-bottom: 6px; }
.bw-cb__list a { color: inherit; }
.bw-cb__btn { display: inline-flex; align-items: center; gap: 12px; border: 1px solid #000; border-radius: 40px; height: 49px; padding: 0 22px 0 0; color: #000; font-size: 16px; }
.bw-cb__ico { width: 30px; height: 30px; margin-left: 9px; border: 1px solid #000; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.bw-cb__btn:hover { background: #000; color: #fff; }
.bw-cb__btn:hover .bw-cb__ico { border-color: #fff; }
.bw-vb__head { display: flex; gap: 58px; align-items: flex-start; padding-left: 348px; margin-bottom: 60px; }
.bw-vb__title { padding-left: 0; max-width: 460px; }
.bw-vb__sub { padding-left: 0; margin: 0; max-width: 166px; }
@media (max-width: 1199px) {
    .bw-ch__title, .bw-vb__title { font-size: 80px; line-height: 76px; padding-left: 0; }
    .bw-ch__sub { padding-left: 0; }
    .bw-ch__intro { padding-left: 0; }
    .bw-cb__img { flex-basis: 45%; }
    .bw-vb__head { padding-left: 0; }
}
@media (max-width: 767px) {
    .bw-section.bw-cb { padding: 70px 20px !important; }
    .bw-connect-hero, .bw-video-band { padding: 70px 20px; }
    .bw-ch__title, .bw-vb__title { font-size: 56px; line-height: 56px; }
    .bw-ch__sub { font-size: 20px; margin-bottom: 30px; }
    .bw-cb__row, .bw-cb.is-reverse .bw-cb__row { flex-direction: column; gap: 28px; }
    .bw-cb__img { flex-basis: auto; width: 100%; }
    .bw-cb__body h2 { font-size: 30px; line-height: 38px; max-width: none; margin-bottom: 22px; }
    .bw-vb__head { flex-direction: column; gap: 14px; }
    .bw-vb__sub { max-width: none; }
    .bw-ch__intro { padding-top: 36px; }
}


@media (max-width: 767px) {
    .bw-connect-hero { padding-top: 130px; }
    .bw-ch, .bw-cb__body, .bw-vb__head { text-align: center; }
    .bw-ch__title, .bw-vb__title { max-width: none; }
    .bw-ch__sub { padding-left: 0; }
    .bw-ch__intro { padding-right: 30px; padding-left: 0; }
    .bw-cb__text, .bw-cb__body h2 { margin-left: auto; margin-right: auto; }
    .bw-cb__list { text-align: center; }
    .bw-vb__sub { margin: 0 auto; }
    .bw-vid__play { width: 70px; height: 70px; font-size: 40px; }
}

/* ---------- oval hero button (the live site's button-new.svg) ---------- */
.bw-hero-home__link { margin-top: 56px; }
.bw-oval { display: flex; align-items: center; justify-content: center; width: 331px; max-width: 100%; aspect-ratio: 288.4 / 98.8; background: url('../images/live/button-new.svg') center / cover no-repeat; color: #fff; font-family: var(--bw-sans); font-size: 16px; text-align: center; padding: 0 36px; }
.bw-oval:hover { color: #fff; opacity: .9; }
@media (max-width: 767px) { .bw-hero-home__title { line-height: 1.15; } }

/* ---------- leadership (matches the live site) ---------- */
.bw-intro-lead { font-family: var(--bw-serif); font-style: italic; font-size: 27px; line-height: 40px; color: var(--bw-purple); max-width: 800px; margin: 24px auto 0; }
.leaders-profile .container-xl { max-width: 950px; }
.leaders-profile .bw-profile { padding: 0; text-align: center; }
.leaders-profile .bw-profile__img img { width: 100%; height: auto; max-height: 270px; }
.leaders-profile .bw-profile h3 { font-size: 20px; line-height: 30px; margin: 0; }
.leaders-profile .bw-profile__role { font-size: 18px; line-height: 25px; width: 243px; text-align: right; margin: 0 0 10px; }
.leaders-profile .bw-profile__desc { font-size: 16px; line-height: 25px; width: 243px; margin: 0 0 0 60px; text-align: left; max-width: none; }
.bw-lcar { position: relative; display: flex; align-items: center; gap: 14px; margin-top: 56px; }
.bw-lcar__view { overflow: hidden; flex: 1 1 auto; }
.bw-lcar__track { display: flex; gap: var(--gap, 20px); transition: transform .3s ease; will-change: transform; }
.bw-lcar { --n: 4; }
.bw-lcar__slide { flex: 0 0 calc((100% - var(--gap, 20px) * (var(--n) - 1)) / var(--n)); margin: 0; text-align: center; }
.bw-lcar__img { aspect-ratio: 1 / 1; overflow: hidden; background: #e7e7e1; }
.bw-lcar__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.bw-lcar figcaption h5 { font-family: var(--bw-serif); font-size: 20px; line-height: 30px; color: var(--bw-purple); margin: 12px 0 0; }
.bw-lcar figcaption p { font-size: 16px; line-height: 25px; margin: 0; color: #000; }
.bw-lcar__nav { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bw-lcar__nav:hover { background: rgba(0,0,0,.55); }
@media (max-width: 991px) { .bw-lcar__slide { flex-basis: calc((100% - 40px) / 3); } .bw-intro-lead { font-size: 22px; line-height: 32px; } }
@media (max-width: 575px) { .bw-lcar__slide { flex-basis: 100%; } .leaders-profile .bw-profile__role, .leaders-profile .bw-profile__desc { width: auto; margin-left: 0; text-align: center; } }

.leaders-carousel .container-xl { max-width: none; padding-left: 30px; padding-right: 30px; }
.leaders-carousel .bw-lcar__slide { flex-basis: calc((100% - 60px) / 4); }

.bw-oval { font-weight: 500; }
.bw-section.sec-schools { padding-top: 180px; }
.sec-schools .bw-title { font-size: 45px; line-height: 52px; max-width: 800px; margin-left: auto; margin-right: auto; }
@media (max-width: 767px) { .bw-section.sec-schools { padding-top: 90px; } .sec-schools .bw-title { font-size: 30px; line-height: 38px; } }

/* ---------- the live site's SVG pill buttons (so-css-oceanwp.css) ---------- */
.greenbuticon, .blackbuticon, .bluebuticon, .blackbut260pxwhite, .blackbut260pxicon { display: inline-block; background-repeat: no-repeat; background-position: 0 0; font-size: 16px; line-height: 25px; font-family: var(--bw-sans); }
.greenbuticon { background-image: url('../images/live/Greenbutton-1.svg'); background-size: 206px; padding: 14px 40px 29px 66px; color: #038148; }
.greenbuticon:hover { background-image: url('../images/live/Bluebutton-1.svg'); color: #6c66a4; }
.blackbuticon { background-image: url('../images/live/Blackbutton-1.svg'); background-size: 205px; padding: 14px 54px 17px 65px; color: #000; }
.blackbuticon:hover { background-image: url('../images/live/Whitebutton-1.svg'); color: #fff; }
.bluebuticon { background-image: url('../images/live/Bluebutton-1.svg'); background-size: 206px; padding: 14px 52px 29px 75px; color: #000; }
.bluebuticon:hover { background-image: url('../images/live/Greenbutton-1.svg'); color: #fff; }
.blackbut260pxwhite, .blackbut260pxicon { background-image: url('../images/live/black260px.svg'); background-size: 261px; padding: 14px 40px 15px 65px; color: #000; }
.blackbut260pxwhite:hover { background-image: url('../images/live/white260px.svg'); color: #fff; }
.blackbut260pxicon:hover { background-image: url('../images/live/green260px.svg'); color: #6AC07A; }

/* ---------- home: school rows like live ---------- */
.sec-schools .container-xl { max-width: 1320px; }
.sec-schools .bw-school-row { padding: 0; margin: 0 0 73px; }
.sec-schools .bw-school-row > [class*="col-"] { width: auto; flex: 0 0 auto; }
@media (min-width: 1025px) {
    .sec-schools .bw-school-row { display: grid; grid-template-columns: 1fr 594px; gap: 0; align-items: center; }
    .sec-schools .bw-school-row.flex-lg-row-reverse { grid-template-columns: 697px 1fr; flex-direction: row; }
    .sec-schools .bw-school-row.flex-lg-row-reverse > :first-child { order: 2; padding-left: 25px; }
    .sec-schools .bw-school-row.flex-lg-row-reverse > :last-child { order: 1; }
    .sec-schools .bw-school-row:not(.flex-lg-row-reverse) > :first-child { padding-left: 110px; }
    .sec-schools .bw-school-row__text { max-width: 450px; }
    .sec-schools .bw-school-row__img img { width: 100%; height: auto; aspect-ratio: 584 / 365; object-fit: cover; }
    .sec-schools .bw-school-row.flex-lg-row-reverse .bw-school-row__img img { aspect-ratio: 687 / 429; }
}
.sec-schools .bw-school-row h3 { font-size: 30px; line-height: 40px; margin: 0 0 12px; }
.sec-schools .bw-school-type { font-style: normal; font-size: 20px; line-height: 25px; margin: 0 0 14px; }
.sec-schools .bw-school-row__text p { font-size: 16px; line-height: 25px; }
.sec-schools .bw-school-row__text .greenbuticon { margin: 20px 0 0 138px; }
.bw-section.sec-schools { padding-bottom: 180px; }
.sec-schools .bw-school-row:last-of-type { margin-bottom: 0; }
@media (min-width: 1025px) {
    .sec-schools .bw-school-row:nth-child(4):not(.flex-lg-row-reverse) { grid-template-columns: 1fr 687px; }
    .sec-schools .bw-school-row:nth-child(4):not(.flex-lg-row-reverse) > :first-child { padding-left: 30px; }
    .sec-schools .bw-school-row:nth-child(4):not(.flex-lg-row-reverse) .bw-school-row__img img { aspect-ratio: 687 / 429; }
}

/* ---------- home: Our Inspiration (live look) ---------- */
#section-3.bw-section { padding: 180px 0; }
#section-3 .bw-eyebrow { color: #000; margin-bottom: 60px; }
#section-3 .bw-split__title { font-style: italic; font-size: 40px; line-height: 40px; color: #fff; margin-bottom: 26px; }
#section-3 .bw-split__body, #section-3 .bw-split__body p { color: #000; font-size: 16px; line-height: 25px; }
#section-3 .bw-split__media img { max-width: 540px; margin: 0 auto; display: block; }
#section-3 .bw-split__text { padding-left: 80px; }
@media (max-width: 991px) { #section-3.bw-section { padding: 80px 0; } #section-3 .bw-split__text { padding-left: 12px; } #section-3 .bw-split__title { font-size: 30px; line-height: 34px; } }

/* ---------- home: vision / mission / pillars (live look) ---------- */
.bw-section:has(> .container-xl > .bw-statement-lead), #section-6 { padding: 90px 0 60px; }
.bw-statement-lead { font-size: 30px; line-height: 40px; color: #000; margin-bottom: 70px; }
.bw-statement { max-width: 820px; margin: 0 auto 70px; }
.bw-statement h3 { font-size: 30px; line-height: 40px; min-width: 300px; padding: 0 0 8px; margin-bottom: 26px; font-weight: 400; }
.bw-statement p { font-size: 27px; line-height: 40px; }
#section-7.bw-section { padding-top: 60px; padding-bottom: 150px; }
#section-7 .bw-intro { font-family: var(--bw-serif); font-style: italic; font-size: 27px; line-height: 40px; max-width: 800px; margin: 24px auto 0; }
#section-7 .bw-card--bottom { padding: 34px 26px 26px; }
#section-7 .bw-card--bottom h3 { font-size: 30px; line-height: 40px; }
#section-7 .bw-card--bottom p { font-size: 14px; }
#section-7 .row { --bs-gutter-x: 20px; --bs-gutter-y: 20px; }
@media (max-width: 767px) { .bw-statement-lead { font-size: 24px; line-height: 32px; } .bw-statement p, #section-7 .bw-intro { font-size: 21px; line-height: 30px; } }
.bw-statement h3 { font-size: 38px; line-height: 48px; }
.bw-statement p, .bw-intro-lead, #section-7 .bw-intro { font-weight: 500; }
.sec-stats .bw-stats { padding: 40px 30px 30px; }
.sec-stats .bw-stat__num { font-weight: 500; font-size: 64px; line-height: 70px; }
.sec-stats .bw-stat__label { font-size: 16px; }
.sec-stats .row > [class*="col-"] + [class*="col-"] .bw-stat { border-left: 2px solid var(--bw-purple); }
.cards-icon-tile .bw-card--tile h3 { font-size: 24px; }
#section-4.bw-section { padding: 180px 0 90px; }
#section-5.bw-section { padding: 90px 0 180px; }
.bw-statement { margin-bottom: 50px; }

.bw-lcar--logos { margin-top: 0; }
.bw-lcar--logos .bw-lcar__img { aspect-ratio: 3 / 1.4; background: transparent; display: flex; align-items: center; justify-content: center; }
.bw-lcar--logos .bw-lcar__img img { object-fit: contain; object-position: center; max-height: 110px; }
.bw-lcar--logos .bw-lcar__nav { background: rgba(0,0,0,.25); }
@media (max-width: 991px) { .bw-lcar--logos { --n: 3; } }
@media (max-width: 575px) { .bw-lcar--logos { --n: 2; } }
.sec-link_list .bw-intro-italic, .sec-logos .bw-intro-italic { font-size: 27px; line-height: 40px; font-weight: 500; max-width: 800px; margin: 24px auto 0; }
.bw-linklist__row { margin-bottom: 36px; gap: 20px; }
.bw-linklist__row h3 { font-size: 22px; padding-bottom: 14px; }
.bw-linklist__row a { padding: 6px 16px; font-size: 16px; color: var(--bw-green); }
.sec-link_list .bw-title { font-size: 40px; line-height: 50px; font-style: italic; }
.sec-link_list .bw-intro-italic, .sec-logos .bw-intro-italic { font-size: 24px; line-height: 34px; }
.bw-linklist__row { margin-bottom: 52px; }
.bw-linklist__row h3 { font-size: 24px; }
.sec-logos:not(.bg-white) .bw-logos { padding: 60px 0; }
.sec-logos:not(.bg-white) .bw-logos__item img { max-height: 160px; max-width: 320px; }

/* ---------- header offsets like live ---------- */
.bw-hamburger { top: 59px; left: 4.5%; }
.bw-tour-link { top: 80px; right: 4.5%; line-height: 21px; letter-spacing: normal; }
.bw-overlay__contact { display: none; }

/* ---------- footer like live ---------- */
.bw-footer { position: relative; overflow: hidden; }
.bw-footer::before { content: ""; position: absolute; top: 0; right: 0; width: 278px; height: 74px; background: var(--bw-yellow); }
.bw-footer::after { content: ""; position: absolute; top: 74px; right: 0; width: 453px; height: 31px; background: #fff; }
.bw-footer__band { padding: 24px 0 0; height: 105px; box-sizing: border-box; }
.bw-footer__band .container-xl { max-width: none; padding-left: 165px; }
.bw-footer__title { font-size: 40px; line-height: 50px; padding-top: 8px; }
.bw-footer__panel { margin-top: 0; position: relative; z-index: 2; margin-left: 115px; }
.bw-footer__panel > .container-xl { max-width: none; padding: 50px 42px 60px; }
.bw-footer__panel .row { display: grid; grid-template-columns: 217px 242px 244px 187px auto; gap: 0; }
.bw-footer__panel .row > [class*="col-"] { width: auto; max-width: none; flex: none; padding: 0; }
.bw-footer__about { font-size: 16px; line-height: 25px; font-weight: 500; color: #fff; max-width: 170px; margin-top: 20px; }
.bw-footer h4 { font-size: 28px; line-height: 35px; color: var(--bw-green); margin-bottom: 22px; }
.bw-footer li { font-size: 16px; line-height: 27px; padding: 0; font-weight: 500; letter-spacing: .02em; }
.bw-footer a, .bw-footer__note, .bw-footer__contact strong, .bw-footer__contact a { color: var(--bw-green); }
.bw-footer__contact strong { font-weight: 700; }
.bw-footer a:hover { color: #fff; }
.bw-footer__social i { margin-right: 10px; }
.bw-footer__note { opacity: 1; margin-top: 30px; }
.bw-footer__bottom { display: none; }
@media (max-width: 991px) {
    .bw-footer::before, .bw-footer::after { display: none; }
    .bw-footer__band { height: auto; padding: 44px 0 40px; }
    .bw-footer__band .container-xl { padding-left: var(--bw-gutter); }
    .bw-footer__panel { margin: 0; }
    .bw-footer__panel .row { display: flex; flex-wrap: wrap; }
    .bw-footer__panel .row > [class*="col-"] { flex: 0 0 50%; margin-bottom: 24px; }
}
.bw-footer__panel > .container-xl { padding: 50px 42px 20px 54px; }
.bw-footer h4 { font-size: 30px; }
.bw-footer__about { max-width: 205px; }
.bw-footer__panel .row > :nth-child(3) li { max-width: 190px; }
.bw-footer__social li a { display: inline-block; padding-bottom: 2px; }
.bw-footer__social li:not(:last-child) a { border-bottom: 1px solid var(--bw-green); width: 140px; }
.bw-nav { margin-top: 22px; }
.bw-nav > ul > li > a { font-weight: 500; }
.bw-toplink { font-weight: 500; }
.bw-enquire-tab { z-index: 100000; }

/* ---------- Job Listings page (matches the live job board) ---------- */
.bw-pagebar { background: var(--bw-green); height: 170px; position: relative; }
.bw-pagebar__crumbs { position: absolute; right: 72px; top: 124px; font-size: 13px; line-height: 18px; font-weight: 500; color: #fff; }
.bw-pagebar__crumbs a, .bw-pagebar__crumbs span { color: #fff; }
.bw-section.bw-jobboard { padding: 90px 30px; }
.bw-jb { max-width: 1320px; margin: 0 auto; }
.bw-jb__filters { background: #f2f2f2; border: 2px solid #6F66AD; padding: 30px 30px 15px; margin: 30px 0 15px; }
.bw-jb__kw { width: 100%; height: 40px; border: 1px solid #c1c1c1; background: transparent; padding: 6px 12px; font-size: 14px; color: #777; margin-bottom: 15px; }
.bw-jb__row { display: grid; grid-template-columns: repeat(3, 1fr) 1fr; gap: 30px; margin-bottom: 15px; }
.bw-jb__row select { height: 40px; border: 1px solid #c1c1c1; background: #fff; padding: 0 12px; font-size: 16px; color: #777; font-family: var(--bw-sans); }
.bw-jb__row button { height: 40px; border: 1px solid #fff; background: #6F66AD; color: #fff; font-size: 20px; cursor: pointer; }
.bw-jb__job { border: 2px solid #6D66AA; margin: 15px 0; padding: 0 0 15px; }
.bw-jb__head { display: flex; align-items: flex-start; justify-content: space-between; padding: 30px 22px 0 40px; border-bottom: 2px solid #6D66AA; min-height: 98px; }
.bw-jb__head h4 { font-family: var(--bw-sans); font-size: 24px; line-height: 29px; font-weight: 400; margin: 12px 0 0; }
.bw-jb__head h4 a { color: #6F66AD; }
.bw-jb__more { border: 1px solid #6F66AD; padding: 10px 20px; margin-top: -10px; font-size: 16px; line-height: 23px; color: #6F66AD; }
.bw-jb__more:hover { background: #6F66AD; color: #fff; }
.bw-jb__meta { list-style: none; margin: 0; padding: 15px 25px; display: flex; font-size: 16px; line-height: 25px; }
.bw-jb__meta li { flex: 0 0 auto; }
.bw-jb__meta li:nth-child(1) { width: 218px; } .bw-jb__meta li:nth-child(2) { width: 306px; }
.bw-jb__meta i { color: #6F66AD; margin-right: 6px; }
.bw-jb__ex { margin: 0; padding: 0 20px; font-size: 16px; line-height: 25px; }
.bw-jb__none { padding: 30px; text-align: center; }
@media (max-width: 767px) { .bw-jb__row { grid-template-columns: 1fr; gap: 12px; } .bw-jb__head { flex-direction: column; gap: 12px; padding: 20px; } .bw-jb__more { margin-top: 0; } .bw-jb__meta { flex-direction: column; } .bw-jb__meta li { width: auto !important; } .bw-pagebar__crumbs { right: 20px; } }
.bw-section.bw-jobboard { padding-top: 110px; }
.bw-jb__head { padding-top: 40px; min-height: 100px; box-sizing: border-box; }
.bw-jb__head h4 { margin-top: 2px; }
.bw-jb__more { margin-top: -14px; }
.bw-jb__ex { padding-bottom: 8px; }

/* ---------- Facilities page (matches live) ---------- */
.page-facilities .sec-heading.bw-section { padding: 100px 30px 60px; }
.page-facilities .sec-heading .bw-title { font-family: var(--bw-serif); font-size: 30px; line-height: 40px; color: var(--bw-green); max-width: 530px; margin: 0 auto 30px; }
.page-facilities .sec-heading .bw-intro, .page-facilities .sec-heading p { font-size: 20px; line-height: 25px; color: var(--bw-purple); max-width: 900px; margin: 0 auto; }
.page-facilities .sec-split.bw-section { padding: 0 30px 53px; }
.page-facilities .sec-split .container-xl { max-width: 850px; padding: 0; }
.page-facilities .sec-split .bw-split { --bs-gutter-x: 25px; --bs-gutter-y: 0; align-items: center; }
.page-facilities .sec-split .bw-split__text { flex: 0 0 auto; width: 400px; max-width: 100%; }
.page-facilities .sec-split .bw-split__media { flex: 0 0 auto; width: 425px; max-width: 100%; }
.page-facilities .sec-split .bw-split.img-left .bw-split__text, .page-facilities .sec-split.img-left .bw-split__text { margin-left: 25px; }
.page-facilities .sec-split .bw-split__media img { width: 425px; height: 313px; object-fit: cover; }
.page-facilities .sec-split .bw-split__title { font-family: var(--bw-sans); font-size: 28px; line-height: 33px; margin-bottom: 25px; }
.page-facilities .sec-split .bw-split__body, .page-facilities .sec-split .bw-split__body p, .page-facilities .sec-split .bw-list li { font-size: 16px; line-height: 25px; color: var(--bw-purple); }
.page-facilities .sec-split .bw-split__inner { padding: 0; }
@media (max-width: 991px) { .page-facilities .sec-split .bw-split__text, .page-facilities .sec-split .bw-split__media { width: 100%; } .page-facilities .sec-split .bw-split__media img { width: 100%; height: auto; } .page-facilities .sec-split.bw-section { padding-bottom: 40px; } }
.page-facilities .sec-heading .bw-title { font-style: italic; margin-bottom: 40px; }
.page-facilities .sec-heading .bw-intro::before, .page-facilities .sec-heading .bw-intro::after { content: ""; display: block; width: 150px; height: 1px; background: var(--bw-green); margin: 0 auto; }
.page-facilities .sec-heading .bw-intro::before { margin-bottom: 36px; }
.page-facilities .sec-heading .bw-intro::after { margin-top: 36px; }
.page-facilities .sec-split .bw-split__title { border-bottom: 1px solid var(--bw-purple); padding-bottom: 6px; margin-bottom: 20px; }
.page-facilities .sec-split.img-right .bw-split__text { text-align: right; }
.page-facilities .sec-split.img-right .bw-split__text .bw-list { display: inline-block; text-align: left; }

/* ---------- gallery (live look) ---------- */
.bw-gcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; max-width: 1320px; margin: 0 auto; align-items: start; }
.bw-gcol { display: flex; flex-direction: column; gap: 25px; }
.bw-gcard { background: #fff; padding: 10px 10px 18px; }
.bw-gcard__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.bw-gcard h3 { font-family: var(--bw-sans); font-size: 20px; line-height: 28px; font-weight: 400; margin: 20px 10px 0; padding-bottom: 14px; border-bottom: 1px solid var(--bw-purple); }
.bw-gcard h3 a { color: var(--bw-purple); }
.bw-gcard p { font-size: 14px; line-height: 22px; margin: 18px 10px 20px; color: #000; }
.bw-gcard__foot { display: flex; justify-content: space-between; align-items: center; margin: 0 10px; font-size: 12px; }
.bw-gcard__foot a { color: var(--bw-purple); }
.bw-gcard__foot i { margin-right: 4px; }
@media (max-width: 991px) { .bw-gcols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .bw-gcols { grid-template-columns: 1fr; } }
.bw-section.bw-album-page { padding: 0 30px 90px; }
.bw-ap { max-width: 1320px; margin: 0 auto; }
.bw-ap__title { font-family: var(--bw-sans); font-size: 30px; line-height: 40px; font-weight: 400; color: #333; margin: 0 0 14px; padding-top: 22px; }
.bw-ap .bw-masonry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; column-count: unset; }
.bw-ap .bw-masonry__item { display: block; margin: 0; }
.bw-ap .bw-masonry__item img { width: 100%; aspect-ratio: 1.75; object-fit: cover; display: block; }
.bw-ap__back { margin-top: 24px; }
.bw-ap__back a { display: inline-block; background: #6F66AD; color: #fff; padding: 10px 20px; font-size: 14px; }
.bw-ap__back a:hover { background: var(--bw-green-dark); color: #fff; }
@media (max-width: 767px) { .bw-ap .bw-masonry { grid-template-columns: 1fr 1fr; } }
.sec-gallery_albums .container-xl, .albums-live .container-xl { max-width: none; padding-left: 30px; padding-right: 30px; }
.bw-gcard { padding: 10px 10px 22px; }
.bw-gcard__img img { aspect-ratio: 1.38; }
.bw-gcard h3 { font-size: 24px; line-height: 29px; }
.bw-gcard p { font-size: 16px; line-height: 25px; }
.bw-gcard__foot { font-size: 13px; }
.bw-ap__title { font-family: var(--bw-serif); font-size: 34px; color: #222; }

/* ---------- Culture Connect page (live look) ---------- */
#section-38.bw-section { padding: 100px 30px 120px; }
#section-38 .container-xl { max-width: 900px; padding: 0; }
#section-38 .bw-split { flex-direction: column; text-align: center; }
#section-38 .bw-split__text, #section-38 .bw-split__media { width: 100%; flex: 0 0 100%; max-width: 100%; }
#section-38 .bw-eyebrow { color: var(--bw-green); border: 0; margin-bottom: 20px; min-width: 0; padding: 0; }
#section-38 .bw-split__body p { font-size: 20px; line-height: 25px; color: var(--bw-purple); padding-top: 36px; margin-bottom: 36px; position: relative; }
#section-38 .bw-split__body p::before, #section-38 .bw-split__body p::after { content: ""; position: absolute; left: 50%; width: 150px; margin-left: -75px; height: 1px; background: var(--bw-green); }
#section-38 .bw-split__body p::before { top: 0; } #section-38 .bw-split__body p::after { bottom: -18px; }
#section-38 .bw-split__media { margin-top: 50px; }
#section-38 .bw-split__media img { width: 900px; max-width: 100%; height: auto; margin: 0 auto; display: block; }
.cards-pillar .bw-heading { text-align: left !important; margin-left: 0 !important; }
.cards-pillar .bw-title { font-style: italic; font-size: 40px; line-height: 50px; margin-bottom: 40px; }
.bw-card--pillar { background: var(--bw-green); padding: 12px 12px 26px; color: #fff; height: 100%; }
.bw-card--pillar .bw-card__img img { width: 100%; aspect-ratio: 1.5; object-fit: cover; display: block; }
.bw-card--pillar h3 { font-family: var(--bw-sans); font-size: 16px; line-height: 22px; font-weight: 700; color: #fff; margin: 18px 6px 8px; }
.bw-card--pillar p { font-size: 14px; line-height: 20px; margin: 0 6px; color: #fff; }
.bw-section.sec-gallery_albums.bg-green { padding: 70px 0 70px; }
.bw-gtitle { font-style: italic; font-size: 40px; line-height: 50px; color: #fff; text-align: left; }
.bg-green .bw-gcard { text-align: center; padding: 10px 10px 18px; }
.bg-green .bw-gcard h3 { border: 0; text-align: center; font-size: 22px; margin-top: 18px; padding-bottom: 0; }
.bg-green .bw-gcard p { text-align: center; color: var(--bw-purple); font-size: 14px; line-height: 20px; margin-top: 10px; }
.bg-green .bw-gcard__foot { justify-content: flex-end; }
.cards-feature .bw-title { font-style: italic; font-size: 40px; line-height: 50px; }
.bw-lcar--feature { display: block; margin-top: 30px; }
.bw-lcar--feature .bw-lcar__slide { flex: 0 0 100%; }
.bw-feat { display: grid; grid-template-columns: 42% 58%; align-items: center; text-align: right; }
.bw-feat__text { padding: 0 40px 0 0; }
.bw-feat__text h3 { font-size: 40px; line-height: 50px; color: var(--bw-purple); margin-bottom: 40px; }
.bw-feat__text p { font-size: 16px; line-height: 25px; color: #000; }
.bw-feat__text .blackbuticon { margin-top: 20px; }
.bw-feat__img img { width: 100%; aspect-ratio: 1.55; object-fit: cover; display: block; }
.bw-feat__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 12px; }
@media (max-width: 767px) { .bw-feat { grid-template-columns: 1fr; text-align: left; } .bw-feat__text { padding: 0 0 20px; } .bw-feat__text h3 { font-size: 28px; line-height: 34px; margin-bottom: 14px; } }
.cards-pillar .container-xl, .cards-feature .container-xl { max-width: none; padding-left: 30px; padding-right: 30px; }
.cards-pillar .row { --bs-gutter-x: 24px; --bs-gutter-y: 24px; padding: 0 5px; }
.bw-card--pillar h3 { font-size: 18px; line-height: 24px; }
.bw-card--pillar p { font-size: 15px; line-height: 22px; }
.bw-lcar--feature .bw-feat__img img { aspect-ratio: 1.45; }

/* ---------- Life at Basil Woods activity rows (live look) ---------- */
.page-life-at-basilwoods .split-boxed.bw-section { padding: 60px 30px 150px; }
.page-life-at-basilwoods .split-boxed .container-xl { max-width: 1320px; padding: 0; }
.page-life-at-basilwoods .split-boxed .bw-split { position: relative; display: flex; --bs-gutter-x: 0; margin: 0; align-items: flex-start; }
.page-life-at-basilwoods .split-boxed .bw-split__media { flex: 0 0 auto; width: 1030px; max-width: 78%; margin-left: auto; display: block; }
.page-life-at-basilwoods .split-boxed .img-left .bw-split__media, .page-life-at-basilwoods .split-boxed.img-left .bw-split__media { margin-left: 0; margin-right: auto; }
.page-life-at-basilwoods .split-boxed .bw-split__media img { width: 100%; height: auto; max-height: none; aspect-ratio: 1.78; object-fit: cover; }
.page-life-at-basilwoods .split-boxed .bw-split__text { position: absolute; left: 0; bottom: -70px; width: 410px; max-width: 100%; padding: 0; }
.page-life-at-basilwoods .split-boxed.img-left .bw-split__text { left: auto; right: 0; }
.page-life-at-basilwoods .split-boxed .bw-box { background: var(--bw-cream); color: var(--bw-purple); padding: 22px 26px 0 30px; height: auto; display: block; }
.page-life-at-basilwoods .split-boxed .bw-split__icon { position: static; display: block; max-height: 64px; width: auto; margin: 0 0 14px; }
.page-life-at-basilwoods .split-boxed .bw-split__title, .page-life-at-basilwoods .split-boxed .bw-box.box-purple .bw-split__title { font-family: var(--bw-sans); font-size: 28px; line-height: 33px; color: var(--bw-purple); margin-bottom: 18px; }
.page-life-at-basilwoods .split-boxed .bw-split__body, .page-life-at-basilwoods .split-boxed .bw-split__body p { font-size: 16px; line-height: 25px; color: #000; }
.page-life-at-basilwoods .split-boxed .bw-list { margin: 14px 0 0; padding: 0; width: fit-content; max-width: 100%; }
.page-life-at-basilwoods .split-boxed .bw-list li { color: var(--bw-purple); border-bottom: 1px solid var(--bw-purple); padding: 8px 0; list-style: none; font-size: 16px; }
.page-life-at-basilwoods .split-boxed .bw-list li:last-child { border-bottom: 0; }
.page-life-at-basilwoods .split-boxed .bw-list li::before { display: none; }
@media (max-width: 991px) {
    .page-life-at-basilwoods .split-boxed .bw-split { flex-direction: column; }
    .page-life-at-basilwoods .split-boxed .bw-split__media { width: 100%; max-width: 100%; }
    .page-life-at-basilwoods .split-boxed .bw-split__text { position: static; width: 100%; }
    .page-life-at-basilwoods .split-boxed.bw-section { padding-bottom: 60px; }
}
.page-life-at-basilwoods .sec-heading .bw-title { text-align: left; font-style: italic; font-size: 40px; line-height: 50px; padding-left: 30px; }
.page-life-at-basilwoods .sec-heading .bw-heading { text-align: left !important; margin-left: 0 !important; max-width: none; }

/* ---------- legal pages (Privacy, Mandatory Disclosure, Thank you) like live ---------- */
.bw-photohero { position: relative; height: 100vh; min-height: 600px; background: #444; overflow: hidden; }
.bw-photohero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bw-photohero::after { content: ""; position: absolute; inset: 0; background: rgba(60, 60, 70, .35); }
.page-privacy-policy .sec-rich_text.bw-section, .page-mandatory-disclosure .sec-rich_text.bw-section, .page-thank-you .sec-rich_text.bw-section { padding: 90px 30px; }
.page-privacy-policy .bw-prose, .page-mandatory-disclosure .bw-prose, .page-thank-you .bw-prose { max-width: 1320px; margin: 0 auto; color: #fff; }
.page-privacy-policy .bw-prose .bw-title, .page-mandatory-disclosure .bw-prose .bw-title { font-style: italic; font-size: 60px; line-height: 70px; color: #fff; margin: 0 0 40px; text-align: left; }
.page-privacy-policy .bw-prose p, .page-privacy-policy .bw-prose li, .page-mandatory-disclosure .bw-prose p { color: #fff; font-size: 16px; line-height: 25px; }
.page-privacy-policy .bw-prose h3, .page-mandatory-disclosure .bw-prose h3 { font-style: italic; font-size: 30px; line-height: 40px; color: #fff; margin: 30px 0 16px; }
.page-mandatory-disclosure .bw-prose table { width: 100%; border-collapse: collapse; border: 2px solid var(--bw-green); margin-bottom: 30px; background: transparent; }
.page-mandatory-disclosure .bw-prose th { color: #fff; font-weight: 700; text-transform: uppercase; padding: 14px 16px; border: 2px solid var(--bw-green); background: transparent; }
.page-mandatory-disclosure .bw-prose td { color: var(--bw-green); padding: 12px 16px; border: 2px solid var(--bw-green); background: transparent; }
.page-mandatory-disclosure .bw-prose td a { color: var(--bw-green); text-decoration: none; }
.page-privacy-policy .bw-prose a { color: var(--bw-green); }
.page-thank-you .bw-prose { text-align: center; padding: 160px 0 120px; }
.page-thank-you .bw-prose .bw-title { font-size: 30px; line-height: 40px; font-style: normal; font-family: var(--bw-sans); color: #fff; text-align: center; margin-bottom: 20px; }
@media (max-width: 767px) { .page-privacy-policy .bw-prose .bw-title, .page-mandatory-disclosure .bw-prose .bw-title { font-size: 38px; line-height: 46px; } }
.page-privacy-policy .bw-prose.bw-prose-wide, .page-mandatory-disclosure .bw-prose.bw-prose-wide, .page-thank-you .bw-prose.bw-prose-wide { max-width: 1320px !important; }
.page-thank-you .bw-prose .bw-title { font-size: 34px; }
.page-thank-you .bw-prose { padding: 180px 0 130px; }
.page-privacy-policy .bw-prose ul { list-style: none; padding: 0; margin: 0 0 20px; }
.page-privacy-policy .bw-prose li { position: relative; padding-left: 26px; margin-bottom: 4px; }
.page-privacy-policy .bw-prose li::before { content: "\2713"; position: absolute; left: 0; color: var(--bw-green); font-weight: 700; }

/* ===== Home hero: same sizes at every screen width as the live site ===== */
.bw-hero-home, .bw-hero-home .carousel-item, .bw-hero-home__content { min-height: 730px !important; min-height: max(730px, 100vh) !important; min-height: max(730px, 100svh) !important; }
.bw-hero-home__content { padding: 0 30px !important; justify-content: center; }
.bw-hero-home__title { font-size: 60px !important; line-height: 65px !important; max-width: 745px; }
.bw-hero-home__link { margin-top: 49px; }
@media (max-width: 1024px) { .bw-hero-home__link { display: none; } }
@media (max-width: 767px) {
    .bw-hero-home, .bw-hero-home .carousel-item, .bw-hero-home__content { min-height: 609px !important; min-height: max(609px, 75vh) !important; min-height: max(609px, 75svh) !important; }
    .bw-hero-home__content { padding: 34px 25px 0 !important; }
    .bw-hero-home__title { font-size: 35px !important; line-height: 42px !important; max-width: none; }
    .bw-hero-home__link { display: block; margin-top: 54px; }
    .bw-oval { width: 300px; font-size: 18px; line-height: 23px; padding: 0 64px; }
}
@media (min-width: 768px) and (max-width: 1024px) { .bw-hero-home__content { padding-top: 50px !important; } }
@media (max-width: 767px) { .bw-hero-home__content { padding-top: 42px !important; } }

/* ===== Home: exact type sizes from the live site ===== */
@media (min-width: 768px) { .bw-oval { font-size: 16px; font-weight: 400; } }
.sec-schools .bw-school-type { font-size: 20px; line-height: 25px; }
.bw-intro-lead, #section-7 .bw-intro, .bw-intro-lead p { font-size: 30px; line-height: 40px; font-weight: 400; }
.bw-statement p { font-size: 30px; line-height: 40px; font-weight: 400; }
.bw-statement h3 { font-size: 35px; line-height: 40px; letter-spacing: normal; }
.cards-image-bottom .bw-card--bottom h3, #section-7 .bw-card--bottom h3 { font-size: 35px; line-height: 40px; color: #333; }
#section-7 .bw-card--bottom p { font-size: 16px; line-height: 25px; }

/* ===== Home school rows: live geometry (container x60..1380) ===== */
.bw-section.sec-schools .container-xl { max-width: 1380px; padding-left: 30px; padding-right: 30px; }
.sec-schools .bw-school-row__text p.bw-school-type { font-size: 20px; line-height: 25px; }
@media (min-width: 1025px) {
    .sec-schools .bw-school-row { display: grid !important; gap: 0 !important; align-items: center; margin: 0 0 73px; }
    .sec-schools .bw-school-row > [class*="col-"] { width: auto !important; max-width: none !important; padding: 0 !important; }
    .sec-schools .bw-school-row:not(.flex-lg-row-reverse) { grid-template-columns: 621px 584px; }
    .sec-schools .bw-school-row:not(.flex-lg-row-reverse) > :first-child { padding-left: 115px !important; }
    .sec-schools .bw-school-row.flex-lg-row-reverse { grid-template-columns: 697px 1fr; }
    .sec-schools .bw-school-row.flex-lg-row-reverse > :first-child { order: 2; padding-left: 30px !important; }
    .sec-schools .bw-school-row.flex-lg-row-reverse > :last-child { order: 1; padding-left: 10px !important; }
    .sec-schools .bw-school-row:nth-child(4):not(.flex-lg-row-reverse) { grid-template-columns: 1fr 687px; }
    .sec-schools .bw-school-row:nth-child(4):not(.flex-lg-row-reverse) > :first-child { padding-left: 30px !important; }
    .sec-schools .bw-school-row:nth-child(4):not(.flex-lg-row-reverse) > :last-child { padding-right: 10px !important; }
}
.sec-schools .flex-lg-row-reverse .bw-school-row__text { margin-left: 0 !important; }
.sec-schools .bw-school-row:nth-child(n+3) .bw-school-row__text .greenbuticon { margin-left: 181px; }
.sec-schools .bw-school-row:nth-child(3) .bw-school-row__text .greenbuticon, .sec-schools .bw-school-row:nth-child(5) .bw-school-row__text .greenbuticon { margin-left: 181px; }
.bw-oval { font-size: 16px; }
@media (max-width: 767px) { .bw-oval { font-size: 18px; } }

/* ===== Home pass 2: live sizes and positions ===== */
.bw-hero-home__link a.bw-oval { font-size: 16px; font-weight: 400; }
@media (max-width: 767px) { .bw-hero-home__link a.bw-oval { font-size: 18px; } }
#section-3 .bw-split__text { padding-left: 25px; max-width: 520px; }
.bw-intro-lead, #section-7 .bw-intro { max-width: 780px; }
.bw-statement { max-width: 780px; }
@media (min-width: 1025px) {
    .leaders-profile .container-xl { max-width: 950px; padding: 0; }
    .leaders-profile .row { display: grid; grid-template-columns: repeat(3, 303px); gap: 20px; margin: 0; justify-content: center; }
    .leaders-profile .row > * { width: auto; max-width: none; padding: 0; margin: 0; }
}
#section-7 .bw-card--bottom p { padding: 0 36px; }
#section-7 .bw-btn { background: url('../images/live/Blackbutton-1.svg') 0 0 / 205px no-repeat; border: 0; border-radius: 0; padding: 14px 54px 17px 65px; color: #000; font-size: 16px; line-height: 25px; height: auto; display: inline-block; }
#section-7 .bw-btn:hover { background-image: url('../images/live/Whitebutton-1.svg'); color: #fff; }
#section-7 .bw-btn .bw-btn-ico { display: none; }
#section-8 .bw-title { font-size: 45px; line-height: 52px; font-style: italic; }
.cards-icon-tile .bw-card--tile { padding-left: 40px; }
.cards-icon-tile .bw-card--tile h3 { font-size: 30px; line-height: 40px; color: var(--bw-yellow); }
.cards-icon-tile .bw-card--tile p { font-size: 16px; line-height: 25px; color: var(--bw-yellow); opacity: 1; }

/* ===== Home pass 3 ===== */
#section-3 .bw-split__text { padding-left: 0; max-width: none; }
#section-3 .bw-split__inner { padding-left: 25px; max-width: 538px; }
.bw-linklist__row h3 { font-size: 30px; line-height: 40px; }
.bw-linklist__row a { font-size: 22px; line-height: 31px; }
.sec-link_list .bw-title { font-size: 45px; line-height: 52px; font-style: italic; }
.sec-link_list .bw-intro-italic, .sec-logos .bw-intro-italic { font-size: 25px; line-height: 35px; font-weight: 400; max-width: 822px; }
.sec-stats .bw-eyebrow, .sec-logos .bw-eyebrow { color: var(--bw-purple); }
.sec-stats .bw-stat__num { font-size: 69px; line-height: 69px; font-weight: 600; }
.sec-stats .bw-stat__label { font-size: 19px; line-height: 47.5px; color: var(--bw-purple); margin-top: 0; }
.bw-footer h4 { line-height: 40px; }
.bw-footer li { line-height: 25px; font-weight: 400; letter-spacing: normal; }
.bw-footer__about { font-weight: 400; }
.bw-footer__title { font-size: 45px; line-height: 52px; }

/* ===== Home: Advantage block and stats like live ===== */
#section-7 .bw-btn { background: url('../images/live/black260px.svg') 0 0 / 261px no-repeat; padding: 14px 43px 15px 65px; min-width: 261px; }
#section-7 .bw-btn:hover { background-image: url('../images/live/white260px.svg'); }
#section-8.bw-section { padding-top: 60px; padding-bottom: 0; }
#section-8 .container-xl { max-width: 1380px; }
#section-8 .row { --bs-gutter-x: 0; --bs-gutter-y: 22px; }
#section-8 .row > [class*="col-"] { padding: 0; }
.cards-icon-tile .bw-card--tile { position: relative; height: 144px; padding: 0 40px; display: flex; align-items: center; gap: 0; justify-content: flex-start; }
.cards-icon-tile .row > :nth-child(even) .bw-card--tile { padding-left: 99px; }
.cards-icon-tile .bw-card--tile .bw-card__icon { display: none; }
.cards-icon-tile .row > :nth-child(even) .bw-card--tile .bw-card__icon { display: block; position: absolute; left: -22px; top: 50%; transform: translateY(-50%); width: 51px; height: 63px; }
.cards-icon-tile .bw-card--tile p { font-weight: 500; }
#section-9.bw-section { padding-top: 22px; padding-bottom: 90px; }
.sec-stats .bw-stats { background: #fff; padding: 30px 30px 20px; }
.sec-stats .bw-stats .row { display: flex; flex-wrap: nowrap; justify-content: space-between; margin: 20px 0 0; --bs-gutter-x: 0; }
.sec-stats .bw-stats .row > [class*="col-"] { width: auto; flex: 0 1 auto; max-width: none; padding: 0 28px; }
.sec-stats .bw-stats .row > [class*="col-"]:first-child { padding-left: 0; }
.sec-stats .bw-stats .row > [class*="col-"]:last-child { padding-right: 0; }
.sec-stats .row > [class*="col-"] + [class*="col-"] .bw-stat { border-left: 2px solid var(--bw-purple); padding-left: 28px; margin-left: -28px; }
.sec-stats .bw-stat { white-space: nowrap; }
@media (max-width: 991px) { .sec-stats .bw-stats .row { flex-wrap: wrap; } }
.bw-eyebrow { padding-left: 0; padding-right: 0; }

/* ===== Home schools: exact vertical rhythm ===== */
.sec-schools .text-center.mb-5 { margin-bottom: 33px !important; }
@media (min-width: 1025px) {
    .sec-schools .bw-school-row { margin-bottom: 45px !important; }
    .sec-schools .bw-school-row:last-of-type { margin-bottom: 0 !important; }
    .sec-schools .bw-school-row:nth-child(4):not(.flex-lg-row-reverse) { grid-template-columns: 1fr 697px !important; }
}
.bw-section.sec-schools { padding-bottom: 195px; }


/* ===== Home pass 4: exact image sizes and carousels ===== */
#section-3 .bw-split__media img { width: 516px; height: 562px; max-width: none; margin: 0 0 0 27px; display: block; }
.leaders-profile .bw-profile__img img { width: 303px; height: 294px; max-height: none; object-fit: contain; object-position: bottom; }
.leaders-carousel .bw-lcar { display: block; position: relative; }
.leaders-carousel .bw-lcar__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.leaders-carousel .bw-lcar__nav.is-prev { left: 12px; } .leaders-carousel .bw-lcar__nav.is-next { right: 12px; }
.leaders-carousel .bw-lcar__img { aspect-ratio: 315 / 305; }
@media (min-width: 1025px) {
    #section-7 .row { display: grid; grid-template-columns: repeat(6, 70px); gap: 20px 0; justify-content: center; margin: 0 0 0 -5px; }
    #section-7 .row > * { grid-column: span 2; width: auto; max-width: none; padding: 0 10px; }
    #section-7 .row > :nth-child(4) { grid-column: 2 / span 2; } #section-7 .row > :nth-child(5) { grid-column: 4 / span 2; }
}
#section-7 .bw-card__img img { width: 360px; height: 212px; max-width: 100%; margin: 0 auto; object-fit: cover; display: block; }
.cards-icon-tile .row { --bs-gutter-y: 20px !important; }
.cards-icon-tile .row > :nth-child(even) .bw-card--tile .bw-card__icon { width: 62px; height: 76px; left: -31px; }
.bw-footer__logo img { width: 160px; height: auto; }
.bw-footer__panel > .container-xl { padding-left: 30px; }
.bw-popup__box { max-width: 700px; }
.bw-lcar--logos.is-awards { --n: 4; --gap: 45px; margin: 0 auto; }
.bw-lcar--logos.is-awards .bw-lcar__img { aspect-ratio: 294 / 154; }
.bw-lcar--logos.is-partners { --n: 5; --gap: 90px; }
.bw-lcar--logos.is-partners .bw-lcar__img { aspect-ratio: auto; height: 70px; }
.bw-lcar--logos.is-partners .bw-lcar__img img { width: 190px; height: auto; max-height: 70px; }
@media (max-width: 991px) { .bw-lcar--logos.is-awards { --n: 2; --gap: 30px; } .bw-lcar--logos.is-partners { --n: 3; --gap: 40px; } }
@media (max-width: 575px) { .bw-lcar--logos.is-awards { --n: 1; } .bw-lcar--logos.is-partners { --n: 2; --gap: 20px; } }

/* ===== Home pass 5 ===== */
.leaders-carousel .container-xl, .bw-logos .container-xl { max-width: 1380px !important; padding-left: 30px !important; padding-right: 30px !important; }
@media (min-width: 1025px) {
    #section-7 .row { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 20px; width: 1300px; margin: 0 0 0 5px; --bs-gutter-x: 0; }
    #section-7 .row > * { grid-column: auto !important; flex: 0 0 420px; width: 420px; max-width: 420px; padding: 0; }
}
#section-3 .bw-split__media img { margin-left: 75px; }
.cards-icon-tile .row > :nth-child(even) .bw-card--tile .bw-card__icon { left: -21px; }
.bw-footer__panel > .container-xl { padding-left: 30px !important; }
.bw-lcar--logos { display: block; position: relative; }
.bw-lcar--logos .bw-lcar__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.bw-lcar--logos .bw-lcar__nav.is-prev { left: 0; } .bw-lcar--logos .bw-lcar__nav.is-next { right: 0; }
.bw-footer__logo { margin-left: 12px; display: inline-block; }

/* ===== Home pass 6: vertical rhythm ===== */
@media (min-width: 1025px) { .sec-schools .bw-school-row__text { transform: translateY(14px); } }
#section-3.bw-section { padding-bottom: 205px; }
#section-4.bw-section { padding-top: 185px; }
#section-4 .bw-heading.mb-5 { margin-bottom: 72px !important; }
.leaders-profile .bw-profile__img img { margin-bottom: 0; }
#section-4 .bw-intro-lead, #section-5 .bw-intro-lead { margin-top: 17px; }
#section-4.bw-section { padding-bottom: 34px; }
.leaders-carousel .bw-lcar { margin-top: 83px; }
#section-4 .bw-intro-lead, #section-5 .bw-intro-lead { margin-top: 17px !important; }
#section-5.bw-section { padding-bottom: 198px; }
.bw-statement { margin-bottom: 71px; }
#section-7 .bw-card--bottom h3 { margin-bottom: 20px; }
#section-6.bw-section { padding-bottom: 50px; }
#section-7 .bw-card--bottom { padding: 30px 30px 30px; }
#section-7 .bw-card--bottom h3 { margin-bottom: 26px; }
#section-7 .bw-card--bottom p { padding: 0; margin-bottom: 18px; }
@media (min-width: 1025px) { #section-7 .row { gap: 24px 20px !important; } }
#section-6.bw-section { padding-bottom: 24px; }
#section-7 .bw-card--bottom { height: auto; }
#section-7 .row { align-items: flex-start; }
#section-7 .text-center.mt-5 { margin-top: 12px !important; }
#section-7.bw-section { padding-bottom: 123px; }
#section-7 .bw-intro { margin-top: 17px !important; }
#section-7 .row { --bs-gutter-y: 0 !important; }
#section-7 .bw-eyebrow { margin-bottom: 19px; }

/* ===== Home pass 7 ===== */
#section-7 .bw-heading.mb-5 { margin-bottom: 78px !important; }
#section-7 .bw-card--bottom h3 { margin-bottom: 20px; }
#section-7 .row { margin-bottom: -16px; }
#section-7.bw-section { padding-bottom: 113px; }
#section-8 .bw-heading.mb-5 { margin-bottom: 36px !important; }
.cards-icon-tile .bw-card--tile h3 { margin-bottom: 4px; }

/* ===== Home pass 8 ===== */
#section-7 .row { margin-bottom: -4px; }
#section-7.bw-section { padding-bottom: 120px; }
.sec-stats .bw-stat__label { margin-top: -21px; }
#section-9.bw-section { padding-bottom: 148px; }
.bw-linklist__row { margin-bottom: 39px; }
.bw-linklist__row a { padding: 15px 16px 3px; }

/* ===== Home pass 9 ===== */
.sec-link_list .bw-heading.mb-5 { margin-bottom: 78px !important; }
.bw-linklist__row { margin-bottom: 52px; }
.bw-linklist__row:first-child { margin-bottom: 39px; }
#section-9.bw-section { padding-top: 12px; padding-bottom: 181px; }
.sec-stats .bw-stat__label { margin-top: 0; }
.sec-stats .bw-stats .row { margin-top: -3px; }

/* ===== Home pass 10 ===== */
.sec-stats .bw-stat__label { margin-top: -30px; }
#section-9.bw-section { padding-bottom: 169px; }
#section-10.bw-section { padding-bottom: 39px; }
.sec-link_list .bw-title { margin-bottom: 8px; }

/* ===== Home pass 11: awards and partners ===== */
.bw-lcar--logos.is-awards { width: 1311px; margin: 0 0 0 4px; }
.bw-lcar--logos.is-awards .bw-lcar__img { aspect-ratio: auto; height: 154px; display: flex; align-items: center; justify-content: center; }
.bw-lcar--logos.is-awards .bw-lcar__img img { width: 294px; height: 154px; max-height: none; object-fit: contain; }
.bw-lcar--logos.is-partners { width: 1310px; margin: 0 0 0 4px; }
.sec-logos:not(.bg-white) .bw-logos { padding: 79px 0 80px; }
#section-13.bw-section { padding-top: 143px; }

/* ===== Home pass 12 ===== */
.sec-stats .bw-stat__label { margin-top: 0; }
.sec-stats .bw-stats .row { margin-top: -33px; }
.sec-logos:not(.bg-white) .bw-logos { padding: 91px 0 68px; }
#section-13.bw-section { padding-top: 158px; }
#section-13 .bw-logos { padding-top: 28px; }
.sec-stats .bw-stat__label { margin-top: -30px; }
#section-13.bw-section { padding-top: 173px; }
#section-13 .bw-logos { padding-top: 107px; padding-bottom: 20px; }
#section-13.bw-section.bw-section { padding-top: 173px !important; }
#section-13.bw-section.bw-section { padding-top: 105px !important; }
#section-13 .bw-logos { padding-bottom: 88px; }
.bw-footer__panel > .container-xl { padding-top: 44px !important; }
.bw-footer__about { margin-top: 4px; }
.bw-footer__contact li { padding: 3.5px 0; }
.bw-footer__panel > .container-xl { padding-bottom: 43px !important; }
#section-3 .bw-split__title { font-size: 35px; line-height: 40px; }

/* =====================================================================
   HOME PAGE - MOBILE (<= 767px): same layout as the live site
   ===================================================================== */
@media (max-width: 767px) {
    .container-xl { padding-left: 20px; padding-right: 20px; }
    .bw-eyebrow { font-size: 30px; line-height: 40px; min-width: 300px; padding: 0 0 8px; margin-bottom: 26px; }
    .bw-section { padding: 120px 0 120px; }

    /* schools */
    .bw-section.sec-schools { padding-top: 120px; padding-bottom: 120px; }
    .sec-schools .container-xl { padding-left: 30px; padding-right: 30px; }
    .sec-schools .bw-title { font-size: 45px; line-height: 52px; }
    .sec-schools .text-center.mb-5 { margin-bottom: 40px !important; }
    .sec-schools .bw-school-row { display: flex !important; flex-direction: column; text-align: center; margin: 0 0 50px !important; padding: 0 !important; }
    .sec-schools .bw-school-row > :last-child { order: -1; padding: 0 !important; }
    .sec-schools .bw-school-row > :first-child { padding: 0 !important; order: 2; }
    .sec-schools .bw-school-row > [class*="col-"] { width: 100% !important; max-width: none !important; flex: 0 0 auto !important; }
    .sec-schools .bw-school-row__img img { width: 330px; height: 206px; max-width: 100%; object-fit: cover; margin: 0 auto; display: block; aspect-ratio: auto; }
    .sec-schools .bw-school-row__text { transform: none !important; max-width: none; margin: 0 !important; padding-top: 10px !important; }
    .sec-schools .bw-school-row h3 { font-size: 30px; line-height: 40px; margin: 0 0 12px; }
    .sec-schools .bw-school-row__text p.bw-school-type { font-size: 20px; line-height: 25px; margin: 0 0 16px; }
    .sec-schools .bw-school-row__text .greenbuticon { display: table; margin: 18px auto 0 !important; }

    /* inspiration */
    #section-3.bw-section { padding: 125px 0 120px; }
    #section-3 .bw-eyebrow { margin-bottom: 40px; }
    #section-3 .bw-split { flex-direction: column; text-align: center; }
    #section-3 .bw-split__media img { width: 330px; height: 360px; margin: 0 auto; max-width: 100%; }
    #section-3 .bw-split__text { max-width: none; width: 100%; padding: 0; }
    #section-3 .bw-split__inner { padding: 30px 20px 0; max-width: none; }
    #section-3 .bw-split__title { font-size: 35px; line-height: 40px; }

    /* leaders (portraits) */
    #section-4.bw-section { padding: 120px 0 60px; }
    .bw-intro-lead { font-size: 30px; line-height: 40px; }
    .leaders-profile .container-xl { max-width: none; padding: 0; }
    .leaders-profile .bw-heading { padding: 0 30px; }
    .leaders-profile .row { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; margin: 0; padding: 0 19px; justify-content: flex-start; grid-template-columns: none; }
    .leaders-profile .row > * { flex: 0 0 350px; width: 350px; max-width: 350px; scroll-snap-align: start; }
    .leaders-profile .bw-profile__img img { width: 350px; height: 339px; }
    .leaders-profile .bw-profile__role { width: 281px; margin-left: 0; text-align: right; }
    .leaders-profile .bw-profile__desc { width: 259px; margin-left: 71px; text-align: left; }
    .leaders-profile .bw-profile { text-align: center; }
    .leaders-profile .bw-profile h3 { padding: 0 20px; }

    /* leaders (team carousel) */
    #section-5.bw-section { padding: 60px 0 120px; }
    .leaders-carousel .container-xl { padding-left: 20px !important; padding-right: 20px !important; }
    .leaders-carousel .bw-lcar { --n: 1; margin-top: 50px; }
    .leaders-carousel .bw-lcar__img { aspect-ratio: 350 / 339; }
    .leaders-carousel .bw-lcar__slide { flex-basis: 100%; }

    /* vision / mission */
    #section-6.bw-section { padding: 120px 0 60px; }
    .bw-statement-lead { font-size: 30px; line-height: 40px; margin-bottom: 40px; }
    .bw-statement { margin-bottom: 50px; }
    .bw-statement p { font-size: 30px; line-height: 40px; }

    /* nurture / pillars */
    #section-7.bw-section { padding: 90px 0 90px; }
    #section-7 .bw-intro { font-size: 30px; line-height: 40px; }
    #section-7 .row { display: block !important; width: 100%; margin: 0; }
    #section-7 .row > * { flex: none; width: 100%; max-width: none; margin-bottom: 20px; padding: 0; }
    #section-7 .bw-card--bottom { padding: 30px 20px 20px; }
    #section-7 .bw-card--bottom h3 { font-size: 35px; line-height: 40px; }
    #section-7 .bw-card__img img { width: 310px; height: 182px; }

    /* advantage tiles */
    #section-8.bw-section { padding: 60px 0 0; }
    #section-8 .bw-title { font-size: 45px; line-height: 52px; }
    .cards-icon-tile .row > * { width: 100%; }
    .cards-icon-tile .bw-card--tile { height: auto; display: block; text-align: center; padding: 40px 30px 40px !important; position: relative; }
    .cards-icon-tile .row { --bs-gutter-y: 0 !important; }
    .cards-icon-tile .row > :nth-child(odd) .bw-card--tile { padding-bottom: 86px !important; margin-top: 20px; }
    .cards-icon-tile .row > :nth-child(even) .bw-card--tile { padding-top: 62px !important; }
    .cards-icon-tile .row > :nth-child(even) .bw-card--tile .bw-card__icon { left: 50%; top: 0; transform: translate(-50%, -43px); width: 70px; height: 86px; }

    /* stats */
    #section-9.bw-section { padding: 22px 0 120px; }
    .sec-stats .bw-stats { padding: 40px 20px 20px; }
    .sec-stats .bw-stats .row { display: block; margin: 0; }
    .sec-stats .bw-stats .row > [class*="col-"] { width: 100%; padding: 0 !important; margin-bottom: 20px; }
    .sec-stats .row > [class*="col-"] + [class*="col-"] .bw-stat { border-left: 0; padding-left: 0; margin-left: 0; }
    .sec-stats .bw-stat__num { font-size: 28px; line-height: 28px; font-weight: 600; text-align: center; }
    .sec-stats .bw-stat__label { font-size: 22px; line-height: 28px; margin-top: 9px; text-align: center; }

    /* group */
    #section-10.bw-section { padding: 120px 0 80px; }
    .sec-link_list .bw-title { font-size: 38px; line-height: 52px; }
    .sec-link_list .bw-intro-italic { font-size: 25px; line-height: 34px; }
    .bw-linklist__row { display: block; text-align: center; margin-bottom: 30px; }
    .bw-linklist__row h3 { font-size: 20px; line-height: 40px; border: 0; padding: 0; text-align: center; }
    .bw-linklist__row a { display: block; font-size: 18px; line-height: 22px; padding: 10px 12px; }

    /* awards + partners */
    .sec-logos .bw-title { font-size: 30px; }
    .sec-logos .bw-intro-italic { font-size: 25px; line-height: 34px; }
    .bw-lcar--logos.is-awards, .bw-lcar--logos.is-partners { --n: 1; --gap: 45px; width: 340px; margin: 0 auto; }
    .bw-lcar--logos.is-awards .bw-lcar__img { height: 179px; }
    .bw-lcar--logos.is-awards .bw-lcar__img img { width: 340px; height: 179px; }
    .bw-lcar--logos.is-partners .bw-lcar__img img { width: 340px; max-height: 125px; height: auto; }
    .bw-lcar--logos.is-partners .bw-lcar__img { height: 125px; }
    .bw-logos .container-xl { padding-left: 24px !important; padding-right: 24px !important; }

    /* footer */
    .bw-footer__band .container-xl { padding-left: 20px !important; text-align: center; }
    .bw-footer__title { font-size: 20px; line-height: 52px; }
    .bw-footer__panel { margin-left: 0; }
    .bw-footer__panel > .container-xl { padding: 40px 20px 40px !important; text-align: center; }
    .bw-footer__logo { margin-left: 0; display: block; }
    .bw-footer__logo img { margin: 0 auto 20px; display: block; }
    .bw-footer__about { max-width: none; margin: 0 auto 30px; }
    .bw-footer h4 { font-size: 20px; line-height: 22px; display: inline-block; margin-bottom: 18px; }
    .bw-footer__panel .row { display: block; }
    .bw-footer__panel .row > [class*="col-"] { width: 100%; max-width: none; flex: none; margin-bottom: 26px; }
    .bw-footer__social { display: inline-block; text-align: left; }
}
@media (max-width: 767px) {
    .sec-schools .text-center.mb-5 { margin-bottom: -4px !important; }
    .sec-schools .bw-school-row { margin: 0 0 0 !important; }
}
@media (max-width: 767px) {
    .sec-schools .text-center.mb-5 { margin-bottom: -22px !important; }
    .sec-schools .bw-school-row__text .greenbuticon { margin-bottom: -23px !important; }
    .sec-schools .bw-school-row__text .greenbuticon { margin-top: 18px !important; }
}
@media (max-width: 767px) {
    #section-3.bw-section { padding-top: 145px; }
    #section-3 .bw-split__media { order: -1; margin: 0 !important; }
}
@media (max-width: 767px) {
    #section-3.bw-section { padding-bottom: 158px; }
    #section-4 .bw-heading.mb-5 { margin-bottom: 25px !important; }
    .leaders-profile .bw-profile h3 { padding: 0; }
}
@media (max-width: 767px) {
    #section-4.bw-section { padding-bottom: 13px; }
    .leaders-carousel .bw-lcar { margin-top: 70px; }
    #section-5.bw-section { padding-bottom: 75px; }
    .bw-statement { margin-bottom: 29px; }
}
@media (max-width: 767px) {
    #section-6.bw-section { padding-bottom: 0; }
    .bw-statement:last-child { margin-bottom: 0; }
    #section-7 .bw-heading.mb-5 { margin-bottom: 66px !important; }
    #section-7 .row > * { margin-bottom: 0; }
    #section-7 .bw-card--bottom { padding-bottom: 17px; }
    #section-7 .row { margin-bottom: 0; }
}
@media (max-width: 767px) {
    #section-7.bw-section { padding-bottom: 0; }
    .cards-icon-tile .row > :nth-child(odd) .bw-card--tile { padding-top: 55px !important; padding-bottom: 63px !important; margin-top: 0; }
}
@media (max-width: 767px) {
    .cards-icon-tile .row > :nth-child(odd) .bw-card--tile { padding-top: 68px !important; }
    .cards-icon-tile .row > :nth-child(even) .bw-card--tile { padding-bottom: 45px !important; }
    .sec-stats .bw-stats .row > [class*="col-"] { margin-bottom: 27px; }
    .bw-linklist__row { margin-bottom: 14px; }
}
@media (max-width: 767px) {
    .cards-icon-tile .row > :nth-child(odd) .bw-card--tile { padding-top: 62px !important; }
    .sec-stats .bw-stats .row > [class*="col-"] { margin-bottom: 31px; }
    #section-9.bw-section { padding-bottom: 0; }
    #section-10.bw-section { padding-top: 88px; }
    .bw-linklist__row a { padding: 2px 12px; }
}
@media (max-width: 767px) {
    .bw-linklist__row { margin-bottom: 42px; }
    .bw-linklist__row:first-child { margin-bottom: 39px; }
    .sec-stats .bw-eyebrow { margin-bottom: -3px; }
}
@media (max-width: 767px) {
    #section-10.bw-section { padding-bottom: 0; }
    #section-11.bw-section { padding-top: 97px; }
    .bw-lcar--logos.is-awards, .bw-lcar--logos.is-partners { margin: 0; }
    .sec-logos:not(.bg-white) .bw-logos { padding: 32px 0 60px; }
    #section-13.bw-section.bw-section { padding-top: 90px !important; }
    #section-13 .bw-logos { padding-top: 55px; padding-bottom: 80px; }
}
@media (max-width: 767px) {
    #section-11.bw-section { padding-top: 7px; }
    #section-13.bw-section.bw-section { padding-top: 0 !important; margin-top: -8px; }
    #section-13 .bw-logos { padding-bottom: 0; }
    .sec-logos:not(.bg-white) .bw-logos { padding-bottom: 0; }
    .bw-footer__band { padding: 0 !important; height: auto !important; }
}
@media (max-width: 767px) {
    .bw-footer__title { position: relative; top: -38px; }
    .bw-footer__note { margin-top: 0 !important; }
    .bw-footer__panel .row > [class*="col-"] { margin-bottom: 0; }
    .bw-footer__panel .row > [class*="col-"] h4 { margin-top: 24px; }
    .bw-footer__panel .row > [class*="col-"]:first-child h4 { margin-top: 0; }
}
@media (max-width: 767px) { .bw-footer__about { margin-bottom: 8px !important; } .bw-footer__panel .row > [class*="col-"] h4 { margin-top: 12px; } }
@media (max-width: 767px) { .bw-intro-lead, #section-7 .bw-intro { max-width: 311px; } }

/* =====================================================================
   HOME PAGE - TABLET (768px to 1024px): same layout as the live site
   ===================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    .bw-section { padding: 125px 0; }
    .bw-eyebrow { font-size: 30px; line-height: 40px; min-width: 300px; padding: 0 0 8px; }

    /* schools: two columns, image and text side by side */
    .bw-section.sec-schools { padding: 125px 0 125px; }
    .sec-schools .bw-title { font-size: 45px; line-height: 52px; }
    .sec-schools .text-center.mb-5 { margin-bottom: 24px !important; }
    .sec-schools .bw-school-row { display: grid !important; grid-template-columns: 1fr 339px; gap: 0 30px !important; align-items: center; margin: 0 0 46px !important; padding: 0 !important; }
    .sec-schools .bw-school-row.flex-lg-row-reverse { grid-template-columns: 339px 1fr; }
    .sec-schools .bw-school-row > [class*="col-"] { width: auto !important; max-width: none !important; padding: 0 !important; }
    .sec-schools .bw-school-row.flex-lg-row-reverse > :first-child { order: 2; padding: 0 !important; }
    .sec-schools .bw-school-row.flex-lg-row-reverse > :last-child { order: 1; }
    .sec-schools .bw-school-row__img img { width: 339px; height: 212px; object-fit: cover; display: block; aspect-ratio: auto; }
    .sec-schools .bw-school-row__text { transform: none; margin: 0 !important; max-width: none; text-align: left; }
    .sec-schools .bw-school-row h3 { font-size: 30px; line-height: 40px; margin: 0 0 12px; }
    .sec-schools .bw-school-row__text p.bw-school-type { font-size: 20px; line-height: 25px; margin: 0 0 14px; }
    .sec-schools .bw-school-row__text .greenbuticon { margin: 18px 0 0 125px !important; }

    /* inspiration */
    #section-3.bw-section { padding: 125px 0 125px; }
    #section-3 .bw-split { display: flex; flex-direction: row; align-items: flex-start; }
    #section-3 .bw-split__media { order: 0; flex: 0 0 339px; width: 339px; }
    #section-3 .bw-split__media img { width: 339px; height: 369px; margin: 0; }
    #section-3 .bw-split__text { flex: 1 1 auto; width: auto; max-width: none; padding: 0; }
    #section-3 .bw-split__inner { padding: 0 0 0 30px; max-width: none; }
    #section-3 .bw-split__title { font-size: 35px; line-height: 40px; }

    /* leaders (portraits) */
    #section-4.bw-section { padding: 125px 0 30px; }
    .bw-intro-lead { font-size: 30px; line-height: 40px; max-width: 680px; }
    .leaders-profile .container-xl { max-width: none; padding: 0 20px; }
    .leaders-profile .row { display: grid; grid-template-columns: repeat(3, 229px); gap: 0 20px; justify-content: center; margin: 0; }
    .leaders-profile .row > * { width: auto; max-width: none; padding: 0; }
    .leaders-profile .bw-profile__img img { width: 229px; height: 222px; }
    .leaders-profile .bw-profile__role { width: 190px; margin-left: 0; text-align: right; }
    .leaders-profile .bw-profile__desc { width: 180px; margin-left: 30px; text-align: left; }
    .leaders-profile .bw-profile h3 { padding: 0; }

    /* team carousel: three slides visible */
    #section-5.bw-section { padding: 30px 0 125px; }
    .leaders-carousel .container-xl { padding-left: 19px !important; padding-right: 19px !important; max-width: none !important; }
    .leaders-carousel .bw-lcar { --n: 3; margin-top: 50px; }
    .leaders-carousel .bw-lcar__img { aspect-ratio: auto; height: 144px; }
    .leaders-carousel .bw-lcar__img img { width: 149px; height: 144px; margin: 0 auto 0 0; }
    .leaders-carousel .bw-lcar__slide { flex-basis: 229px; text-align: left; }
    .leaders-carousel .bw-lcar figcaption { text-align: center; }

    /* vision / mission */
    #section-6.bw-section { padding: 125px 0 60px; }
    .bw-statement-lead { font-size: 30px; line-height: 40px; }
    .bw-statement p { font-size: 30px; line-height: 40px; }
    .bw-statement { max-width: 663px; }

    /* pillars: three across */
    #section-7.bw-section { padding: 125px 0 100px; }
    #section-7 .row { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 24px 20px !important; width: 100%; margin: 0; }
    #section-7 .row > * { flex: 0 0 229px; width: 229px; max-width: 229px; padding: 0; margin: 0; }
    #section-7 .bw-card--bottom { padding: 20px 14px 17px; }
    #section-7 .bw-card--bottom h3 { font-size: 35px; line-height: 40px; }
    #section-7 .bw-card__img img { width: 203px; height: 119px; }

    /* advantage tiles: two columns, icon in the middle */
    #section-8.bw-section { padding: 60px 0 0; }
    #section-8 .container-xl { max-width: 768px; padding: 0 30px; }
    .cards-icon-tile .row > * { width: 50%; }
    .cards-icon-tile .bw-card--tile { height: 144px; }
    .cards-icon-tile .row > :nth-child(even) .bw-card--tile { padding-left: 99px; }
    .cards-icon-tile .row > :nth-child(even) .bw-card--tile .bw-card__icon { width: 58px; height: 71px; left: -29px; }
    .cards-icon-tile .bw-card--tile h3 { font-size: 30px; line-height: 40px; }

    /* stats */
    #section-9.bw-section { padding: 22px 0 125px; }
    .sec-stats .bw-stats .row { display: flex; flex-wrap: nowrap; justify-content: space-between; }
    .sec-stats .bw-stats .row > [class*="col-"] { padding: 0 12px; }
    .sec-stats .bw-stat__num { font-size: 28px; line-height: 28px; }
    .sec-stats .bw-stat__label { font-size: 16px; line-height: 20px; }

    /* group */
    #section-10.bw-section { padding: 125px 0 60px; }
    .sec-link_list .bw-title { font-size: 38px; line-height: 52px; }
    .bw-linklist { max-width: 658px; }
    .bw-linklist__row { display: flex; }
    .bw-linklist__row h3 { font-size: 20px; line-height: 40px; }
    .bw-linklist__row a { font-size: 18px; line-height: 22px; flex-basis: 45%; }

    /* awards + partners */
    .bw-lcar--logos.is-awards { --n: 4; --gap: 30px; width: 720px; margin: 0 0 0 24px; }
    .bw-lcar--logos.is-awards .bw-lcar__img { height: 71px; }
    .bw-lcar--logos.is-awards .bw-lcar__img img { width: 136px; height: 71px; }
    .bw-lcar--logos.is-partners { --n: 4; --gap: 153px; width: 720px; margin: 0 0 0 24px; }
    .bw-lcar--logos.is-partners .bw-lcar__img img { width: 117px; }

    /* footer */
    .bw-footer::before, .bw-footer::after { display: none; }
    .bw-footer__band { height: auto; padding: 40px 0; }
    .bw-footer__band .container-xl { padding-left: 66px !important; }
    .bw-footer__title { font-size: 27px; line-height: 52px; }
    .bw-footer__panel { margin-left: 0; }
    .bw-footer__panel > .container-xl { padding: 40px 45px 40px !important; }
    .bw-footer__panel .row { display: grid; grid-template-columns: repeat(4, 1fr); }
    .bw-footer h4 { font-size: 20px; line-height: 22px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .sec-schools .bw-school-row { margin: 0 !important; }
    .sec-schools .bw-school-row__text .greenbuticon { margin-bottom: -9px !important; }
    #section-7 .row > * { flex: 0 0 222px; width: 222px; max-width: 222px; }
    #section-7 .bw-card--bottom { padding: 20px 9px 17px; }
    #section-7 .bw-card--bottom p { padding: 0 6px; }
}

/* ===== Awards and Partners: same bands as live (purple lines, no arrows, no underline) ===== */
.sec-logos .bw-logos { box-shadow: inset 0 6px 0 #6D66AA, inset 0 -6px 0 #6D66AA; }
.bw-lcar--logos .bw-lcar__nav { display: none !important; }
.sec-logos .bw-eyebrow { border-bottom: 0 !important; }

/* ===== Footer: exact match to live (desktop) ===== */
@media (min-width: 1025px) {
    .bw-footer__panel .row { grid-template-columns: 241px 242px 244px 187px auto; }
    .bw-footer__about { margin-left: 12px; }
    .bw-footer h4 { font-weight: 500; text-decoration-thickness: 2px; text-underline-offset: 5px; }
    .bw-footer li { line-height: 27px; }
    .bw-footer__social li { line-height: 31px; padding: 0; }
    .bw-footer__social li:not(:last-child) a { width: 104px; padding-bottom: 0; }
    .bw-footer__social li a { display: inline-block; }
    .bw-footer__band::after { content: ""; position: absolute; top: 0; left: 987px; width: 175px; height: 74px; background: var(--bw-green); border: 1px solid rgba(255,255,255,.22); box-sizing: border-box; }
    .bw-footer__band { position: relative; }
}
.bw-footer__social li a { white-space: nowrap; }
.bw-footer__social i { margin-right: 10px; }

/* ===== Footer: exact match to live (mobile) ===== */
@media (max-width: 767px) {
    .bw-footer__band { height: 95px !important; display: flex; align-items: center; justify-content: center; padding: 0 !important; }
    .bw-footer__band .container-xl { padding: 0 20px !important; }
    .bw-footer__title { position: static !important; top: 0 !important; font-size: 20px; line-height: 52px; margin: 0; text-align: center; padding: 0; }
    .bw-footer__panel > .container-xl { padding: 40px 20px 50px !important; }
    .bw-footer__panel ul { padding: 0; margin: 0 auto; text-align: center; }
    .bw-footer__panel li { text-align: center; }
    .bw-footer__note { white-space: nowrap; text-align: center; }
    .bw-footer h4 { display: table; margin: 0 auto 18px !important; }
    .bw-footer__panel .row > [class*="col-"] h4.mt-4 { margin-top: 30px !important; }
    .bw-footer__social { display: table !important; margin: 0 auto !important; text-align: left !important; }
    .bw-footer__panel .row > [class*="col-"] { margin-bottom: 20px; }
}
@media (max-width: 767px) {
    #section-13.bw-section.bw-section { padding-bottom: 0 !important; }
    .bw-footer__panel .row { display: flex !important; flex-direction: column; align-items: stretch; }
    .bw-footer__panel .row > [class*="col-"] { width: 100% !important; max-width: none !important; flex: 0 0 auto !important; text-align: center; }
}
@media (max-width: 767px) {
    .bw-footer__panel .row > :nth-child(3) li, .bw-footer__panel li { max-width: none !important; margin: 0 auto; }
    .bw-footer__about { margin-bottom: -16px !important; }
    .bw-footer li { line-height: 27px; }
    .bw-footer__panel .row > [class*="col-"] { margin-bottom: 6px !important; }
    .bw-footer__panel .row > [class*="col-"] h4.mt-4 { margin-top: 20px !important; }
    .bw-footer__social li { line-height: 31px; }
}
@media (max-width: 767px) {
    .bw-footer__note { margin-top: 32px !important; }
    .bw-footer__social li a { padding: 0 !important; }
    .bw-footer__social li:not(:last-child) a { width: 104px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    #section-3 .bw-eyebrow { margin-bottom: 40px; }
    #section-3 .bw-split { align-items: flex-start; }
    #section-3 .bw-split__inner { padding: 0 0 0 30px; max-width: 345px; box-sizing: border-box; }
    #section-3 .bw-split__title { margin-bottom: 26px; }
}
@media (min-width: 768px) and (max-width: 1024px) { #section-3 .bw-split__media { order: -1 !important; margin: 0 !important; } }
@media (min-width: 768px) and (max-width: 1024px) {
    #section-4 .bw-heading.mb-5 { margin-bottom: 28px !important; }
    #section-4.bw-section { padding-bottom: 8px; }
    #section-5.bw-section { padding-bottom: 18px; }
    .bw-statement-lead { margin-bottom: 29px; }
    .bw-statement { margin-bottom: 44px; }
    #section-7 .row > :nth-child(n+4) { flex: 0 0 330px; width: 330px; max-width: 330px; }
    #section-7 .row > :nth-child(n+4) .bw-card__img img { width: 290px; height: 171px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .leaders-carousel .bw-lcar__slide { display: flex; align-items: flex-start; flex-basis: 229px; }
    .leaders-carousel .bw-lcar__img { flex: 0 0 149px; width: 149px; }
    .leaders-carousel .bw-lcar figcaption { flex: 1 1 80px; width: 80px; text-align: center; }
    .leaders-carousel .bw-lcar figcaption h5 { margin: 0; font-size: 20px; line-height: 30px; }
    .leaders-carousel .bw-lcar figcaption p { margin: 0; font-size: 16px; line-height: 25px; word-break: normal; overflow-wrap: anywhere; }
    .leaders-carousel .bw-lcar__nav { display: none; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    #section-5.bw-section { padding-bottom: 85px; }
    .bw-statement-lead { margin-bottom: 49px; }
    #section-7 .bw-heading.mb-5 { margin-bottom: 52px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    #section-6.bw-section { padding-bottom: 0; }
    .bw-statement:last-child { margin-bottom: 0; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .cards-icon-tile .bw-card--tile { height: 234px; align-items: flex-start; padding-top: 60px; padding-bottom: 0; }
    .cards-icon-tile .bw-card--tile h3 { margin-bottom: 6px; }
    .cards-icon-tile .row > :nth-child(even) .bw-card--tile .bw-card__icon { top: -7px; transform: none; }
    .cards-icon-tile .row { --bs-gutter-y: 20px !important; }
    .cards-icon-tile .row > * { margin-top: 20px; }
    .cards-icon-tile .row > :nth-child(-n+2) { margin-top: 0; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    #section-8 .container-xl { padding: 0 30px; max-width: none; }
    .cards-icon-tile .bw-card--tile { padding: 31px 10px 0 30px; }
    .cards-icon-tile .row > :nth-child(even) .bw-card--tile { padding-left: 79px; }
    .cards-icon-tile .row > :nth-child(even) .bw-card--tile .bw-card__icon { left: -19px; }
    .cards-icon-tile .bw-card--tile h3 { margin-bottom: 6px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .sec-stats .bw-stats .row { margin-top: -54px; }
    .sec-stats .bw-stat__label { margin-top: 0; }
    .bw-linklist__row { display: flex !important; align-items: flex-end; margin-bottom: 52px; }
    .bw-linklist__row h3 { flex: 1 1 auto; }
    .bw-linklist__row a { flex: 0 0 45%; text-align: center; padding: 2px 12px; }
    .bw-linklist__row:first-child { margin-bottom: 39px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .sec-stats .bw-stat { white-space: normal; }
    .sec-stats .bw-stats .row { margin-left: 0; margin-right: 0; }
    .sec-stats .bw-stats .row > [class*="col-"] { flex: 1 1 0 !important; min-width: 0; width: auto !important; max-width: none !important; padding: 0 8px !important; }
    .sec-stats .row > [class*="col-"] + [class*="col-"] .bw-stat { padding-left: 8px; margin-left: -8px; }
    .bw-linklist__row { flex-direction: row !important; flex-wrap: nowrap !important; }
    .bw-linklist__row h3 { min-width: 0; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .sec-link_list .bw-title { font-size: 33.6px; line-height: 52px; white-space: nowrap; }
    .sec-link_list .bw-intro { max-width: 680px; margin-left: auto; margin-right: auto; }
    .bw-linklist { max-width: 718px; margin: 0 auto; }
    .bw-linklist__row h3 { padding-left: 30px; padding-bottom: 0; flex: 0 0 364px; line-height: 40px; align-self: flex-end; }
    .bw-linklist__row { align-items: flex-start !important; }
    .bw-linklist__row a { flex: 0 0 354px !important; padding: 5px 12px; line-height: 24px; }
    .sec-stats .bw-stats { margin: 0 -10px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .sec-stats .bw-stats .row { margin-top: -81px; }
    #section-9.bw-section { padding-bottom: 72px; }
    .bw-linklist__row a { margin-top: 20px; }
    .bw-linklist__row { margin-bottom: 32px !important; }
    .bw-linklist__row:first-child { margin-bottom: 19px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .sec-stats .bw-stats .row { margin-top: -108px; }
    #section-9.bw-section { padding-bottom: 45px; }
    .bw-linklist__row { margin-bottom: 41px !important; }
    .bw-linklist__row:first-child { margin-bottom: 31px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .sec-stats .bw-stats { margin: -27px -10px 0; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .bw-linklist { margin-top: -35px; }
    .bw-linklist__row a { margin-top: 34px; }
    .bw-linklist__row { margin-bottom: 27px !important; }
    .bw-linklist__row:first-child { margin-bottom: 17px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .bw-linklist__row h3 { align-self: flex-start !important; }
    .bw-linklist { margin-top: -49px; }
    .bw-linklist__row { margin-bottom: 24px !important; }
    .bw-linklist__row:first-child { margin-bottom: 14px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .bw-linklist__row a { margin-top: 22px; }
    .bw-linklist__row { margin-bottom: 36px !important; }
    .bw-linklist__row:first-child { margin-bottom: 26px !important; }
    #section-10.bw-section { padding-bottom: 32px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .sec-logos .bw-intro-italic { font-size: 27px; line-height: 34px; max-width: 740px; }
    .bw-lcar--logos.is-awards, .bw-lcar--logos.is-partners { --n: 3; --gap: 0px; width: 100%; margin: 0; }
    .bw-lcar--logos.is-partners { --gap: 0px; }
    .sec-logos:not(.bg-white) .bw-logos { padding: 66px 0; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .sec-logos .bw-intro-italic { font-size: 25px; line-height: 34px; }
    #section-11.bw-section, #section-13.bw-section { padding-bottom: 0 !important; }
    #section-13.bw-section { padding-top: 0 !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .bw-lcar--logos.is-awards, .bw-lcar--logos.is-partners { --gap: 0.1px; }
    #section-13 .bw-heading { margin-top: -23px; margin-bottom: 30px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .bw-lcar--logos.is-partners .bw-lcar__img { height: 37px; }
    .bw-footer::before, .bw-footer::after { display: block; }
    .bw-footer::before { top: 0; right: 0; width: 165px; height: 66px; }
    .bw-footer::after { top: 66px; right: 0; width: 339px; height: 28px; }
    .bw-footer__band { height: 94px; padding: 0; display: flex; align-items: center; }
    .bw-footer__band .container-xl { width: 100%; }
    .bw-footer__title { padding-top: 0; }
    .bw-footer__panel > .container-xl { padding: 46px 45px 40px !important; }
    .bw-footer__panel .row { grid-template-columns: repeat(4, 177px); }
    .bw-footer__panel .row > :first-child { display: none; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .bw-footer__panel > .container-xl { padding-left: 57px !important; padding-right: 20px !important; }
    .bw-footer__panel .row > :nth-child(2) li { max-width: 130px; }
    .bw-footer__panel .row > :nth-child(5) li, .bw-footer__panel .row > :last-child li { max-width: 165px; }
    .sec-logos .bw-heading { max-width: none; width: 100%; }
    .sec-logos .bw-intro-italic { max-width: 740px; width: 740px; }
}

/* ===== Juniors page (custom_html sections) – desktop ===== */
.jr-sec { position: relative; padding: 0 30px; color: #000; font-family: var(--bw-sans); overflow-x: clip; }
.jr-sec h1, .jr-sec h2, .jr-sec h3, .jr-sec h4, .jr-sec h5, .jr-sec h6 { font-family: var(--bw-sans); font-weight: 400; margin: 0; }
.jr-sec p { margin: 0; }
.jr-sec.bg-blue { background: #94B5DE; }
.jr-in { max-width: 1320px; margin: 0 auto; padding: 0 5px; }
.jr-head { max-width: 1320px; margin: 0 auto; text-align: center; }
/* hero */
.jr-hero { padding: 0; height: 100vh; background: #6AC07A; }
.jr-hero__bg { position: absolute; inset: 0; background: url("../../uploads/juniors/Basil-Woods-Juniors-Banner.jpg") 50% 0 / cover no-repeat; }
/* welcome */
.jr-welcome { padding: 90px 30px 0; min-height: 845px; box-sizing: border-box; z-index: 3; }
.jr-box { position: relative; z-index: 3; width: 660px; max-width: 100%; height: 385px; box-sizing: border-box; background: #6D66AA; padding: 60px 60px 0; margin: -395px 0 0 max(0px, calc((100% - 1320px) / 2)); text-align: center; }
.jr-h1 { font-size: 30px; line-height: 40px; color: #000; position: relative; padding-bottom: 9px; }
.jr-h1::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 300px; margin-left: -150px; border-bottom: 1px solid #000; }
.jr-tag { font-family: var(--bw-serif) !important; font-style: italic; font-size: 35px; line-height: 40px; color: #6AC07A; margin-top: 21px !important; }
.jr-lead { font-size: 25px; line-height: 34px; color: #fff; margin-top: 18px !important; }
.jr-btns { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: 20px; margin-top: 26px; }
.jr-btns img { display: block; width: 200px; height: 50px; margin-top: 23px; }
.jr-btns .jr-btns__icon { width: 80px; height: 97px; margin-top: 0; }
.jr-welcome__img { position: relative; margin-top: 20px; height: 650px; background: url("../../uploads/juniors/Welcome-Basilwoods.png") 50% 0 / contain no-repeat; box-sizing: border-box; padding: 5px; }
.jr-welcome__txt { position: absolute; right: 96px; bottom: 5px; width: 590px; box-sizing: border-box; background: #6D66AA; padding: 27px 43px 25px 41px; font-size: 18px; line-height: 27px; color: #fff; }
/* curriculum */
.jr-curr { padding-top: 5px; padding-bottom: 185px; z-index: 2; background: #6D66AA; }
.jr-eyebrow { font-family: var(--bw-serif) !important; font-style: italic; font-weight: 100 !important; font-size: 30px; line-height: 40px; color: #000; position: relative; padding: 0 0 10px; margin: 0 0 21px !important; }
.jr-eyebrow::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 300px; margin-left: -150px; border-bottom: 1px solid #000; }
.jr-h2-serif { font-family: var(--bw-serif) !important; font-style: italic; font-size: 45px; line-height: 52px; color: #6AC07A; }
.jr-sub20 { font-size: 20px; line-height: 25px; color: #fff; margin-top: 19px !important; }
.jr-prog-sec { z-index: 1; min-height: 750px; box-sizing: border-box; padding-bottom: 15px; }
.jr-circles { max-width: 1310px; margin: 0 auto 45px; display: flex; position: relative; top: -122px; width: 100%; }
.jr-circle { flex: 0 1 352px; min-width: 0; height: 350px; box-sizing: border-box; border: 1px solid #fff; border-radius: 50%; background: #6D66AA; padding: 30px; text-align: center; margin-left: -32.5px; color: #6AC07A; }
.jr-circle:first-child { margin-left: 0; }
.jr-circle h4 { font-size: 28px; line-height: 33px; padding-top: 33px; margin-bottom: 5px !important; color: #6AC07A; }
.jr-circle p { font-size: 16px; line-height: 25px; color: #6AC07A; }
.jr-progs { max-width: 1310px; margin: 0 auto; padding: 0 5px; display: grid; grid-template-columns: minmax(0, 434px) 1fr minmax(0, 434px); align-items: start; }
.jr-progs__mid { align-self: center; text-align: center; margin-top: -16px; }
.jr-progs__mid img { display: block; margin: 0 auto; }
.jr-progs__mid h5 { font-size: 25px; line-height: 34px; color: #6D66AA; }
.jr-prog { position: relative; height: 100px; box-sizing: border-box; border: 2px solid #6C66A4; border-radius: 30px; padding: 8.7px 20px 24px 45px; text-align: center; margin-bottom: 20px; color: #6C66A4; }
.jr-prog:last-child { margin-bottom: 0; }
.jr-prog img { position: absolute; top: 8px; width: 80px; height: 80px; }
.jr-prog--l img { left: 392px; } .jr-prog--r img { left: -42px; }
.jr-prog h4 { font-size: 20px; line-height: 22px; padding-top: 12px; color: #6C66A4; }
.jr-prog p { display: inline-block; font-size: 16px; line-height: 20px; padding-top: 6px; margin-bottom: 5px; color: #6C66A4; }
/* safety */
.jr-safety { padding: 90px 30px 98px; }
.jr-h3-sans { font-size: 35px; line-height: 40px; color: #6D66AA; margin-top: 8px !important; }
.jr-sub25 { font-size: 25px; line-height: 34px; }
.jr-sub25--w { color: #fff; margin-top: 20px !important; }
.jr-safgrid { display: grid; grid-template-columns: repeat(7, 1fr); margin-top: 77px; height: 380px; box-sizing: border-box; padding: 5px; }
.jr-saf { display: flex; flex-direction: column; gap: 4px; text-align: center; align-self: start; }
.jr-saf:nth-child(odd) { align-self: end; }
.jr-saf img { display: block; width: auto; height: 150px; margin: 0 auto; object-fit: contain; aspect-ratio: 1 / 1; }
.jr-saf h6 { font-size: 16px; line-height: 24px; color: #fff; margin-bottom: 20px !important; }
/* culture connect */
.jr-culture { padding: 90px 30px; min-height: 736px; box-sizing: border-box; }
.jr-cc { display: flex; align-items: flex-start; padding-top: 5px; }
.jr-cc__box { flex: 0 0 min(459px, 38%); box-sizing: border-box; min-height: 588px; margin-top: -52px; background: #6D66AA; padding: 77px 50px 30px 44px; position: relative; z-index: 2; }
.jr-cc__box h3 { font-size: 35px; line-height: 40px; color: #6AC07A; }
.jr-cc__box p { font-size: 18px; line-height: 27px; color: #fff; margin-top: 16px; }
.jr-cc__box p strong { font-weight: 600; }
.jr-cc__box h4 { font-size: 30px; line-height: 40px; color: #FFF8AC; margin: 39px 0 0 2px; }
.jr-cc__btn { display: block; text-align: center; margin: 37px 0 0 -44px; padding-left: 0; }
.jr-cc__btn img { width: 259px; height: 48px; }
.jr-vid.jr-vid { flex: 0 1 852px; min-width: 0; width: 852px; max-width: 100%; height: auto; aspect-ratio: 852 / 479; position: relative; margin: 0; }
.jr-vid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jr-vid .bw-vid__play { opacity: 0; position: absolute; inset: 0; width: 100%; height: 100%; }
.jr-quote { padding: 28.8px 30px; height: 120px; box-sizing: border-box; text-align: center; background: #fff; }
.jr-quote h2 { font-size: 45px; line-height: 52px; color: #6D66AA; }
/* people */
.jr-people { padding: 90px 30px; }
.jr-h2-sans { font-size: 45px; line-height: 52px; color: #6D66AA; margin-top: 10px !important; }
.jr-people .jr-sub25 { color: #6D66AA; margin-top: 21px !important; }
.jr-lead-serif { font-family: var(--bw-serif) !important; font-style: italic; font-weight: 700 !important; font-size: 30px; line-height: 40px; color: #fff; max-width: 740px; margin: 17px auto 0 !important; }
.jr-pills { display: flex; justify-content: center; gap: 20px; margin-top: 47px; padding: 5px; }
.jr-pills h6 { border: 1px solid #000; padding: 10px; font-size: 18px; line-height: 20px; color: #000; }
.jr-car { display: block !important; margin-top: 0 !important; position: relative; }
.jr-car .bw-lcar__nav { position: absolute !important; top: 50%; transform: translateY(-50%); z-index: 3; width: 25px; height: 25px; border-radius: 0; background: rgba(237,237,237,.9) !important; -webkit-mask: url("../../uploads/juniors/arrow-prev.svg") center / contain no-repeat; mask: url("../../uploads/juniors/arrow-prev.svg") center / contain no-repeat; }
.jr-car .bw-lcar__nav.is-next { -webkit-mask-image: url("../../uploads/juniors/arrow-next.svg"); mask-image: url("../../uploads/juniors/arrow-next.svg"); }
.jr-car .bw-lcar__nav i { display: none; }
.jr-car .bw-lcar__nav.is-prev { left: 10px; } .jr-car .bw-lcar__nav.is-next { right: 10px; }
.jr-car--people { margin-top: 84px !important; }
.jr-people { padding-bottom: 106px; }
.jr-car--people .bw-lcar__img { aspect-ratio: 313 / 302; }
.jr-car--people .bw-lcar__img img { object-position: center top; }
/* day */
.jr-dayrow { padding: 90px 30px 97px; }
.jr-h1-big { font-size: 75px; line-height: 65px; color: #6D66AA; padding-top: 4px; }
.jr-sub25--day { text-align: left; margin: 20px 0 0 553px !important; width: max-content; max-width: none; color: #000; }
.jr-daygrid { display: grid; grid-auto-rows: 1fr; grid-template-columns: repeat(4, minmax(0, 320px)); gap: 10px; align-items: start; padding: 5px; margin-top: 59px; justify-content: start; max-width: 1330px; }
.jr-day { background: #fff; padding: 25px; text-align: center; box-sizing: border-box; }
.jr-day h4 { font-family: var(--bw-serif) !important; font-weight: 500 !important; font-size: 28px; line-height: 40px; color: #6D66AA; }
.jr-day p { font-size: 16px; line-height: 25px; color: #000; margin-top: 9px; }
.jr-day img { display: block; width: 100%; max-width: 270px; height: auto; aspect-ratio: 270 / 159; object-fit: cover; }
.jr-day--a img { margin-top: 43px; }
.jr-day--b p { min-height: 50px; } .jr-day--b img { margin-top: 23px; }
/* food */
.jr-food { padding: 90px 30px 75px; }
.jr-bigh { font-size: 110px; line-height: 95px; color: #6D66AA; }
.jr-small { display: inline-block; font-size: 36px; line-height: 40px; color: #6D66AA; }
.jr-small--cream { color: #FFFFF0; }
.jr-food .jr-bigh { padding-top: 5px; margin-bottom: 50px; }
.jr-food__row { display: flex; gap: 20px; margin: 0 -5px; }
.jr-food__img { flex: 0 1 650px; min-width: 0; padding: 5px; box-sizing: border-box; }
.jr-food__img img { display: block; width: 100%; max-width: 640px; height: auto; aspect-ratio: 640 / 356; object-fit: cover; }
.jr-food__txt { flex: 1 1 0; min-width: 0; padding: 5px; box-sizing: border-box; display: flex; flex-direction: column; gap: 25px; }
.jr-food__txt p { font-size: 18px; line-height: 29px; color: #000; }
.jr-food__txt ul { list-style: none; margin: 0; padding: 0; }
.jr-food__txt li { font-size: 18px; line-height: 25px; color: #fff; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.8); margin-top: 7px; }
.jr-food__txt li:first-child { margin-top: 0; }
.jr-food__txt li:last-child { border-bottom: 0; padding-bottom: 1px; }
.jr-food__btn { align-self: flex-start; display: block; background: url("../../uploads/juniors/black260px.svg") 0 0 / 261px auto no-repeat; padding: 14px 73px 15px 65px; font-size: 16px; line-height: 25px; color: #000 !important; }
/* vibes */
.jr-vibes { padding: 54px 30px 186px; }
.jr-vibes__head { position: relative; margin: -49px 0 70px 132px; }
.jr-vibes__h { font-size: 100px; line-height: 100px; color: #6D66AA; }
.jr-vibes__p { position: absolute; left: 294px; top: 204px; width: 550px; font-size: 45px; line-height: 55px; color: #fff; }
.jr-car--gal .bw-lcar__nav { width: 40px; height: 40px; background: #fff !important; }
.jr-car--gal .bw-lcar__img { aspect-ratio: 423 / 282; }
.jr-car--gal .bw-lcar__img img { object-position: center; }
.jr-car--gal .bw-lcar__nav.is-prev { left: 10px; } .jr-car--gal .bw-lcar__nav.is-next { right: 10px; }
/* schools */
.jr-schools { padding: 0 30px 180px; }
.jr-bigh { }
.jr-bigh--sch, .jr-bigh--c { font-size: 160px; line-height: 130px; }
.jr-bigh--sch { margin-top: -28px; }
.jr-map { text-align: center; margin-top: 78px; }
.jr-map img { width: 786px; max-width: 100%; height: auto; }
.jr-schgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 318px)); gap: 10px; padding: 5px; justify-content: start; margin-top: 15px; }
.jr-sch { position: relative; box-sizing: border-box; min-height: 260px; border: 1px solid #6D66AA; padding: 25px; display: flex; flex-direction: column; gap: 10px 20px; }
.jr-sch h6 { font-size: 20px; line-height: 25px; color: #6D66AA; }
.jr-sch__t { font-size: 16px; line-height: 25px; color: #000; }
.jr-sch__t a { color: #333; }
.jr-sch__t { overflow-wrap: anywhere; }
.jr-car .bw-lcar__slide { min-width: 0; }
.jr-car figcaption { overflow-wrap: anywhere; }
.jr-sch__b { position: absolute; left: 16px; bottom: -28px; display: grid; grid-template-columns: 134px 134px; gap: 6px; padding: 5px; }
.jr-sch__b a { display: block; box-sizing: border-box; height: 42px; padding: 10px 0; text-align: center; font-size: 14px; line-height: 20px; border: 1px solid #6D66AA; }
.jr-sch__b .is-map { background: #94B5DE; color: #6D66AA; }
.jr-sch__b .is-more { background: #6D66AA; color: #fff; }
.jr-touch { margin-top: 131px; display: flex; flex-direction: column; gap: 46px; padding: 5px; }
.jr-bigh--c { text-align: center; }
.jr-touch__b { display: grid; grid-template-columns: repeat(3, minmax(0, 318px)); gap: 10px; justify-content: center; padding: 5px; }
.jr-touch__b a { display: block; box-sizing: border-box; height: 34px; padding: 6px 0; text-align: center; border: 1px solid #000; font-size: 15px; line-height: 20px; color: #000; }

.jr-circle__ic { display: none; }
.jr-circle h4 { overflow-wrap: anywhere; }
.jr-circle p { margin-top: 0; }

/* ===== Juniors – tablet (768–1024) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .jr-sec { padding-left: 20px; padding-right: 20px; }
    .jr-hero { height: 90vh; }
    .jr-welcome { padding: 80px 20px 0; min-height: 707px; }
    .jr-box { height: 365px; padding: 40px 60px 0; margin-left: auto; margin-right: auto; }
    .jr-welcome__img { height: 552px; }
    .jr-welcome__txt { width: 531px; height: 293px; right: 5px; padding: 26px 50px 0 39px; }
    .jr-curr { padding-bottom: 125px; }
    .jr-prog-sec { padding: 0 30px 15px; min-height: 870px; }
    .jr-circles { max-width: none; margin: 0 0 45px; padding-left: 5px; top: -61px; }
    .jr-circle { flex: 0 0 180px; margin-left: -7.9px; }
    .jr-circle h4 { font-size: 20px; line-height: 25px; padding: 25px 4px 0; }
    .jr-progs { grid-template-columns: 220px 1fr 220px; max-width: none; padding: 0 10px; }
    .jr-prog { height: 140px; padding-top: 4.4px; }
    .jr-prog--l img, .jr-prog--r img { left: -42px; }
    .jr-progs__mid h5 { max-width: 150px; margin: 0 auto; }
    .jr-progs__mid img { width: 60px; height: 60px; margin-bottom: 15px; }
    .jr-progs__mid { margin-top: -8px; }
    .jr-safety { padding: 80px 20px; min-height: 715px; box-sizing: border-box; }
    .jr-sub25--w { max-width: 600px; margin-left: auto !important; margin-right: auto !important; }
    .jr-safgrid { margin-top: 55px; height: 318px; }
    .jr-saf--1 img { width: 115px !important; height: 115px !important; }
    .jr-saf--2 img { width: 65px !important; height: 65px !important; }
    .jr-saf--3 img { width: 121px !important; height: 121px !important; }
    .jr-saf--4 img { width: 101px !important; height: 101px !important; }
    .jr-saf--5 img { width: 88px !important; height: 88px !important; }
    .jr-saf--6 img { width: 90px !important; height: 90px !important; }
    .jr-saf--7 img { width: 96px !important; height: 96px !important; }
    .jr-saf h6 { font-size: 16px; }
    .jr-saf--5 h6 { line-height: 22px; }
    .jr-culture { padding: 80px 20px; min-height: 1055px; }
    .jr-cc { flex-direction: column; align-items: stretch; padding-top: 10px; }
    .jr-vid.jr-vid { flex: none; width: 100%; max-width: none; height: 404px; aspect-ratio: auto; }
    .jr-cc__box { order: 2; flex: none; margin-top: 0; min-height: 472px; padding: 50px 20px; text-align: center; }
    .jr-cc__box p { max-width: 532px; margin: 16px auto 0; }
    .jr-cc__box h4 { margin: 32px 0 0; }
    .jr-cc__btn { margin: 34px 0 0; }
    .jr-quote { height: 93px; padding: 20.4px 0 0; box-sizing: border-box; }
    .jr-people { padding: 80px 20px 80px; }
    .jr-lead-serif { max-width: 655px; }
    .jr-pills { flex-wrap: nowrap; margin-top: 37px; }
    .jr-pills h6 { flex: 0 1 auto; min-width: 0; }
    .jr-car { --n: 3 !important; }
    .jr-car--people { margin-top: 55px !important; padding-top: 10px; height: 200px; box-sizing: border-box; }
    .jr-car--people .bw-lcar__view { height: 190px; }
    .jr-car--gal { margin-top: 52px !important; }
    .jr-people { min-height: 788px; box-sizing: border-box; }
    .jr-car--people .bw-lcar__slide, .jr-car--gal .bw-lcar__slide { display: flex; align-items: flex-start; }
    .jr-car--people .bw-lcar__img { flex: 0 0 147px; height: 142px; aspect-ratio: auto; }
    .jr-car--people figcaption { flex: 1 1 auto; min-width: 0; }
    .jr-car--gal .bw-lcar__img { flex: 0 0 147px; height: 98px; aspect-ratio: auto; }
    .jr-dayrow { padding: 80px 20px; }
    .jr-h1-big { font-size: 61px; }
    .jr-sub25--day { margin: 20px 12px 0 auto !important; text-align: right; }
    .jr-daygrid { grid-template-columns: repeat(2, minmax(0, 354px)); margin-top: 42px; }
    .jr-day img { width: 304px; max-width: 100%; height: 179px; aspect-ratio: auto; }
    .jr-food { padding: 80px 20px; }
    .jr-bigh { font-size: 80px; line-height: 74px; }
    .jr-food .jr-bigh { padding-top: 0; margin: -24px 0 50px; }
    .jr-food__row { margin: 0 -5px; gap: 20px; }
    .jr-food__img { flex: 0 0 354px; }
    .jr-food__img img { width: 344px; max-width: 100%; height: 192px; aspect-ratio: auto; }
    .jr-food__txt { flex: 0 0 354px; }
    .jr-food__txt p { font-size: 16px; line-height: 24px; }
    .jr-vibes { padding: 5px 20px 125px; }
    .jr-vibes__head { margin: 0 0 0 72.8px; }
    .jr-vibes__h { font-size: 90px; line-height: 90px; }
    .jr-vibes__p { left: 259px; top: 184px; width: 444px; font-size: 40px; line-height: 43px; }
    .jr-schools { padding: 0 20px 120px; }
    .jr-bigh--sch, .jr-bigh--c { font-size: 130px; line-height: 105px; }
    .jr-map { margin-top: 25px; }
    .jr-map img { width: 503px; }
    .jr-schgrid { grid-template-columns: repeat(4, 170px); gap: 10px; }
    .jr-sch { min-height: 620px; }
    .jr-sch__b { left: 9px; grid-template-columns: 67px 67px; bottom: -27px; }
    .jr-touch { margin-top: 55px; gap: 20px; }
    .jr-sch__b a { height: auto; min-height: 38px; padding: 8px 2px; }
    .jr-touch__b { grid-template-columns: repeat(3, 169.5px); }
}

/* ===== Juniors – mobile (≤767) ===== */
@media (max-width: 767px) {
    .jr-sec { padding-left: 20px; padding-right: 20px; }
    .jr-hero { height: 75vh; }
    .jr-welcome { padding: 30px 20px 0; min-height: 912px; }
    .jr-box { width: 350px; height: 517px; padding: 30px 30px 0; margin: -249px auto 0; }
    .jr-btns { flex-direction: column; align-items: center; gap: 20px; margin-top: 22px; }
    .jr-btns img { margin-top: 0; }
    .jr-btns .jr-btns__icon { display: none; }
    .jr-welcome__img { height: 559px; }
    .jr-welcome__txt { width: 286px; height: 393px; right: 5px; padding: 11px 15px 0; text-align: center; }
    .jr-curr { padding-bottom: 125px; }
    .jr-h2-serif { max-width: 280px; margin-left: auto; margin-right: auto; }
    .jr-circle:first-child .jr-circle__ic { display: none; }
.jr-circle h4 { overflow-wrap: anywhere; }
    .jr-prog-sec { padding: 0 30px 15px; min-height: 2566px; display: flex; flex-direction: column; }
    .jr-circles { flex-direction: column; align-items: center; max-width: none; margin: 0 0 -34px; top: -66px; gap: 20px; }
    .jr-circle { flex: 0 0 350px; width: 320px; margin-left: 0 !important; }
    .jr-circle__ic { display: block; margin: 0 auto; height: auto; }
    .jr-circle h4 { font-size: 20px; line-height: 25px; padding-top: 0; }
    .jr-progs { display: flex; flex-direction: column; max-width: none; padding: 0 0 0 42px; width: 100%; box-sizing: border-box; }
    .jr-progs__col { display: flex; flex-direction: column; }
    .jr-progs__col:last-child { margin-top: 30px; }
    .jr-progs__col:last-child .jr-prog:last-child { margin-bottom: -20px; }
    .jr-progs__mid { order: -1; margin: 21px 0 30px -42px; padding-left: 0; }
    .jr-prog { width: 278px; height: 140px; padding-top: 5.5px; margin-bottom: 20px; }
    .jr-prog:last-child { margin-bottom: 0; }
    .jr-prog--l img, .jr-prog--r img { left: -42px; }
    .jr-safety { padding: 30px 20px 35px; }
    .jr-h3-sans { margin: 10px auto 0 !important; max-width: 306px; }
    .jr-sub25--w { max-width: 320px; margin-left: auto !important; margin-right: auto !important; }
    .jr-safgrid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 218px; gap: 20px; height: auto; margin-top: 39px; padding: 5px; }
    .jr-saf, .jr-saf:nth-child(odd) { align-self: start; }
    .jr-saf--1 img { width: 170px !important; height: 170px !important; }
    .jr-saf--2 img { width: 90px !important; height: 90px !important; }
    .jr-saf--3 img { width: 147px !important; height: 147px !important; }
    .jr-saf--4 img { width: 141px !important; height: 141px !important; }
    .jr-saf--5 img { width: 150px !important; height: 150px !important; }
    .jr-saf--6 img { width: 115px !important; height: 115px !important; }
    .jr-saf--7 img { width: 144px !important; height: 144px !important; }
    .jr-saf h6 { font-size: 20px; }
    .jr-saf--5 h6 { font-size: 16px; line-height: 22px; }
    .jr-culture { padding: 30px 20px; }
    .jr-cc { flex-direction: column; align-items: stretch; padding-top: 10px; }
    .jr-vid.jr-vid { flex: none; width: 100%; max-width: none; height: 191px; aspect-ratio: auto; }
    .jr-cc__box { order: 2; flex: none; margin-top: 60px; min-height: 655px; padding: 41px 25px 61px; text-align: center; }
    .jr-cc__box p { margin: 16px auto 0; }
    .jr-cc__box h4 { margin: 33px 0 0; }
    .jr-cc__btn { margin: 37px 0 0; }
    .jr-quote { padding: 35px 30px 25px; height: auto; min-height: 148px; box-sizing: border-box; }
    .jr-quote h2 { font-size: 32px; line-height: 39px; }
    .jr-people { padding: 25px 20px 66px; }
    .jr-lead-serif { max-width: 295px; }
    .jr-people .jr-sub25 { max-width: 280px; margin-left: auto; margin-right: auto; }
    .jr-pills { flex-direction: column; align-items: center; gap: 20px; margin-top: 23px; }
    .jr-car { --n: 1 !important; }
    .jr-car--people { margin-top: 43px !important; }
    .jr-car--gal { margin-top: 42px !important; }
    .jr-car--people .bw-lcar__img { aspect-ratio: 340 / 329; }
    .jr-car--gal .bw-lcar__img { aspect-ratio: 340 / 227; }
    .jr-dayrow { padding: 30px 20px 40px; }
    .jr-h1-big { font-size: 34px; line-height: 36px; }
    .jr-sub25--day { margin: 20px auto 0 !important; text-align: center; width: auto; }
    .jr-daygrid { grid-template-columns: minmax(0, 340px); margin-top: 21px; }
    .jr-day img { width: 290px; max-width: 100%; height: 171px; aspect-ratio: auto; }
    .jr-food { padding: 30px 20px 9px; }
    .jr-bigh { font-size: 60px; line-height: 59px; text-align: center; }
    .jr-food .jr-bigh { padding-top: 23px; margin-bottom: 52px; }
    .jr-small { display: block; }
    .jr-small--cream { margin-bottom: 1px; }
    .jr-small + br { display: none; }
    .jr-food__row { flex-direction: column; margin: 0 -5px; gap: 20px; }
    .jr-food__img { flex: none; }
    .jr-food__img img { width: 340px; max-width: 100%; height: 189px; aspect-ratio: auto; }
    .jr-food__txt { flex: none; text-align: center; }
    .jr-food__txt p { font-size: 16px; line-height: 24px; text-align: center; }
    .jr-food__txt li { text-align: center; }
    .jr-food__btn { align-self: center; }
    .jr-vibes { padding: 23px 20px 124px; }
    .jr-vibes__head { margin: 0 -35px 0 35px; text-align: center; }
    .jr-vibes__h { font-size: 60px; line-height: 59px; text-align: center; }
    .jr-sec .jr-vibes__p { position: static; width: auto; margin: 20px 0 0; font-size: 40px; line-height: 43px; text-align: center; }
    .jr-schools { padding: 0 20px 125px; }
    .jr-bigh--sch, .jr-bigh--c { font-size: 60px; line-height: 59px; text-align: center; }
    .jr-map { margin-top: 25px; }
    .jr-map img { width: 340px; }
    .jr-touch { margin-top: 78px; gap: 20px; }
    .jr-schgrid { grid-template-columns: 330px; justify-content: center; gap: 35px; }
    .jr-sch { min-height: 280px; }
    .jr-sch__b { grid-template-columns: 318px; left: 0; bottom: -27px; }
    .jr-touch__b { grid-template-columns: 330px; }
}

/* ===== Academics page (custom_html sections, prefix ac-) – desktop ===== */
.jr-sec.ac-sec { background: #F2F3EE; font-size: 16px; line-height: 25px; }
.ac-in { max-width: 1320px; margin: 0 auto; padding: 5px 0; box-sizing: border-box; }
.ac-sec .ac-sh::after { content: ""; display: block; box-sizing: border-box; width: 300px; height: 10px; margin: 0 auto; border-bottom: 1px solid #000; }
/* hero */
.jr-sec.ac-hero { padding: 0; height: 100vh; background: #6AC07A; }
.ac-hero__bg { position: absolute; inset: 0; background: url("../../uploads/academics/Academics-Basil-Woods.jpg") 50% 0 / cover no-repeat; }
/* intro: overlapping green box + philosophy */
.jr-sec.ac-intro { padding: 180px 30px; background: #6AC07A; }
.ac-intro__in { display: flex; flex-direction: column; gap: 20px; }
.ac-hbox { position: relative; width: 60%; box-sizing: border-box; margin-top: -400px; padding: 60px; background: #6AC07A; display: flex; flex-direction: column; gap: 20px; text-align: center; }
.ac-sec .ac-ey { align-self: center; font-family: var(--bw-serif); font-style: italic; font-weight: 100; font-size: 30px; line-height: 40px; color: #000; }
.ac-sec .ac-tag { align-self: center; font-family: var(--bw-serif); font-style: italic; font-size: 30px; line-height: 40px; color: #6D66AA; margin-bottom: 4%; }
.ac-btns { display: flex; justify-content: space-evenly; align-items: center; gap: 20px; padding: 5px; }
.ac-btns > div { flex: 0 1 auto; min-width: 0; line-height: 25px; text-align: left; }
.ac-btns__ic img { display: block; width: 100%; max-width: 60px; height: auto; }
.ac-sec .ac-bbtn { padding: 14px 54px 17px 65px; background: url("../../uploads/academics/Blackbutton-1.svg") 0 0 / 205px auto no-repeat; font-size: 16px; color: #000; text-decoration: none; }
.ac-sec .ac-bbtn--260 { padding: 14px 40px 15px 65px; background-image: url("../../uploads/academics/black260px.svg"); background-size: 261px auto; }
.ac-sec .ac-bbtn:hover { color: #fff; background-image: url("../../uploads/academics/Whitebutton-1.svg"); }
.ac-sec .ac-bbtn--260:hover { background-image: url("../../uploads/academics/white260px.svg"); }
.ac-phil { width: 60%; box-sizing: border-box; margin-left: 28%; padding: 60px; background: #6D66AA; display: flex; align-items: center; gap: 20px; }
.ac-phil__txt { flex: 1 1 auto; min-width: 0; margin-right: 3%; }
.ac-sec .ac-phil h3 { font-size: 35px; line-height: 40px; color: #FFF8AC; margin-bottom: 14px; }
.ac-sec .ac-phil p { font-size: 18px; line-height: 27px; color: #FFF8AC; }
.ac-phil__ic { flex: 0 0 82px; display: block; width: 82px; height: auto; }
/* four quotients */
.jr-sec.ac-q { padding: 100px 30px 60px; }
.ac-q__row { display: flex; gap: 20px; padding: 5px; }
.ac-q__head { flex: 0 0 29.54%; box-sizing: border-box; padding: 5px; display: flex; flex-direction: column; gap: 20px; text-align: center; }
.ac-sec .ac-q__head h3 { font-size: 35px; line-height: 40px; color: #000; }
.ac-sec .ac-q__head h5 { font-size: 25px; line-height: 34px; color: #6D66AA; }
.ac-sec .ac-q__head h6 { max-width: 69%; margin: 0 auto; font-size: 20px; line-height: 25px; color: #6D66AA; }
.ac-sec .ac-q__head p { max-width: 90%; margin: 0 auto 5px; font-size: 16px; line-height: 25px; color: #6D66AA; }
.ac-q__boxes { flex: 1 1 0; min-width: 0; padding: 5px; display: flex; gap: 20px; }
.ac-qbox { position: relative; flex: 1 1 0; min-width: 0; padding-bottom: 5px; }
.ac-sec .ac-qbox h4 { padding: 20px 0 65px; border-radius: 20px 20px 0 0; background: #6AC07A; font-size: 23px; line-height: 30px; color: #fff; text-align: center; }
.ac-sec .ac-qbox p { box-sizing: border-box; height: 440px; overflow: hidden; margin-top: -55px; padding: 30px 20px 150px; border-radius: 25px 25px 0 0; background: #6D66A8 url("../../uploads/academics/Body-Curve-05-01.svg") 0 100% / contain no-repeat; font-size: 16px; line-height: 24px; color: #fff; }
.ac-qbox img { position: absolute; z-index: 5; right: 6px; bottom: -15px; width: 100px; height: auto; }
/* curriculum */
.jr-sec.ac-cur { padding: 90px 30px; }
.ac-cur__col { padding: 5px; display: flex; flex-direction: column; gap: 20px; }
.ac-sec.ac-cur h5 { align-self: flex-start; margin-left: 12%; font-size: 25px; line-height: 34px; color: #6D66AA; text-align: center; }
.ac-sec.ac-cur h1 { margin: -2% 0 1%; font-size: 150px; line-height: 130px; color: #6D66AA; }
.ac-cur__txt { width: 60%; margin: -1% 0 0 12%; }
.ac-sec .ac-cur__txt p { margin-bottom: 5px; font-size: 16px; line-height: 25px; color: #6D66AA; }
/* how we teach */
.jr-sec.ac-teach { padding: 90px 30px; }
.ac-teach__col { padding: 5px; display: flex; flex-direction: column; gap: 10px; }
.ac-teach__box { text-align: center; }
.ac-teach__box figure { margin: 0 0 -53px; }
.ac-teach__box img { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.ac-sec .ac-teach__box h3 { position: relative; margin-bottom: 25px; font-size: 35px; line-height: 40px; color: #fff; }
.ac-sec .ac-teach__box p { font-size: 20.5px; line-height: 25px; color: #6AC07A; }
.ac-pills { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 5px; align-items: start; }
.ac-pills > div { padding: 6px 0; background: #6AC07A; }
.ac-sec .ac-pills h6 { font-size: 15px; line-height: 20px; color: #fff; text-align: center; }
/* learning journey */
.jr-sec.ac-jour { padding: 90px 30px; }
.ac-jour__row { display: flex; gap: 20px; }
.ac-jour__left { flex: 1 1 auto; min-width: 0; min-height: 1300px; box-sizing: border-box; padding: 5px; background: url("../../uploads/academics/academic-022-01.png") 100% 0 / auto no-repeat; display: flex; flex-direction: column; gap: 15px; text-align: right; }
.ac-sec .ac-jour__left h5 { align-self: center; width: 300px; margin: 28% -10% 0 0; font-family: var(--bw-serif); font-style: italic; font-size: 25px; line-height: 34px; color: #000; }
.ac-sec .ac-jour__left h2 { margin: 0 24% 0 4%; font-family: var(--bw-serif); font-size: 45px; line-height: 52px; color: #6D66AA; }
.ac-sec .ac-jour__left h6 { margin: 0 25% 0 23%; font-size: 20px; line-height: 29px; color: #000; }
.ac-jour__right { flex: 0 0 29.55%; box-sizing: border-box; padding: 5px; display: flex; flex-direction: column; gap: 20px; }
.ac-gbox { position: relative; padding: 25px; border-radius: 10px; background: #6AC07A; color: #fff; }
.ac-gbox:first-child { margin-top: 11.39px; }
.ac-sec .ac-gbox h4 { margin-bottom: 5px; font-size: 24px; line-height: 30px; color: #fff; }
.ac-gbox__sep { position: relative; height: 0; margin-bottom: 25px; }
.ac-gbox__sep img { position: absolute; top: 0; width: 20px; height: auto; }
.ac-gbox__sep img:first-child { left: -25px; }
.ac-gbox__sep img:last-child { right: -25px; }
.ac-sec .ac-gbox p { margin-bottom: 5px; font-size: 20px; line-height: 30px; color: #fff; }
/* assessments */
.jr-sec.ac-ass { padding: 0 30px 180px; }
.ac-ass__col { display: flex; flex-direction: column; gap: 20px; }
.ac-sec.ac-ass h3 { font-size: 35px; line-height: 40px; color: #6D66AA; }
.ac-sec.ac-ass h5 { margin-top: -1%; font-size: 25px; line-height: 34px; color: #6D66AA; }
.ac-sec .ac-ass__p { margin-bottom: 5px; font-size: 18px; line-height: 25px; color: #000; }
.ac-ass__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 5px; }
.ac-abox { position: relative; margin-right: 25px; padding: 12px 30px 22px 36px; border: 2px solid #6C66A4; }
.ac-abox img { position: absolute; left: -30px; top: 12px; width: 60px; height: 55px; }
.ac-sec .ac-abox p { display: inline-block; margin-bottom: 5px; padding-top: 6px; font-size: 18px; line-height: 28px; color: #000; }
.ac-sec .ac-abox:nth-child(5) p { font-size: 16px; }
/* teachers / space: photo with overlapping green box */
.jr-sec.ac-tch, .jr-sec.ac-spc { padding: 0 30px 180px; }
.ac-tch .ac-in, .ac-spc .ac-in { padding: 0; }
.ac-ov { display: flex; flex-direction: column; gap: 20px; }
.ac-ov--r { padding-bottom: calc(7.29% - 13.4px); }
.ac-ov--l { padding-bottom: calc(12.14% - 22.3px); }
.ac-ov__img { display: flex; }
.ac-ov--r .ac-ov__img { justify-content: flex-end; }
.ac-ov__img img { display: block; width: 1037px; max-width: 100%; height: auto; }
.ac-ov__box { position: relative; z-index: 2; width: 420px; max-width: 100%; box-sizing: border-box; margin-top: -603px; padding: 40px; background: #6AC07A; display: flex; flex-direction: column; gap: 10px; color: #fff; }
.ac-ov--l .ac-ov__box { align-self: flex-end; }
.ac-sec .ac-ov__box h2 { font-size: 45px; line-height: 52px; color: #fff; }
.ac-sec .ac-ov__box h4 { font-size: 30px; line-height: 40px; color: #fff; }
.ac-sec .ac-ov__box p { margin-bottom: 5px; font-size: 18px; line-height: 25px; color: #fff; }

/* ===== Academics – tablet (768–1024) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .jr-sec.ac-sec { padding-left: 20px; padding-right: 20px; }
    .jr-sec.ac-intro { padding-top: 120px; padding-bottom: 120px; }
    .ac-hbox { width: 100%; }
    .ac-btns { flex-direction: column; justify-content: center; gap: 20px; }
    .ac-btns__ic { display: none; }
    .ac-phil { width: 100%; margin-left: 0; }
    .ac-phil__ic { flex-basis: 66px; width: 66px; }
    .jr-sec.ac-q { padding-top: 80px; padding-bottom: 40px; }
    .ac-q__row { flex-direction: column; }
    .ac-q__head, .ac-q__boxes { flex: none; }
    .ac-sec .ac-q__head h6, .ac-sec .ac-q__head p { max-width: 673px; }
    .ac-sec .ac-qbox p { height: 490px; }
    .ac-qbox img { width: 60px; right: 40px; bottom: -7px; }
    .jr-sec.ac-cur { padding-top: 80px; padding-bottom: 80px; }
    .ac-sec.ac-cur h1 { margin: -28px 0 0; font-size: 78px; line-height: 74px; }
    .ac-cur__txt { width: 495px; max-width: 100%; margin: 0 0 0 8px; }
    .jr-sec.ac-teach { padding-top: 80px; padding-bottom: 80px; }
    .ac-teach__box img { width: 100%; margin: 0; }
    .ac-teach__box figure { margin-bottom: -54px; }
    .ac-pills { grid-template-columns: repeat(3, 1fr); }
    .jr-sec.ac-jour { padding-top: 80px; padding-bottom: 80px; }
    .ac-jour__left { min-height: 0; }
    .ac-jour__right { flex: 0 0 213px; width: 213px; }
    .ac-sec .ac-gbox h4, .ac-sec .ac-gbox p { overflow-wrap: break-word; }
    .ac-sec .ac-jour__left h5 { align-self: flex-end; margin: 136px 153px 0 0; }
    .ac-sec .ac-jour__left h2 { margin: 0 150px 0 0; }
    .ac-sec .ac-jour__left h6 { margin: 0 155px 0 58px; }
    .ac-gbox:first-child { margin-top: 14.17px; }
    .jr-sec.ac-ass { padding-bottom: 120px; }
    .ac-abox { margin-right: 0; padding: 6px 25px 18px 36px; }
    .ac-abox img { left: -22px; top: 8px; width: 46px; height: 46px; }
    .ac-sec .ac-abox p { padding-top: 12px; font-size: 20px; line-height: 22px; color: #6C66A4; }
    .ac-sec .ac-abox:nth-child(5) p { font-size: 16px; }
    .jr-sec.ac-tch, .jr-sec.ac-spc { padding-bottom: 120px; }
    .ac-ov__img img { width: 100%; }
    .ac-ov__box { width: 619px; margin-top: -100px; }
    .ac-ov--r { padding-bottom: 43.67px; }
    .ac-ov--l { padding-bottom: 21.83px; }
}

/* ===== Academics – mobile (≤767) ===== */
@media (max-width: 767px) {
    .jr-sec.ac-sec { padding-left: 20px; padding-right: 20px; }
    .jr-sec.ac-hero { height: 75vh; }
    .jr-sec.ac-intro { padding-top: 120px; padding-bottom: 120px; }
    .ac-hbox { width: 100%; margin-top: -254px; padding: 30px; }
    .ac-btns { flex-direction: column; justify-content: center; gap: 37px; padding: 17px 0 1px; }
    .ac-btns__ic { display: none; }
    .ac-phil { width: 100%; margin-left: 0; padding: 30px; flex-direction: column-reverse; text-align: center; }
    .ac-phil__ic { flex: none; width: 40px; }
    .jr-sec.ac-q { padding-top: 60px; padding-bottom: 20px; }
    .ac-q__row { flex-direction: column; }
    .ac-q__head, .ac-q__boxes { flex: none; }
    .ac-sec .ac-q__head h5 { max-width: 297px; margin: 0 auto; }
    .ac-sec .ac-q__head h6 { max-width: 297px; }
    .ac-sec .ac-q__head p { max-width: none; }
    .ac-q__boxes { flex-direction: column; align-items: center; }
    .ac-qbox { flex: none; width: 70%; }
    .ac-sec .ac-qbox p { height: 490px; }
    .ac-qbox img { width: 60px; right: 40px; bottom: -7px; }
    .jr-sec.ac-cur { padding-top: 30px; padding-bottom: 30px; }
    .ac-sec.ac-cur h5 { margin-left: 0; }
    .ac-sec.ac-cur h1 { margin: -13px 0 0; font-size: 55px; line-height: 50px; text-align: center; }
    .ac-cur__txt { width: auto; margin: 0; text-align: center; }
    .jr-sec.ac-teach { padding-top: 30px; padding-bottom: 30px; }
    .ac-teach__box img { width: 100%; margin: 0; }
    .ac-teach__box figure { margin-bottom: -41px; }
    .ac-sec .ac-teach__box h3 { margin-bottom: 27px; font-size: 18px; line-height: 20px; }
    .ac-pills { grid-template-columns: 1fr; }
    .jr-sec.ac-jour { padding-top: 30px; padding-bottom: 30px; }
    .ac-jour__row { flex-direction: column; }
    .ac-jour__left { flex: none; min-height: 1100px; padding: 0; background-position: 0 100px; background-size: contain; align-items: flex-start; text-align: left; }
    .ac-sec .ac-jour__left h5 { align-self: flex-start; margin: 0 0 0 25px; }
    .ac-sec .ac-jour__left h2 { width: 280px; margin: 0 0 0 18px; font-size: 25px; line-height: 35px; }
    .ac-sec .ac-jour__left h6 { width: 228px; margin: 0 0 0 18px; }
    .ac-jour__right { flex: none; }
    .ac-gbox:first-child { margin-top: 23.8px; }
    .jr-sec.ac-ass { padding-bottom: 120px; }
    .ac-ass__col { text-align: center; }
    .ac-ass__grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, minmax(89px, auto)); align-items: start; width: 95%; margin: 0 auto; box-sizing: border-box; }
    .ac-abox { margin-right: 0; padding: 6px 25px 18px 36px; text-align: left; }
    .ac-abox img { left: -22px; top: 8px; width: 46px; height: 46px; }
    .ac-sec .ac-abox p { padding-top: 12px; font-size: 20px; line-height: 22px; color: #6C66A4; }
    .jr-sec.ac-tch, .jr-sec.ac-spc { padding-bottom: 120px; }
    .ac-ov { gap: 0; }
    .ac-ov--r, .ac-ov--l { padding-bottom: 0; }
    .ac-ov__img img { width: 100%; }
    .ac-ov__box { width: 100%; margin-top: 0; padding: 25px; align-items: flex-start; text-align: center; }
    .ac-ov__box > * { width: fit-content; max-width: 100%; }
    .ac-sec .ac-ov__box h2 { font-size: 34px; line-height: 36px; }
}

/* ===== Live button graphics (live so-css-oceanwp.css: blackbut*, greenbuticon) ===== */
a.lvb { padding: 14px 43px 15px 65px; background: url("../../uploads/buttons/black260px.svg") 0 0 / 261px auto no-repeat; font-size: 16px; line-height: 25px; color: #000; text-decoration: none; }
a.lvb:hover { color: #6AC07A; background-image: url("../../uploads/buttons/green260px.svg"); }
a.lvb--w280 { padding: 16px 40px 15px 65px; background-size: 280px auto; }
a.lvb--w280:hover { color: #fff; background-image: url("../../uploads/buttons/white260px.svg"); }
a.lvb--300 { padding: 14px 48px 15px 67px; background-image: url("../../uploads/buttons/black300px-1.svg"); background-size: 320px auto; }
a.lvb--300:hover { background-image: url("../../uploads/buttons/green300px.svg"); }
a.lvb--260i73 { padding: 14px 73px 15px 65px; }
a.lvb--green { padding: 14px 40px 29px 66px; background-image: url("../../uploads/buttons/Greenbutton-1.svg"); background-size: 206px auto; color: #038148; }
a.lvb--green:hover { color: #6c66a4; background-image: url("../../uploads/buttons/Bluebutton-1.svg"); }

/* ===== Elementor-style entrance animations (data-anim="fadeIn|fadeInUp|zoomIn") ===== */
.js [data-anim="fadeIn"], .js [data-anim="fadeInUp"], .js [data-anim="zoomIn"] { transform: none; transition: none; }
.js [data-anim="fadeIn"].is-in { animation: bwFadeIn 1.25s both; }
.js [data-anim="fadeInUp"].is-in { animation: bwFadeInUp 1.25s both; }
.js [data-anim="zoomIn"].is-in { animation: bwZoomIn 1.25s both; }
@keyframes bwFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes bwFadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes bwZoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js [data-anim].is-in { animation: none; } }

/* ===== Shamshabad page (custom_html sections, prefix sh-) – desktop ===== */
.jr-sec.sh-hero { padding: 0; height: 100vh; background: #6AC07A; }
.sh-hero__bg { position: absolute; inset: 0; background: url("../../uploads/shamshabad/Shamshabad-Basil-Woods-01.webp") 50% 0 / cover no-repeat; }
.jr-sec.sh-intro { padding: 180px 30px; background: #6AC07A; }
.sh-intro__in { display: flex; flex-direction: column; gap: 20px; }
.sh-hbox { position: relative; z-index: 2; width: 60%; box-sizing: border-box; margin-top: -400px; padding: 60px; background: #6AC07A; display: flex; flex-direction: column; gap: 20px; text-align: center; }
.ac-sec .sh-ey { align-self: center; font-family: var(--bw-serif); font-style: italic; font-size: 30px; line-height: 40px; color: #000; }
.ac-sec .sh-tag { font-family: var(--bw-serif); font-style: italic; font-size: 30px; line-height: 40px; color: #6D66AA; margin-bottom: 4%; }
.sh-hbox__btn { margin-top: 40px; line-height: 25px; }
.sh-home { display: flex; align-items: center; gap: 20px; width: 80%; margin: 0 auto; background: #6D66AA; }
.sh-home__img { flex: 0 0 361px; display: block; width: 361px; height: 373px; object-fit: cover; }
.sh-home__txt { flex: 1 1 0; min-width: 0; padding: 0 11px 0 21px; }
.ac-sec .sh-home h3 { margin-bottom: 14px; font-size: 35px; line-height: 40px; color: #FFF8AC; }
.ac-sec .sh-home p { font-size: 18px; line-height: 27px; color: #FFF8AC; }
.sh-home__ic { flex: 0 0 57px; width: 57px; height: auto; margin-right: 52px; }
.jr-sec.sh-campus { padding: 100px 30px 60px; }
.sh-campus__col { padding: 5px; display: flex; flex-direction: column; gap: 20px; }
.ac-sec .sh-h35 { font-size: 35px; line-height: 40px; color: #6D66AA; }
.sh-car.bw-lcar { display: block; margin: 0; }
.sh-car .bw-lcar__slide { flex-basis: 100%; margin: 0; }
.sh-car .bw-lcar__slide img { display: block; width: 100%; height: auto; }
.sh-car .bw-lcar__nav { position: absolute; top: 50%; z-index: 2; width: 42px; height: 42px; margin-top: -21px; padding: 0; border-radius: 0; background: none; color: #fff; font-size: 42px; }
.sh-car .bw-lcar__nav:hover { background: none; }
.sh-car .is-prev { left: 10px; }
.sh-car .is-next { right: 10px; }
.sh-btnrow { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 5px; }
.sh-btnrow > div { line-height: 25px; }
.sh-btnrow__ic img { display: block; }
.sh-campus__btns { width: 80%; margin: 20px auto 0; box-sizing: border-box; }
.jr-sec.sh-top { padding: 90px 30px; }
.ac-sec .sh-h45 { font-size: 45px; line-height: 52px; color: #6D66AA; }
.ac-sec .sh-top__lead { max-width: 90%; margin-top: 20px; font-family: var(--bw-serif); font-size: 35px; line-height: 40px; color: #000; }
.sh-top__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; width: 80%; margin: 73px auto 0; padding: 5px; box-sizing: border-box; }
.sh-tc { position: relative; }
.sh-tc__box { margin-right: 25px; padding: 12px 16px 22px 50px; border: 2px solid #6C66A4; text-align: center; }
.sh-tc__box img { position: absolute; left: -25px; top: 14px; width: 50px; height: 80px; }
.ac-sec .sh-tc h4 { font-size: 32px; line-height: 45px; color: #6C66A4; }
.ac-sec .sh-tc p { display: inline-block; margin-bottom: 5px; padding-top: 6px; font-size: 18px; line-height: 25px; color: #6C66A4; }
.jr-sec.sh-ft { padding: 90px 30px; }
.jr-sec.sh-cc { padding: 0 30px 180px; }
.sh-ft__row { display: flex; align-items: center; }
.sh-ft--r .sh-ft__row { flex-direction: row-reverse; }
.sh-ft__txt { position: relative; z-index: 2; min-width: 0; flex: 0 0 35%; box-sizing: border-box; padding: 5px; display: flex; flex-direction: column; gap: 6px; }
.sh-ft--l .sh-ft__txt { text-align: right; }
.sh-ft__img { min-width: 0; flex: 0 0 65%; box-sizing: border-box; padding: 5px; text-align: center; }
.sh-ft__img img { display: inline-block; max-width: 100%; height: auto; vertical-align: top; }
.ac-sec .sh-ft__txt h4 { font-size: 88px; line-height: 76px; color: #6D66AA; }
.ac-sec.sh-ft--l .sh-ft__h0 { padding-right: 9px; }
.ac-sec.sh-cc .sh-ft__h0 { padding-left: 9px; line-height: 80px; }
.sh-ft__box { width: 452px; max-width: none; box-sizing: border-box; padding: 30px; background: #F2F3EE; font-size: 24px; line-height: 33px; color: #6D66AA; }
.sh-ft--l .sh-ft__box { margin-left: 129px; }
.sh-ft--r .sh-ft__box { margin-left: -129px; }
.sh-ft__btn { margin-top: 10px; line-height: 25px; }
.sh-ft--l .sh-ft__btn { align-self: flex-end; padding-right: 9px; }
.sh-ft--r .sh-ft__btn { padding-left: 9px; }
.ac-sec .sh-ft__txt .sh-incl__a { padding-right: 22px; font-size: 30px; line-height: 40px; color: #6D66AA; }
.ac-sec.sh-incl .sh-ft__h0 { padding-right: 23px; }
.sh-ft__box.sh-incl__box { padding: 15px 30px 15px 10px; }
.ac-sec .sh-incl__box p { margin-bottom: 5px; font-size: 24px; line-height: 33px; color: #6D66AA; }
.jr-sec.sh-grades { padding: 90px 30px 88px; background: #6AC07A; }
.ac-sec .sh-grades__h { width: fit-content; margin: 0 auto; font-size: 35px; line-height: 52px; letter-spacing: 1.2px; color: #6D66AA; }
.sh-grades__h strong { font-weight: 600; }
.ac-sec .sh-grades__sub { width: fit-content; margin: 12px auto 0; font-size: 25px; line-height: 34px; color: #fff; }
.sh-grades__row { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding: 5px; }
.sh-tbl { border-collapse: collapse; font-family: Montserrat, sans-serif; font-size: 18px; line-height: 18px; color: #6D66AA; }
.sh-tbl--main { flex: 0 0 73.44%; }
.sh-tbl--age { flex: 1 1 0; }
.sh-tbl th { padding: 20px 15px; border: 1px solid #6D66AA; text-align: left; font-weight: 600; color: #fff; text-transform: uppercase; }
.sh-tbl--main th:nth-child(1) { width: 20.27%; }
.sh-tbl--main th:nth-child(2) { width: 27.03%; }
.sh-tbl td { height: 40px; box-sizing: border-box; vertical-align: top; padding: 10px; border: 1px solid #6D66AA; text-align: left; }
.ac-sec .sh-tbl td p { margin-bottom: 23px; }
.ac-sec .sh-tbl td p:last-child { margin-bottom: 5px; }
.sh-tbl strong { font-weight: 600; }
.jr-sec.sh-safe { padding: 90px 30px; }
.sh-safe__head { display: flex; justify-content: center; gap: 20px; padding: 5px; }
.ac-sec .sh-safe__a { font-size: 45px; line-height: 52px; color: #6D66AA; }
.ac-sec .sh-safe__b { font-size: 90px; line-height: 80px; color: #6D66AA; }
.sh-safe__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 10px 20px; margin-top: 20px; padding: 5px; }
.sh-sw { position: relative; }
.sh-sw__box { min-height: 100px; box-sizing: border-box; margin-right: 25px; padding: 18px 43px 22px 58px; border: 2px solid #6C66A4; overflow: hidden; }
.sh-sw__box img { position: absolute; left: -38px; top: 20px; width: 80px; height: 72px; }
.ac-sec .sh-sw h4 { font-size: 26px; line-height: 32px; color: #6C66A4; }
.sh-safe__note { margin-right: 25px; padding-top: 20px; }
.ac-sec .sh-safe__note h5 { font-size: 25px; line-height: 34px; color: #6AC07A; }
.jr-sec.sh-foodimg { z-index: 3; padding: 0; height: 100vh; background: #6AC07A; }
.sh-foodimg__bg { position: absolute; inset: 0; background: url("../../uploads/shamshabad/Food-that-nourishes-body-mind-and-heart.webp") 50% 0 / cover no-repeat; }
.jr-sec.sh-food { padding: 180px 30px; background: #6AC07A; }
.sh-fbox { position: relative; z-index: 2; width: 39.02%; box-sizing: border-box; margin-top: -400px; padding: 60px; background: #6AC07A; display: flex; flex-direction: column; gap: 20px; }
.ac-sec .sh-fbox h4 { font-family: var(--bw-serif); font-style: italic; font-size: 30px; line-height: 40px; color: #6D66AA; text-align: center; }
.sh-fbox ul { align-self: center; width: 305px; max-width: 100%; margin: 15px 0 0; padding: 0; list-style: none; }
.sh-fbox li { position: relative; white-space: nowrap; padding-bottom: 9px; font-size: 20px; line-height: 22px; color: #6D66AA; }
.sh-fbox li + li { margin-top: 9px; }
.sh-fbox li:last-child { padding-bottom: 0; }
.sh-fbox li:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 0; top: 30px; border-top: 1px solid #6D66AA; }
.ac-sec .sh-food__big { max-width: 1214px; margin: 20px 0 0 53px; font-family: var(--bw-serif); font-style: italic; font-size: 89px; line-height: 86px; color: #fff; }
.jr-sec.sh-lead { padding: 90px 30px; }
.ac-sec .sh-lead__h { text-align: center; font-family: var(--bw-serif); font-style: italic; font-size: 35px; line-height: 40px; color: #6D66AA; }
.sh-lead__row { display: flex; gap: 20px; margin-top: 96px; }
.sh-lead__p { flex: 1 1 0; min-width: 0; margin: 0; text-align: center; }
.sh-lead__p img { display: block; width: 100%; height: 413px; object-fit: cover; }
.ac-sec .sh-lead__p h5 { font-family: var(--bw-serif); font-size: 20px; line-height: 30px; color: #6D66AA; }
.ac-sec .sh-lead__p p { margin-bottom: 5px; font-size: 16px; line-height: 25px; color: #000; }
.jr-sec.sh-fam { padding: 0 30px 180px; }
.sh-fam__box { display: flex; flex-direction: column; gap: 20px; padding: 25px; border: 1px solid #6D66AA; }
.sh-fam__chip { align-self: flex-start; padding: 2px 10px 3px; background: #F2F3EE; }
.sh-fam__chip--t { margin: -50.7px 0 0 38px; }
.sh-fam__chip--b { margin: 0 0 -44.4px 38px; }
.ac-sec .sh-fam__chip h3 { font-family: var(--bw-serif); font-size: 35px; line-height: 40px; color: #6D66AA; }
.ac-sec .sh-fam__chip h4 { font-family: var(--bw-serif); font-size: 30px; line-height: 40px; color: #6D66AA; }
.sh-fam__row { display: flex; align-items: flex-start; padding: 5px; }
.sh-stat { flex: 0 0 auto; box-sizing: border-box; display: flex; flex-direction: column; margin-right: 39px; padding-right: 30px; border-right: 3px solid #6D66AA; }
.sh-stat:nth-child(1) { width: 328px; }
.sh-stat:nth-child(2) { width: 299px; }
.sh-stat:nth-child(3) { width: 303px; }
.sh-stat:nth-child(4) { width: 180px; margin-right: 0; padding-right: 0; border-right: 0; }
.sh-stat__n { display: flex; font-size: 95px; line-height: 95px; font-weight: 600; color: #6D66AA; }
.sh-stat__n::before { content: ""; flex: 1 1 auto; }
.sh-stat__n span:last-child { flex: 1 1 auto; text-align: left; }
.sh-stat__l { margin-top: 5px; font-size: 21px; line-height: 28px; color: #6C66A2; }
.sh-stat__l strong { font-weight: 600; }
.ac-sec .sh-stat p { font-size: 22px; line-height: 28px; color: #6D66AA; }
.jr-sec.sh-ready { padding: 90px 30px; background: #6D66AA; }
.ac-sec .sh-ready__h { font-size: 70px; line-height: 80px; color: #fff; }
.ac-sec .sh-ready__sub { margin-top: 20px; padding-left: 12px; font-size: 25px; line-height: 34px; color: #fff; }
.sh-ready__row { display: flex; align-items: center; gap: 20px; margin-top: 20px; padding: 5px; }
.sh-ready__info { flex: 0 0 39.39%; box-sizing: border-box; padding: 5px; display: flex; flex-direction: column; gap: 20px; }
.sh-ready__pill { display: flex; flex-wrap: wrap; margin: 0; padding: 5px 10px; list-style: none; background: #6AC07A; }
.sh-ready__pill li { position: relative; margin-right: 30px; padding-left: 5px; font-size: 18px; line-height: 25px; }
.sh-ready__pill li:last-child { margin-right: 0; }
.sh-ready__pill li:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 0; height: 25px; border-left: 2px solid #6D66AA; }
.sh-ready__pill a { color: #6D66AA; text-decoration: none; }
.sh-ready__btns { flex: 1 1 0; justify-content: space-evenly; }

/* ===== Shamshabad – tablet (768–1024) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .jr-sec.ac-sec.sh-intro, .jr-sec.ac-sec.sh-campus, .jr-sec.ac-sec.sh-top, .jr-sec.ac-sec.sh-ft, .jr-sec.ac-sec.sh-grades, .jr-sec.ac-sec.sh-safe, .jr-sec.ac-sec.sh-food, .jr-sec.ac-sec.sh-lead, .jr-sec.ac-sec.sh-fam, .jr-sec.ac-sec.sh-ready { padding-left: 20px; padding-right: 20px; }
    .jr-sec.sh-intro { padding-top: 120px; padding-bottom: 120px; }
    .sh-hbox { width: 100%; }
    .sh-hbox__btn { margin-top: 35px; }
    .sh-home { flex-direction: column; gap: 0; width: 349px; padding-bottom: 61px; text-align: center; }
    .sh-home__img { flex: none; width: 349px; height: 361px; }
    .sh-home__ic { order: 1; flex: none; width: 30px; margin: 37px 0 0; }
    .sh-home__txt { order: 2; flex: none; width: 100%; box-sizing: border-box; margin-top: 30px; padding: 0 33px; }
    .jr-sec.sh-campus { padding-top: 80px; padding-bottom: 40px; }
    .sh-car .bw-lcar__slide img { width: 467px; max-width: 100%; }
    .sh-campus__btns { width: 100%; }
    .sh-campus__btns .sh-btnrow__ic img { width: 48px; height: 57px; }
    .jr-sec.sh-top { padding-top: 80px; padding-bottom: 80px; }
    .ac-sec.sh-top .ac-in { padding: 0; }
    .ac-sec.sh-top .sh-h45, .ac-sec.sh-top .sh-top__lead { margin-left: 15px; }
    .ac-sec.sh-top .sh-top__lead { max-width: 692px; }
    .sh-top__grid { width: 721px; max-width: 100%; margin-top: 20px; gap: 30px; grid-auto-rows: 1fr; align-items: start; }
    .sh-tc__box { margin-right: 0; }
    .sh-tc__box img { left: -23px; width: 48px; height: 48px; }
    .ac-sec .sh-tc h4 { font-size: 18px; line-height: 25px; }
    .ac-sec .sh-tc p { font-size: 16px; color: #000; }
    .jr-sec.sh-ft { padding-top: 80px; padding-bottom: 80px; }
    .jr-sec.sh-cc { padding-top: 0; padding-bottom: 120px; }
    .ac-sec.sh-cc .sh-ft__row, .ac-sec.sh-incl .sh-ft__row { align-items: flex-start; }
    .ac-sec .sh-ft__txt h4 { font-size: 36px; line-height: 37px; }
    .ac-sec.sh-ft--l .sh-ft__h0 { padding-right: 5px; }
    .ac-sec.sh-cc .sh-ft__h0 { padding-left: 5px; line-height: 37px; }
    .sh-ft__box { width: 233px; padding: 10px 0 0; }
    .sh-ft--l .sh-ft__box { margin-left: 4px; }
    .sh-ft--r .sh-ft__box { margin-left: 6px; }
    .sh-ft--l .sh-ft__btn { padding-right: 4.89px; }
    .sh-ft--r .sh-ft__btn { padding-left: 4.89px; }
    .ac-sec .sh-ft__txt .sh-incl__a { padding-right: 5px; }
    .ac-sec.sh-incl .sh-ft__h0 { padding-right: 12px; }
    .sh-ft__box.sh-incl__box { padding: 10px 0 0; }
    .jr-sec.sh-grades { padding-top: 80px; padding-bottom: 80px; }
    .ac-sec .sh-grades__h { font-size: 34px; }
    .sh-tbl--main { flex: 0 0 481px; }
    .sh-tbl--main th:nth-child(1) { width: 26.4%; }
    .sh-tbl--main th:nth-child(2) { width: 27.65%; }
    .sh-tbl--age td { padding: 8px; }
    .sh-tbl--main td { height: 58px; }
    .sh-tbl--age { flex: 0 0 215px; }
    .jr-sec.sh-safe { padding-top: 80px; padding-bottom: 80px; }
    .ac-sec .sh-safe__a { font-size: 30px; line-height: 35px; }
    .ac-sec .sh-safe__b { font-size: 50px; line-height: 50px; }
    .sh-safe__grid { width: 95%; margin: 20px auto 0; box-sizing: border-box; }
    .sh-sw__box { min-height: 75px; margin-right: 0; padding: 10px 9px 6px 38px; }
    .sh-sw__box img { left: -25px; top: 12px; width: 60px; height: 50px; }
    .ac-sec .sh-sw h4 { font-size: 16px; line-height: 22px; }
    .sh-safe__note { margin-right: 0; padding-top: 10px; }
    .ac-sec .sh-safe__note h5 { font-size: 18px; line-height: 22px; }
    .jr-sec.sh-food { padding-top: 120px; padding-bottom: 120px; }
    .ac-sec.sh-food .ac-in { padding: 0; }
    .sh-fbox { width: 100%; }
    .sh-fbox ul { margin-top: 24px; }
    .ac-sec .sh-food__big { max-width: 670px; margin: 20px 0 0 29px; font-size: 60px; line-height: 57px; }
    .jr-sec.sh-lead { padding-top: 80px; padding-bottom: 80px; }
    .sh-lead__row { margin-top: 67px; overflow: hidden; }
    .sh-lead__p { flex: 0 0 354px; display: flex; align-items: flex-start; text-align: center; }
    .sh-lead__p img { flex: 0 0 230px; width: 230px; height: 223px; }
    .sh-lead__p figcaption { flex: 1 1 0; min-width: 0; }
    .ac-sec .sh-lead__p p { margin-top: 2px; }
    .jr-sec.sh-fam { padding-bottom: 120px; }
    .sh-fam__box { padding: 15px; }
    .sh-fam__chip--t { margin: -27.8px 0 0 20.9px; }
    .sh-fam__chip--b { margin: 0 0 -24.4px 20.9px; }
    .sh-stat { padding-right: 35px; margin-right: 40px; }
    .sh-stat:nth-child(1) { width: 158px; }
    .sh-stat:nth-child(2) { width: 145px; }
    .sh-stat:nth-child(3) { width: 147px; }
    .sh-stat:nth-child(4) { width: 121px; }
    .sh-stat__n { font-size: 50px; line-height: 50px; }
    .ac-sec .sh-stat p { font-size: 16px; line-height: 20px; }
    .jr-sec.sh-ready { padding-top: 80px; padding-bottom: 80px; }
    .sh-ready__row { align-items: flex-start; padding: 0; }
    .sh-ready__info { flex: 0 0 354px; }
    .sh-ready__btns { flex: 0 0 354px; flex-direction: column; margin-top: 2px; box-sizing: border-box; }
    .sh-ready__btns .sh-btnrow__ic img { width: 80px; height: 96px; }
}

/* ===== Shamshabad – mobile (≤767) ===== */
@media (max-width: 767px) {
    .jr-sec.ac-sec.sh-intro, .jr-sec.ac-sec.sh-campus, .jr-sec.ac-sec.sh-top, .jr-sec.ac-sec.sh-ft, .jr-sec.ac-sec.sh-grades, .jr-sec.ac-sec.sh-safe, .jr-sec.ac-sec.sh-food, .jr-sec.ac-sec.sh-lead, .jr-sec.ac-sec.sh-fam, .jr-sec.ac-sec.sh-ready { padding-left: 20px; padding-right: 20px; }
    .jr-sec.sh-hero, .jr-sec.sh-foodimg { height: 75vh; }
    .jr-sec.sh-intro { padding-top: 120px; padding-bottom: 120px; }
    .sh-hbox { width: 100%; margin-top: -254px; padding: 30px; }
    .sh-hbox__btn { margin-top: 17px; text-align: left; }
    .sh-home { flex-direction: column; gap: 0; width: 100%; box-sizing: border-box; padding: 30px 30px 39px; text-align: center; }
    .sh-home__img { flex: none; width: 290px; height: 300px; }
    .sh-home__ic { order: 1; flex: none; width: 40px; margin: 34px 0 0; }
    .sh-home__txt { order: 2; flex: none; width: 100%; margin-top: 29px; padding: 0; }
    .jr-sec.sh-campus { padding-top: 60px; padding-bottom: 20px; }
    .sh-campus__col { gap: 15px; }
    .ac-sec.sh-campus .sh-h35 { text-align: center; }
    .sh-car .bw-lcar__slide img { width: 100%; }
    .sh-campus__btns { flex-direction: column; width: 100%; padding: 0; }
    .sh-btnrow__ic { display: none; }
    .sh-btnrow > div[data-anim="fadeInUp"] { margin-top: 21px; }
    .jr-sec.sh-top { padding-top: 30px; padding-bottom: 30px; }
    .ac-sec.sh-top .ac-in { padding: 0; }
    .ac-sec.sh-top .sh-h45 { margin-left: 7px; text-align: center; }
    .ac-sec.sh-top .sh-top__lead { max-width: 336px; margin-left: 7px; text-align: center; }
    .sh-top__grid { grid-template-columns: 1fr; grid-template-rows: repeat(3, 199px); width: 333px; max-width: 100%; margin-top: 20px; gap: 30px; align-items: start; }
    .sh-tc__box { margin-right: 0; }
    .sh-tc__box img { left: -23px; width: 48px; height: 48px; }
    .ac-sec .sh-tc h4 { font-size: 18px; line-height: 25px; }
    .ac-sec .sh-tc p { font-size: 16px; color: #000; }
    .jr-sec.sh-ft { padding-top: 30px; padding-bottom: 30px; }
    .jr-sec.sh-cc { padding-top: 0; padding-bottom: 120px; }
    .sh-ft__row, .sh-ft--r .sh-ft__row { flex-direction: column-reverse; align-items: stretch; }
    .sh-ft__txt, .sh-ft__img { flex: none; width: 100%; }
    .sh-ft__txt, .sh-ft--l .sh-ft__txt { text-align: center; }
    .sh-ft__img img { width: 100%; }
    .ac-sec .sh-ft__txt h4 { font-size: 38px; line-height: 41px; }
    .ac-sec.sh-ft--l .sh-ft__h0, .ac-sec.sh-cc .sh-ft__h0, .ac-sec.sh-incl .sh-ft__h0 { padding: 0; line-height: 41px; }
    .sh-ft__box, .sh-ft--l .sh-ft__box, .sh-ft--r .sh-ft__box, .sh-ft__box.sh-incl__box { width: auto; margin-left: 0; padding: 10px 0 0; }
    .sh-ft__btn, .sh-ft--l .sh-ft__btn, .sh-ft--r .sh-ft__btn { align-self: center; margin-top: 20px; }
    .sh-ft--l .sh-ft__btn { padding-right: 6.8px; }
    .sh-ft--r .sh-ft__btn { padding-left: 6.8px; }
    .ac-sec .sh-ft__txt .sh-incl__a { padding-right: 0; font-size: 25px; line-height: 35px; text-align: right; }
    .jr-sec.sh-grades { padding-top: 30px; padding-bottom: 36px; }
    .ac-sec .sh-grades__h { width: auto; font-size: 34px; text-align: center; }
    .ac-sec .sh-grades__sub { width: auto; text-align: center; }
    .sh-grades__row { flex-wrap: wrap; gap: 15px 10px; }
    .sh-tbl--main { flex: 0 0 392px; }
    .sh-tbl--main th:nth-child(1) { width: 127px; }
    .sh-tbl--main th:nth-child(2) { width: 111px; }
    .sh-tbl--main td { padding-bottom: 11px; }
    .sh-tbl--main td span { display: flex; justify-content: center; }
    .sh-tbl--age { flex: 0 0 100%; }
    .sh-tbl--age td { padding: 8px; }
    .sh-tbl__flex { display: flex; align-items: center; }
    .sh-tbl__flex p { flex: 1 1 0; min-width: 0; }
    .ac-sec .sh-tbl td .sh-tbl__flex p { margin-bottom: 5px; }
    .jr-sec.sh-safe { padding-top: 30px; padding-bottom: 30px; }
    .sh-safe__head { flex-direction: column; align-items: center; }
    .ac-sec .sh-safe__a { font-size: 25px; line-height: 35px; text-align: center; }
    .ac-sec .sh-safe__b { font-size: 38px; line-height: 41px; text-align: center; }
    .sh-safe__grid { grid-template-columns: 1fr; grid-auto-rows: auto; width: 84%; margin: 20px auto 0; box-sizing: border-box; }
    .sh-sw__box { min-height: 75px; margin-right: 0; padding: 10px 9px 6px 38px; }
    .sh-sw__box img { left: -25px; top: 12px; width: 60px; height: 50px; }
    .ac-sec .sh-sw h4 { font-size: 16px; line-height: 22px; }
    .sh-safe__note { margin-right: 0; padding-top: 0; }
    .ac-sec .sh-safe__note h5 { font-size: 18px; line-height: 22px; text-align: center; }
    .jr-sec.sh-food { padding-top: 120px; padding-bottom: 121px; }
    .ac-sec.sh-food .ac-in { padding: 0; }
    .sh-fbox { width: 100%; margin-top: -254px; padding: 30px; }
    .sh-fbox ul { width: 100%; margin-top: 11px; }
    .sh-fbox li { white-space: normal; }
    .ac-sec .sh-food__big { max-width: none; margin: 19px 14px 0; font-size: 40px; line-height: 45px; text-align: center; }
    .jr-sec.sh-lead { padding-top: 30px; padding-bottom: 30px; }
    .sh-lead__row { margin-top: 38px; overflow: hidden; }
    .sh-lead__p { flex: 0 0 100%; }
    .sh-lead__p img { height: 339px; }
    .ac-sec .sh-lead__p h5 { margin-top: 9px; }
    .jr-sec.sh-fam { padding-bottom: 120px; }
    .sh-fam__box { padding: 40px 25px; }
    .sh-fam__chip { align-self: stretch; text-align: center; }
    .sh-fam__chip--t { margin: -74.5px 0 0; }
    .sh-fam__chip--b { margin: 0 0 -89.4px; }
    .sh-fam__row { flex-direction: column; align-items: stretch; gap: 20px; }
    .sh-stat, .sh-stat:nth-child(1), .sh-stat:nth-child(2), .sh-stat:nth-child(3), .sh-stat:nth-child(4) { width: auto; margin: 0 0 15px; padding: 0; border: 0; }
    .sh-stat__n { font-size: 70px; line-height: 75px; }
    .sh-stat__l { margin-top: 15px; }
    .sh-stat:nth-child(4) { margin-bottom: 20px; }
    .sh-stat:nth-child(4) .sh-stat__l { text-align: center; }
    .ac-sec .sh-stat p { margin-top: 5px; font-size: 22px; line-height: 28px; }
    .jr-sec.sh-ready { padding-top: 30px; padding-bottom: 30px; }
    .ac-sec .sh-ready__h, .ac-sec .sh-ready__sub { text-align: center; }
    .sh-ready__row { flex-direction: column; align-items: stretch; padding: 0; }
    .sh-ready__info { flex: none; }
    .sh-ready__pill li { margin: 0 2.5px; }
    .sh-ready__btns { flex: none; flex-direction: column; }
}

/* ===== Ghatkesar (Nature School) page (custom_html, prefix gk-, reuses sh- blocks) – desktop ===== */
.jr-sec.gk-hero { padding: 0; height: 100vh; background: #6AC07A; }
.gk-hero__bg { position: absolute; inset: 0; background: url("../../uploads/ghatkesar/Ghatkesar-Banner.jpg") 50% 50% / cover no-repeat; }
.jr-sec.gk-intro, .sh-hbox.gk-hbox { background: #6D66AA; }
.ac-sec .gk-tag { color: #6AC07A; }
.gk-nature { display: flex; align-items: center; gap: 20px; background: #6AC07A; }
.gk-nature__txt { flex: 1 1 0; min-width: 0; padding: 0 14px 0 26px; }
.ac-sec .gk-nature h3 { margin-bottom: 14px; font-size: 35px; line-height: 40px; color: #6D66AA; }
.ac-sec .gk-nature p { font-size: 18px; line-height: 27px; color: #6D66AA; }
.gk-nature__img { flex: 0 0 453px; display: block; width: 453px; height: 337px; object-fit: cover; }
.jr-sec.gk-campus { padding: 0 30px 180px; }
.ac-sec.gk-campus .ac-in, .ac-sec.gk-special .ac-in, .ac-sec.gk-future .ac-in, .ac-sec.gk-beyond .ac-in { padding: 0; }
.gk-chip { width: fit-content; margin-left: 6%; padding: 10px 30px 15px; background: #6D66AA; }
.ac-sec .gk-chip h4 { font-size: 30px; line-height: 40px; color: #fff; }
.gk-campus__row { display: flex; align-items: center; margin-top: 86px; }
.gk-campus__img { flex: 0 0 50%; min-width: 0; }
.gk-campus__img img { display: block; width: 100%; height: auto; }
.gk-campus__txt { flex: 0 0 50%; min-width: 0; box-sizing: border-box; padding-left: 4%; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ac-sec .gk-campus__txt h2 { font-size: 30px; line-height: 37px; color: #6D66AA; }
.gk-pill { padding: 5px 20px; border: 1px solid #6D66AA; background: #F2F3EE; }
.ac-sec .gk-pill h4 { font-size: 20px; line-height: 30px; color: #6D66AA; }
.ac-sec .gk-campus__end { font-size: 30px; line-height: 40px; color: #6D66AA; }
.jr-sec.gk-special { padding: 0 30px 180px; }
.gk-special__row { display: flex; gap: 20px; }
.gk-special__a { flex: 0 0 73.86%; min-width: 0; box-sizing: border-box; padding: 5px; display: flex; flex-direction: column; gap: 20px; }
.ac-sec .gk-special__a h4 { font-size: 150px; line-height: 130px; color: #6D66AA; }
.gk-special__first { width: 40%; margin: -100px 0 0 60%; }
.gk-special__b { flex: 1 1 0; min-width: 0; box-sizing: border-box; padding: 132px 5px 5px; display: flex; flex-direction: column; gap: 29px; }
.ac-sec .gk-special__item p { margin-bottom: 5px; font-size: 18px; line-height: 29px; color: #6D66AA; }
.gk-special__item strong { font-weight: 600; }
.jr-sec.gk-future { padding: 0 30px; }
.gk-future__row { display: flex; }
.gk-future__box { flex: 0 0 28.03%; box-sizing: border-box; padding: 40px; background: #6AC07A; display: flex; flex-direction: column; gap: 10px; }
.ac-sec .gk-future__box h4 { font-size: 38px; line-height: 40px; font-weight: 600; color: #fff; }
.ac-sec .gk-future__box h5 { margin-top: 12px; font-size: 26px; line-height: 36px; color: #6D66AA; }
.gk-future__box h5 span { color: #fff; }
.gk-future__img { flex: 1 1 0; min-width: 0; }
.gk-future__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jr-sec.gk-beyond { padding: 90px 30px; }
.gk-beyond__row { display: flex; gap: 20px; }
.gk-beyond__a { flex: 0 0 73.86%; min-width: 0; box-sizing: border-box; padding: 5px; display: flex; flex-direction: column; gap: 20px; }
.ac-sec .gk-beyond__a h2 { font-size: 130px; line-height: 110px; color: #6D66AA; }
.ac-sec .gk-beyond__sub { padding-left: 12px; font-size: 20px; line-height: 25px; color: #6D66AA; }
.gk-beyond__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 5px; padding: 5px; }
.gk-beyond__grid > div { padding: 6px 5px; background: #6AC07A; }
.ac-sec .gk-beyond__grid h6 { font-size: 18px; line-height: 22px; color: #fff; text-align: center; }
.gk-beyond__img { flex: 1 1 0; min-width: 0; align-self: flex-end; box-sizing: border-box; padding: 5px; margin-bottom: 5px; }
.gk-beyond__img img { display: block; width: 100%; height: auto; }
.jr-sec.sh-grades.gk-grades { padding-bottom: 90px; }
.ac-sec.gk-grades .sh-grades__sub { margin-top: 20px; }
.sh-tbl.gk-tbl th { padding: 20px 15px 21px; text-align: center; font-size: 16px; line-height: 16px; }
.sh-tbl--main.gk-tbl { flex: 0 0 59.54%; }
.sh-tbl--main.gk-tbl th:nth-child(1) { width: 20.26%; }
.sh-tbl--main.gk-tbl th:nth-child(2) { width: 27.05%; }
.sh-tbl.gk-tbl td { height: 48px; padding: 14px 10px; text-align: center; }
.sh-tbl--age.gk-tbl td { padding: 7px; }
.ac-sec .gk-tbl td p, .ac-sec .gk-tbl td p:last-child { margin-bottom: 5px; }
.ac-sec .gk-tbl td p.gk-b20 { padding-bottom: 20px; }
.jr-sec.gk-foodimg { height: 130vh; }
.gk-foodimg__bg { position: absolute; inset: 0; background: url("../../uploads/ghatkesar/Food-that-nourishes-body-mind-and-heart.webp") 50% 100% / cover no-repeat; }
.sh-fbox.gk-fbox { width: 40%; padding: 40px; }
.ac-sec .gk-fbox__sub { margin-top: 17px; font-family: var(--bw-serif); font-style: italic; font-size: 25px; line-height: 34px; color: #fff; text-align: center; }
.sh-fbox.gk-fbox ul { width: 100%; margin-top: 18px; }
.sh-fbox.gk-fbox li { white-space: normal; }
.ac-sec .sh-food__big.gk-food__big { max-width: 924px; margin-left: 13px; font-size: 90px; line-height: 90px; }

/* ===== Ghatkesar – tablet (768–1024) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .jr-sec.ac-sec.gk-campus, .jr-sec.ac-sec.gk-special, .jr-sec.ac-sec.gk-beyond { padding-left: 20px; padding-right: 20px; }
    .sh-hbox.gk-hbox { padding: 40px; }
    .gk-nature { align-items: flex-start; padding-bottom: 50px; }
    .gk-nature__txt { padding: 29px 7px 29px 15px; text-align: center; }
    .gk-nature__img { flex-basis: 346px; width: 346px; height: 257px; }
    .jr-sec.gk-campus { padding-bottom: 120px; }
    .gk-campus__row { align-items: flex-start; margin-top: 56px; }
    .gk-campus__txt { padding: 0 2% 0 4%; }
    .ac-sec .gk-campus__txt h2 { font-size: 24px; line-height: 30px; }
    .ac-sec .gk-pill h4 { font-size: 18px; line-height: 22px; }
    .jr-sec.gk-special { padding-bottom: 120px; }
    .gk-special__a { flex-basis: 68%; }
    .ac-sec .gk-special__a h4 { font-size: 75px; line-height: 78px; }
    .gk-special__first { width: 43.1%; margin: -74px 0 0 57.1%; }
    .gk-special__b { padding-top: 32px; gap: 20px; }
    .ac-sec .gk-special__item p { font-size: 16px; line-height: 24px; }
    .gk-future__row { flex-direction: column-reverse; }
    .gk-future__box { flex: none; }
    .ac-sec .gk-future__box h5 { margin: 25px 0; }
    .jr-sec.gk-beyond { padding-top: 80px; padding-bottom: 80px; }
    .gk-beyond__a { flex-basis: 68%; }
    .ac-sec .gk-beyond__a h2 { font-size: 75px; line-height: 78px; }
    .gk-beyond__grid { margin: -9.7px 0 0; }
    .ac-sec .gk-beyond__grid h6 { font-size: 15px; line-height: 20px; }
    .ac-sec .gk-beyond__grid > div:nth-child(2) h6 { font-size: 13px; }
    .ac-sec .gk-beyond__grid > div:nth-child(3) h6 { font-size: 11px; }
    .jr-sec.sh-grades.gk-grades { padding-bottom: 80px; }
    .sh-tbl--main.gk-tbl { flex: 0 0 481px; }
    .sh-tbl--main.gk-tbl th:nth-child(1) { width: 26.4%; }
    .sh-tbl--main.gk-tbl th:nth-child(2) { width: 26.8%; }
    .sh-tbl--age.gk-tbl td { padding: 7px; }
    .ac-sec.gk-lead .sh-lead__p p { margin-top: 0; }
    .sh-fbox.gk-fbox { width: 75%; margin: -254.8px auto 0; gap: 0; }
    .ac-sec .gk-fbox__sub { margin-top: 19px; }
    .sh-fbox.gk-fbox ul { margin-top: 19px; }
    .ac-sec .sh-food__big.gk-food__big { max-width: 582px; margin: 21px 0 0 62px; font-size: 60px; line-height: 57px; text-align: center; }
    .ac-sec.gk-ready .sh-ready__row { align-items: center; }
    .ac-sec.gk-ready .sh-ready__info { flex-basis: 425px; }
    .ac-sec.gk-ready .sh-ready__pill li { margin: 0 5px 0 0; }
    .ac-sec.gk-ready .sh-ready__btns { flex: 0 0 283px; align-items: center; gap: 50px; margin-top: 0; }
    .ac-sec.gk-ready .sh-btnrow__ic { display: none; }
}

/* ===== Ghatkesar – mobile (≤767) ===== */
@media (max-width: 767px) {
    .jr-sec.ac-sec.gk-campus, .jr-sec.ac-sec.gk-special, .jr-sec.ac-sec.gk-beyond { padding-left: 20px; padding-right: 20px; }
    .jr-sec.gk-hero { height: 75vh; }
    .gk-hbox__row { flex-wrap: wrap; }
    .gk-hbox__row .gk-ic { display: block; }
    .gk-hbox__row > div[data-anim="fadeInUp"] { margin-top: 17px; text-align: left; }
    .gk-nature { flex-direction: column; align-items: center; gap: 0; padding: 20px; }
    .gk-nature__img { order: -1; flex: none; width: 310px; height: 231px; }
    .gk-nature__txt { flex: none; width: 100%; box-sizing: border-box; margin-top: 20px; padding: 12px 3px 12px 6px; text-align: center; }
    .jr-sec.gk-campus { padding-bottom: 120px; }
    .gk-chip { margin: 0 auto; }
    .ac-sec .gk-chip h4 { text-align: center; }
    .gk-campus__row { flex-direction: column; align-items: stretch; margin-top: 38px; }
    .gk-campus__img, .gk-campus__txt { flex: none; width: 100%; }
    .gk-campus__txt { margin-top: -1px; padding: 45.5px 0 21px; align-items: center; text-align: center; }
    .ac-sec .gk-campus__txt h2 { font-size: 24px; line-height: 30px; }
    .ac-sec .gk-pill h4 { font-size: 18px; line-height: 22px; }
    .jr-sec.gk-special { padding-bottom: 120px; }
    .gk-special__row { flex-direction: column; }
    .gk-special__a, .gk-special__b { flex: none; }
    .ac-sec .gk-special__a h4 { font-size: 38px; line-height: 46px; text-align: center; }
    .gk-special__first { width: auto; margin: 0; }
    .gk-special__b { padding: 5px; gap: 20px; }
    .gk-special__item { text-align: center; }
    .ac-sec .gk-special__item p { margin-bottom: 0; font-size: 16px; line-height: 24px; }
    .gk-future__row { flex-direction: column-reverse; }
    .gk-future__box { flex: none; padding: 25px 25px 50px; text-align: center; }
    .jr-sec.gk-beyond { padding-top: 30px; padding-bottom: 30px; }
    .gk-beyond__row { flex-direction: column-reverse; }
    .gk-beyond__a, .gk-beyond__img { flex: none; width: 100%; }
    .gk-beyond__img { align-self: stretch; }
    .ac-sec .gk-beyond__a h2 { font-size: 38px; line-height: 46px; text-align: center; }
    .ac-sec .gk-beyond__sub { text-align: center; }
    .gk-beyond__grid { grid-template-columns: 1fr; margin: -9.7px 0 0; padding: 0; }
    .ac-sec .gk-beyond__grid h6 { font-size: 18px; line-height: 30px; }
    .jr-sec.sh-grades.gk-grades { padding-bottom: 38px; }
    .sh-tbl--main.gk-tbl { flex: 0 0 383px; }
    .sh-tbl--main.gk-tbl th:nth-child(1) { width: 127px; }
    .sh-tbl--main.gk-tbl th:nth-child(2) { width: 102px; }
    .jr-sec.gk-foodimg { height: 75vh; }
    .gk-foodimg__bg { background-position: 50% 0; }
    .sh-fbox.gk-fbox { width: 100%; margin: -254px 0 0; padding: 30px; gap: 0; }
    .ac-sec .gk-fbox__sub { margin-top: 12px; }
    .sh-fbox.gk-fbox ul { margin-top: 11px; }
    .ac-sec .sh-food__big.gk-food__big { max-width: 315px; margin: 20px 0 0 12px; font-size: 40px; line-height: 45px; text-align: center; }
    .ac-sec.gk-ready .sh-ready__pill { justify-content: center; text-align: center; }
    .ac-sec.gk-ready .sh-ready__pill li { margin: 0 2.5px; }
}

/* ===== more live buttons ===== */
a.lvb--b205 { padding: 14px 54px 17px 65px; background-image: url("../../uploads/buttons/Blackbutton-1.svg"); background-size: 205px auto; }
a.lvb--b205:hover { color: #fff; background-image: url("../../uploads/buttons/Whitebutton-1.svg"); }
a.lvb--w261 { padding: 14px 40px 15px 65px; }
a.lvb--w261:hover { color: #fff; background-image: url("../../uploads/buttons/white260px.svg"); }
a.lvb--350 { padding: 14px 48px 15px 67px; background-image: url("../../uploads/buttons/black350px.svg"); background-size: 352px auto; }
a.lvb--350:hover { background-image: url("../../uploads/buttons/green350px.svg"); }

/* ===== Admissions page (custom_html, prefix ad-, reuses sh-/gk- blocks) – desktop ===== */
.jr-sec.ad-hero { padding: 0; height: 100vh; background: #6AC07A; }
.ad-hero__bg { position: absolute; inset: 0; background: url("../../uploads/admissions/Admissions-Basil-Woods.webp") 50% 50% / cover no-repeat; }
.sh-btnrow.ad-btns { justify-content: space-evenly; }
.ad-ov { display: flex; align-items: center; gap: 20px; padding: 25px; background: #6AC07A; }
.ad-ov__txt { flex: 1 1 0; min-width: 0; padding: 0 38px; }
.ac-sec .ad-ov h3 { margin-bottom: 14px; font-size: 35px; line-height: 40px; color: #FFF8AC; }
.ac-sec .ad-ov p { font-size: 18px; line-height: 27px; color: #FFF8AC; }
.ad-ov__img { flex: 0 0 517px; display: block; width: 517px; height: 345px; object-fit: cover; }
.jr-sec.ad-elig { padding: 0 30px 180px; }
.ac-sec.ad-elig .ac-in, .ac-sec.ad-docs .ac-in, .ac-sec.ad-fee .ac-in, .ac-sec.ad-exp .ac-in { padding: 0; }
.ad-elig__row { display: flex; gap: 20px; margin-top: calc(6% + 20px); padding: 5px; }
.ad-elig__label { flex: 0 0 24.62%; box-sizing: border-box; margin-right: 39.3px; padding: 5px; border-right: 2px solid #6D66AA; display: flex; flex-direction: column; justify-content: center; text-align: center; }
.ac-sec .ad-elig__label h5 { font-size: 25px; line-height: 34px; color: #6D66AA; }
.ac-sec .ad-elig__label h6 { font-size: 20px; line-height: 25px; color: #6D66AA; }
.ad-elig__main { flex: 1 1 0; min-width: 0; box-sizing: border-box; padding: 5px; }
.ad-age { display: flex; align-items: center; padding: 5px; }
.ad-age__box { padding: 10px 15px 10px 14px; border: 1px solid #6D66AA; background: #F2F3EE; }
.ac-sec .ad-age__box h4 { white-space: nowrap; font-size: 22px; line-height: 31px; color: #6D66AA; text-align: center; }
.ad-age__sq { flex: 0 0 25px; height: 30px; background: #6D66AA; }
.ac-sec .ad-elig__note { padding: 5px; font-size: 18px; line-height: 22px; color: #000; }
.ad-req { flex: 1 1 0; min-width: 0; display: flex; padding: 5px; }
.ad-req__i { box-sizing: border-box; margin-right: 18.36px; padding-right: 18.36px; border-right: 1px solid #000; }
.ad-req__i:nth-child(1) { flex: 0 0 31.96%; }
.ad-req__i:nth-child(2) { flex: 0 0 23%; }
.ad-req__i:nth-child(3) { flex: 0 0 39.06%; border-right: 0; }
.ac-sec .ad-req h6 { font-size: 20px; line-height: 25px; color: #6D66AA; }
.jr-sec.ad-proc { padding: 0 30px 180px; background: #F2F3EE url("../../uploads/admissions/Admission-Process.webp") 500px 108px / 845px auto no-repeat; }
.ad-proc__box { width: 510px; max-width: 100%; box-sizing: border-box; padding: 50px 0; background: url("../../uploads/admissions/bg-transparent-2.png") 0 0 / contain repeat; display: flex; flex-direction: column; }
.ad-proc__t { padding-left: 71.4px; }
.ac-sec .ad-proc__t h3 { font-size: 35px; line-height: 40px; color: #fff; }
.ac-sec .ad-proc__t h5 { font-size: 25px; line-height: 34px; color: #000; }
.ad-step { padding: 13px 10px; background: #6AC07A; }
.ac-sec .ad-step h4 { font-size: 23px; line-height: 26px; color: #fff; }
.ad-step__sp { margin-right: 20px; }
.ad-step__d { padding: 0 71.4px 5.1px; }
.ac-sec .ad-step__d h6 { font-size: 17px; line-height: 18px; color: #000; }
.jr-sec.ad-fee { padding: 90px 30px; background: #94B5DE; }
.ad-fee__col { width: 60.6%; margin: 0 auto; box-sizing: border-box; padding: 5px; display: flex; flex-direction: column; gap: 20px; }
.ac-sec .ad-fee__col h2 { font-size: 45px; line-height: 52px; color: #6D66AA; }
.ac-sec .ad-fee__col h4 { font-size: 30px; line-height: 40px; color: #fff; }
.sh-btnrow.ad-fee__btns { justify-content: flex-start; margin-top: 16px; }
.jr-sec.ad-dates { padding: 90px 30px; }
.ac-sec .ad-dates__h { font-size: 45px; line-height: 52px; color: #6D66AA; }
.ad-dates__row { display: flex; gap: 10px 35px; margin-top: 20px; padding: 5px; }
.ad-date { flex: 0 0 35.04%; height: 130px; box-sizing: border-box; padding: 12px 30px 22px; border: 2px solid #6C66A4; }
.ac-sec .ad-date h2 { font-size: 36px; line-height: 50px; color: #6C66A4; }
.ac-sec .ad-date p { margin-bottom: 5px; font-size: 15px; line-height: 22px; color: #000; }
.ad-date--wide { flex-basis: 72.52%; height: 75px; }
.ac-sec .ad-date--wide h2 { display: inline-block; line-height: 45px; }
.ac-sec .ad-date--wide p { display: inline-block; line-height: 24px; }
.jr-sec.sh-grades.ad-grades { padding-bottom: 90px; }
.ac-sec .ad-grades__h { font-size: 30px; line-height: 40px; }
.ac-sec.ad-grades .sh-grades__sub { margin-top: 20px; }
.jr-sec.ad-docs { padding: 90px 30px; }
.ad-docs__chip { position: relative; z-index: 2; }
.ad-docs__box { width: 514px; max-width: 100%; box-sizing: border-box; margin: calc(20px - 4%) 0 0 20%; padding: 50px 30px 30px; border: 1px solid #6D66AA; }
.ad-docs__box ul { margin: 0; padding: 0; list-style: none; }
.ad-docs__box li { position: relative; padding-bottom: 8px; font-size: 20px; line-height: 25px; color: #6D66AA; }
.ad-docs__box li + li { margin-top: 8px; }
.ad-docs__box li:last-child { padding-bottom: 0; }
.ad-docs__box li:not(:last-child)::after { content: ""; position: absolute; left: 0; right: 0; top: 32px; border-top: 1px solid #6D66AA; }
.jr-sec.ad-exp { padding: 90px 30px 172px; }
.ad-exp__row { display: flex; }
.ad-exp__box { flex: 0 0 28.03%; box-sizing: border-box; padding: 40px; background: #6AC07A; display: flex; flex-direction: column; gap: 10px; }
.ac-sec .ad-exp__box h3 { font-size: 35px; line-height: 40px; color: #fff; }
.ad-exp__btn { margin-top: 30px; line-height: 25px; }
.bw-vid.ad-vid { flex: 1 1 0; min-width: 0; width: auto; height: 535px; aspect-ratio: auto; }
.bw-vid .ad-vid__play { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; opacity: 0; cursor: pointer; }
.jr-sec.ad-faq { padding: 0 5px; }
.ac-sec.ad-faq .ac-in { padding: 5px 0; }
.ad-faq__row { display: flex; gap: 20px; }
.ad-faq__col { flex: 1 1 0; min-width: 0; box-sizing: border-box; padding: 5px; display: flex; flex-direction: column; gap: 20px; }
.ac-sec .ad-faq__col h2 { margin: 30px 0 0 37px; font-size: 45px; line-height: 52px; color: #6D66AA; }
.ad-faq__list { width: 582px; max-width: 100%; margin-left: 29px; }
.ad-faq__i { margin-bottom: 10px; }
.ad-faq__i:last-child { margin-bottom: 0; }
.ad-faq__i summary { display: block; padding: 10px; border-bottom: 1px solid #6D66AA; list-style: none; font-size: 17px; line-height: 25px; color: #1F2124; cursor: pointer; }
.ad-faq__i summary::-webkit-details-marker { display: none; }
.ad-faq__i[open] summary { margin-bottom: 10px; color: #6D66AA; }
.ad-faq__a { padding: 5px; border-bottom: 2px solid #6D66AA; }
.ac-sec .ad-faq__a p { margin-bottom: 5px; font-size: 16px; line-height: 25px; color: #000; }
.ad-chip { width: fit-content; background: #6D66AA; }
.ac-sec .ad-chip h3, .ac-sec .ad-chip a { font-size: 35px; line-height: 40px; color: #fff; text-decoration: none; }
.ad-faq__git { width: 375px; box-sizing: border-box; margin: 105px 0 0 30px; padding: 7px 0 7px 30px; }
.jr-sec.ad-test { padding: 0 30px 180px; }
.ac-sec.ad-test .ac-in { padding: 0; }
.ad-test__head { margin: 0 30px; padding: 10px 5px 0; }
.ad-test__head .ad-chip { padding: 7px 30px; }
.ad-test__grid { display: grid; grid-template-columns: repeat(2, 645px); gap: 20px; margin: 2px 30px 0; padding: 5px; }
.bw-vid.ad-tvid { aspect-ratio: auto; height: 363px; }
.bw-vid .ad-tvid__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; padding: 0; border: 0; background: none; color: #fff; opacity: .8; filter: drop-shadow(1px 0 6px rgba(0,0,0,.3)); cursor: pointer; }
.bw-vid .ad-tvid__play svg { display: block; width: 100%; height: 100%; }
.sh-tbl--age.ad-tbl td { padding: 6px 7px 7px; }
.sh-tbl.ad-main th, .sh-tbl.ad-tbl th { padding: 20px 15px 21px; font-size: 16px; line-height: 16px; }
.ac-sec .ad-tbl td p { margin-bottom: 18px; }
.ac-sec .ad-tbl td p:last-child { margin-bottom: 5px; }

/* ===== Admissions – tablet (768–1024) ===== */
@media (min-width: 768px) and (max-width: 1024px) {
    .jr-sec.ac-sec.ad-elig, .jr-sec.ac-sec.ad-proc, .jr-sec.ac-sec.ad-fee, .jr-sec.ac-sec.ad-dates, .jr-sec.ac-sec.ad-docs, .jr-sec.ac-sec.ad-exp, .jr-sec.ac-sec.ad-test { padding-left: 20px; padding-right: 20px; }
    .jr-sec.ad-hero { height: 70vh; }
    .sh-hbox.ad-hbox { padding: 40px; }
    .ad-ov { align-items: flex-start; }
    .ad-ov__txt { padding: 0 21px 0 20px; }
    .ad-ov__img { flex-basis: 328px; width: 328px; height: 219px; }
    .jr-sec.ad-elig { padding-bottom: 120px; }
    .ad-elig__label { flex-basis: 210px; margin-right: 0; }
    .ac-sec .ad-age__box h4 { white-space: normal; font-size: 18px; line-height: 22px; }
    .ad-age__box { flex: none; box-sizing: border-box; }
    .ad-age__box:nth-child(1) { width: 102px; }
    .ad-age__box:nth-child(3), .ad-age__box:nth-child(9) { width: 87px; }
    .ad-age__box:nth-child(5) { width: 67px; }
    .ad-age__box:nth-child(7) { width: 68px; }
    .ad-age__sq { margin-right: -11px; }
    .ac-sec .ad-tbl td p:last-child { margin-bottom: 18px; }
    .ad-req__i { margin-right: 9.56px; padding-right: 9.56px; }
    .jr-sec.ad-proc { padding-bottom: 120px; background-position: 50% 50%; background-size: cover; }
    .ad-proc__box { width: 500px; margin: 14% 2% 0 auto; }
    .ad-proc__t { padding-left: 70px; }
    .ad-step__d { padding: 0 70px 5px; }
    .jr-sec.ad-fee { padding-top: 80px; padding-bottom: 80px; }
    .ad-fee__col { width: 100%; }
    .sh-btnrow.ad-fee__btns { align-items: center; margin-top: 14px; }
    .ad-fee__btns .ad-ic { display: none; }
    .jr-sec.ad-dates { padding-top: 80px; padding-bottom: 80px; }
    .ad-dates__row { gap: 10px 20px; align-items: flex-start; }
    .ad-date { flex: 0 0 auto; height: auto; padding: 12px 20px 22px; }
    .ad-dates__row:first-of-type .ad-date:last-child, .ad-date--wide { flex: 1 1 auto; }
    .ac-sec .ad-date h2, .ac-sec .ad-date--wide h2 { margin-bottom: 10px; font-size: 28px; line-height: 34px; }
    .jr-sec.sh-grades.ad-grades { padding-bottom: 80px; }
    .jr-sec.ad-docs { padding-top: 80px; padding-bottom: 80px; }
    .jr-sec.ad-exp { padding-top: 80px; padding-bottom: 80px; }
    .ad-exp__row { flex-direction: column-reverse; }
    .ad-exp__box { flex: none; margin-top: -1px; }
    .ad-exp__btn { align-self: center; margin-top: 65px; }
    .bw-vid.ad-vid { flex: none; width: 100%; height: 410px; }
    .ad-faq__list { width: 327px; margin-left: 16px; }
    .ad-faq__git { width: 341px; margin: 118.5px 0 0; }
    .ad-test__grid { grid-template-columns: repeat(2, 349px); }
    .bw-vid.ad-tvid { height: 196px; }
}

/* ===== Admissions – mobile (≤767) ===== */
@media (max-width: 767px) {
    .jr-sec.ac-sec.ad-elig, .jr-sec.ac-sec.ad-proc, .jr-sec.ac-sec.ad-fee, .jr-sec.ac-sec.ad-dates, .jr-sec.ac-sec.ad-docs, .jr-sec.ac-sec.ad-exp, .jr-sec.ac-sec.ad-test { padding-left: 20px; padding-right: 20px; }
    .jr-sec.ad-hero { height: 75vh; }
    .sh-btnrow.ad-btns { flex-direction: column; justify-content: center; gap: 37px; padding: 17px 0 1px; }
    .sh-btnrow.ad-btns > div[data-anim="fadeInUp"] { margin-top: 0; }
    .ad-btns .ad-ic { display: none; }
    .ad-ov { flex-direction: column; align-items: center; gap: 0; padding: 30px; }
    .ad-ov__img { order: -1; flex: none; width: 290px; height: 193px; }
    .ad-ov__txt { flex: none; width: 100%; box-sizing: border-box; margin-top: 21px; padding: 0 8px 0 9px; text-align: center; }
    .jr-sec.ad-elig { padding-bottom: 120px; }
    .ad-elig .gk-chip { margin: 0 auto; }
    .ac-sec.ad-elig .gk-chip h4 { text-align: center; }
    .ad-elig__row { flex-direction: column; }
    .ad-elig__label { flex: none; margin-right: 0; border-right: 0; }
    .ad-elig__main { flex: none; }
    .ad-age { flex-direction: column; justify-content: center; }
    .ad-age__sq { flex: 0 0 30px; width: 25px; }
    .ac-sec .ad-age__box h4 { font-size: 18px; line-height: 22px; }
    .ac-sec .ad-elig__note { margin: 9.9px 0; text-align: center; }
    .ad-req { flex: none; flex-direction: column; }
    .ad-req__i, .ad-req__i:nth-child(1), .ad-req__i:nth-child(2), .ad-req__i:nth-child(3) { flex: none; margin: 0 0 16.5px; padding: 0 0 16.5px; border-right: 0; border-bottom: 1px solid #000; }
    .ad-req__i:nth-child(3) { border-bottom: 0; }
    .ac-sec .ad-req h6 { text-align: center; }
    .jr-sec.ad-proc { padding-bottom: 120px; background-position: 50% 50%; background-size: cover; }
    .ad-proc__box { width: 100%; margin-top: 0; }
    .ad-proc__t { padding-left: 49px; }
    .ac-sec .ad-proc__t h3 { font-size: 28px; line-height: 36px; }
    .ac-sec .ad-step h4 { font-size: 17px; line-height: 20px; }
    .ac-sec .ad-step:nth-of-type(7) h4 { font-size: 16px; }
    .ac-sec.ad-proc .ac-in { padding: 35% 0 0; }
    .ad-fee__btns > div { text-align: left; }
    .ad-agec { display: flex; align-items: center; justify-content: center; }
    .ad-step__d { padding: 7px 49px; }
    .jr-sec.ad-fee { padding-top: 30px; padding-bottom: 30px; }
    .ad-fee__col { width: 100%; text-align: center; }
    .ac-sec .ad-fee__col h2 { align-self: center; }
    .sh-btnrow.ad-fee__btns { flex-direction: column; align-items: center; gap: 41px; margin-top: 0; padding: 27px 0 0; }
    .sh-btnrow.ad-fee__btns > div[data-anim="fadeInUp"] { margin-top: 0; }
    .jr-sec.ad-dates { padding-top: 30px; padding-bottom: 30px; }
    .ac-sec .ad-dates__h { text-align: center; }
    .ad-dates__row { flex-direction: column; width: 95%; margin-left: auto; margin-right: auto; box-sizing: border-box; gap: 10px; }
    .ad-date, .ad-date--wide { flex: none; height: auto; padding: 12px 20px 22px; }
    .ac-sec .ad-date h2, .ac-sec .ad-date--wide h2 { margin-bottom: 10px; font-size: 28px; line-height: 34px; }
    .jr-sec.sh-grades.ad-grades { padding-bottom: 41px; }
    .ac-sec .ad-grades__h { text-align: center; }
    .sh-tbl--main.ad-main { flex: 0 0 383px; }
    .sh-tbl--main.ad-main th:nth-child(2) { width: 102px; }
    .sh-tbl--main.ad-main td { padding: 10px; }
    .sh-tbl--age.ad-tbl { flex: 0 0 404px; }
    .sh-tbl--age.ad-tbl td { padding: 7px; }
    .ac-sec .ad-tbl td p, .ac-sec .ad-tbl td p:last-child { margin-bottom: 5px; }
    .jr-sec.ad-docs { padding-top: 30px; padding-bottom: 30px; }
    .ad-docs__chip.gk-chip { width: auto; margin: 0; text-align: center; }
    .ad-docs__box { width: auto; margin: -32.5px 5px 0; }
    .jr-sec.ad-exp { padding-top: 30px; padding-bottom: 30px; }
    .ad-exp__row { flex-direction: column-reverse; }
    .ad-exp__box { flex: none; padding: 25px 25px 40px; text-align: center; }
    .ad-exp__btn { align-self: center; }
    .bw-vid.ad-vid { flex: none; width: 100%; height: 197px; }
    .ad-faq__row { flex-direction: column; }
    .ad-faq__list { width: 333px; margin-left: 24px; }
    .ad-faq__git { width: 333px; margin: 0 0 0 24px; text-align: center; }
    .ac-sec .ad-faq__git h3, .ac-sec .ad-faq__git a { font-size: 28px; }
    .ad-test__head { margin: 0; padding: 5px 5px 0; }
    .ad-test__head .ad-chip { width: auto; text-align: center; }
    .ac-sec .ad-test__head h3, .ac-sec .ad-test__head a { font-size: 28px; line-height: 32px; }
    .ad-test__grid { grid-template-columns: 1fr; margin: 2px 0 0; }
    .bw-vid.ad-tvid { height: 191px; }
}

/* ===== Home counters: label sits directly under the number, as on live (removes the -30px overlap) ===== */
@media (min-width: 1025px) {
    .sec-stats .bw-stat__label { margin-top: 0; }
    .sec-stats .row { flex-wrap: nowrap; justify-content: space-evenly !important; gap: 20px 35px; margin: 1px -15px 0 !important; --bs-gutter-x: 0; --bs-gutter-y: 0; }
    .sec-stats .row > [class*="col-"] { flex: 0 0 auto !important; width: auto !important; max-width: none; padding: 0 !important; margin-top: 0; }
    .sec-stats .row > [class*="col-"] + [class*="col-"] .bw-stat { border-left: 0; padding-left: 0; margin-left: 0; }
    .sec-stats .row > [class*="col-"]:not(:last-child) .bw-stat { padding-right: 20px; border-right: 3px solid var(--bw-purple); }
}

/* ===== Culture Connect (cc-): custom_html sections matching live at 1440/768/390 ===== */
.jr-sec.cc-hero { padding: 0; height: 100vh; background: #6AC07A; }
.cc-hero__bg { position: absolute; inset: 0; background: url("../../uploads/culture-connect/Culture-Connect-banner.jpg") top center / cover no-repeat; }
.jr-sec.cc-intro { padding: 80px 0; background: #6D66AA; }
.cc-intro__in { max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; }
.cc-hbox { width: 60%; margin-top: -250px; padding: 60px; background: #6D66AA; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; position: relative; text-align: center; }
.cc-hbox__sub { align-self: center; }
.cc-hbox h4 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 30px; line-height: 40px; }
.cc-hbox__sub h4 { font-weight: 100; color: #6AC07A; }
.cc-hbox__tag { align-self: center; margin-bottom: 4%; }
.cc-hbox__tag h4 { color: #fff; }

.jr-sec.cc-why { padding: 100px 30px 60px; }
.cc-why__col { padding: 5px; display: flex; flex-direction: column; gap: 20px; align-items: center; text-align: center; }
.cc-why .cc-why__h { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 30px; line-height: 40px; color: #6AC07A; }
.cc-why__stroke { height: 25px; padding-top: 12px; box-sizing: border-box; }
.cc-why__stroke img { display: block; width: 150px; height: 4px; object-fit: cover; }
.cc-why__txt { width: 900px; max-width: 900px; }
.cc-why__txt h6 { font-size: 20px; line-height: 25px; color: #6D66AA; }
.cc-why__img img { display: block; width: 900px; max-width: 100%; height: auto; }

.jr-sec.cc-pil, .jr-sec.cc-gal, .jr-sec.cc-prog, .jr-sec.cc-pra { padding: 90px 30px; }
.cc-pil__h h2, .cc-gal__h h2, .cc-prog__h h2 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 45px; line-height: 52px; color: #6D66AA; }
.cc-pil__h { margin-bottom: 55px; }
.cc-pil__grid { padding: 5px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 1fr); gap: 20px; }
.cc-gbox { background: #6AC07A; border-radius: 10px; padding: 25px; color: #fff; }
.cc-gbox__img { display: block; width: 100%; height: auto; margin-bottom: 20px; clear: both; }
.cc-gbox h4 { font-size: 24px; line-height: 30px; color: #fff; margin-bottom: 5px; }
.cc-sep { width: 100%; clear: both; margin-bottom: 25px; }
.cc-sep__l { float: left; width: 20px; margin-left: -25px; }
.cc-sep__r { float: right; width: 20px; margin-right: -25px; }
.cc-gbox p { font-size: 20px; line-height: 30px; margin-bottom: 5px; }

.jr-sec.cc-gal { background: #6AC07A; }
.cc-gal__h { margin-bottom: 25px; }
.cc-gal__h h2 { color: #fff; }
.cc-gal__grid { padding: 5px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(1, 1fr); gap: 20px; align-items: start; }
.cc-gcard { background: #fff; padding: 15px; text-align: center; }
.cc-gcard a { color: inherit; text-decoration: none; }
.cc-gcard img { float: right; }
.cc-gcard__img { width: 100%; height: auto; margin-bottom: 20px; }
.cc-gcard h4 { font-size: 24px; line-height: 35px; color: #6D66AA; margin-bottom: 5px; }
.cc-gcard p { color: #6D66AA; margin-bottom: 8px; }
.cc-gcard__arr { width: 56px; height: 18px; }
.cc-gal__btn { margin-top: 45px; text-align: center; }

.cc-prog__h { margin-bottom: 35px; text-align: center; }
.cc-prog__h h2 { display: inline-block; text-align: left; }
.cc-prog__wrap { padding: 5px; }
.cc-slider { position: relative; aspect-ratio: 1637 / 721; min-height: 600px; background: #F2F2EE; overflow: hidden; }
.cc-slide { position: absolute; inset: 0; display: block; text-decoration: none; color: inherit; opacity: 0; visibility: hidden; transition: opacity 900ms ease, visibility 0s linear 900ms; z-index: 1; }
.cc-slide.is-active { opacity: 1; visibility: visible; transition: opacity 900ms ease, visibility 0s; z-index: 2; }
.cc-slide__img { position: absolute; top: 0; right: 0; width: 62.6%; height: 94.7%; object-fit: cover; }
.cc-slide__title { position: absolute; top: 1.5%; left: 10.8%; width: 330px; margin: 0 0 20px !important; font-family: "Playfair Display", Georgia, serif !important; font-size: 45px; line-height: 52px; color: #6B5FB5; text-align: right; }
.cc-slide__box { position: absolute; top: 28%; left: 8%; width: 35.7%; background: #F2F2EE; padding: 2.4% 2.3% 2.6% 2%; text-align: right; z-index: 3; box-sizing: border-box; }
.cc-slide__text { font-size: clamp(15px, 1.55vw, 25px); line-height: 1.5; color: #1A1A1A; padding-bottom: 25px; margin-bottom: 5px !important; }
.cc-slide__more { padding: 14px 40px 29px 66px; background: url("../../uploads/buttons/Greenbutton-1.svg") 0 0 / 206px auto no-repeat; font-size: 16px; line-height: 25px; color: #038148; }
.cc-slide:hover .cc-slide__more { color: #6c66a4; background-image: url("../../uploads/buttons/Bluebutton-1.svg"); }
.cc-slide:focus-visible { outline: 3px solid #6B5FB5; outline-offset: -3px; }
.cc-arrow { position: absolute; bottom: -2.5%; z-index: 5; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; display: grid; place-items: center; transition: opacity .25s, transform .25s; }
.cc-arrow img { width: 100%; height: 100%; object-fit: contain; display: block; pointer-events: none; }
.cc-arrow:hover { opacity: .7; }
.cc-prev:hover { transform: translateX(-3px); }
.cc-next:hover { transform: translateX(3px); }
.cc-prev { right: 84px; }
.cc-next { right: 28px; }
@media (prefers-reduced-motion: reduce) { .cc-slide, .cc-slide.is-active { transition: none; } }

.cc-pra img { display: block; width: 100%; height: auto; }
.jr-sec.cc-exp { padding: 0 0 40px; }
.cc-exp__in img { display: block; width: 1050px; max-width: 100%; height: auto; margin: 0 auto; }

@media (min-width: 768px) and (max-width: 1024px) {
    .cc-hero__bg { background-position: top right; }
    .cc-intro__in { align-items: center; }
    .cc-hbox { width: 95%; margin-top: -190px; }
    .jr-sec.cc-why { padding: 80px 20px 40px; }
    .cc-why__txt { width: 100%; }
    .jr-sec.cc-pil, .jr-sec.cc-gal, .jr-sec.cc-prog, .jr-sec.cc-pra { padding: 80px 20px; }
    .cc-gbox { margin-top: 7%; }
    .cc-gal__grid { gap: 10px; }
    .jr-sec.cc-exp { padding: 28px; }
}
@media (max-width: 767px) {
    .jr-sec.cc-hero { height: 75vh; }
    .cc-hero__bg { background-position: top right; }
    .jr-sec.cc-intro { padding: 60px 0; }
    .cc-intro__in { align-items: center; }
    .cc-hbox { width: 95%; margin-top: -230px; padding: 30px; }
    .jr-sec.cc-why { padding: 60px 20px 20px; }
    .cc-why__txt { width: 100%; max-width: 100%; }
    .jr-sec.cc-pil, .jr-sec.cc-gal, .jr-sec.cc-prog, .jr-sec.cc-pra { padding: 30px 20px; }
    .cc-pil__grid { grid-template-columns: minmax(0, 1fr); }
    .cc-gbox { margin-top: 7%; }
    .cc-gal__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(3, 1fr); gap: 10px; }
    .cc-gal__btn { margin-top: calc(45px + 6%); }
    .jr-sec.cc-exp { padding: 28px; }
}
@media (max-width: 760px) {
    .cc-slider { aspect-ratio: auto; min-height: 0; height: auto; }
    .cc-slider__track { display: grid; }
    .cc-slide { position: relative; inset: auto; grid-area: 1 / 1; }
    .cc-slide__img { position: relative; width: 100%; height: auto; display: block; }
    .cc-slide__title { position: static; padding: 22px 20px 0; text-align: left; }
    .cc-slide__box { position: static; width: auto; padding: 10px 20px 80px; text-align: left; }
    .cc-prev { right: 76px; bottom: 18px; }
    .cc-next { right: 20px; bottom: 18px; }
}

/* ===== Life at Basil Woods (lf-): custom_html sections matching live at 1440/768/390 (reuses cc- intro/why blocks) ===== */
.jr-sec.lf-hero { padding: 0; height: 100vh; background: #6AC07A; }
.lf-hero__bg { position: absolute; inset: 0; background: url("../../uploads/life/Life-at-Basilwoods-Banner.jpg") top center / cover no-repeat; }
.lf-hbox h2 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 30px; line-height: 40px; color: #6AC07A; }
.lf-daybox { align-self: stretch; }

/* "A Day in the Life" slider: live's own widget CSS, scoped */
.lf-day { max-width: 1320px; margin: auto; display: grid; font-family: "Space Grotesk", sans-serif; text-align: left; }
.lf-slide { grid-area: 1 / 1; visibility: hidden; z-index: 0; transition: visibility 0s linear 1.1s; }
.lf-slide.active { visibility: visible; z-index: 1; transition: none; }
.lf-wrap { display: grid; grid-template-columns: 38% 62%; gap: 20px; align-items: start; }
.lf-left small { display: block; font-size: 30px; color: #7268ad; margin-bottom: 10px; text-align: right; line-height: 30px; }
.ac-sec .lf-left h1 { font-family: "Space Grotesk", sans-serif; font-size: 75px; line-height: 70px; color: #7268ad; text-align: right; margin: 0 0 20px; font-weight: 400; }
.lf-right { position: relative; }
.lf-right img { width: 100%; object-fit: cover; display: block; height: 480px; }
.lf-cap { position: absolute; left: -410px; top: 275px; width: 500px; background: #F2F3EE; padding: 20px; height: 240px; box-sizing: border-box; }
.ac-sec .lf-cap h2 { font-family: "Space Grotesk", sans-serif; color: #7268ad; font-size: 34px; line-height: 52px; font-weight: 300; text-align: right; margin: 0 0 20px; }
.lf-cap hr { width: 98%; margin: 20px auto; border: none; height: 2px; background: #7268ad; opacity: 1; }
.ac-sec .lf-cap p { font-size: 22px; text-align: right; line-height: 1.5; color: #000; margin: 0 0 5px; }
.lf-nav { grid-area: 2 / 1; justify-self: end; display: flex; justify-content: center; gap: 20px; margin-top: 25px; position: relative; z-index: 2; }
.lf-nav button { border: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .3s; padding: 1px 6px; }
.lf-nav button:hover { opacity: .7; }
.lf-nav img { display: block; width: 42px; height: auto; }
.lf-slide .lf-right img { clip-path: inset(0 0 0 100%); transition: clip-path 0s linear 1.1s; }
.lf-slide.active .lf-right img { clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.77,0,.18,1); }
.lf-slide .lf-cap p { opacity: 0; transform: translateY(10px); transition: opacity 0s 1.1s, transform 0s 1.1s; }
.lf-slide.active .lf-cap p { opacity: 1; transform: none; transition: opacity .6s ease .3s, transform .6s ease .3s; }
@media (prefers-reduced-motion: reduce) { .lf-slide, .lf-slide * { transition-duration: .01s !important; transition-delay: 0s !important; } }
@media (max-width: 992px) {
    .lf-wrap { margin-left: auto; margin-right: auto; width: 95%; }
    .ac-sec .lf-left h1 { font-size: 45px; line-height: 48px; }
    .lf-left small { font-size: 22px; }
    .lf-right img { height: 350px; }
    .lf-cap { position: relative; left: -326px; bottom: auto; width: 80%; margin: -90px auto 0; top: -70px; }
    .ac-sec .lf-cap h2 { font-size: 26px; line-height: 30px; }
    .ac-sec .lf-cap p { font-size: 18px; line-height: 20px; }
    .lf-nav { margin-top: -127px; }
}
@media (max-width: 768px) {
    .lf-day { padding: 25px 15px; }
    .lf-left { text-align: center; }
    .lf-left small { font-size: 24px; }
    .ac-sec .lf-left h1 { font-size: 42px; }
    .lf-right img { height: 320px; }
    .lf-cap { width: 95%; margin-top: -50px; padding: 20px; }
    .ac-sec .lf-cap h2 { font-size: 24px; }
    .ac-sec .lf-cap p { font-size: 17px; }
}
@media (max-width: 479px) {
    .lf-wrap { margin-left: auto; margin-right: auto; width: 100%; display: flex; flex-direction: column; }
    .lf-day { padding: 0; }
    .lf-left { text-align: center; width: 100%; }
    .lf-left small { text-align: left; font-size: 20px; }
    .ac-sec .lf-left h1 { font-size: 45px; line-height: 48px; margin-bottom: 0; text-align: left; }
    .lf-cap { width: 95%; margin-top: 0; padding: 20px; left: 0; }
    .ac-sec .lf-cap h2 { font-size: 26px; text-align: center; }
    .ac-sec .lf-cap p { font-size: 16px; text-align: center; }
    .lf-nav { margin-top: -70px; left: -33%; }
}

.jr-sec.lf-guru, .jr-sec.lf-beyond { padding: 5px; }
.lf-guru__in { max-width: 1320px; margin: 0 auto; padding: 5px; display: flex; flex-direction: column; box-sizing: border-box; }
.lf-guru__in img { display: block; width: 100%; height: auto; }
.lf-beyond__h { align-self: flex-start; margin: 0 0 4% 10%; text-align: center; }
.lf-beyond__h h2 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 45px; line-height: 52px; color: #6D66AA; }

.jr-sec.lf-act { padding: 0 30px 180px; }
.lf-act__in { max-width: 1320px; margin: 0 auto; display: flex; padding: 5px 0; box-sizing: border-box; }
.lf-act__txt { position: relative; width: 20%; align-self: center; padding: 5px; display: flex; flex-direction: column; gap: 6px; box-sizing: border-box; }
.lf-act__img { width: 80%; padding: 5px; box-sizing: border-box; }
.lf-act__img img { display: block; width: 100%; height: auto; }
.lf-act__ic { align-self: flex-start; background: #F2F3EE; }
.lf-act--r .lf-act__ic { align-self: flex-end; }
.lf-act__ic img { display: block; width: 100px; height: auto; }
.lf-act__box { position: absolute; top: 99px; left: 0; z-index: 6; width: 400px; padding: 20px 30px 30px 0; background: #F2F3EE; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; }
.lf-act--r .lf-act__box { left: -177px; padding: 20px 0 30px 30px; }
.lf-act__box h3 { font-size: 30px; line-height: 40px; color: #6D66AA; }
.lf-act__box h6 { font-size: 20px; line-height: 25px; color: #333; }
.lf-act__box h6.lf-b { font-weight: 600; }
.lf-list { list-style: none; margin: 0; padding: 0; align-self: flex-start; }
.lf-list--center { align-self: center; }
.lf-list--full { align-self: stretch; }
.lf-list li { position: relative; display: flex; align-items: center; font-size: 20px; line-height: 22px; color: #6D66AA; }
.lf-list li:not(:last-child) { padding-bottom: 9px; }
.lf-list li + li { margin-top: 9px; }
.lf-list li:not(:last-child)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; border-top: 1px solid #6D66AA; }
.jr-sec.lf-sports { margin-bottom: 100px; }
.lf-food .lf-act__in { padding: 20px 0 0; }

.jr-sec.lf-thought { padding: 0 30px 180px; }
.lf-thought__in { max-width: 1320px; margin: 0 auto; padding: 10px 5px; box-sizing: border-box; }
.lf-thought__in img { display: block; width: 980px; max-width: 100%; height: auto; margin: 0 auto; }
.jr-sec.lf-story { padding: 0; }
.lf-story__in img { display: block; width: 100%; max-width: 1320px; height: auto; margin: 0 auto; }

@media (max-width: 1024px) {
    .lf-hero__bg { background-position: top right; }
    .lf-stroke2 { margin-bottom: 4%; }
    .jr-sec.lf-guru, .jr-sec.lf-beyond { margin-top: -14%; }
    .lf-beyond__h { margin: 0 0 4% 0; align-self: center; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .jr-sec.lf-act, .jr-sec.lf-thought { padding: 0 20px 120px; }
    .lf-act__box { top: 100px; width: 350px; }
    .lf-act--r .lf-act__box { left: -216px; }
    .jr-sec.lf-innovation, .jr-sec.lf-sports, .jr-sec.lf-festivals, .jr-sec.lf-clubs, .jr-sec.lf-food { margin-top: 250px; }
    .jr-sec.lf-sports { margin-bottom: 0; }
    .jr-sec.lf-general { margin-top: 350px; }
    .jr-sec.lf-trips { margin-top: 200px; }
    .lf-innovation .lf-act__in, .lf-general .lf-act__in, .lf-festivals .lf-act__in, .lf-clubs .lf-act__in, .lf-food .lf-act__in { padding: 0; }
}
@media (max-width: 767px) {
    .jr-sec.lf-hero { height: 75vh; }
    .lf-hero__bg { background-position: -520px 0; }
    .jr-sec.lf-guru, .jr-sec.lf-beyond { margin-top: 3%; }
    .lf-guru__in { padding: 0 12px 0 18px; }
    .lf-beyond__h { align-self: flex-start; text-align: left; }
    .lf-beyond__h h2 { font-size: 38px; line-height: 42px; }
    .jr-sec.lf-act, .jr-sec.lf-thought { padding: 0 20px 120px; }
    .lf-act__in { flex-wrap: wrap; padding: 0; }
    .lf-food .lf-act__in { padding: 0; }
    .lf-act__img { width: 100%; order: -1; }
    .lf-act__txt { width: 100%; }
    .lf-act__ic img { width: 60px; }
    .lf-act--r .lf-act__ic { align-self: flex-start; }
    .lf-act__box { top: 60px; width: 100%; padding: 0; }
    .lf-act--r .lf-act__box { left: 0; padding: 8px 0; }
    .lf-innovation .lf-act__img { margin-top: 50px; }
    .jr-sec.lf-sports { margin-bottom: 450px; }
    .jr-sec.lf-innovation { margin: 290px 0 200px; }
    .jr-sec.lf-sports { margin-top: 320px; }
    .jr-sec.lf-general { margin: 290px 0 300px; }
    .jr-sec.lf-festivals { margin: 300px 0 200px; }
    .jr-sec.lf-clubs { margin-top: 350px; }
    .jr-sec.lf-food { margin-top: 380px; }
    .lf-thought__in { padding: 5px; }
}

/* ===== Facilities (fc-): custom_html sections matching live at 1440/768/390 (reuses cc- intro/why blocks) ===== */
.jr-sec.fc-hero { padding: 0; height: 100vh; background: #6AC07A; }
.fc-hero__bg { position: absolute; inset: 0; background: url("../../uploads/facilities/Facilities-Banner.jpg") top center / cover no-repeat; }
.fc-hbox h1 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 30px; line-height: 40px; color: #6AC07A; }
.jr-sec.fc-rooms { padding: 0 30px 180px; }
.fc-rooms__in { display: flex; flex-direction: column; }
.fc-row { width: 850px; max-width: 100%; align-self: center; display: flex; margin-bottom: 4%; }
.fc-row:last-child { margin-bottom: 0; }
.fc-txt, .fc-img { width: 50%; }
.fc-txt { align-self: center; display: flex; flex-direction: column; gap: 6px; }
.fc-img img { display: block; width: 100%; height: auto; }
.fc-h { align-self: flex-end; width: 100%; padding: 0 25px 15px 0; border-bottom: 3px solid #6D66AA; text-align: end; box-sizing: border-box; }
.ac-sec .fc-h h3 { font-size: 28px; line-height: 33px; font-weight: 500; color: #6D66AA; }
.fc-body { align-self: center; max-width: 100%; position: relative; z-index: 1; background: #F2F3EE; padding: 10px 25px 0 0; text-align: end; color: #6D66AA; font-size: 16px; line-height: 25px; box-sizing: border-box; }
.ac-sec .fc-body p { margin: 0 0 5px; }
.fc-body strong { font-weight: 600; }
.fc-row--i .fc-h { padding: 0 0 15px 25px; text-align: start; }
.fc-row--i .fc-body { padding: 10px 0 0 25px; text-align: start; }
.jr-sec.fc-exp { margin-top: -90px; padding: 0 5px; background: transparent; }
.fc-exp__in { max-width: 1320px; margin: 0 auto; padding: 5px 0; }
.fc-exp__in img { display: block; width: 1266px; max-width: 100%; height: auto; margin: 0 auto; }
@media (max-width: 1024px) {
    .fc-hero__bg { background-position: top right; }
    .fc-row { margin-bottom: 5%; }
    .fc-row--t .fc-body { margin-right: 2%; padding: 10px 18px 0 0; }
    .fc-row--i .fc-body { margin-right: 2%; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .jr-sec.fc-rooms { padding: 0 20px 120px; }
    .fc-row { width: 730px; max-width: none; }
    .fc-row:last-child { margin-bottom: 5%; }
}
@media (max-width: 767px) {
    .jr-sec.fc-hero { height: 75vh; }
    .jr-sec.fc-rooms { padding: 0 20px 120px; }
    .fc-row { width: 100%; flex-wrap: wrap; margin-bottom: 15%; }
    .fc-r9, .fc-r11 { margin-bottom: 0; }
    .fc-txt, .fc-img { width: 100%; }
    .fc-txt { width: calc(100% + 8px); flex-shrink: 0; }
    .fc-img { order: -1; }
    .fc-r13 .fc-img, .fc-r15 .fc-img, .fc-r17 .fc-img, .fc-r19 .fc-img { order: 0; }
    .fc-h, .fc-row--i .fc-h { align-self: center; width: calc(100% - 8px); padding: 10px; text-align: center; }
    .fc-row--t .fc-h { margin-left: -4px; }
    .ac-sec .fc-h h3 { font-size: 25px; line-height: 35px; }
    .fc-body, .fc-row--i .fc-body { width: calc(100% - 8px); text-align: center; }
}

/* ===== Careers (cr-, cj- job cards): custom_html sections matching live at 1440/768/390 ===== */
a.lvb--w226 { padding: 11px 40px 15px 60px; background-image: url("../../uploads/buttons/white260px.svg"); background-size: 226px auto; color: #fff; }
a.lvb--w226:hover { color: #6AC07A; background-image: url("../../uploads/buttons/green260px.svg"); }
.jr-sec.cr-hero { padding: 0; height: 100vh; background: #6AC07A; }
.cr-hero__bg { position: absolute; inset: 0; background: url("../../uploads/careers/Boardroom.jpg") top center / cover no-repeat; }
.cr-hero__bg::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .17; }
.jr-sec.cr-intro, .jr-sec.cr-imp, .jr-sec.cr-voi, .jr-sec.cr-vals, .jr-sec.cr-why { padding: 90px 30px; }
.jr-sec.cr-intro { background: #6D66AA; }
.cr-hbox { margin-top: -250px; }
.cr-tag { width: 65%; }
.cr-btnw { margin-top: 6%; align-self: center; text-align: center; line-height: 25px; font-size: 16px; }
.ac-sec .cr-h2 { font-size: 45px; line-height: 52px; color: #6D66AA; text-align: center; }

.jr-sec.cr-call, .jr-sec.cr-spot { padding: 100px 30px 60px; }
.cr-call__row { display: flex; gap: 20px; padding: 5px; }
.cr-call__txt { flex: 0 1 50%; position: relative; align-self: center; padding: 35px; display: flex; flex-direction: column; gap: 12px 20px; box-sizing: border-box; }
.cr-badge { position: absolute; top: -125px; left: -20px; }
.cr-badge img { display: block; width: 120px; height: auto; }
.cr-call__h { align-self: center; text-align: center; }
.ac-sec .cr-call__h h4 { font-family: "Playfair Display", Georgia, serif; font-size: 30px; line-height: 40px; color: #000; }
.cr-stroke { align-self: center; height: 25px; padding-top: 13px; box-sizing: border-box; }
.cr-stroke img { display: block; width: 120px; height: 3px; }
.ac-sec .cr-call__txt p { font-size: 16px; line-height: 22px; text-align: center; color: #000; margin: 0 0 5px; }
.cr-call__end { align-self: center; text-align: center; }
.ac-sec .cr-call__end h6 { font-size: 20px; line-height: 25px; color: #6D66AA; }
.cr-call__img { flex: 0 1 80%; background: #6D66AA; padding: 20px; box-sizing: border-box; }
.cr-call__img img { display: block; width: 100%; height: auto; }

.cr-spot__col { padding: 5px; display: flex; flex-direction: column; gap: 20px; }
.cj-wrap { position: relative; padding: 0 60px; }
.cj-car { overflow: hidden; padding: 10px 2px 0; --pv: 3; }
.cj-track { display: flex; transition: transform .3s ease; }
.cj-slide { flex: 0 0 calc((100% - (var(--pv) - 1) * 24px) / var(--pv)); margin-right: 24px; padding-bottom: 28px; box-sizing: border-box; min-width: 0; }
.cj-card { overflow-wrap: break-word; position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 2px solid #7570b3; padding: 40px 36px 70px; box-sizing: border-box; transition: background-color .3s ease; }
.cj-card:hover { background: #7570b3; }
.ac-sec .cj-title { margin: 16px 0 10px; line-height: 1.3; text-align: center; overflow-wrap: break-word; }
.cj-main, .cj-sub { display: block; color: #6cc17a; font-size: 24px; }
.cj-main { font-weight: 600; }
.cj-sub { font-weight: 300; margin-top: 6px; }
.ac-sec .cj-ex { color: #111; font-size: 18px; line-height: 1.5; margin: 0 0 5px; }
.cj-meta { list-style: none; margin: auto 0 0; padding: 0; }
.cj-meta li { display: flex; align-items: center; gap: 10px; color: #111; font-size: 20px; line-height: 1.6; margin-bottom: 4px; }
.cj-meta svg { width: 20px; height: 20px; flex-shrink: 0; }
.cj-btn { position: absolute; left: 25%; bottom: -24px; background: #6cc17a; color: #7570b3 !important; padding: 12px 28px; font-size: 18px; line-height: 25px; letter-spacing: 1px; text-transform: uppercase; text-decoration: none !important; transition: background-color .25s ease, color .25s ease; }
.cj-btn:hover { background: #7570b3; color: #fff !important; }
.cj-card:hover .cj-btn:hover { background: #fff; color: #7570b3 !important; }
.cj-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; background: none; border: 0; padding: 0; cursor: pointer; width: 40px; height: 40px; }
.cj-nav img { width: 100%; height: 100%; display: block; }
.cj-prev { left: 0; }
.cj-next { right: 0; }

.cr-imp__row { display: flex; justify-content: center; align-items: center; padding: 5px; margin-top: 20px; }
.cr-cnt { width: 230px; padding: 10px; background: #6AC07A; box-sizing: border-box; }
.cr-cnt.cr-c2 { width: 260px; }
.cr-cnt__num { display: flex; color: #6D66AA; font-size: 70px; line-height: 70px; font-weight: 600; }
.cr-cnt__pre, .cr-cnt__suf { flex-grow: 1; }
.cr-cnt__pre { text-align: end; }
.cr-cnt__suf { text-align: start; }
.cr-cnt__t { display: flex; align-items: center; justify-content: center; color: #6D66AA; font-size: 19px; line-height: 2.5; }
.cr-div img { display: block; width: 23px; height: auto; }

.ac-sec .cr-voi__h { font-size: 25px; line-height: 34px; color: #6D66AA; text-align: center; }
.cr-voi__row { display: flex; justify-content: center; gap: 20px; padding: 5px; margin-top: 20px; }
.cr-voice { width: 350px; max-width: 350px; }
.cr-voice figure { margin: 0 0 7px; }
.cr-voice img { display: block; width: 100%; height: auto; }
.ac-sec .cr-voice h5 { font-size: 25px; line-height: 34px; font-weight: 500; color: #6D66AA; margin: 0 0 2px; }
.ac-sec .cr-voice p { font-size: 16px; line-height: 25px; color: #6D66AA; }

.cr-vals__h { display: flex; justify-content: center; align-items: center; gap: 20px; padding: 5px; }
.cr-vals__st { height: 25px; padding-top: 13px; box-sizing: border-box; min-width: 0; }
.cr-vals__st img { display: block; width: 150px; max-width: 100%; height: auto; }
.ac-sec .cr-vals__h h3 { font-size: 35px; line-height: 40px; color: #6D66AA; text-align: center; }
.cr-vals__grid { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 1fr); gap: 20px; }
.cr-val { background: #6D66AA; padding: 15px 20px; }
.ac-sec .cr-val h6 { font-size: 20px; line-height: 25px; color: #fff; margin: 0 0 10px; }
.ac-sec .cr-val p { font-size: 14px; line-height: 23px; color: #fff; }

.cr-why__in { max-width: 1320px; margin: 0 auto; display: flex; }
.cr-why__img { flex: 0 1 44%; display: flex; }
.cr-why__img img { display: block; width: 100%; height: auto; }
.cr-why__txt { flex: 0 1 60%; background: #6D66AA; padding: 90px; display: flex; flex-direction: column; gap: 10px 35px; box-sizing: border-box; }
.cr-why__h { width: 100%; margin: 0 0 4%; padding: 0 0 18px; border-bottom: 2px solid #F2F3EE; }
.ac-sec .cr-why__h h3 { font-size: 35px; line-height: 40px; color: #fff; }
.ac-sec .cr-why__txt p { font-size: 16px; line-height: 25px; color: #fff; margin: 0 0 5px; }
.cr-why__name, .cr-why__role { align-self: flex-end; }
.ac-sec .cr-why__name h6 { font-size: 20px; line-height: 25px; color: #fff; }
.ac-sec .cr-why__role p { line-height: 16px; }

.jr-sec.cr-faq { padding: 0 30px 180px; }
.cr-faq__col { display: flex; flex-direction: column; justify-content: center; gap: 10px 35px; }
.cr-faq__sub { align-self: center; margin-bottom: 4%; text-align: center; }
.ac-sec .cr-faq__sub h6 { font-size: 20px; line-height: 25px; color: #6D66AA; }
.cr-faq__it { width: 70%; align-self: center; text-align: center; }
.ac-sec .cr-faq__it h6 { font-size: 20px; line-height: 25px; font-weight: 500; color: #333; margin: 0 0 8px; }
.ac-sec .cr-faq__it p { font-size: 15px; line-height: 25px; color: #000; }
.cr-faq__it a { color: #333; }
.cr-faq__line { align-self: center; margin: 1% 0; }
.cr-faq__line img { display: block; width: 5px; height: 38px; }

@media (max-width: 1024px) {
    .jr-sec.cr-hero { height: 90vh; }
    .cr-hbox { margin-top: -190px; }
    .cr-tag { width: 95%; }
    .cr-call__row { flex-direction: column; }
    .cr-badge { top: -90px; left: -4px; }
    .cr-imp__row { padding: 0; }
    .cr-cnt { width: 220px; }
    .cr-cnt.cr-c2 { width: 200px; padding: 11px; }
    .cr-cnt__num { font-size: 40px; line-height: 40px; }
    .cr-c2 .cr-cnt__num { font-size: 32px; line-height: 32px; }
    .cr-cnt__t { font-size: 15px; }
    .cr-div img { width: 21px; }
    .cr-voi__row { padding: 0; }
    .cr-why__txt { justify-content: center; padding: 30px; order: 99999; }
    .cr-faq__it { width: 100%; }
    .cr-faq__line img { width: 2px; height: 54px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .jr-sec.cr-intro, .jr-sec.cr-imp, .jr-sec.cr-voi, .jr-sec.cr-vals, .jr-sec.cr-why { padding: 80px 20px; }
    .jr-sec.cr-call, .jr-sec.cr-spot { padding: 80px 20px 40px; }
    .jr-sec.cr-faq { padding: 0 20px 120px; }
    .cr-call__txt, .cr-call__img { flex-basis: auto; width: 100%; }
    .cr-why__img, .cr-why__txt { flex-basis: 50%; }
}
@media (max-width: 1023px) { .cj-car { --pv: 2; } }
@media (max-width: 767px) {
    .jr-sec.cr-hero { height: 75vh; }
    .jr-sec.cr-intro, .jr-sec.cr-imp, .jr-sec.cr-voi, .jr-sec.cr-vals, .jr-sec.cr-why { padding: 30px 20px; }
    .jr-sec.cr-call, .jr-sec.cr-spot { padding: 60px 20px 20px; }
    .jr-sec.cr-faq { padding: 0 20px 120px; }
    .cr-hbox { margin-top: -230px; }
    .cr-tag { width: 90%; }
    .cr-hbox .cc-hbox__sub { max-width: 100%; }
    .cr-div { display: none; }
    .cr-call__txt, .cr-call__img { flex-basis: auto; width: 100%; }
    .cr-badge { top: -70px; left: -8px; }
    .cr-badge img { width: 75px; }
    .cj-car { --pv: 1; }
    .cj-wrap { padding: 0 45px; }
    .cj-card { padding: 30px 24px 60px; }
    .cj-nav { width: 32px; height: 32px; }
    .cr-imp__row { flex-wrap: wrap; gap: 10px 0; }
    .cr-cnt, .cr-cnt.cr-c2 { width: 100%; }
    .cr-voi__row { flex-wrap: wrap; gap: 10px 0; }
    .cr-vals__h { flex-wrap: wrap; }
    .cr-vals__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(6, 1fr); }
    .cr-why__in { flex-wrap: wrap; }
    .cr-why__img, .cr-why__txt { flex-basis: 100%; }
    .cr-why__txt { padding: 25px 25px 40px; }
    .cr-why__h { text-align: center; }
    .cr-faq__col { gap: 20px; }
}
@media (max-width: 1024px) { .cr-faq .ac-in { padding-top: 0; } }

/* ===== Footer (ft-): same structure and spacing as the live Elementor footer at 1440/768/390 ===== */
.ft { font-family: "Space Grotesk", sans-serif; font-size: 16px; line-height: 25px; }
.ft-join { min-height: 105px; padding: 5px; display: flex; flex-direction: column; background: #6AC07A url("../images/footer-bg.jpg") 105% 0 no-repeat; box-sizing: border-box; }
.ft-join__in { width: 100%; max-width: 1320px; margin: 0 auto; display: flex; flex-direction: column; }
.ft-join h2 { align-self: flex-start; margin: 2.1% 0 0 8%; font-family: "Playfair Display", Georgia, serif; font-size: 45px; line-height: 52px; font-weight: 400; color: #6D66AA; text-align: center; }
.ft-main { background: #6AC07A; display: flex; flex-direction: column; }
.ft-box { width: 92%; align-self: flex-end; display: flex; gap: 20px; padding: 40px 10px; background: #6D66AA; box-sizing: border-box; }
.ft-col { flex: 0 1 20%; padding: 5px; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; min-width: 0; }
.ft-col--logo { padding: 0 0 0 20px; }
.ft-col--social { flex-basis: 15%; }
.ft-col--contact { flex-basis: 25%; }
.ft-col--sp { flex-basis: 8%; }
.ft-logo { align-self: flex-start; margin-top: 6%; line-height: 0; }
.ft-logo img { width: 160px; height: auto; }
.ft-about { align-self: center; margin: 0 0 5px; font-size: 16px; line-height: 25px; color: #fff; text-align: start; }
.ft h4 { align-self: flex-start; margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 30px; line-height: 40px; font-weight: 400; color: #6AC07A; text-align: start; }
.ft h4 u { text-decoration: underline; }
.ft ul { list-style: none; margin: 0; padding: 0; }
.ft li { position: relative; display: flex; align-items: center; color: #6AC07A; }
.ft li a { display: flex; align-items: center; width: 100%; color: inherit; text-decoration: none; }
.ft-t { color: #6AC07A; transition: color .3s; }
.ft li:hover .ft-t { color: #fff; }
.ft-list li:not(:last-child) { padding-bottom: 1px; }
.ft-list li:not(:first-child) { margin-top: 1px; }
.ft-gap { display: block; height: 30px; }
.ft-social { align-self: flex-start; }
.ft-social li:not(:last-child) { padding-bottom: 3px; }
.ft-social li:not(:first-child) { margin-top: 3px; }
.ft-social li:not(:last-child)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; border-top: 1px solid #ddd; }
.ft-ic { display: flex; min-width: 22px; padding-inline-end: 2px; }
.ft-ic svg { width: 16px; height: 16px; fill: #333; }
.ft-social li:hover svg { fill: #fff; }
.ft-ic + .ft-t { padding-inline-start: 5px; }
.ft-contact li:not(:last-child) { padding-bottom: 3.5px; }
.ft-contact li:not(:first-child) { margin-top: 3.5px; }
.ft-contact strong { font-weight: 600; }
@media (max-width: 1024px) {
    .ft-join { min-height: 94px; background-position: 160% -8px; }
    .ft-join h2 { font-size: 27px; }
    .ft-box { width: 100%; padding: 40px; }
    .ft-col, .ft-col--social, .ft-col--contact { flex-basis: 25%; }
    .ft-col--logo, .ft-col--sp { display: none; }
    .ft h4 { font-size: 20px; line-height: 22px; }
}
@media (max-width: 767px) {
    .ft-join { min-height: 90px; justify-content: center; align-items: center; background-position: -600% 0; }
    .ft-join__in { align-items: center; }
    .ft-join h2 { align-self: center; margin: 0; font-size: 20px; }
    .ft-box { padding: 40px 25px; flex-direction: column; }
    .ft-col { flex-basis: auto; width: 100%; }
    .ft-col--logo { display: flex; padding: 0; }
    .ft-logo, .ft-about, .ft h4, .ft-social, .ft-contact { align-self: center; }
    .ft-about, .ft h4 { text-align: center; }
    .ft-list li a, .ft-contact li a { justify-content: center; }
    .ft-list li, .ft-contact li { justify-content: center; text-align: center; }
}

/* ===== Enquiry (en-): live layout; our own form in the panel where live embeds the NoPaperForms widget ===== */
.jr-sec.en-hero { padding: 0; height: 100vh; background: #6AC07A; }
.en-hero__bg { position: absolute; inset: 0; background: url("../../uploads/banners/Basil-Woods-Juniors-Banner.jpg") top center / cover no-repeat; }
.en-hero__bg::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .3; }
.jr-sec.en-main { padding: 90px 30px; background: #6D66AA; }
.en-row { display: flex; gap: 20px; }
.en-box { flex: 0 1 50%; position: relative; margin-top: -400px; padding: 60px 60px 0; background: #6D66AA; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; min-width: 0; }
.en-h { align-self: center; text-align: center; }
.ac-sec .en-h h1 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 35px; line-height: 40px; color: #000; }
.ac-sec .en-h .ac-sh::after { margin-top: 0; }
.en-panel { background: #fff; padding-bottom: 7px; }
.en-scroll { height: 535px; overflow-y: auto; background: #f4eee5; padding: 15px 20px; box-sizing: border-box; font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; color: #333; }
.en-f { margin-bottom: 15px; display: flex; }
.en-in { width: 100%; height: 35px; padding: 6px 12px 6px 10px; border: 1px solid #ccc; border-radius: 0; background: #fff; font: 400 15px/21.43px "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #333; box-sizing: border-box; }
select.en-in { padding-right: 24px; }
.en-cc { flex: 0 0 56px; height: 35px; padding: 7px 10px; margin-right: -1px; border: 1px solid #ccc; border-radius: 4px 0 0 4px; background: #fff; box-sizing: border-box; font-size: 14px; }
.en-check { min-height: 40px; padding-top: 10px; box-sizing: border-box; }
.en-check label { position: relative; padding-left: 20px; font-size: 14px; line-height: 20px; }
.en-check input { position: absolute; left: 0; top: 4px; margin: 0; }
.en-sub { text-align: center; padding-right: 15px; margin-bottom: 10px; }
.en-btn { width: 296px; max-width: 100%; height: 37px; padding: 6px 12px; border: 1px solid #7668a5; background: #7668a5; color: #fff; font: 700 15px/21.43px "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif; cursor: pointer; }
.en-scroll .bw-form-msg { font-size: 14px; }
.en-side { flex: 0 1 50%; padding: 5px; display: flex; flex-direction: column; align-items: flex-end; box-sizing: border-box; }
.en-side__box { width: 100%; padding: 25px; background: #6D66AA; display: flex; justify-content: flex-end; align-items: flex-start; box-sizing: border-box; }
.en-side__txt { width: 100%; margin: 0 3%; }
.ac-sec .en-side__txt p { font-size: 18px; line-height: 27px; color: #fff; }
@media (max-width: 1024px) {
    .jr-sec.en-hero { height: 90vh; }
    .en-box { padding: 40px 40px 0; }
    .en-side__box { padding: 0; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .jr-sec.en-main { padding: 80px 20px; }
    .en-box { flex-basis: 100%; }
}
@media (max-width: 767px) {
    .jr-sec.en-hero { height: 75vh; }
    .jr-sec.en-main { padding: 30px 20px; }
    .en-row { flex-direction: column; }
    .en-box { flex-basis: auto; width: 100%; margin-top: -254px; padding: 30px 30px 0; }
    .en-side { flex-basis: auto; width: 100%; min-height: 500px; }
    .en-side__box { padding: 30px 0 0; justify-content: center; align-items: center; }
    .ac-sec .en-side__txt p { text-align: center; }
}
.en-in::placeholder { color: #333; opacity: 1; }
.en-in { border-color: #e6e0d6; }

/* ===== Connect (cn-): custom_html sections matching live at 1440/768/390 ===== */
.jr-sec.cn-hero, .jr-sec.cn-visit { padding: 180px 30px; background: #6D66AA; }
.cn-hero__in { display: flex; flex-direction: column; gap: 20px; }
.cn-h1 { align-self: flex-start; margin-left: 10%; }
.ac-sec .cn-h1 h1, .ac-sec .cn-visit__t h3 { font-size: 120px; line-height: 110px; letter-spacing: -5px; color: #fff; }
.cn-quote { width: 501px; max-width: 501px; align-self: center; margin: 0 0 2% 6%; }
.ac-sec .cn-quote h5, .ac-sec .cn-visit__s h5 { font-size: 25px; line-height: 34px; color: #fff; }
.cn-vidw { width: 100%; }
.cn-vid { position: relative; width: 100%; aspect-ratio: 16 / 9; background: rgba(0,0,0,.5) center / cover no-repeat; cursor: pointer; overflow: hidden; }
.cn-vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cn-play { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; transform: translate(-50%, -50%); }
.cn-play svg { width: 90px; height: 90px; fill: #fff; display: block; }
.cn-p { margin-left: 15%; }
.cn-p1 { margin-top: 5%; }
.ac-sec .cn-p h6 { font-size: 18px; line-height: 26px; color: #fff; }
.cn-enq { align-self: center; margin-top: 3%; text-align: center; }
.cn-enq--v { margin-top: 4%; }
.cn-enq img { display: block; width: 220px; height: auto; }
.cn-visit__h { display: flex; justify-content: center; gap: 20px; padding: 5px; }
.cn-visit__t { align-self: flex-start; }
.cn-visit__s { width: 166px; max-width: 166px; align-self: center; margin: 0 0 2% 4%; }

.jr-sec.cn-c { padding: 180px 30px; }
.jr-sec.cn-shamshabad, .jr-sec.cn-kokapet { background: #F2F3EE; }
.jr-sec.cn-ghatkesar { background: #94B5DE; }
.jr-sec.cn-manikonda { background: #6AC07A; }
.cn-c__in { display: flex; }
.cn-c--r .cn-c__in { max-width: 1320px; margin: 0 auto; }
.cn-c__img, .cn-c__txt { width: 50%; box-sizing: border-box; }
.cn-c__img img { display: block; width: 100%; height: auto; }
.cn-c--r .cn-c__img { order: 99999; }
.cn-c__txt { align-self: center; display: flex; flex-direction: column; gap: 20px; padding: 0 4%; }
.cn-c--r .cn-c__txt { padding: 0 4% 0 0; }
.cn-c__h { width: 100%; align-self: flex-start; }
.ac-sec .cn-c__h h2 { font-size: 40px; line-height: 50px; font-weight: 400; color: #6D66AA; }
.cn-c--r .cn-c__h { text-align: end; }
.cn-hl { background: #6C66A4; padding: 0 10px; color: #6AC07A; }
.cn-c__p { width: 80%; margin-top: 6%; }
.cn-c--r .cn-c__p { width: 64%; align-self: flex-end; text-align: end; }
.ac-sec .cn-c__p h6 { font-size: 18px; line-height: 26px; color: #6D66AA; }
.cn-c__list { list-style: none; margin: 0; padding: 0; }
.cn-c--r .cn-c__list { align-self: flex-end; }
.cn-c__list li { display: flex; align-items: center; font-size: 16px; line-height: 25px; color: #6D66AA; }
.cn-c--r .cn-c__list li { justify-content: flex-end; text-align: end; }
.cn-c__list li:not(:last-child) { padding-bottom: 6px; }
.cn-c__list li:not(:first-child) { margin-top: 6px; }
.cn-c__list a { color: inherit; text-decoration: none; }
.cn-c__list strong { font-weight: 600; }
.cn-c__btn { align-self: flex-start; margin: 3% 0 2%; line-height: 25px; }
.cn-c--r .cn-c__btn { align-self: flex-end; }
@media (max-width: 1024px) {
    .jr-sec.cn-hero, .jr-sec.cn-visit, .jr-sec.cn-c { padding: 120px 20px; }
    .cn-hero__in, .cn-c__txt { gap: 20px; }
    .ac-sec .cn-h1 h1 { font-size: 80px; line-height: 76px; }
    .cn-quote { width: 70%; max-width: 70%; margin: 0 0 0 26%; }
    .cn-c__txt, .cn-c--r .cn-c__txt { padding: 0 2% 0 4%; align-self: auto; }
    .cn-c--r .cn-c__in { padding: 0 5%; }
    .cn-c__h { width: 100%; }
    .cn-c--r .cn-c__h, .cn-c--r .cn-c__p { width: 95%; }
    .ac-sec .cn-c__h h2 { font-size: 24px; line-height: 37px; }
    .cn-c__p { width: 100%; margin-top: 0; }
    .cn-c__btn, .cn-c--r .cn-c__btn { align-self: center; }
    .ac-sec .cn-visit__t h3 { font-size: 63px; line-height: 76px; }
    .cn-visit__h { align-items: center; }
    .cn-visit__s { width: 70%; max-width: 70%; margin: 0; }
}
@media (max-width: 767px) {
    .cn-h1 { align-self: center; margin: 8% 0 0; text-align: center; }
    .ac-sec .cn-h1 h1, .ac-sec .cn-visit__t h3 { font-size: 60px; line-height: 60px; }
    .cn-quote { width: 90%; max-width: 90%; margin: 0; text-align: center; }
    .cn-p, .cn-p1 { margin: 0; text-align: center; }
    .cn-c__in { flex-direction: column; }
    .cn-c--r .cn-c__in { padding: 0; }
    .cn-c__img, .cn-c__txt { width: 100%; }
    .cn-c__txt, .cn-c--r .cn-c__txt { order: 99999; padding: 13% 0 6%; }
    .cn-c__h, .cn-c--r .cn-c__h, .cn-c__p, .cn-c--r .cn-c__p { width: 100%; text-align: center; align-self: center; }
    .ac-sec .cn-c__h h2 { line-height: 40px; }
    .cn-c__list, .cn-c--r .cn-c__list { width: 100%; align-self: center; }
    .cn-c__list li, .cn-c--r .cn-c__list li { justify-content: center; text-align: center; }
    .cn-c--r .cn-c__list li span { text-align: end; }
    .cn-c__btn, .cn-c--r .cn-c__btn { margin: 6% 0 0; }
    .cn-visit__h { flex-direction: column; }
    .cn-visit__t { align-self: center; text-align: center; }
    .cn-visit__s { width: 90%; max-width: 90%; text-align: center; align-self: center; }
}

/* ===== Gallery list (gl-, gg- cards) and album pages (ga-): matching live at 1440/768/390 ===== */
.jr-sec.gl-hero { padding: 0; height: 100vh; background: #6AC07A; }
.gl-hero__bg { position: absolute; inset: 0; background: url("../../uploads/banners/Basil-Woods-Gallery.jpg") top center / cover no-repeat; }
.gl-hero__bg::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .17; }
.jr-sec.gl-intro, .jr-sec.gl-grid { padding: 90px 30px; }
.jr-sec.gl-intro { background: #6D66AA; }
.gl-hbox { padding: 60px 60px 20px; }
.gl-tag { width: 100%; }
.gl-tabs { order: 99999; align-self: center; display: flex; flex-wrap: wrap; list-style: none; margin: 0 -19px; padding: 0; }
.gl-tabs li { margin: 0 19px; display: flex; align-items: center; }
.gl-tabs a { color: #fff; text-decoration: none; font-size: 18px; line-height: 25px; }
.gl-tabs a > span { display: block; border: 1px solid #fff; padding: 10px 15px; transition: color .3s; }
.gl-tabs a > span:hover { border-color: #19B367; }
.gl-tabs li:hover a { color: #6AC07A; }
.gl-on { color: #19B367; }
.gg-grid { margin: 0 -10px; }
.gg-grid::after { content: ""; display: table; clear: both; }
.gg-post { float: left; width: 33.3333%; padding: 10px; position: relative; box-sizing: border-box; }
.gg-holder { background: #fff; border: 20px solid #fff; }
.gg-inner { height: 100%; display: flex; flex-direction: column; }
.gg-media { position: relative; order: -1; overflow: hidden; }
.gg-ov { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.75); visibility: hidden; opacity: 0; transition: 300ms; }
.gg-ov svg { width: 18px; height: 18px; fill: #fff; }
.gg-ov a { position: absolute; inset: 0; z-index: 3; }
.gg-media:hover .gg-ov { visibility: visible; opacity: 1; }
.gg-thumb { position: relative; padding-bottom: 75%; }
.gg-thumb img { position: absolute; top: calc(50% + 1px); left: calc(50% + 1px); width: 100%; height: 100%; object-fit: cover; transform: scale(1.01) translate(-50%, -50%); }
.gg-wrap { padding: 15px; }
.ac-sec .gg-title { margin: 15px 0 25px; padding-bottom: 25px; border-bottom: 3px solid #6D66AA; font-size: 25px; line-height: 32px; font-weight: 400; }
.gg-title a { color: #6D66AA; text-decoration: none; }
.gg-title a:hover { color: #6AC07A; }
.ac-sec .gg-ex p { margin: 10px 0 25px; font-size: 16px; line-height: 26px; color: #000; }
.gg-more { display: block; text-align: right; font-size: 14px; font-weight: 500; line-height: 25px; color: #6D66AA; text-decoration: none; transition: all 300ms ease-in-out; }
.gg-more:hover { color: #6AC07A; }
.gg-explore { padding: 2px 0 2px 30px; background: url("../../uploads/buttons/arrow001.svg") 1px 0 no-repeat; }
.gg-explore:hover { background-image: url("../../uploads/buttons/arrow001green.svg"); }
.gg-on { position: absolute; bottom: 45px; font-size: 13px; line-height: 25px; color: #000; }
.gg-on time { line-height: 1.2; }

.ga-sec { margin-top: 120px; padding: 90px 30px; }
.ga-in { max-width: 1320px; margin: 0 auto; padding: 5px 0; display: flex; flex-direction: column; gap: 20px; }
.ga-title { margin: 0; font-family: "Playfair Display", Georgia, serif; font-size: 45px; line-height: 52px; font-weight: 400; color: #333; }
.ga-grid { display: flex; flex-wrap: wrap; margin: 0 -15px -15px 0; }
.ga-item { width: 33.3333%; margin: 0; padding: 0 15px 15px 0; box-sizing: border-box; }
.ga-item a { display: block; line-height: 0; }
.ga-item img { width: 100%; height: auto; aspect-ratio: 1200 / 700; object-fit: cover; display: block; }
.ga-back { align-self: flex-start; line-height: 0; }
.ga-btn { display: inline-block; padding: 12px 24px; background: #6D66AA; color: #fff; font-size: 15px; line-height: 15px; border-radius: 3px; text-decoration: none; transition: background-color .3s; }
.ga-btn:hover { background: #6AC07A; color: #fff; }
@media (max-width: 1024px) {
    .jr-sec.gl-hero { height: 90vh; }
    .gl-hbox { margin-top: -190px; }
    .gl-tag { width: 95%; }
    .gg-post { width: 50%; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .jr-sec.gl-intro, .jr-sec.gl-grid { padding: 80px 20px; }
    .ga-sec { padding: 80px 20px; }
}
@media (max-width: 767px) {
    .jr-sec.gl-hero { height: 75vh; }
    .jr-sec.gl-intro, .jr-sec.gl-grid { padding: 30px 20px; }
    .gl-hbox { margin-top: -230px; padding: 30px; }
    .gl-tag { width: 90%; }
    .gg-post { width: 100%; }
    .ga-sec { margin-top: 160px; padding: 30px 20px; }
    .ga-item { width: 100%; }
}
.gl-hbox h1 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 30px; line-height: 40px; font-weight: 400; color: #6AC07A; }
.gl-hbox .cc-hbox__sub { max-width: 100%; }

/* ===== Videos (vd-, vg-): live layout; posters open a YouTube lightbox ===== */
.jr-sec.vd-hero { padding: 0; height: 100vh; background: #6AC07A; }
.vd-hero__bg { position: absolute; inset: 0; background: url("../../uploads/banners/basilwoodshyd-banner.jpg") top center / cover no-repeat; }
.vd-hero__bg::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .17; }
.jr-sec.vd-grid { padding: 90px 30px; }
.vg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, 1fr); gap: 15px; padding: 5px; }
.vg-btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000; cursor: pointer; overflow: hidden; }
.vg-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vg-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 100px; height: 100px; opacity: .8; transition: opacity .3s; }
.vg-play svg { width: 100px; height: 100px; fill: #fff; filter: drop-shadow(1px 0 6px rgba(0,0,0,.3)); display: block; }
.vg-btn:hover .vg-play { opacity: 1; }
.vg-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.87); display: flex; align-items: center; justify-content: center; }
.vg-lb__box { position: relative; width: min(90vw, calc(85vh * 16 / 9)); aspect-ratio: 16 / 9; }
.vg-lb__box iframe { width: 100%; height: 100%; border: 0; }
.vg-lb__x { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 30px; line-height: 40px; cursor: pointer; opacity: .8; }
.vg-lb__x:hover { opacity: 1; }
@media (max-width: 1024px) { .jr-sec.vd-hero { height: 90vh; } }
@media (min-width: 768px) and (max-width: 1024px) { .jr-sec.vd-grid { padding: 80px 20px; } }
@media (max-width: 767px) {
    .jr-sec.vd-hero { height: 75vh; }
    .jr-sec.vd-grid { padding: 30px 20px; }
    .vg-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Job Listings: spacing aligned with the live job-board plugin at 1440/768/390 ===== */
.bw-section.bw-jobboard { padding: 90px 30px; }
.bw-jobboard .bw-jb { padding: 5px 0; }
.bw-jb__filters { margin: 30px 0 30px; }
.bw-jb__job { margin: 0 0 30px; padding: 0 0 15px; }
.bw-jb__head { min-height: 97px; padding: 15px 20px; box-sizing: border-box; align-items: flex-start; }
.bw-jb__head h4 { margin: 26px 0 0 20px; }
.bw-jb__more { margin: 10px 0 0 5px; }
.bw-jb__meta { padding: 15px 10px; border-top: 1px solid #ccc; }
.bw-jb__meta li, .bw-jb__meta li:nth-child(1), .bw-jb__meta li:nth-child(2) { padding: 0 15px; box-sizing: border-box; display: flex; align-items: flex-start; }
.bw-jb__meta li:nth-child(1) { width: 16.6667%; }
.bw-jb__meta li:nth-child(2) { width: 25%; }
.bw-jb__meta li:nth-child(3) { width: 33.3333%; }
.bw-jb__meta i { width: 16px; margin: 0 5px 0 0; font-size: 15px; line-height: 25px; }
.bw-jb__ex, .bw-jb__ex:last-child { margin: 0 0 10px; padding: 0 20px; }
@media (min-width: 768px) and (max-width: 1024px) {
    .bw-pagebar { height: 188px; }
    .bw-section.bw-jobboard { padding: 80px 20px; }
}
@media (max-width: 767px) {
    .bw-pagebar { height: 148px; }
    .bw-section.bw-jobboard { padding: 30px 20px; }
    .bw-jb__head { flex-direction: column; align-items: stretch; gap: 0; padding: 15px 20px; }
    .bw-jb__more { align-self: flex-end; margin: 10px 0 0 5px; }
    .bw-jb__meta { flex-direction: column; }
    .bw-jb__meta li, .bw-jb__meta li:nth-child(1), .bw-jb__meta li:nth-child(2), .bw-jb__meta li:nth-child(3) { width: 100% !important; margin: 4px 0; }
}
.bw-jb__head h4 { max-width: calc((100% + 30px) * .6667 - 35px); }
@media (max-width: 991px) {
    .bw-jb__row { grid-template-columns: 1fr; gap: 15px; margin-bottom: 0; }
}
@media (min-width: 768px) and (max-width: 991px) {
    .bw-jb__meta li:nth-child(1), .bw-jb__meta li:nth-child(2), .bw-jb__meta li:nth-child(3) { width: 33.3333%; }
}
@media (max-width: 767px) { .bw-jb__head h4 { max-width: calc(100% - 5px); } }
.bw-jb__head { padding-bottom: 24px; }
@media (max-width: 767px) { .bw-jb__head { padding-bottom: 20px; } .bw-jb__more { margin-top: 19px; } }

/* ===== Job detail page (jd-): same layout as the live job pages at 1440/768/390 ===== */
.page-job { background: #F2F3EE; }
.jd-bar { background: #6AC07A; padding: 140px 0 30px; border-bottom: 1px solid #f1f1f1; }
.jd-bar__in { width: 90%; max-width: 1296px; margin: 0 auto; }
.jd-crumbs { text-align: right; font-size: 13px; line-height: 18.2px; color: #fff; }
.jd-crumbs a { color: #fff; text-decoration: none; }
.jd-crumbs i { font-size: 13px; }
.jd-sep { margin: 0 6px; }
.jd-wrap { width: 90%; max-width: 1296px; margin: 0 auto; padding: 50px 0; }
.jd-primary { width: 850px; margin: 0 auto; padding-right: 30px; border-right: 1px solid #f1f1f1; box-sizing: border-box; }
.jd-title { margin: 0 0 15px; font-family: "Space Grotesk", sans-serif; font-size: 28px; line-height: 52px; font-weight: 400; color: #333; }
.jd-thumb { margin: 0 0 20px; }
.jd-thumb img { display: block; width: 100%; height: auto; }
.jd-content { display: flex; flex-direction: column; padding-top: 16px; font-size: 16px; line-height: 25px; color: #000; }
.jd-features { margin: 0 0 20px; }
.jd-content h3 { margin: 15px 0; font-family: "Space Grotesk", sans-serif; font-size: 26px; line-height: 28px; font-weight: 400; color: #6D66AA; }
.jd-frow { display: flex; flex-flow: row wrap; margin: 0 -15px; }
.jd-fbox { width: 30.9%; margin: 10px; padding: 0 15px; border: 2px solid #6D66AA; box-sizing: border-box; }
.jd-fbox h4 { margin: 10px 0; font-family: "Space Grotesk", sans-serif; font-size: 20px; line-height: 22px; font-weight: 400; color: #6D66AA; }
.jd-fbox p { margin: 0 0 5px; padding-bottom: 10px; }
.jd-ftable { border-top: 1px solid #c1c1c1; margin: 15px 0 20px; }
.jd-desc { margin-top: -30px; padding: 0 5px; }
.jd-desc h4 { margin: 10px 0; font-family: "Space Grotesk", sans-serif; font-size: 20px; line-height: 22px; font-weight: 400; color: #333; }
.jd-desc p { margin: 0 0 15px; padding-bottom: 10px; overflow-wrap: break-word; }
.jd-desc ul { margin: 10px 20px 20px 0; padding: 0; }
.jd-desc li { list-style: none; position: relative; padding-left: 25px; margin-bottom: 8px; background: url("../../uploads/careers/Tick.png") left center / 16px 16px no-repeat; }
.jd-form { position: relative; }
.jd-row { display: flex; margin: 0 -15px; }
.jd-row label { width: 25%; padding: 0 15px; margin: 0 0 5px; font-weight: 700; font-size: 16px; line-height: 25px; box-sizing: border-box; }
.jd-req { color: #f00; font-size: 16px; margin-left: 3px; }
.jd-in { width: 75%; padding: 0 15px; margin-bottom: 15px; box-sizing: border-box; position: relative; }
.jd-in input[type=text], .jd-in input[type=email], .jd-in input[type=tel], .jd-in textarea { display: block; width: 100%; height: 40px; padding: 6px 12px; border: 1px solid #c1c1c1; border-radius: 0; background: #fff; font-size: 14px; line-height: 20px; color: #000; box-sizing: border-box; font-family: inherit; transition: all .2s ease-in-out; }
.jd-in input:hover, .jd-in textarea:hover { border-color: #3297fa; }
.jd-in textarea { height: 100px; min-height: 100px; font-size: 16px; line-height: 22.86px; }
.jd-tel input[type=tel] { padding-left: 52px; }
.jd-flag { position: absolute; left: 24px; top: 13px; display: flex; align-items: center; gap: 6px; pointer-events: none; }
.jd-flag svg { width: 20px; height: 14px; box-shadow: 0 0 1px #888; }
.jd-flag i { width: 0; height: 0; border-left: 3px solid transparent; border-right: 3px solid transparent; border-top: 4px solid #555; }
.jd-file { position: relative; height: 40px; padding: 8px 12px; border: 1px solid #c1c1c1; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.075) inset; font-size: 16px; line-height: 22.86px; box-sizing: border-box; overflow: hidden; }
.jd-file div { position: absolute; right: 6px; top: 6px; height: 26px; padding: 5px 12px; background: #6e6e6e; color: #fff; font-size: 12px; line-height: 17.14px; box-sizing: border-box; }
.jd-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; }
.jd-file:hover { border-color: #6e6e6e; }
.jd-sub { overflow: hidden; }
.jd-sub button { float: right; margin: 5px 0 20px; padding: 7px 30px; border: 1px solid #000; border-radius: 0; background: #efefef; color: #000; font-size: 16px; line-height: 22.86px; font-family: inherit; cursor: pointer; }
.jd-closed { padding: 12px 16px; background: #fff3cd; border: 1px solid #ffe69c; }
@media (max-width: 959px) {
    .jd-primary { width: 100%; padding-right: 0; border-right: 0; }
}
@media (max-width: 991px) {
    .jd-fbox { width: 50%; }
    .jd-row { flex-direction: column; }
    .jd-row label, .jd-in { width: 100%; }
}
@media (max-width: 767px) {
    .jd-bar { padding-top: 100px; }
    .jd-fbox { width: 100%; }
}
@media (min-width: 960px) { .jd-primary { margin-bottom: 20px; } }
@media (min-width: 768px) and (max-width: 1024px) { .jd-content { padding-top: 19px; } }
@media (max-width: 767px) { .jd-frow { display: block; } .jd-fbox { width: auto; } }
@media (min-width: 960px) { .jd-primary { margin-bottom: 19px; } }
@media (max-width: 959px) { .jd-primary { margin-bottom: 59px; } }

/* ===== Privacy Policy + Mandatory Public Disclosure (pl-): live layout at 1440/768/390 ===== */
.jr-sec.pl-hero { padding: 0; height: 100vh; background: #6AC07A; }
.pl-hero__bg { position: absolute; inset: 0; background: url("../../uploads/banners/Basil-Woods-Juniors-Banner.jpg") top center / cover no-repeat; }
.pl-hero__bg::before { content: ""; position: absolute; inset: 0; background: #000; opacity: .3; }
.jr-sec.pl-main { padding: 90px 30px; background: #6D66AA; }
.pl-col { display: flex; flex-direction: column; gap: 20px; }
.pl-md { padding: 5px; }
.pl-h1, .pl-h3 { align-self: flex-start; text-align: center; }
.pl-h1 { margin-bottom: 2%; }
.ac-sec .pl-h1 h1 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 60px; line-height: 65px; font-weight: 400; color: #fff; }
.ac-sec .pl-h3 h3 { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 35px; line-height: 40px; font-weight: 400; color: #fff; }
.pl-txt { color: #fff; font-size: 16px; line-height: 25px; }
.pl-c { align-self: center; }
.pl-s { align-self: flex-start; text-align: start; }
.ac-sec .pl-txt p { margin: 0 0 20px; }
.pl-list { list-style: none; margin: 0 0 2%; padding: 0; }
.pl-list li { display: flex; align-items: center; padding-bottom: 2px; }
.pl-list li + li { margin-top: 2px; }
.pl-list li:last-child { padding-bottom: 0; }
.pl-ic { display: flex; flex-shrink: 0; }
.pl-ic svg { width: 14px; height: 14px; fill: #6AC07A; }
.pl-t { padding-left: 5px; color: #fff; transition: color .3s; }
.pl-list li:hover .pl-t { color: #6AC07A; }
.pl-list--top li { align-items: flex-start; }
.pl-list--top .pl-ic { margin-top: 6px; }
.pl-tw { margin-bottom: 2%; }
.pl-tbl { width: 100%; max-width: 100%; border-collapse: collapse; }
.pl-tbl th { padding: 20px 15px; border: 1px solid #6AC07A; color: #fff; font-size: 16px; line-height: 16px; font-weight: 600; text-align: left; }
.pl-tbl th span { font-size: 18px; line-height: 18px; }
.pl-tbl .pl-th1 { width: 100px; }
.pl-tbl td { padding: 10px; border: 1px solid #6AC07A; color: #6AC07A; font-size: 18px; line-height: 18px; text-align: left; }
.pl-tbl td a { color: #6AC07A; text-decoration: none; }
.pl-tbl td a:hover, .pl-tbl td:hover, .pl-tbl td:hover a { color: #fff; }
@media (max-width: 1024px) { .jr-sec.pl-hero { height: 90vh; } }
@media (min-width: 768px) and (max-width: 1024px) { .jr-sec.pl-main { padding: 80px 20px; } }
@media (max-width: 767px) {
    .jr-sec.pl-hero { height: 75vh; }
    .jr-sec.pl-main { padding: 30px 20px; }
    .pl-c, .pl-s { width: 100%; text-align: center; align-self: center; }
}
.pl-md { padding: 0 5px; }
.pl-tbl th, .pl-tbl td { font-family: "Montserrat", sans-serif; }
.pl-ic { min-width: 17.5px; }
.pl-tbl { border-collapse: separate; border-spacing: 0; }
.pl-tbl td a, .pl-tbl td span { display: block; }
@media (max-width: 767px) { .pl-tw { margin-bottom: calc(2% + 5px); } }

/* ===== Home: phone-width alignment with live ===== */
@media (max-width: 767px) {
    .is-home #ourschools .bw-eyebrow { position: relative; top: 5px; }
    .is-home #ourschools .bw-school-row h3 { margin-bottom: 13px; }
    .is-home #ourschools .bw-school-row__text p.bw-school-type { margin-bottom: 13px; }
    .is-home #ourschools .bw-school-row:nth-child(4) .bw-school-row__text p.bw-school-type { font-size: 18px; }
    .is-home #ourschools .bw-school-row__text .greenbuticon { margin-top: 19px !important; }
    .is-home #ourschools .bw-school-row:nth-child(n+3) .bw-school-row__text .greenbuticon { margin-top: 24px !important; }
    .is-home #ourschools.bw-section { padding-bottom: 109px; }
    .is-home #section-3 .bw-split__inner { padding: 17px 22px 0; max-width: none; }
    .is-home #section-3 .bw-split__title { margin-bottom: 23px; }
    .is-home #section-3 .bw-split__body p { margin-bottom: 18px; }
    .is-home #section-3 .bw-split__body p:last-child { margin-bottom: 0; }
    .is-home #section-3.bw-section { padding-bottom: 145px; }
    .is-home .leaders-profile .bw-eyebrow { margin-bottom: 21px; }
    .is-home .leaders-profile .bw-intro { margin: 0 7.5px; }
    .is-home .leaders-profile .row > .col-md-6 { padding: 0; margin-top: 12px; }
    .is-home .leaders-profile .row { padding: 0 20px; }
    .is-home .leaders-profile .bw-profile__img img { width: 350px; height: 339px; }
    .is-home .leaders-profile .bw-profile__role { width: 280px; margin: 0 70px 10px 0; text-align: right; }
    .is-home .leaders-profile .bw-profile__desc { width: 280px; margin: 0 0 5px 70px; text-align: left; }
    .is-home #section-4.bw-section { padding-bottom: 0; }
    .is-home #section-5.bw-section { padding-top: 45px; padding-bottom: 125px; }
    .is-home #section-5 .bw-eyebrow { margin-bottom: 21px; }
    .is-home #section-5 .bw-intro { margin: 0 17.5px !important; }
    .is-home #section-5 .bw-heading.mb-5 { margin-bottom: 0 !important; }
    .is-home #section-5 .bw-lcar { margin-top: 37px; }
    .is-home #section-5 .bw-lcar__slide h5 { margin-top: 10px; }
    .is-home #section-5 .bw-lcar__slide p { margin-bottom: 5px; }
    .is-home #section-5 .bw-lcar__nav { width: 25px; height: 25px; padding: 0; top: 192px; transform: none; }
    .is-home #section-5 .bw-lcar__nav.is-prev { left: 10px; }
    .is-home #section-5 .bw-lcar__nav.is-next { right: 10px; left: auto; }
    .is-home #section-6.bw-section { padding-top: 65px; }
    .is-home #section-6.bw-section { padding-bottom: 0; }
    .is-home #section-6 .bw-statement-lead { margin: 0 17.5px 34px; }
    .is-home #section-6 .bw-statement { margin: 0 0 34px; }
    .is-home #section-6 .bw-statement:last-child { margin-bottom: 0; }
    .is-home #section-6 .bw-statement h3 { padding-bottom: 9px; margin-bottom: 20px; }
    .is-home #section-6 .bw-statement p { margin: 0 17.5px; }
    .is-home #section-7.bw-section { padding-top: 60px; }
    .is-home #section-7 .bw-eyebrow { min-height: 90px; margin-bottom: 20px; }
    .is-home #section-7 .bw-intro { margin: 0 17.5px !important; }
    .is-home #section-7 .bw-heading.mb-5 { margin-bottom: 0 !important; }
    .is-home #section-7 .row { --bs-gutter-x: 0; --bs-gutter-y: 0; margin: 39px 0 0; }
    .is-home #section-7 .row > * { margin-top: 10px; padding: 0 5px; }
    .is-home #section-7 .row > :first-child { margin-top: 0; }
    .is-home #section-7 .row > :nth-child(4) { margin-top: 20px; }
    .is-home #section-7 .bw-card--bottom { padding: 15px; }
    .is-home #section-7 .row > :first-child .bw-card--bottom { padding-bottom: 20px; }
    .is-home #section-7 .bw-card--bottom h3 { margin-bottom: 20px; }
    .is-home #section-7 .bw-card--bottom p { margin-bottom: 20px; padding: 0; }
    .is-home #section-7 .row > :nth-child(5) { margin-top: 21px; }
    .is-home #section-7 .text-center.mt-5 { margin-top: 0 !important; }
    .is-home #section-7 .bw-btns { margin-top: 16px; }
    .is-home #section-8 .bw-eyebrow { min-height: 90px; margin-bottom: 20px; }
    .is-home #section-8 .bw-title { max-width: 315px; margin: 0 auto; }
    .is-home #section-8 .bw-heading.mb-5 { margin-bottom: 2px !important; }
    .is-home #section-8 .bw-card--tile { padding-left: 25px !important; padding-right: 25px !important; }
    .is-home #section-8 .bw-card--tile > div { width: 291px; max-width: 100%; }
    .is-home #section-8 .row > :nth-child(even) .bw-card--tile > div { margin-left: auto; }
    .is-home #section-8 .row > :nth-child(even) .bw-card--tile { padding-bottom: 38px !important; }
    .is-home #section-9 .bw-stats { padding-top: 42px; }
    .is-home #section-9 .bw-stats > .bw-eyebrow { display: block; min-width: 0; width: 270px; margin: 0 auto; padding-bottom: 0; }
    .is-home #section-9 .bw-stats .row { margin-top: 28px !important; }
    .is-home #section-9 .bw-stats .row > [class*="col-"] { margin: 0 0 35px; }
    .is-home #section-9 .bw-stat__label { margin-top: 5px; }
    .is-home #section-10.bw-section { padding-top: 74px; }
    .is-home #section-10 .bw-eyebrow { min-height: 50px; margin-bottom: 20px; }
    .is-home #section-10 .bw-title { margin-bottom: 0; }
    .is-home #section-10 .bw-intro { margin: 23px 17.5px 0 !important; }
    .is-home #section-10 .bw-heading.mb-5 { margin-bottom: 39px !important; }
    .is-home #section-10 .bw-linklist__row a { position: relative; top: 5px; }
    .is-home #section-11.bw-section { padding: 13px 0 0 !important; }
    .is-home #section-11 .bw-eyebrow, #section-13 .bw-eyebrow { padding-bottom: 0; min-height: 40px; margin-bottom: 24px; }
    .is-home #section-11 .bw-heading.mb-5 { margin-bottom: 23px !important; }
    .is-home #section-11 .bw-logos { padding: 70px 0 80px !important; }
    .is-home #section-13.bw-section.bw-section { margin-top: 0; padding: 30px 0 0 !important; }
    .is-home #section-13 .bw-heading.mb-5 { margin: 0 auto 33px !important; }
    .is-home #section-13 .bw-eyebrow { margin-bottom: 0; }
    .is-home #section-13 .bw-logos { padding: 70px 0 80px !important; }
}

/* ===== Header + Enquire tab: live sizes at every width ===== */
.bw-enquire-tab, .bw-enquire-tab:hover { top: auto; bottom: 21vh; right: 14px; transform: none; width: 56px; height: 220px; }
.bw-enquire-tab img { display: block; width: auto; height: 220px; margin: 0 auto; }
@media (max-width: 1024px) {
    .bw-header { height: 170px; }
    .bw-logo img { width: 200px; }
    .bw-hamburger { top: 59px; left: 15px; }
    .bw-hamburger img { width: 60px; }
}
@media (max-width: 767px) {
    .bw-logo img { width: 120px; position: relative; left: -2px; }
    .bw-enquire-tab, .bw-enquire-tab:hover { right: 14px; width: 56px; }
    .bw-enquire-tab img { width: auto; height: 220px; }
}

/* ===== Popup: live close icon (filled circle, cut-out cross), overlay and phone width ===== */
.bw-popup { background: rgba(0,0,0,.42); }
.bw-popup__close { top: -5px; right: -2px; width: 22px; height: 22px; padding: 0; border-radius: 0; background: none; color: #6D66AA; line-height: 0; }
.bw-popup__close svg { width: 22px; height: 22px; display: block; }
@media (max-width: 767px) {
    .bw-popup { padding: 20px 29px; background: rgba(0,0,0,.6); }
    .bw-popup__close { top: 4px; right: 6px; width: 20px; height: 20px; }
    .bw-popup__close svg { width: 20px; height: 20px; }
}
@media (max-width: 767px) {
    .bw-hero-home__link { margin-top: 51px; }
    .bw-hero-home__link a.bw-oval { width: 306px; height: 100px; aspect-ratio: auto; background-size: cover; background-position: 0 0; font-size: 16px; line-height: 25px; padding: 0 36px 0 35px; margin: 0 auto; }
    .bw-hero-home__content { padding-top: 35px !important; }
}

/* ===== Home: desktop fine alignment with live ===== */
@media (min-width: 1025px) {
    .is-home #ourschools .text-center > .bw-eyebrow { position: relative; top: 5px; margin-bottom: 24px; }
    .is-home #ourschools.bw-section { padding-bottom: 202px; }
    .is-home #section-3.bw-section { padding-bottom: 200px; }
    .is-home #section-4 .bw-eyebrow, .is-home #section-5 .bw-eyebrow { margin-bottom: 19px; }
    .is-home #section-4 .bw-heading { margin-bottom: 85px !important; }
    .is-home #section-4.bw-section { padding-bottom: 28px; }
    .is-home #section-5.bw-section { padding-bottom: 205px; }
    .is-home #section-6 .bw-statement-lead { margin-bottom: 73px; }
    .is-home #section-6 .bw-statement h3 { margin-bottom: 21px; }
    .is-home #section-6 .bw-statement:first-of-type { margin-bottom: 73px; }
    .is-home #section-6.bw-section { padding-bottom: 29px; }
    .is-home #section-7 .row > :nth-child(n+4) { margin-top: 6px; position: relative; left: 5px; }
    .is-home #section-8 .bw-eyebrow { margin-bottom: 19px; }
    .is-home #section-8 .bw-heading.mb-5 { margin-bottom: 33px !important; }
    .is-home #section-10 .bw-eyebrow { margin-bottom: 19px; }
    .is-home #section-10 .bw-intro { margin-top: 33px !important; line-height: 34px; }
    .is-home #section-10 .bw-intro p { line-height: 34px; }
    .is-home #section-10 .bw-linklist__row h3 { padding-left: 7px; }
    .is-home #section-10 .bw-linklist__row a { position: relative; top: 6px; }
    .is-home #section-7 .bw-btns { margin-top: 22px; }
    .is-home #section-9.bw-section { padding-top: 15px; }
    .is-home #section-11 .bw-intro, .is-home #section-11 .bw-intro p { line-height: 34px; }
    .is-home #section-11 .bw-heading.mb-5 { margin-bottom: 80px !important; }
    .is-home #section-11 .bw-logos { padding: 70px 0 80px !important; }
    .is-home #section-13.bw-section.bw-section { padding-top: 90px !important; }
    .is-home #section-13 .bw-heading.mb-5 { margin-bottom: 93px !important; }
    .is-home #section-13 .bw-logos { padding: 70px 0 80px !important; }
    .is-home #ourschools .bw-school-row:nth-child(2) .bw-school-row__text { position: relative; top: 6px; }
    .is-home #ourschools .bw-school-row:nth-child(2) .greenbuticon { position: relative; top: -7px; }
    .is-home #ourschools .bw-school-row:nth-child(4) .bw-school-row__text { position: relative; top: 1px; }
    .is-home #ourschools .bw-school-row:nth-child(n+3) .greenbuticon { position: relative; top: 3px; }
}

/* ===== Home: 768 tablet alignment with live ===== */
@media (min-width: 768px) and (max-width: 991px) {
    .is-home #ourschools .text-center > .bw-eyebrow { margin-bottom: 21px; }
    .is-home #ourschools .text-center.mb-5 { margin-bottom: 59px !important; }
    .is-home #ourschools .bw-school-row { align-items: start; margin: 0 0 40px !important; }
    .is-home #ourschools.bw-section { padding-bottom: 106px; }
    .is-home #ourschools .bw-school-row:last-of-type { margin-bottom: 0 !important; }
    .is-home #ourschools .bw-school-row > [class*="col-"] { margin-top: 0 !important; }
    .is-home #ourschools .bw-school-row:nth-child(2) { grid-template-columns: 349px 349px; column-gap: 10px !important; }
    .is-home #ourschools .bw-school-row:nth-child(2) .bw-school-row__img img { width: 349px; height: 218px; }
    .is-home #ourschools .bw-school-row:nth-child(4) { grid-template-columns: 359px 339px; column-gap: 10px !important; }
    .is-home #ourschools .bw-school-row:nth-child(4) > :first-child { padding-left: 20px !important; }
    .is-home #ourschools .bw-school-row h3 { margin-bottom: 13px; }
    .is-home #ourschools .bw-school-row__text p.bw-school-type { margin-bottom: 13px; }
    .is-home #ourschools .bw-school-row__text p:not(.bw-school-type) { max-width: 322px; margin-bottom: 0; }
    .is-home #ourschools .bw-school-row:nth-child(2) .bw-school-row__text p:not(.bw-school-type) { max-width: 332px; }
    .is-home #ourschools .bw-school-row__text .greenbuticon { display: table; white-space: nowrap; margin: 24px auto 0 !important; }
    .is-home #ourschools .bw-school-row:nth-child(2) .bw-school-row__text .greenbuticon { margin-top: 20px !important; }
    .is-home #section-3 .bw-eyebrow { min-height: 50px; margin-bottom: 31px !important; }
    .is-home #section-3 .bw-split { align-items: flex-start !important; }
    .is-home #section-3 .bw-split__media { margin-top: 48px; }
    .is-home #section-3.bw-section { padding-bottom: 140px; }
    .is-home #section-3 .bw-split__inner { padding-left: 42px; max-width: 364px; }
    .is-home #section-3 .bw-split__title { margin-bottom: 23px; }
    .is-home #section-3 .bw-split__body p { margin-bottom: 18px; }
    .is-home #section-3 .bw-split__body p:last-child { margin-bottom: 0; }
    .is-home #section-4 .bw-eyebrow, .is-home #section-5 .bw-eyebrow { margin-bottom: 21px; }
    .is-home #section-4 .bw-heading { margin-bottom: 33px !important; }
    .is-home #section-4.bw-section { padding-bottom: 41px; }
    .is-home #section-5.bw-section { padding-bottom: 101px; }
    .is-home #section-6 .bw-statement h3 { margin-bottom: 21px; }
    .is-home #section-6 .bw-statement:first-of-type { margin-bottom: 49px; }
    .is-home #section-6.bw-section { padding-bottom: 5px; }
    .is-home #section-7 .bw-eyebrow { margin-bottom: 21px; }
    .is-home #section-7 .bw-heading.mb-5 { margin-bottom: 55px !important; }
    .is-home #section-7 .row > :nth-child(n+4) { margin-top: 26px; }
    .is-home #section-7 .bw-btns { margin-top: 16px; }
    .is-home #section-8 .bw-eyebrow { margin-bottom: 21px; }
    .is-home #section-8 .bw-heading.mb-5 { margin-bottom: 41px !important; }
    .is-home #section-8 .bw-card--tile > div { width: 265px; flex: 0 0 265px; }
    .is-home #section-8 .bw-card--tile h3 { margin-bottom: 4px; }
    .is-home #section-9 .bw-stats { padding: 15px 15px 20px; margin-top: 4px; }
    .is-home #section-9 .bw-stats > .bw-eyebrow { display: block; width: 663px; min-width: 0; max-width: 100%; min-height: 40px; padding-bottom: 0; margin: 0 auto 32px; }
    .is-home #section-9 .bw-stats .row { display: flex !important; flex-wrap: nowrap !important; justify-content: flex-start !important; padding: 0 5px; margin: 0 !important; gap: 0 !important; }
    .is-home #section-9 .bw-stats .row > [class*="col-"] { width: auto !important; flex: 0 0 auto !important; max-width: none !important; padding: 0 38px 0 0 !important; margin: 0 40px 0 0 !important; }
    .is-home #section-9 .bw-stats .row > [class*="col-"]:last-child { margin-right: 0 !important; padding-right: 35px !important; }
    .is-home #section-9 .bw-stat { width: 36px; text-align: left; border: 0 !important; padding: 0 !important; margin: 0 !important; white-space: normal; overflow: visible; }
    .is-home #section-9 .row > :nth-child(2) .bw-stat { width: 30px; white-space: nowrap; }
    .is-home #section-9 .row > :nth-child(3) .bw-stat { width: 57px; }
    .is-home #section-9 .row > :nth-child(4) .bw-stat, .is-home #section-9 .row > :nth-child(5) .bw-stat { width: 45px; }
    .is-home #section-9 .row > :nth-child(6) .bw-stat { width: 50px; }
    .is-home #section-9 .bw-stat__num { white-space: nowrap; }
    .is-home #section-9 .bw-stat__label, .is-home #section-9 .bw-stat__num { display: flex; justify-content: center; text-align: left; }
    .is-home #section-10 .bw-eyebrow { min-height: 50px; margin-bottom: 20px; }
    .is-home #section-10 .bw-title { font-size: 38px; max-width: 692px; margin: 0 auto; }
    .is-home #section-10 .bw-intro { max-width: 692px; margin: 27px auto 0 !important; }
    .is-home #section-10 .bw-intro, .is-home #section-10 .bw-intro p { font-size: 25px; line-height: 34px; }
    .is-home #section-10 .bw-heading.mb-5 { margin-bottom: 54px !important; }
    .is-home #section-10 .bw-linklist { margin: 0 0 0 -5px !important; }
    .is-home #section-10 .bw-linklist__row { margin: 0 0 29px !important; gap: 0 !important; }
    .is-home #section-10 .bw-linklist__row a { margin-left: 0 !important; }
    .is-home #section-10 .bw-linklist__row:nth-child(2) { margin-bottom: 37px !important; }
    .is-home #section-10 .bw-linklist__row:nth-child(n+3) { margin-bottom: 36px !important; }
    .is-home #section-10 .bw-linklist__row:last-child { margin-bottom: 0 !important; }
    .is-home #section-11.bw-section { padding-top: 30px !important; padding-bottom: 0 !important; }
    .is-home #section-11 .bw-eyebrow, .is-home #section-13 .bw-eyebrow { min-height: 40px; padding-bottom: 0; }
    .is-home #section-11 .bw-eyebrow { margin-bottom: 27px; }
    .is-home #section-11 .bw-intro { width: 730px; max-width: none; margin: 0 0 0 -11px !important; }
    .is-home #section-11 .bw-heading.mb-5 { margin-bottom: 46px !important; }
    .is-home #section-11 .bw-logos { padding: 70px 0 80px !important; }
    .is-home #section-11 .bw-lcar--logos.is-awards { --n: 3; --gap: 35px; width: 728px; margin: 0 0 0 -10px; }
    .is-home #section-11 .bw-lcar--logos.is-awards .bw-lcar__img { justify-content: flex-start; padding-left: 4px; }
    .is-home #section-13.bw-section.bw-section { padding: 80px 0 0 !important; margin-top: 0; }
    .is-home #section-13 .bw-heading.mb-5 { margin: 0 auto 87px !important; }
    .is-home #section-13 .bw-eyebrow { margin-bottom: 0; }
    .is-home #section-13 .bw-logos { padding: 73px 0 83px !important; }
    .is-home #section-13 .bw-lcar--logos.is-partners { --n: 3; --gap: 80px; width: 728px; margin: 0 0 0 -10px; }
    .is-home #section-13 .bw-lcar--logos.is-partners .bw-lcar__img { height: 37px; justify-content: flex-start; padding-left: 4px; }
    .is-home #section-13 .bw-lcar--logos.is-partners .bw-lcar__img img { width: 117px; max-height: 37px; }
    .is-home #section-11 .is-awards .bw-lcar__track { column-gap: 35px; gap: 35px; }
    .is-home #section-11 .is-awards .bw-lcar__slide { flex: 0 0 calc((728px - 70px) / 3); }
    .is-home #section-13 .is-partners .bw-lcar__track { column-gap: 80px; gap: 80px; }
    .is-home #section-13 .is-partners .bw-lcar__slide { flex: 0 0 calc((728px - 160px) / 3); }
    .is-home #section-10.bw-section { padding-bottom: 66px; }
    .is-home #section-9 .bw-stat__num, .is-home #section-9 .bw-stat__label { text-align: left; }
    .is-home #section-7 .row { --bs-gutter-x: 0; margin-left: -5px; margin-right: -5px; width: 718px; max-width: none; justify-content: flex-start !important; gap: 0 !important; }
    .is-home #section-7 .row > * { flex: 0 0 233px; width: 233px; max-width: none; padding: 0; margin-left: 9.5px; }
    .is-home #section-7 .row > :first-child { margin-left: 0; }
    .is-home #section-7 .row > :nth-child(n+4) { flex-basis: 320px; width: 320px; margin-left: 20px; }
    .is-home #section-7 .row > :nth-child(4) { margin-left: 29px; }
    .is-home #section-7 .bw-card--bottom { padding: 15px; }
    .is-home #section-7 .row > :first-child .bw-card--bottom { padding-bottom: 20px; }
    .is-home #section-7 .bw-card--bottom p { padding: 0; margin-bottom: 20px; }
    .is-home .leaders-profile .bw-profile__role { width: 183px; }
    .is-home .leaders-profile .bw-profile__desc { width: 183px; margin: 0 0 5px 46px; }
}

/* ===== Thank-you page (live: full-height purple block, centred heading) ===== */
.jr-sec.ty-sec { padding: 0 !important; background: var(--bw-purple); }
.ty-box { height: 700px; padding: 0 30px; display: flex; flex-direction: column; justify-content: center; text-align: center; color: #fff; }
.ty-box .ty-h { font-family: "Space Grotesk", sans-serif; font-size: 45px; line-height: 52px; font-weight: 400; color: #fff; margin: 0 0 14px; }
.ty-box .ty-p { font-family: "Space Grotesk", sans-serif; font-size: 18px; line-height: 27px; color: #fff; margin: 0; }
@media (max-width: 1024px) { .ty-box { height: 450px; padding: 0 20px; } }
@media (max-width: 767px) { .ty-box { height: 500px; } }
@media (max-width: 767px) { .ty-box { padding: 0 9px 0 31px; } }

/* ===== Page-bottom spacing to match live ===== */
.bw-jb__job:last-of-type { margin-bottom: 15px; }
@media (max-width: 1024px) { .bw-jb__job:last-of-type { margin-bottom: 18px; } .jr-sec.cr-faq { padding-bottom: 115px; } }
@media (max-width: 767px) { .bw-jb__job:last-of-type { margin-bottom: 20px; } }
/* Admissions testimonials: live offsets and bottom spacing */
.jr-sec.ac-sec.ad-test { padding-top: 3px !important; padding-bottom: 185px !important; }
@media (max-width: 1024px) { .jr-sec.ac-sec.ad-test { padding-top: 8px !important; padding-bottom: 126px !important; } }
@media (max-width: 767px) { .jr-sec.ac-sec.ad-test { padding-top: 0 !important; padding-bottom: 119px !important; } .ad-test .ad-test__head { min-height: 88px; } }

/* ===== Juniors: fine alignment with live ===== */
@media (min-width: 1025px) {
    .jr-quote { padding-top: 32.8px; }
    .jr-dayrow .jr-daygrid, .jr-dayrow .jr-sub25--day { position: relative; left: 5px; }
    .jr-people .jr-lead-serif { width: 786px; max-width: none; margin-left: auto; margin-right: auto; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .jr-box .jr-lead { margin-left: -54px; margin-right: -54px; max-width: none; }
    .jr-food h3.jr-bigh { margin-top: -15px; }
    .jr-sec.jr-food { padding-bottom: 65px; }
}
@media (max-width: 767px) {
    .jr-curr .jr-h2-serif { width: 315px; max-width: none; margin-left: auto; margin-right: auto; }
}
.jr-sec.jr-vibes { padding-bottom: 191px; }
@media (max-width: 1024px) { .jr-sec.jr-vibes { padding-bottom: 130px; } }
@media (max-width: 767px) { .jr-sec.jr-vibes { padding-bottom: 129px; } .jr-sec.jr-schools { padding-bottom: 120px; } }
/* Gallery cards: the photo is always a link (first tap on phones opens the album); the dark overlay still only shows on hover */
.gg-ov { visibility: visible; }
.gg-ov a { visibility: visible; }
/* Enquiry page with the Meritto widget (live site): the widget fills the panel itself, as on the old site */
.en-scroll:has(.npf_wgts) { padding: 0; height: auto; max-height: none; overflow: visible; }
.en-scroll .npf_wgts iframe { display: block; width: 100%; border: 0; }
