/* ==========================================================================
   Cambridge Curriculum page design — scoped to .cb-page
   Adapted from the approved mockup so it never leaks into site header/footer.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.cb-page {
    --navy: #092e68;
    --red: #d9252a;
    --yellow: #f8c928;
    --ink: #12366b;
    --muted: #53657b;
    --cream: #fffaf0;
    --pale: #f2f8fc;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.5;
    background: #fff;
}

.cb-page *,
.cb-page *:before,
.cb-page *:after {
    box-sizing: border-box;
}

.cb-page a {
    color: inherit;
    text-decoration: none;
}

.cb-page img {
    max-width: 100%;
}

.cb-page .hidden {
    display: none !important;
}

/* ---------- shared bits ---------- */
.cb-page .section {
    padding: 48px max(4.5%, calc((100% - 1240px) / 2));
}

.cb-page .section h2,
.cb-page .contact h2 {
    font-size: clamp(23px, 2.5vw, 34px);
    line-height: 1.12;
    letter-spacing: -0.6px;
    margin: 0 0 12px;
}

.cb-page .eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 9px;
}

.cb-page .eyebrow > span:empty {
    display: inline-block;
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--red);
    flex: 0 0 auto;
}

.cb-page .eyebrow.centered {
    justify-content: center;
}

.cb-page .eyebrow.light {
    color: #fff;
}

.cb-page .eyebrow.light > span:empty {
    background: var(--yellow);
}

.cb-page .centered {
    text-align: center;
    justify-content: center;
}

.cb-page .section-lead {
    text-align: center;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 auto 22px;
}

.cb-page .small-note {
    font-size: 10px;
    color: #6b7787;
    text-align: center;
    margin: 15px 0 0;
}

.cb-page .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 12px 18px;
    border-radius: 7px;
    font: 700 13px Inter, Arial, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
    box-sizing: border-box;
}

.cb-page .button.red {
    background: var(--red);
    color: #fff;
    border: 1px solid var(--red);
    box-shadow: 0 7px 18px rgba(217, 37, 42, .18);
}

.cb-page .button.red:hover {
    background: #bc1e23;
    border-color: #bc1e23;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(217, 37, 42, .22);
}

.cb-page .button.outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: none;
}

.cb-page .button.outline:hover {
    background: #fff;
    color: var(--navy);
    border-color: #fff;
    transform: translateY(-2px);
}

.cb-page .button span {
    font-size: 15px;
    line-height: 1;
}

.cb-page a.cb-disabled {
    cursor: default;
    pointer-events: none;
}

.cb-page .button:focus-visible,
.cb-page .form-grid select:focus,
.cb-page .form-grid input:focus {
    outline: 3px solid rgba(217, 37, 42, .18);
    outline-offset: 2px;
}

/* ---------- hero (modern light hero) ---------- */
.cb-page .hero-modern {
    min-height: 500px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(500px, 1.08fr);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5faff 0%, #ffffff 54%, #eef7ff 100%);
    color: var(--navy);
    isolation: isolate;
}

.cb-page .hero-modern:before {
    content: "";
    position: absolute;
    left: -180px;
    bottom: -250px;
    width: 520px;
    height: 520px;
    border: 70px solid rgba(47, 129, 203, .12);
    border-radius: 50%;
    z-index: -1;
}

.cb-page .hero-modern:after {
    content: "";
    position: absolute;
    right: -150px;
    bottom: -210px;
    width: 500px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, rgba(248, 201, 40, .18), transparent 48%), linear-gradient(135deg, transparent 42%, rgba(9, 46, 104, .08) 43%, rgba(9, 46, 104, .08) 58%, transparent 59%);
    z-index: -1;
}

.cb-page .hero-modern-copy {
    align-self: center;
    padding: 68px 20px 68px max(5vw, calc((100vw - 1240px) / 2));
    position: relative;
    z-index: 3;
    max-width: 720px;
}

.cb-page .hero-modern-kicker {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--navy) !important;
    margin: 0 0 18px;
    position: relative;
    padding-left: 0;
}

.cb-page .hero-modern-kicker:after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: var(--red);
    margin-top: 12px;
    border-radius: 2px;
}

.cb-page .hero-modern h1 {
    font-family: Poppins, Inter, Arial, sans-serif !important;
    font-size: clamp(48px, 5.2vw, 76px);
    line-height: .98;
    letter-spacing: -2.8px;
    margin: 0 0 18px;
    font-weight: 800;
    color: var(--navy) !important;
}

.cb-page .hero-modern h1 span,
.cb-page .hero-modern h1 em {
    color: var(--red) !important;
}

.cb-page .hero-modern h1 span {
    display: block;
}

.cb-page .hero-modern h2 {
    font-size: clamp(20px, 2.1vw, 30px);
    line-height: 1.25;
    letter-spacing: -0.6px;
    margin: 0 0 16px;
    color: #314a68;
    max-width: 680px;
}

.cb-page .hero-modern-text {
    font-size: 16px;
    line-height: 1.65;
    color: #53657b;
    max-width: 650px;
    margin: 0 0 26px;
}

.cb-page .hero-modern-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cb-page .hero-modern-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    padding: 14px 22px;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(217, 37, 42, .16);
    transition: .2s ease;
}

.cb-page .hero-modern-primary:hover {
    transform: translateY(-2px);
    background: #bd2025;
}

.cb-page .hero-modern-primary span {
    font-size: 18px;
    line-height: 1;
}

.cb-page .hero-modern-visual {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

.cb-page .hero-modern-visual:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f5faff 0%, rgba(245, 250, 255, .7) 10%, transparent 30%);
    z-index: 2;
    pointer-events: none;
}

.cb-page .hero-modern-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    display: block;
    filter: saturate(.96) contrast(.98);
}

.cb-page .hero-modern-visual:after {
    content: "";
    position: absolute;
    left: -90px;
    bottom: -145px;
    width: 420px;
    height: 270px;
    border-radius: 50%;
    border: 45px solid rgba(9, 46, 104, .11);
    transform: rotate(-8deg);
    z-index: 3;
    pointer-events: none;
}

.cb-page .hero-orbit {
    position: absolute;
    border: 2px solid rgba(31, 106, 184, .18);
    border-radius: 50%;
    z-index: 4;
    pointer-events: none;
}

.cb-page .orbit-one { width: 190px; height: 190px; right: 8%; top: 5%; }
.cb-page .orbit-two { width: 120px; height: 120px; right: 3%; top: 22%; border-color: rgba(217, 37, 42, .16); }

.cb-page .hero-dot {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    z-index: 4;
}

.cb-page .dot-one {
    right: 11%;
    top: 13%;
    background: var(--yellow);
    box-shadow: 18px 12px 0 rgba(217, 37, 42, .75), 36px -4px 0 rgba(9, 46, 104, .7);
}

.cb-page .dot-two {
    left: 12%;
    bottom: 16%;
    background: var(--red);
    box-shadow: 14px -8px 0 rgba(248, 201, 40, .9), 28px 2px 0 rgba(9, 46, 104, .6);
}

/* ---------- intro / about ---------- */
.cb-page .intro {
    display: block;
    padding-top: 64px;
    padding-bottom: 64px;
}

.cb-page .intro-top {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 7%;
    align-items: center;
}

.cb-page .intro-copy h2 {
    font-size: clamp(30px, 3.1vw, 44px);
    margin: 0 0 18px;
    max-width: 620px;
    line-height: 1.12;
    letter-spacing: -0.6px;
}

.cb-page .intro-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 680px;
    margin: 0 0 14px;
}

.cb-page .intro-visual {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.cb-page .intro-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 18px 85px 18px 85px;
    border: 0;
    border-bottom: 8px solid var(--yellow);
    box-shadow: 0 16px 35px rgba(7, 39, 83, .12);
}

.cb-page .intro-badge {
    position: absolute;
    left: -22px;
    bottom: 18px;
    background: #fff;
    border-left: 5px solid var(--red);
    padding: 13px 18px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(7, 39, 83, .14);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cb-page .intro-badge strong {
    font-family: Poppins, Inter, Arial, sans-serif !important;
    color: var(--navy);
    font-size: 17px;
}

.cb-page .intro-badge span {
    font-size: 10px;
    color: var(--muted);
}

/* ---------- pathway (tabs) ---------- */
.cb-page .pathway-redesign {
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
    border-top: 1px solid #e4ebf3;
    border-bottom: 1px solid #e4ebf3;
}

.cb-page .pathway-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.cb-page .pathway-head h2 {
    color: var(--navy);
    margin: 0 0 9px;
}

.cb-page .pathway-intro {
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
    max-width: 700px;
}

.cb-page .pathway-brochure {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding: 13px 18px;
    border-radius: 7px;
    box-shadow: 0 7px 18px rgba(217, 37, 42, .16);
    white-space: nowrap;
    transition: .2s ease;
}

.cb-page .pathway-brochure:hover {
    transform: translateY(-2px);
    background: #bc1e23;
}

.cb-page .pathway-brochure span {
    font-size: 16px;
    line-height: 1;
}

.cb-page .pathway-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    border-bottom: 1px solid #d9e2ec;
    margin-bottom: 22px;
}

.cb-page .pathway-tab {
    appearance: none;
    border: 0;
    background: transparent;
    color: #5c6e84;
    font: 700 13px Inter, Arial, sans-serif;
    padding: 15px 12px;
    cursor: pointer;
    position: relative;
    text-align: left;
}

.cb-page .pathway-tab:after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 3px;
    background: transparent;
    border-radius: 3px 3px 0 0;
}

.cb-page .pathway-tab:hover,
.cb-page .pathway-tab.active {
    color: var(--navy);
}

.cb-page .pathway-tab.active:after {
    background: var(--red);
}

.cb-page .pathway-tab[data-stage-tab="early"].active:after {
    background: #d63384;
}

.cb-page .pathway-tab[data-stage-tab="primary"].active:after {
    background: #0d6efd;
}

.cb-page .pathway-tab[data-stage-tab="lower"].active:after {
    background: #198754;
}

.cb-page .pathway-tab[data-stage-tab="upper"].active:after {
    background: var(--red);
}

.cb-page .pathway-panel {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 38px;
    background: #fff;
    border: 1px solid #e3eaf2;
    border-radius: 16px;
    padding: 30px 32px;
    box-shadow: 0 10px 30px rgba(20, 54, 96, .07);
    min-height: 270px;
}

.cb-page .pathway-panel[hidden] {
    display: none;
}

.cb-page .stage-label,
.cb-page .side-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cb-page .pathway-main h3 {
    font-size: 25px;
    font-weight: 800;
    color: var(--navy);
    margin: 0 0 9px;
    letter-spacing: -0.4px;
}

.cb-page .pathway-main > p {
    font-size: 14px;
    line-height: 1.65;
    color: #53657b;
    max-width: 700px;
    margin: 0 0 18px;
}

.cb-page .pathway-main h4 {
    font-size: 13px;
    color: var(--navy);
    margin: 0 0 10px;
}

.cb-page .subject-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cb-page .subject-chips span {
    border: 1px solid #cfdbe8;
    background: #f8fbfe;
    color: #284563;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
}

.cb-page .pathway-side {
    border-left: 1px solid #e0e7ef;
    padding-left: 34px;
}

.cb-page .check-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.cb-page .check-list li {
    position: relative;
    padding-left: 25px;
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.55;
    color: #304a67;
}

.cb-page .check-list li:before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--red);
    font-weight: 900;
    font-size: 15px;
}

.cb-page .qualification-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 500px;
}

.cb-page .qualification-cards div {
    border: 1px solid #dbe4ee;
    border-top: 4px solid var(--yellow);
    border-radius: 10px;
    padding: 15px;
    background: #fbfdff;
}

.cb-page .qualification-cards div + div {
    border-top-color: var(--red);
}

.cb-page .qualification-cards strong,
.cb-page .qualification-cards small {
    display: block;
}

.cb-page .qualification-cards strong {
    font-size: 16px;
    color: var(--navy);
}

.cb-page .qualification-cards small {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.cb-page .pathway-redesign .small-note {
    margin-top: 14px;
}

/* ---------- approach ---------- */
.cb-page .approach {
    display: grid;
    grid-template-columns: 1.4fr .75fr;
    align-items: center;
    gap: 5%;
}

.cb-page .approach-copy > p:not(.eyebrow) {
    line-height: 1.55;
    color: var(--muted);
    max-width: 700px;
}

.cb-page .approach-img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    border-radius: 70px 0 0 70px;
    border-left: 7px solid var(--red);
}

.cb-page .approach-points {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 15px;
    margin-top: 20px;
    text-align: center;
}

.cb-page .approach-points > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
}

.cb-page .round {
    font-style: normal;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 23px;
    color: #fff;
}

.cb-page .red-round { background: var(--red) !important; }
.cb-page .yellow-round { background: var(--yellow) !important; color: var(--navy); }
.cb-page .blue-round { background: #3b9bdc !important; }
.cb-page .green-round { background: #43b99e !important; }

.cb-page .approach-points b,
.cb-page .approach-points strong {
    font-size: 11px;
    line-height: 1.2;
}

.cb-page .approach-points small {
    font-size: 10px;
    line-height: 1.35;
    color: var(--muted);
}

/* ---------- benefits ---------- */
.cb-page .benefits {
    background: var(--cream);
}

.cb-page .benefits-head h2 {
    text-align: center;
}

.cb-page .benefit-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 24px;
}

.cb-page .benefit-grid article {
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 10px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(18, 43, 75, .03);
}

.cb-page .benefit-ico {
    font-style: normal;
    font-size: 27px;
    color: #2489c8;
    background: #e8f4fc;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 9px;
    overflow: hidden;
}

.cb-page .benefit-ico img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    display: block;
}

.cb-page .benefit-grid article:nth-child(2) .benefit-ico {
    color: #c79500;
    background: #fff4d5;
}

.cb-page .benefit-grid article:nth-child(4) .benefit-ico {
    color: #d49a00;
    background: #fff4d5;
}

.cb-page .benefit-grid h3 {
    font-size: 12px;
    line-height: 1.2;
    margin: 0 0 7px;
    color: var(--ink);
}

.cb-page .benefit-grid p {
    font-size: 10px;
    line-height: 1.4;
    color: var(--muted);
    margin: 0;
}

/* ---------- why choose (editorial) ---------- */
.cb-page .why.why-redesign {
    display: block;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e8edf3;
    border-bottom: 1px solid #e8edf3;
    padding: 68px max(4.5%, calc((100% - 1240px) / 2));
    overflow: hidden;
}

.cb-page .why-editorial {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
    gap: 52px;
    align-items: stretch;
}

.cb-page .why-intro {
    width: 100%;
    max-width: 390px;
    min-width: 0;
    padding-top: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cb-page .why-intro .eyebrow {
    margin-bottom: 17px;
}

.cb-page .why-intro h2 {
    font-family: Poppins, Inter, Arial, sans-serif !important;
    color: #102f63;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin: 0 0 20px;
}

.cb-page .why-intro h2 em {
    font-style: normal;
    color: var(--red);
}

.cb-page .why-lead {
    font-size: 14px;
    line-height: 1.72;
    color: #5b6d82;
    margin: 0;
    max-width: 390px;
}

.cb-page .why-points {
    width: 100% !important;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-left: 1px solid #dce4ed;
    overflow: visible;
}

.cb-page .why-points article {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    padding: 8px 28px 22px !important;
    border-bottom: 1px solid #dce4ed;
    min-height: 138px;
    min-width: 0;
    width: auto !important;
    overflow-wrap: anywhere;
}

.cb-page .why-points article:nth-child(odd) {
    border-right: 1px solid #dce4ed;
}

.cb-page .why-points article:nth-child(3),
.cb-page .why-points article:nth-child(4) {
    padding-top: 22px !important;
}

.cb-page .why-points article:nth-child(5),
.cb-page .why-points article.why-point-wide {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 0;
    min-height: 96px;
}

.cb-page .why-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 800;
    background: #f4f7fb;
    border: 1px solid currentColor;
}

.cb-page .why-icon.red { color: var(--red); background: #fff4f4; }
.cb-page .why-icon.yellow { color: #d9a900; background: #fff9df; }
.cb-page .why-icon.blue { color: #287ac2; background: #eef7ff; }
.cb-page .why-icon.green { color: #249264; background: #effaf5; }

.cb-page .why-points h3 {
    margin: 1px 0 6px;
    color: #163a70;
    font-family: Poppins, Inter, Arial, sans-serif !important;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 700;
}

.cb-page .why-points p {
    margin: 0;
    color: #5b6d82;
    font-size: 11.5px;
    line-height: 1.55;
    max-width: none;
}

/* ---------- campus carousel ---------- */
.cb-page .campus-carousel {
    background: #f7fbff;
    overflow: hidden;
}

.cb-page .carousel-head {
    max-width: 820px;
    margin: 0 auto 24px;
    text-align: center;
}

.cb-page .carousel-head .section-lead {
    max-width: 650px;
    margin-bottom: 0;
}

.cb-page .campus-carousel-wrap {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.cb-page .campus-track {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 350px;
    perspective: 1200px;
    overflow: hidden;
    padding: 12px 4px 18px;
}

.cb-page .campus-slide {
    position: relative;
    flex: 0 0 185px;
    height: 300px;
    border-radius: 14px;
    overflow: hidden;
    background: #dfeaf5;
    box-shadow: 0 10px 24px rgba(6, 40, 92, .12);
    transition: transform .4s ease, opacity .4s ease, flex-basis .4s ease, height .4s ease;
    opacity: .7;
}

.cb-page .campus-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cb-page .campus-slide:nth-child(1),
.cb-page .campus-slide:nth-child(5) {
    height: 250px;
    opacity: .62;
}

.cb-page .campus-slide:nth-child(2),
.cb-page .campus-slide:nth-child(4) {
    height: 285px;
    opacity: .82;
}

.cb-page .campus-slide.is-active {
    flex-basis: 290px;
    height: 350px;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(6, 40, 92, .2);
    z-index: 2;
}

.cb-page .campus-slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 40, 92, 0) 45%, rgba(6, 40, 92, .84) 100%);
    pointer-events: none;
}

.cb-page .campus-caption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    color: #fff;
    z-index: 1;
}

.cb-page .campus-caption p {
    margin: 0;
}

.cb-page .campus-caption strong {
    display: block;
    font-family: Georgia, 'Times New Roman', serif !important;
    font-size: 18px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.cb-page .campus-caption * {
    background: none !important;
    background-color: transparent !important;
}

.cb-page .campus-caption span {
    display: block;
    font-size: 10px;
    line-height: 1.35;
    color: #eaf3fb;
}

.cb-page .carousel-arrow {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid #d5dfeb;
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    font-size: 30px;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 5px 14px rgba(6, 40, 92, .1);
    z-index: 3;
}

.cb-page .carousel-arrow:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
}

.cb-page .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 4px;
}

.cb-page .carousel-dots button {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #c9d4df;
    cursor: pointer;
}

.cb-page .carousel-dots button.active {
    width: 20px;
    border-radius: 8px;
    background: var(--red);
}

/* ---------- admissions steps ---------- */
.cb-page .admissions {
    background: #f1f9ff;
}

.cb-page .steps {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin: 36px 0 0;
}

.cb-page .steps article {
    flex: 1;
    text-align: center;
}

.cb-page .step-num {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    margin: 0 auto 12px;
}

.cb-page .steps h3 {
    font-size: 12px;
    line-height: 1.25;
    margin: 0 0 7px;
}

.cb-page .steps p {
    font-size: 10px;
    color: var(--muted);
    line-height: 1.4;
    margin: 0;
}

.cb-page .arrow {
    color: #7e9ab5;
    font-size: 24px;
    padding-top: 8px;
}

/* ---------- video testimonials ---------- */
.cb-page .video-testimonials {
    background: #fff;
    padding-top: 46px;
    padding-bottom: 46px;
}

.cb-page .video-testimonial-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 18px;
}

.cb-page .video-testimonial-head h2 {
    margin-bottom: 8px;
}

.cb-page .video-testimonial-lead {
    margin: 0;
    text-align: left;
    max-width: 680px;
}

.cb-page .reel-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 230px));
    justify-content: center;
    gap: 18px;
    width: 100%;
}

.cb-page .reel-card {
    margin: 0;
    min-width: 0;
    width: 100%;
}

.cb-page .reel-media {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    height: auto;
    border-radius: 14px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 12px 30px rgba(6, 40, 92, .14);
    isolation: isolate;
}

.cb-page .reel-media:after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    pointer-events: none;
    z-index: 3;
}

.cb-page .reel-media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 4;
}

.cb-page .reel-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #fff;
    color: var(--navy);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .8px;
    padding: 6px 9px;
    border-radius: 999px;
}

.cb-page .reel-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .9);
    background: rgba(214, 29, 55, .95);
    color: #fff;
    font-size: 18px;
    padding-left: 5px;
    display: grid;
    place-items: center;
    z-index: 2;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
    transition: transform .2s ease, background .2s ease;
}

.cb-page .reel-play:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: var(--red);
}

.cb-page .reel-copy {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    color: #fff;
    z-index: 2;
}

.cb-page .reel-copy strong {
    display: block;
    font-family: Poppins, Inter, Arial, sans-serif !important;
    font-size: 18px;
    line-height: 1.08;
    margin-bottom: 6px;
}

.cb-page .reel-copy p {
    font-size: 10.5px;
    line-height: 1.35;
    margin: 0 0 6px;
    color: #f7fbff;
}

.cb-page .reel-copy small {
    font-size: 9px;
    color: #dbe7f6;
}

/* ---------- contact / enquiry ---------- */
.cb-page .contact {
    background: var(--navy);
    color: #fff;
    padding: 42px max(4.5%, calc((100% - 1240px) / 2));
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6%;
    align-items: center;
}

.cb-page .contact-copy > p:not(.eyebrow) {
    color: #dce6f3;
    line-height: 1.55;
    max-width: 500px;
}

.cb-page .contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 18px;
}

.cb-page .contact-actions .button {
    margin: 0;
}

.cb-page .enquiry-form {
    background: #fff;
    color: var(--navy);
    padding: 24px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 28, 69, .15);
}

.cb-page .enquiry-form h3 {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 16px;
}

.cb-page .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cb-page .form-grid label,
.cb-page .cb-city-field .cb-label {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.25;
    display: block;
}

.cb-page .form-grid input,
.cb-page .form-grid select {
    display: block;
    width: 100%;
    margin-top: 5px;
    border: 1px solid #dfe5eb;
    border-radius: 5px;
    padding: 10px 12px;
    min-height: 42px;
    font: 12px Inter, Arial, sans-serif;
    color: #243b59;
    background: #fff;
    box-sizing: border-box;
}

.cb-page .form-grid select:disabled {
    background: #f4f6f8;
    color: #9aa5b1;
    cursor: not-allowed;
}

.cb-page .terms-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    font-size: 11px;
    color: #45566d;
    line-height: 1.4;
    font-weight: 400;
}

.cb-page .terms-check input {
    width: 14px;
    height: 14px;
    margin: 1px 0 0;
    flex: 0 0 auto;
    accent-color: var(--red);
}

.cb-page .terms-check a {
    color: #1f63d1;
    text-decoration: underline;
}

.cb-page .enquiry-form .submit {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: #fff;
    border: 1px solid var(--red);
    border-radius: 7px;
    min-height: 46px;
    margin-top: 14px;
    font: 800 13px Inter, Arial, sans-serif;
    box-shadow: 0 7px 18px rgba(217, 37, 42, .16);
    cursor: pointer;
    transition: .18s ease;
}

.cb-page .enquiry-form .submit:hover {
    background: #bc1e23;
    border-color: #bc1e23;
    transform: translateY(-1px);
}

.cb-page .enquiry-form .submit:disabled {
    opacity: .7;
    cursor: wait;
}

.cb-page .cb-field-error {
    display: block;
    color: #dc2626;
    font-size: 11px;
    margin-top: 4px;
    font-weight: 500;
}

.cb-page .cb-form-popup {
    background: #16a34a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
}

/* city custom select */
.cb-page .cb-city-field {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
}

.cb-page .cb-city {
    position: relative;
    display: block;
    margin-top: 5px;
}

.cb-page .cb-city-select.hidden {
    display: none;
}

.cb-page .cb-city-trigger {
    border: 1px solid #dfe5eb;
    border-radius: 5px;
    padding: 10px 12px;
    min-height: 42px;
    font: 12px Inter, Arial, sans-serif;
    color: #243b59;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cb-page .cb-city-trigger .selected-text {
    color: #808080;
}

.cb-page .cb-city-caret {
    font-size: 9px;
    color: #8a94a3;
}

.cb-page .cb-city-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    border: 1px solid #dfe5eb;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(10, 40, 80, .14);
    z-index: 50;
    overflow: hidden;
}

.cb-page .cb-city-dropdown input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #e7ebf0;
    padding: 9px 10px;
    font: 12px Inter, Arial, sans-serif;
    outline: none;
    box-sizing: border-box;
}

.cb-page .cb-city-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 190px;
    overflow-y: auto;
}

.cb-page .cb-city-dropdown li {
    padding: 8px 10px;
    font-size: 12px;
    color: #243b59;
    cursor: pointer;
}

.cb-page .cb-city-dropdown li:hover {
    background: #f2f7fc;
}

/* ---------- faqs ---------- */
.cb-page .faqs {
    padding-top: 38px;
    padding-bottom: 50px;
}

.cb-page .faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px 16px;
    margin-top: 20px;
}

.cb-page .faq-grid details {
    border: 1px solid #e7ebf0;
    border-radius: 8px;
    padding: 11px 14px;
    background: #fff;
}

.cb-page .faq-grid summary {
    font-size: 12px;
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    position: relative;
    padding-right: 22px;
}

.cb-page .faq-grid summary p {
    display: inline;
    margin: 0;
}

.cb-page .faq-grid summary:after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 16px;
}

.cb-page .faq-grid details[open] summary:after {
    content: "\2212";
}

.cb-page .faq-grid details p {
    font-size: 11px;
    line-height: 1.5;
    color: var(--muted);
    margin: 10px 0 0;
}

/* ---------- generic cms content ---------- */
.cb-page .cb-content .cb-editor {
    max-width: 1240px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted);
}

.cb-page .cb-content .cb-editor table {
    border-collapse: collapse;
}

.cb-page .cms-table-host {
    max-width: 100%;
    overflow-x: auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1020px) {
    .cb-page .why.why-redesign {
        padding: 56px max(4.5%, 20px);
    }
    .cb-page .why-editorial {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cb-page .why-intro {
        max-width: 760px;
    }
    .cb-page .why-lead {
        max-width: 700px;
    }
    .cb-page .why-points {
        border-left: 0 !important;
    }
    .cb-page .video-testimonials .reel-grid,
    .cb-page .reel-grid {
        grid-template-columns: repeat(4, minmax(205px, 1fr));
        justify-content: start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 3px 2px 12px;
        -webkit-overflow-scrolling: touch;
    }
    .cb-page .reel-card {
        scroll-snap-align: start;
    }
}

@media (max-width: 900px) {
    .cb-page .hero-modern {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .cb-page .hero-modern-copy {
        padding: 58px 5vw 34px;
        max-width: 760px;
    }
    .cb-page .hero-modern-visual {
        min-height: 360px;
        height: 360px;
    }
    .cb-page .hero-modern-visual:before {
        background: linear-gradient(180deg, #f5faff 0%, rgba(245, 250, 255, .2) 22%, transparent 45%);
    }
    .cb-page .hero-modern h1 {
        font-size: clamp(46px, 8vw, 66px);
    }
    .cb-page .intro-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .cb-page .intro-visual {
        min-height: 0;
    }
    .cb-page .intro-img {
        height: 270px;
    }
    .cb-page .intro-badge {
        left: 16px;
    }
    .cb-page .pathway-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .cb-page .pathway-panel {
        gap: 24px;
    }
    .cb-page .pathway-side {
        padding-left: 24px;
    }
    .cb-page .approach {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .cb-page .benefit-grid {
        gap: 8px;
    }
    .cb-page .approach-points {
        gap: 8px;
    }
    .cb-page .video-testimonial-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .cb-page .campus-track {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        min-height: 330px;
        padding-left: 42px;
        padding-right: 42px;
    }
    .cb-page .campus-track::-webkit-scrollbar {
        display: none;
    }
    .cb-page .campus-slide,
    .cb-page .campus-slide:nth-child(1),
    .cb-page .campus-slide:nth-child(2),
    .cb-page .campus-slide:nth-child(4),
    .cb-page .campus-slide:nth-child(5) {
        flex: 0 0 240px;
        height: 310px;
        opacity: 1;
        scroll-snap-align: center;
    }
    .cb-page .campus-slide.is-active {
        flex-basis: 270px;
        height: 330px;
    }
    .cb-page .campus-carousel-wrap {
        gap: 0;
    }
    .cb-page .carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    .cb-page .carousel-arrow.prev { left: 8px; }
    .cb-page .carousel-arrow.next { right: 8px; }
    .cb-page .contact {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 680px) {
    .cb-page .section {
        padding: 35px 20px;
    }
    .cb-page .hero-modern-copy {
        padding: 42px 22px 28px;
    }
    .cb-page .hero-modern-kicker {
        font-size: 12px;
        letter-spacing: 1.5px;
    }
    .cb-page .hero-modern h1 {
        font-size: 48px;
        letter-spacing: -1.8px;
    }
    .cb-page .hero-modern h2 {
        font-size: 20px;
    }
    .cb-page .hero-modern-text {
        font-size: 14px;
        line-height: 1.6;
    }
    .cb-page .hero-modern-primary {
        width: 100%;
        justify-content: center;
    }
    .cb-page .hero-modern-visual {
        height: 270px;
        min-height: 270px;
    }
    .cb-page .hero-orbit {
        display: none;
    }
    .cb-page .hero-modern-visual:after {
        left: -80px;
        bottom: -120px;
        width: 300px;
        height: 190px;
        border-width: 30px;
    }
    .cb-page .intro {
        padding-top: 45px;
        padding-bottom: 45px;
    }
    .cb-page .intro-copy h2 {
        font-size: 30px;
    }
    .cb-page .intro-copy p:not(.eyebrow) {
        font-size: 14px;
        line-height: 1.65;
    }
    .cb-page .intro-img {
        height: 220px;
        border-radius: 14px 55px 14px 55px;
    }
    .cb-page .intro-badge {
        left: 10px;
        bottom: 10px;
        padding: 10px 13px;
    }
    .cb-page .intro-badge strong {
        font-size: 15px;
    }
    .cb-page .pathway-head {
        gap: 18px;
    }
    .cb-page .pathway-brochure {
        width: 100%;
        justify-content: center;
    }
    .cb-page .pathway-tabs {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .cb-page .pathway-tab {
        padding: 13px 8px;
        font-size: 11px;
    }
    .cb-page .pathway-tab:after {
        left: 8px;
        right: 8px;
    }
    .cb-page .pathway-panel {
        grid-template-columns: 1fr;
        padding: 22px 18px;
        min-height: 0;
    }
    .cb-page .pathway-side {
        border-left: 0;
        border-top: 1px solid #e0e7ef;
        padding: 20px 0 0;
    }
    .cb-page .pathway-main h3 {
        font-size: 22px;
    }
    .cb-page .subject-chips span {
        font-size: 10px;
        padding: 6px 9px;
    }
    .cb-page .qualification-cards {
        grid-template-columns: 1fr;
    }
    .cb-page .approach-img {
        height: 200px;
        order: -1;
        border-radius: 45px 0 0 45px;
    }
    .cb-page .approach-points {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }
    .cb-page .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cb-page .benefit-grid article:last-child {
        grid-column: 1 / -1;
    }
    .cb-page .why.why-redesign {
        padding: 44px 20px;
    }
    .cb-page .why-editorial {
        gap: 24px;
    }
    .cb-page .why-intro {
        max-width: none;
        width: auto !important;
    }
    .cb-page .why-intro h2 {
        font-size: 36px;
        line-height: 1.03;
        margin-bottom: 14px;
    }
    .cb-page .why-lead {
        font-size: 13px;
        line-height: 1.6;
        max-width: none;
    }
    .cb-page .why-points {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
        width: 100% !important;
    }
    .cb-page .why-points article,
    .cb-page .why-points article:nth-child(odd),
    .cb-page .why-points article:nth-child(3),
    .cb-page .why-points article:nth-child(4),
    .cb-page .why-points article:nth-child(5) {
        grid-column: auto !important;
        width: auto !important;
        border-right: 0 !important;
        border-bottom: 1px solid #dce4ed !important;
        padding: 17px 0 !important;
        min-height: 0 !important;
    }
    .cb-page .why-points article:last-child {
        border-bottom: 0 !important;
    }
    .cb-page .why-points h3 {
        font-size: 17px;
    }
    .cb-page .why-points p {
        font-size: 11px;
        line-height: 1.45;
    }
    .cb-page .why-icon {
        width: 32px;
        height: 32px;
        font-size: 9px;
    }
    .cb-page .steps {
        display: grid !important;
        grid-template-columns: 1fr !important;
        justify-content: start !important;
        gap: 4px;
        margin-top: 25px !important;
    }
    .cb-page .steps article {
        display: grid !important;
        grid-template-columns: 50px 1fr;
        text-align: left !important;
        column-gap: 12px;
        align-items: center;
    }
    .cb-page .step-num {
        grid-row: span 2;
        margin: 0 !important;
    }
    .cb-page .steps h3 {
        margin: 0 !important;
    }
    .cb-page .steps p {
        margin: 4px 0 10px;
    }
    .cb-page .arrow {
        display: none !important;
    }
    .cb-page .video-testimonials {
        padding-top: 38px;
        padding-bottom: 36px;
    }
    .cb-page .video-testimonial-head {
        margin-bottom: 14px;
    }
    .cb-page .video-testimonial-head h2 {
        font-size: 25px;
    }
    .cb-page .video-testimonial-lead {
        font-size: 12px;
        line-height: 1.45;
    }
    .cb-page .reel-grid {
        grid-template-columns: repeat(4, minmax(205px, 205px));
        gap: 12px;
    }
    .cb-page .reel-media {
        border-radius: 13px;
    }
    .cb-page .campus-carousel {
        padding: 38px 20px 42px;
    }
    .cb-page .carousel-head {
        margin-bottom: 16px;
    }
    .cb-page .carousel-head h2 {
        font-size: 25px;
    }
    .cb-page .carousel-head .section-lead {
        font-size: 12px;
    }
    .cb-page .campus-track {
        min-height: 330px;
        padding-left: 26px;
        padding-right: 26px;
        gap: 10px;
    }
    .cb-page .campus-slide,
    .cb-page .campus-slide:nth-child(1),
    .cb-page .campus-slide:nth-child(2),
    .cb-page .campus-slide:nth-child(4),
    .cb-page .campus-slide:nth-child(5) {
        flex-basis: 210px;
        height: 300px;
    }
    .cb-page .campus-slide.is-active {
        flex-basis: 230px;
        height: 320px;
    }
    .cb-page .campus-caption {
        left: 14px;
        right: 14px;
        bottom: 13px;
    }
    .cb-page .campus-caption strong {
        font-size: 16px;
    }
    .cb-page .campus-caption span {
        font-size: 9.5px;
    }
    .cb-page .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 25px;
    }
    .cb-page .carousel-arrow.prev { left: 2px; }
    .cb-page .carousel-arrow.next { right: 2px; }
    .cb-page .contact {
        padding: 35px 20px;
        gap: 25px;
    }
    .cb-page .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cb-page .contact-actions .button {
        width: 100%;
        text-align: center;
    }
    .cb-page .enquiry-form {
        padding: 20px 16px;
    }
    .cb-page .form-grid {
        grid-template-columns: 1fr;
    }
    .cb-page .faq-grid {
        grid-template-columns: 1fr;
    }
}
