/* =========================================================
   Carolyn Ash Schools
   schools.css
========================================================= */

:root {
    --schools-yellow: #e0bc00;
    --schools-yellow-deep: #cfae00;
    --schools-dark: #35353f;
    --schools-dark-2: #41414d;
    --schools-light: #f4f1ea;
    --schools-white: #ffffff;
    --schools-black: #111111;
    --schools-text: #181818;
    --schools-muted: rgba(255, 255, 255, 0.74);
    --schools-border-light: rgba(255, 255, 255, 0.18);
    --schools-border-dark: rgba(17, 17, 17, 0.16);
    --schools-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.18);
    --schools-shadow-soft: 0 0.75rem 1.75rem rgba(0, 0, 0, 0.10);
    --schools-radius: 2rem;
    --schools-radius-lg: 2.5rem;
    --schools-radius-pill: 999px;
    --schools-container-max: 1320px;
}

/* =========================================================
   Base
========================================================= */

html {
    scroll-behaviour: smooth;
}

body {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--schools-text);
    background: var(--schools-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

main {
    overflow: hidden;
}

a {
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

.container {
    max-width: var(--schools-container-max);
}

/* =========================================================
   Typography helpers
========================================================= */

.schools-kicker,
.schools-hero__eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.schools-hero__strapline {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.45);
}

.schools-summary,
.schools-copy {
    font-size: 1.125rem;
    line-height: 1.72;
}

.schools-copy--wide {
    max-width: 56rem;
}

.schools-lead {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 5.6rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: var(--schools-black);
}

.highlight {
    color: var(--schools-white);
}

.schools-section-head {
    margin-bottom: clamp(2.5rem, 5vw, 4.25rem);
}

.schools-section-head--center {
    text-align: center;
}

.schools-section-head h2,
.schools-display,
.display-2,
.display-3 {
    margin-bottom: 1rem;
    font-weight: 800 !important;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.schools-section-head h2,
.schools-display {
    font-size: clamp(2.8rem, 5vw, 5rem);
}

.display-2 {
    font-size: clamp(2.9rem, 5vw, 5.2rem) !important;
}

.display-3 {
    font-size: clamp(2.4rem, 4.2vw, 4.3rem) !important;
}

.schools-section-head .schools-copy {
    max-width: 48rem;
}

/* =========================================================
   Buttons
========================================================= */

.btn[class*="btn-schools-"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 3.9rem;
    padding: 0.95rem 1.9rem;
    border-width: 2px;
    border-style: solid;
    border-radius: var(--schools-radius-pill);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
}

.btn[class*="btn-schools-"]:hover,
.btn[class*="btn-schools-"]:focus {
    text-decoration: none;
    box-shadow: var(--schools-shadow-soft);
}

.btn-schools-primary {
    color: var(--schools-black);
    background: var(--schools-yellow);
    border-color: var(--schools-yellow);
}

.btn-schools-primary:hover,
.btn-schools-primary:focus {
    color: var(--schools-black);
    background: var(--schools-yellow-deep);
    border-color: var(--schools-yellow-deep);
}

.btn-schools-light {
    color: var(--schools-black);
    background: var(--schools-white);
    border-color: var(--schools-white);
}

.btn-schools-light:hover,
.btn-schools-light:focus {
    color: var(--schools-black);
    background: #f1f1f1;
    border-color: #f1f1f1;
}

.btn-schools-dark {
    color: var(--schools-white);
    background: var(--schools-dark);
    border-color: var(--schools-dark);
}

.btn-schools-dark:hover,
.btn-schools-dark:focus {
    color: var(--schools-white);
    background: #2c2c35;
    border-color: #2c2c35;
}

.btn-schools-outline-dark {
    color: var(--schools-dark);
    background: transparent;
    border-color: var(--schools-dark);
}

.btn-schools-outline-dark:hover,
.btn-schools-outline-dark:focus {
    color: var(--schools-white);
    background: var(--schools-dark);
    border-color: var(--schools-dark);
}

.btn-schools-outline-light {
    color: var(--schools-white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.46);
}

.btn-schools-outline-light:hover,
.btn-schools-outline-light:focus {
    color: var(--schools-black);
    background: var(--schools-white);
    border-color: var(--schools-white);
}

/* Pink hover, with borders preserved */
#how-we-work .btn-schools-outline-light:hover,
#how-we-work .btn-schools-outline-light:focus-visible {
    background-color: #f5b6dc;
    border-color: #ffffff;
    color: #2f3140;
}

#contact .btn-schools-outline-dark:hover,
#contact .btn-schools-outline-dark:focus-visible {
    background-color: #f5b6dc;
    border-color: #2f3140;
    color: #2f3140;
}

#how-we-work .btn-schools-outline-light:hover i,
#how-we-work .btn-schools-outline-light:focus-visible i,
#contact .btn-schools-outline-dark:hover i,
#contact .btn-schools-outline-dark:focus-visible i {
    color: inherit;
}

/* =========================================================
   Header
========================================================= */

.schools-header-wrap {
    z-index: 1030;
    pointer-events: none;
}

.schools-header-wrap .container {
    pointer-events: auto;
}

.schools-topbar {
    margin-bottom: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 17, 17, 0.06);
    border-radius: 2.4rem;
    box-shadow: var(--schools-shadow-soft);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.schools-topbar .navbar {
    --bs-navbar-padding-y: 0;
}

.schools-topbar .navbar-brand {
    gap: 0.85rem;
    margin-right: 1rem;
    color: var(--schools-black);
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.05;
    text-decoration: none;
}

.schools-topbar .navbar-brand:hover,
.schools-topbar .navbar-brand:focus {
    color: var(--schools-black);
    text-decoration: none;
}

.schools-topbar .navbar-brand img {
    width: 2.5rem;
    height: 2.5rem;
    object-fit: contain;
}

.schools-topbar .navbar-nav {
    align-items: center;
    gap: 0.35rem;
}

.schools-topbar .nav-link {
    color: var(--schools-black);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
    border-radius: 999px;
}

.schools-topbar .nav-link:hover,
.schools-topbar .nav-link:focus {
    color: var(--schools-black);
    background: rgba(17, 17, 17, 0.06);
}

.schools-topbar .navbar-toggler {
    border: 0;
    border-radius: 1rem;
    box-shadow: none;
}

.schools-topbar .navbar-collapse {
    gap: 1.25rem;
}

/* =========================================================
   Schools category bar
========================================================= */

.schools-categorybar {
    position: relative;
    padding: 0.35rem;
    background: var(--schools-yellow);
    border-radius: 0 0 2.4rem 2.4rem;
    box-shadow: var(--schools-shadow-soft);
    overflow: hidden;
}

.schools-categorybar > .d-flex {
    display: flex;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.schools-categorybar > .d-flex::-webkit-scrollbar {
    display: none;
}

.schools-categorybar .nav-link {
    flex: 0 0 auto;
    padding: 0.8rem 1.2rem;
    color: var(--schools-black);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    border-radius: 999px;
}

.schools-categorybar .nav-link:hover,
.schools-categorybar .nav-link:focus {
    color: var(--schools-black);
    background: rgba(17, 17, 17, 0.08);
}

.schools-categorybar .nav-link.active {
    color: var(--schools-white);
    background: var(--schools-dark);
}

/* Mobile scroll hint */
@media (max-width: 767.98px) {
    .schools-categorybar::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 2.75rem;
        pointer-events: none;
        background: linear-gradient(
            to right,
            rgba(231, 196, 0, 0),
            var(--schools-yellow)
        );
    }
}

/* =========================================================
   Schools topbar desktop layout
   Brand + action buttons above, nav centred below
========================================================= */
@media (min-width: 992px) {
    .schools-topbar .navbar > .container-fluid {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "brand actions"
            "nav nav";
        align-items: center;
        row-gap: 1rem;
        column-gap: 2rem;
        padding: 1.15rem 1.5rem !important;
    }

    .schools-topbar .navbar-brand {
        grid-area: brand;
        display: flex;
        align-items: center;
        gap: 1rem;
        margin: 0 !important;
        white-space: nowrap;
    }

    .schools-topbar .navbar-brand img {
        flex: 0 0 auto;
        width: 46px;
        height: 46px;
    }

    .schools-topbar .navbar-brand span {
        line-height: 1.12;
    }

    .schools-topbar .navbar-collapse {
        display: contents !important;
    }

    .schools-topbar .navbar-nav {
        grid-area: nav;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: clamp(1.25rem, 3vw, 3.5rem);
        width: 100%;
        margin: 0 !important;
        padding: 0;
    }

    .schools-topbar .navbar-nav .nav-link {
        padding: 0.2rem 0;
        text-align: center;
        line-height: 1.12;
        font-size: clamp(1.05rem, 1.25vw, 1.45rem);
        font-weight: 800;
        white-space: normal;
    }

    .schools-topbar .navbar-collapse > .d-flex {
        grid-area: actions;
        display: flex !important;
        flex-direction: row !important;
        justify-content: flex-end;
        align-items: center;
        gap: 0.75rem !important;
        margin: 0;
    }

    .schools-topbar .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.55rem;
        min-width: 0;
        padding: 0.75rem 1.25rem;
        font-size: clamp(1rem, 1.1vw, 1.2rem);
        line-height: 1.1;
        white-space: nowrap;
    }

    .schools-topbar .btn i {
        margin-right: 0 !important;
    }

    .schools-topbar .navbar-toggler {
        display: none;
    }
}

/* =========================================================
   Hero
========================================================= */

.schools-hero {
    position: relative;
    min-height: 54rem;
    padding: clamp(14rem, 17vw, 17rem) 0 4rem;
    color: var(--schools-white);
}

.schools-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(15, 15, 15, 0.12) 0%,
            rgba(15, 15, 15, 0.24) 42%,
            rgba(15, 15, 15, 0.48) 100%
        );
    pointer-events: none;
}

.schools-hero > .container {
    position: relative;
    z-index: 1;
}

.schools-hero__inner {
    max-width: 54rem;
}

.schools-hero__title {
    margin: 0 0 1.3rem;
    font-size: clamp(3.6rem, 8vw, 7rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.05em;
    color: var(--schools-white);
}

.schools-hero__summary {
    max-width: 50rem;
    margin-bottom: 2rem;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.schools-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.schools-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 48rem;
}

.schools-meta-chip {
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 1.7rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.schools-meta-chip strong {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.schools-meta-chip span {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

/* =========================================================
   Sections
========================================================= */

.section-schools {
    padding: clamp(5rem, 8vw, 8rem) 0;
    position: relative;
}

.section-schools--yellow {
    background: var(--schools-yellow);
    color: var(--schools-black);
}

.section-schools--dark {
    background: var(--schools-dark);
    color: var(--schools-white);
}

.section-schools--light {
    background: var(--schools-light);
    color: var(--schools-black);
}

/* =========================================================
   What we do
========================================================= */

.section-schools--yellow .schools-copy,
.section-schools--yellow .schools-summary {
    color: rgba(17, 17, 17, 0.94);
}

/* =========================================================
   How we work
========================================================= */

.schools-panel {
    padding: clamp(2rem, 4vw, 3.5rem);
    background: var(--schools-dark);
    color: var(--schools-white);
    border-radius: var(--schools-radius-lg);
    box-shadow: var(--schools-shadow);
}

.schools-panel > p:first-child {
    max-width: 48rem;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.7rem, 2.5vw, 2.55rem);
    font-weight: 800 !important;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.schools-panel > p + p {
    max-width: 42rem;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.schools-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.25rem;
    text-align: left;
}

.schools-point {
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--schools-border-light);
    border-radius: 1.8rem;
}

.schools-point h3 {
    margin: 0 0 0.7rem;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--schools-white);
}

.schools-point p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   Formats
========================================================= */

.schools-card {
    height: 100%;
    padding: clamp(1.75rem, 3vw, 2.5rem);
    background: var(--schools-white);
    border-radius: 2rem;
    box-shadow: var(--schools-shadow-soft);
}

.schools-card h3,
.schools-card .h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(1.6rem, 2.1vw, 2.15rem);
    font-weight: 800;
    line-height: 1.05;
    color: var(--schools-black);
}

.schools-card p {
    margin: 0;
    font-size: 1.07rem;
    line-height: 1.68;
    color: rgba(17, 17, 17, 0.92);
}

.schools-card--yellow {
    background: var(--schools-yellow);
}

.schools-card--dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--schools-border-light);
    box-shadow: none;
}

.schools-card--dark h3,
.schools-card--dark .h2,
.schools-card--dark p {
    color: var(--schools-white);
}

/* =========================================================
   Process gallery
========================================================= */

.schools-media-card {
    height: 100%;
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: var(--schools-shadow-soft);
    background: #ddd7ca;
}

.schools-media-card img {
    width: 100%;
    height: 100%;
    min-height: 18rem;
    object-fit: cover;
}

/* =========================================================
   Who it suits
========================================================= */

.dragonfly-list-custom {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.dragonfly-list-custom li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 1rem;
    font-size: 1.08rem;
    line-height: 1.65;
}

.dragonfly-list-custom li:last-child {
    margin-bottom: 0;
}

.dragonfly-list-custom li::before {
    content: "";
    position: absolute;
    top: 0.72rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    background: currentColor;
    border-radius: 50%;
}

/* =========================================================
   Footer
========================================================= */

.schools-footer {
    padding: 4.75rem 0 2rem;
    color: var(--schools-white);
    background: var(--schools-dark);
}

.schools-footer h3 {
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.schools-footer p,
.schools-footer li,
.schools-footer a {
    font-size: 1.05rem;
    line-height: 1.55;
}

.schools-footer a {
    color: var(--schools-white);
    text-decoration: none;
}

.schools-footer a:hover,
.schools-footer a:focus {
    color: var(--schools-white);
    text-decoration: underline;
}

.schools-footer .list-unstyled li {
    margin-bottom: 0.65rem;
}

.schools-footer .list-unstyled li:last-child {
    margin-bottom: 0;
}

.schools-footer__top {
    align-items: flex-start;
}

.schools-footer__logo-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.schools-footer__logo {
    width: 100%;
    max-width: 420px;
    height: auto;
}

.schools-footer__bottom {
    align-items: center;
}

.schools-footer .border-top {
    border-color: rgba(255, 255, 255, 0.18) !important;
}



@media (max-width: 991.98px) {
    .schools-footer {
        padding-top: 4rem;
    }

    .schools-footer__logo-col {
        justify-content: flex-start;
        text-align: left !important;
    }

    .schools-footer__logo {
        max-width: 300px;
    }
}

@media (max-width: 767.98px) {
    .schools-footer p,
    .schools-footer li,
    .schools-footer a {
        font-size: 1rem;
    }
}

/* =========================================================
   Schools footer mobile centring
========================================================= */

@media (max-width: 767.98px) {
    .schools-footer {
        text-align: center;
    }

    .schools-footer .row {
        justify-content: center;
    }

    .schools-footer [class*="col-"] {
        text-align: center !important;
    }

    .schools-footer h3,
    .schools-footer p {
        text-align: center;
    }

    .schools-footer ul {
        width: max-content;
        max-width: 100%;
        padding-left: 0;
        margin-right: auto;
        margin-left: auto;
        text-align: left;
    }

    .schools-footer li {
        display: block;
        width: 100%;
    }

    .schools-footer li a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 0.55rem;
        width: max-content;
        max-width: 100%;
    }

    .schools-footer li a i {
        width: 1.25em;
        text-align: center;
    }

    .schools-footer .col-lg-4.text-lg-end {
        text-align: center !important;
    }

    .schools-footer .col-lg-4.text-lg-end a {
        display: block;
        width: fit-content;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    .schools-footer img {
        display: block;
        width: min(78vw, 320px);
        max-width: 100% !important;
        height: auto;
        margin-right: auto;
        margin-left: auto;
    }

    .schools-footer .border-top {
        text-align: center;
    }

    .schools-footer .border-top [class*="col-"] {
        text-align: center !important;
    }
}

/* =========================================================
   Footer Green Room image mobile centring fix
========================================================= */

@media (max-width: 767.98px) {
    .schools-footer a[href*="thegreenroom-westacre"] {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
        text-align: center !important;
    }

    .schools-footer a[href*="thegreenroom-westacre"] img {
        display: block !important;
        width: min(78vw, 320px) !important;
        max-width: min(78vw, 320px) !important;
        height: auto !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

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

@media (max-width: 1199.98px) {
    .schools-hero {
        min-height: 48rem;
    }

    .schools-points {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .schools-header-wrap {
        position: relative !important;
        padding-top: 1rem !important;
        background: var(--schools-white);
    }

    .schools-topbar {
        border-radius: 1.6rem;
    }

    .schools-categorybar {
        border-radius: 1.6rem;
    }

    .schools-topbar .navbar-collapse {
        padding-top: 1rem;
    }

    .schools-topbar .navbar-nav {
        align-items: flex-start;
        margin-bottom: 1rem;
    }

    .schools-topbar .d-flex.flex-column.flex-lg-row {
        width: 100%;
    }

    .schools-topbar .d-flex.flex-column.flex-lg-row > .btn {
        width: 100%;
    }

    .schools-hero {
        min-height: 42rem;
        padding-top: 4rem;
    }

    .schools-hero__title {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .schools-meta-grid {
        grid-template-columns: 1fr;
        max-width: 34rem;
    }

    .schools-points {
        grid-template-columns: 1fr;
    }

    .schools-footer {
        padding-top: 4rem;
    }

    .schools-footer > .container > .row:first-child > div:nth-child(3) {
        text-align: left !important;
    }

    .schools-footer img {
        max-width: 300px !important;
        margin-left: 0;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .section-schools {
        padding: 4.25rem 0;
    }

    .schools-topbar {
        padding: 0.9rem 1rem;
    }

    .schools-categorybar {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .schools-categorybar .d-flex {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
    }

    .schools-categorybar .nav-link {
        flex: 0 0 auto;
    }

    .schools-hero {
        min-height: 38rem;
        padding-bottom: 3rem;
    }

    .schools-hero__summary,
    .schools-copy,
    .schools-summary {
        font-size: 1.03rem;
        line-height: 1.65;
    }

    .schools-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .schools-hero__actions .btn {
        width: 100%;
    }

    .btn[class*="btn-schools-"] {
        width: 100%;
    }

    .schools-panel {
        padding: 1.5rem;
        border-radius: 1.75rem;
    }

    .schools-card,
    .schools-point {
        border-radius: 1.5rem;
    }

    .schools-media-card {
        border-radius: 1.5rem;
    }

    .schools-media-card img {
        min-height: 15rem;
    }
}

@media (max-width: 575.98px) {
    .schools-topbar .navbar-brand {
        font-size: 1rem;
    }

    .schools-topbar .navbar-brand img {
        width: 2.1rem;
        height: 2.1rem;
    }

    .schools-hero__title {
        font-size: clamp(2.65rem, 13vw, 4rem);
    }

    .schools-lead {
        font-size: clamp(2rem, 11vw, 3.2rem);
    }

    .schools-meta-chip span {
        font-size: 1.05rem;
    }

    .schools-footer p,
    .schools-footer li,
    .schools-footer a {
        font-size: 1rem;
    }
}

/* =========================================================
   Mobile category bar scroll cue
========================================================= */

.schools-categorybar {
    position: relative;
    overflow: hidden;
}

.schools-categorybar > .d-flex {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.schools-categorybar > .d-flex::-webkit-scrollbar {
    display: none;
}

.schools-categorybar .nav-link {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.schools-categorybar::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4.5rem;
    content: "";
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(238, 201, 0, 0),
        rgba(238, 201, 0, 0.94) 58%,
        rgba(238, 201, 0, 1)
    );
}

.schools-categorybar::before {
    position: absolute;
    top: 50%;
    right: 1rem;
    z-index: 2;
    content: "›";
    pointer-events: none;
    transform: translateY(-54%);
    color: #34343f;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

@media (min-width: 992px) {
    .schools-categorybar > .d-flex {
        flex-wrap: wrap !important;
        justify-content: center !important;
        overflow: visible;
    }

    .schools-categorybar::before,
    .schools-categorybar::after {
        display: none;
    }
}
