
        /* =====================================================
           FERN HILL POST — BRAND VARIABLES
           ===================================================== */

        :root {
            --fh-forest: #123d35;
            --fh-terracotta: #d96f50;
            --fh-sage: #93a58f;
            --fh-ochre: #d8a62e;
            --fh-pale-sage: #dde3d7;
            --fh-ivory: #f8f5ee;

            --fh-white: #ffffff;
            --fh-ink: #26332d;
            --fh-muted: #647169;
            --fh-border: #e5e4dc;

            --fh-radius: 18px;
            --fh-shadow: 0 10px 30px rgba(18, 61, 53, 0.08);
        }




        /* =====================================================
           GLOBAL
           ===================================================== */

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 100px;
        }

        body {
            margin: 0;
            background: var(--fh-ivory);
            color: var(--fh-ink);
            font-family: "Lexend", sans-serif;
            font-size: 15px;
            line-height: 1.75;
        }

        h1, h2, h3, h4, h5 {
            color: var(--fh-forest);
            font-weight: 600;
            line-height: 1.2;
        }
        a {
            color: var(--fh-forest);
            text-decoration-thickness: 1px;
            text-underline-offset: 4px;
        }

        a:hover {
            color: var(--fh-terracotta);
        }

        img {
            max-width: 100%;
        }

        .section-space {
            padding-top: 76px;
            padding-bottom: 76px;
        }

        .section-heading {
            max-width: 720px;
            margin-bottom: 32px;
        }

        .section-heading h2 {
            margin-bottom: 12px;
            font-size: clamp(1.8rem, 3vw, 2.5rem);
        }

        .section-heading p {
            margin-bottom: 0;
            color: var(--fh-muted);
        }

        .eyebrow {
            display: inline-block;
            margin-bottom: 14px;
            color: var(--fh-terracotta);
            font-size: .75rem;
            font-weight: 700;
            letter-spacing: .15em;
            text-transform: uppercase;
        }

        .btn {
            padding: 12px 21px;
            border-radius: 999px;
            font-size: .85rem;
            font-weight: 600;
            transition: transform .2s ease, background-color .2s ease;
        }

        .btn:hover {
            transform: translateY(-2px);
        }

        .btn-forest {
            border: 1px solid var(--fh-forest);
            background: var(--fh-forest);
            color: var(--fh-white);
        }

        .btn-forest:hover,
        .btn-forest:focus {
            border-color: #20594d;
            background: #20594d;
            color: var(--fh-white);
        }

        .btn-outline-forest {
            border: 1px solid var(--fh-forest);
            color: var(--fh-forest);
        }

        .btn-outline-forest:hover {
            background: var(--fh-forest);
            color: var(--fh-white);
        }

        .skip-link {
            position: absolute;
            top: -100px;
            left: 12px;
            z-index: 2000;
            padding: 10px 16px;
            background: var(--fh-white);
            color: var(--fh-forest);
        }

        .skip-link:focus {
            top: 12px;
        }

        /* =====================================================
           TOP STRIP
           ===================================================== */

        .top-strip {
            padding: 8px 0;
            background: var(--fh-forest);
            color: var(--fh-white);
            font-size: .75rem;
        }

        .top-strip a {
            color: var(--fh-white);
            text-decoration: none;
        }

        .top-strip a:hover {
            color: var(--fh-ochre);
        }

        /* =====================================================
           MASTHEAD
           ===================================================== */

        .masthead {
            padding: 24px 0;
            background: var(--fh-ivory);
        }

        .brand-logo {
            display: block;
            width: min(100%, 390px);
            max-height: 90px;
            object-fit: contain;
            object-position: left center;
        }

        .masthead-caption {
            margin-top: 8px;
            color: var(--fh-muted);
            font-size: .75rem;
            letter-spacing: .04em;
        }

        .masthead-note {
            max-width: 260px;
            color: var(--fh-forest);
            font-size: .82rem;
            line-height: 1.6;
        }

        .masthead-note strong {
            display: block;
            margin-bottom: 4px;
        }

        /* =====================================================
           NAVIGATION
           ===================================================== */

        .main-nav {
            position: sticky;
            top: 0;
            z-index: 1020;
            border-top: 1px solid var(--fh-border);
            border-bottom: 1px solid rgba(18, 61, 53, .08);
            background: rgba(248, 245, 238, .97);
            backdrop-filter: blur(12px);
        }

        .main-nav .navbar {
            padding: 0;
        }

        .main-nav .nav-link {
            padding: 19px 13px !important;
            color: var(--fh-forest);
            font-size: .8rem;
            font-weight: 500;
        }

        .main-nav .nav-link:hover,
        .main-nav .nav-link:focus {
            color: var(--fh-terracotta);
        }

        .nav-search {
            color: var(--fh-forest);
            font-size: .82rem;
            font-weight: 600;
            text-decoration: none;
        }

        /* =====================================================
           HERO
           ===================================================== */

        .hero {
            position: relative;
            overflow: hidden;
            padding: 74px 0 84px;
            background:
                radial-gradient(circle at 90% 10%,
                    rgba(216, 166, 46, .2), transparent 25%),
                linear-gradient(135deg,
                    var(--fh-pale-sage), var(--fh-ivory) 75%);
        }

        .hero::before {
            position: absolute;
            top: -100px;
            right: -70px;
            width: 340px;
            height: 340px;
            border: 1px solid rgba(18, 61, 53, .12);
            border-radius: 50%;
            content: "";
        }

        .hero::after {
            position: absolute;
            right: 80px;
            bottom: -180px;
            width: 390px;
            height: 390px;
            border: 1px solid rgba(18, 61, 53, .1);
            border-radius: 50%;
            content: "";
        }

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

.hero h1,
.section-heading h2 {

    font-weight: 400;
}

        .hero h1 span {
            display: block;
            color: var(--fh-terracotta);
        }

        .hero-copy {
            max-width: 570px;
            margin-bottom: 28px;
            color: #46574d;
            font-size: 1.02rem;
        }

        .hero-image-wrap {
            position: relative;
            padding: 0 12px 16px 0;
        }

        .hero-image-wrap::after {
            position: absolute;
            right: 0;
            bottom: 0;
            z-index: -1;
            width: 75%;
            height: 75%;
            border-radius: var(--fh-radius);
            background: var(--fh-ochre);
            content: "";
        }

        .hero-image {
            display: block;
            width: 100%;
            height: 410px;
            border-radius: var(--fh-radius);
            object-fit: cover;
            box-shadow: var(--fh-shadow);
        }

        .hero-stamp {
            position: absolute;
            right: -12px;
            bottom: 38px;
            width: 125px;
            height: 125px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px;
            border: 5px solid var(--fh-ivory);
            border-radius: 50%;
            background: var(--fh-terracotta);
            color: var(--fh-white);
            font-size: .72rem;
            font-weight: 700;
            line-height: 1.4;
            text-align: center;
            transform: rotate(8deg);
        }

        /* =====================================================
           FEATURED STORY
           ===================================================== */

        .featured-section {
            padding: 70px 0;
            background: var(--fh-ivory);
        }

        .featured-card {
            overflow: hidden;
            border: 1px solid var(--fh-border);
            border-radius: 24px;
            background: var(--fh-white);
            box-shadow: var(--fh-shadow);
        }

        .featured-image {
            display: block;
            width: 100%;
            height: 100%;
            min-height: 370px;
            object-fit: cover;
        }

        .featured-content {
            padding: clamp(28px, 5vw, 58px);
        }

        .article-tag {
            display: inline-block;
            margin-bottom: 18px;
            padding: 6px 12px;
            border-radius: 999px;
            background: var(--fh-pale-sage);
            color: var(--fh-forest);
            font-size: .68rem;
            font-weight: 700;
            letter-spacing: .07em;
            text-transform: uppercase;
        }

        .featured-content h2 {
            margin-bottom: 18px;
            font-size: clamp(1.8rem, 3.5vw, 2.7rem);
        }

        .article-meta {
            color: var(--fh-muted);
            font-size: .76rem;
        }

        .read-link {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            margin-top: 14px;
            color: var(--fh-forest);
            font-size: .85rem;
            font-weight: 700;
            text-decoration: none;
        }

        .read-link:hover {
            color: var(--fh-terracotta);
        }

        /* =====================================================
           LATEST ARTICLES
           ===================================================== */

        .latest-section {
            background: var(--fh-white);
        }

        .article-card {
            height: 100%;
            overflow: hidden;
            border: 1px solid var(--fh-border);
            border-radius: var(--fh-radius);
            background: var(--fh-white);
            transition: transform .2s ease, box-shadow .2s ease;
        }

        .article-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--fh-shadow);
        }

        .article-card-image {
            display: block;
            width: 100%;
            height: 220px;
            object-fit: cover;
        }

        .article-card-body {
            padding: 24px;
        }

        .article-card h3 {
            margin-bottom: 12px;
            font-size: 1.25rem;
        }

        .article-card p {
            color: var(--fh-muted);
            font-size: .87rem;
        }

        .article-card .read-link {
            margin-top: 4px;
        }

        .text-link {
            color: var(--fh-forest);
            font-size: .85rem;
            font-weight: 700;
            text-decoration: none;
        }

        /* =====================================================
           TOPICS
           ===================================================== */

        .topics-section {
            background: var(--fh-pale-sage);
        }

        .topic-card {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            height: 100%;
            padding: 25px;
            border: 1px solid rgba(18, 61, 53, .1);
            border-radius: var(--fh-radius);
            background: rgba(255, 255, 255, .66);
            text-decoration: none;
            transition: transform .2s ease, background .2s ease;
        }

        .topic-card:hover {
            background: var(--fh-white);
            transform: translateY(-4px);
        }

        .topic-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            margin-bottom: 22px;
            border-radius: 50%;
            background: var(--fh-forest);
            color: var(--fh-white);
            font-size: .8rem;
            font-weight: 700;
        }

        .topic-card:nth-child(2n) .topic-number {
            background: var(--fh-terracotta);
        }

        .topic-card h3 {
            margin-bottom: 10px;
            font-size: 1.02rem;
        }

        .topic-card p {
            margin-bottom: 18px;
            color: var(--fh-muted);
            font-size: .8rem;
        }

        .topic-arrow {
            margin-top: auto;
            color: var(--fh-forest);
            font-size: 1.2rem;
        }

        /* =====================================================
           GROUP INSIGHT / NEWSLETTER CALLOUT
           ===================================================== */

        .insight-section {
            padding: 76px 0;
            background: var(--fh-ivory);
        }

        .insight-panel {
            overflow: hidden;
            border-radius: 24px;
            background: var(--fh-forest);
            color: var(--fh-white);
        }

        .insight-content {
            padding: clamp(30px, 5vw, 58px);
        }

        .insight-content .eyebrow {
            color: var(--fh-ochre);
        }

        .insight-content h2 {
            max-width: 550px;
            margin-bottom: 18px;
            color: var(--fh-white);
            font-size: clamp(1.8rem, 3.5vw, 2.8rem);
        }

        .insight-content p {
            max-width: 560px;
            color: rgba(255, 255, 255, .8);
        }

        .btn-ochre {
            border: 1px solid var(--fh-ochre);
            background: var(--fh-ochre);
            color: #263018;
        }

        .btn-ochre:hover {
            border-color: #e6b943;
            background: #e6b943;
            color: #263018;
        }

        .insight-image {
            display: block;
            width: 100%;
            height: 100%;
            min-height: 330px;
            object-fit: cover;
        }

        /* =====================================================
           ABOUT / BRAND STRIP
           ===================================================== */

        .about-strip {
            padding: 36px 0;
            border-top: 1px solid var(--fh-border);
            border-bottom: 1px solid var(--fh-border);
            background: var(--fh-white);
        }

        .about-strip p {
            margin: 0;
            color: var(--fh-muted);
            font-size: .85rem;
        }

        .about-strip strong {
            color: var(--fh-forest);
        }

        /* =====================================================
           FOOTER
           ===================================================== */

        .site-footer {
            padding: 58px 0 22px;
            background: var(--fh-forest);
            color: rgba(255, 255, 255, .8);
        }

        .footer-logo {
            display: block;
            width: min(100%, 300px);
            margin-bottom: 18px;
            padding: 8px;
            border-radius: 8px;
            background: var(--fh-ivory);
        }

        .site-footer h2,
        .site-footer h3 {
            margin-bottom: 18px;
            color: var(--fh-white);
            font-size: .95rem;
        }

        .site-footer p {
            font-size: .82rem;
        }

        .footer-links {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 9px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, .8);
            font-size: .82rem;
            text-decoration: none;
        }

        .footer-links a:hover {
            color: var(--fh-ochre);
        }

        .footer-bottom {
            margin-top: 42px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, .2);
            font-size: .72rem;
        }

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

        /* =====================================================
           RESPONSIVE ADJUSTMENTS
           ===================================================== */

        @media (max-width: 991.98px) {
            .main-nav .nav-link {
                padding: 10px 0 !important;
            }

            .hero {
                padding: 55px 0 65px;
            }

            .hero-image {
                height: 340px;
            }

            .masthead-note {
                display: none;
            }
        }

        @media (max-width: 575.98px) {
            .section-space {
                padding-top: 52px;
                padding-bottom: 52px;
            }

            .brand-logo {
                width: 280px;
                max-height: 72px;
            }

            .hero h1 {
                font-size: 2.75rem;
            }

            .hero-image {
                height: 280px;
            }

            .hero-stamp {
                right: 0;
                bottom: 25px;
                width: 95px;
                height: 95px;
                font-size: .6rem;
            }

            .featured-image {
                min-height: 250px;
            }

            .article-card-image {
                height: 200px;
            }

            .insight-image {
                min-height: 240px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                scroll-behavior: auto !important;
                transition-duration: .01ms !important;
                animation-duration: .01ms !important;
            }
        }


/* ==========================================================
   MAIN FERN HILL EDUCATION GROUP HOMEPAGE ADDITIONS
   Original Fern Hill Post CSS above is retained.
   ========================================================== */

.home-intro-copy {
    max-width: 650px;
}

.provision-card .article-card-body {
    display: flex;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
}

.provision-card .article-card-body p {
    flex-grow: 1;
}

.provision-card .article-tag {
    margin-bottom: 12px;
}

.group-values {
    margin-top: 30px;
}

.group-values .topic-card {
    min-height: 220px;
}

.post-preview-note {
    margin-top: 24px;
    color: var(--fh-muted);
    font-size: .75rem;
}

@media (max-width: 575.98px) {
    .provision-card .article-card-body {
        height: auto;
    }
}


/* Provision cards: dedicated image area, matching the original editorial cards. */
.provision-card {
    height: 100%;
    overflow: hidden;
}

.provision-card-image-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--fh-pale-sage, #dde3d7);
}

.provision-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.provision-card:hover .provision-card-image {
    transform: scale(1.035);
}

.provision-card .article-card-body {
    padding: 25px;
}

@media (max-width: 575.98px) {
    .provision-card-image-wrap {
        aspect-ratio: 16 / 10;
    }
}

/* ==========================================================
   PROVISION WEBSITE LINKS
   ========================================================== */

.provision-card .article-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.provision-card .read-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1rem;
    color: var(--fh-terracotta, #d96f50);
    font-weight: 600;
    text-decoration: none;
    visibility: visible;
    opacity: 1;
}

.provision-card .read-link:hover,
.provision-card .read-link:focus {
    color: var(--fh-forest, #123d35);
    text-decoration: underline;
}

.provision-card .read-link span {
    display: inline-block;
}

 .no-underline {
    text-decoration: none;
  }


/* ==========================================================
   FERN HILL — HOMEPAGE CONTACT FORM
   ========================================================== */

.fh-contact-section {
    padding: 5rem 0;
    background: #f8f5ee;
}

.fh-contact-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: #d96f50;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.fh-contact-section h2 {
    margin-bottom: 1.25rem;
    color: #123d35;
    font-weight: 700;
}

.fh-contact-section p {
    line-height: 1.75;
}

.fh-contact-card {
    padding: clamp(1.25rem, 3vw, 2.5rem);
    background: #fff;
    border: 1px solid rgba(18, 61, 53, 0.12);
    border-radius: 1rem;
    box-shadow: 0 0.75rem 2rem rgba(18, 61, 53, 0.06);
}

.fh-contact-card .form-label {
    color: #123d35;
    font-weight: 600;
}

.fh-contact-card .form-control,
.fh-contact-card .form-select {
    min-height: 48px;
    border-color: #d8ded7;
    border-radius: 0.5rem;
}

.fh-contact-card textarea.form-control {
    min-height: 150px;
}

.fh-contact-card .form-control:focus,
.fh-contact-card .form-select:focus {
    border-color: #93a58f;
    box-shadow: 0 0 0 0.2rem rgba(147, 165, 143, 0.25);
}

.fh-contact-card .btn-ochre {
    padding: 0.8rem 1.5rem;
    color: #123d35;
    background: #d8a62e;
    border: 1px solid #d8a62e;
    border-radius: 0.5rem;
    font-weight: 700;
}

.fh-contact-card .btn-ochre:hover {
    background: #c39420;
    border-color: #c39420;
}


.fh-contact-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* Privacy page: sidebar quick links */
#privacy-notice aside .footer-links a {
    color: var(--forest, #123d35);
    text-decoration: none;
}

#privacy-notice aside .footer-links a:hover,
#privacy-notice aside .footer-links a:focus-visible {
    color: var(--ochre, #b8860b);
    text-decoration: underline;
}

    /* =====================================================
       COOKIE PREFERENCES — FERN HILL BRANDING
       ===================================================== */

    .cookie-preferences-modal {
        border: 0;
        border-radius: 1rem;
        overflow: hidden;
    }

    .cookie-preferences-header {
        background: #123d35;
        color: #fff;
        padding: 1.5rem;
        border-bottom: 4px solid #d9a62e;
    }

    .cookie-preferences-header .modal-title {
        font-size: 1.65rem;
        font-weight: 600;
        margin-top: 0.35rem;
    }

    .cookie-eyebrow {
        color: #f1cd76;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.12em;
    }

    .cookie-preferences-modal .modal-body {
        padding: 1.5rem;
    }

    .cookie-preferences-modal .modal-body > p {
        line-height: 1.65;
    }

    .cookie-preferences-modal a {
        color: #123d35;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .cookie-category {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        padding: 1.25rem 0;
        border-bottom: 1px solid #e2e8e5;
    }

    .cookie-category-copy {
        flex: 1;
    }

    .cookie-category-copy h3 {
        color: #123d35;
        font-size: 1.05rem;
        font-weight: 600;
        margin: 0 0 0.4rem;
    }

    .cookie-category-copy p {
        color: #4c5c56;
        font-size: 0.92rem;
        line-height: 1.6;
        margin: 0;
    }

    .cookie-category-control {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 105px;
    }

    .cookie-always-on {
        background: #e4eee8;
        color: #123d35;
        padding: 0.45rem 0.65rem;
        border-radius: 0.35rem;
        font-size: 0.78rem;
        font-weight: 600;
        text-align: center;
    }

    .cookie-switch {
        position: relative;
        display: inline-flex;
        width: 48px;
        height: 27px;
        margin: 0;
        cursor: pointer;
    }

    .cookie-switch input {
        position: absolute;
        width: 1px;
        height: 1px;
        opacity: 0;
    }

    .cookie-slider {
        position: absolute;
        inset: 0;
        background: #cbd3cf;
        border-radius: 30px;
        transition: background 0.2s ease;
    }

    .cookie-slider::before {
        content: "";
        position: absolute;
        width: 19px;
        height: 19px;
        left: 4px;
        top: 4px;
        background: #fff;
        border-radius: 50%;
        transition: transform 0.2s ease;
        box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
    }

    .cookie-switch input:checked + .cookie-slider {
        background: #24745c;
    }

    .cookie-switch input:checked + .cookie-slider::before {
        transform: translateX(21px);
    }

    .cookie-switch input:focus-visible + .cookie-slider {
        outline: 3px solid #d9a62e;
        outline-offset: 3px;
    }

    .cookie-preferences-note {
        background: #f4f6f4;
        border-radius: 0.5rem;
        padding: 0.9rem;
        margin-top: 1.25rem;
        font-size: 0.85rem;
    }

    .cookie-preferences-status {
        padding: 0.75rem;
        margin-top: 1rem;
        background: #e4eee8;
        color: #123d35;
        border-radius: 0.4rem;
    }

    .cookie-preferences-footer {
        padding: 1rem 1.5rem 1.5rem;
        justify-content: flex-end;
        gap: 0.75rem;
        border-top: 0;
    }

    .cookie-settings-link {
        display: inline-block;
    }

    @media (max-width: 575.98px) {
        .cookie-preferences-header,
        .cookie-preferences-modal .modal-body {
            padding: 1.15rem;
        }

        .cookie-category {
            align-items: flex-start;
            gap: 0.75rem;
        }

        .cookie-category-control {
            min-width: auto;
        }

        .cookie-preferences-footer {
            padding: 1rem 1.15rem 1.15rem;
            flex-direction: column-reverse;
            align-items: stretch;
        }

        .cookie-preferences-footer .btn {
            width: 100%;
        }
    }

.footer-cookie-settings {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    cursor: pointer;
}

/* Cookie page quick navigation */
#cookie-notice .article-card .footer-links a {
    color: #123d35;
}

#cookie-notice .article-card .footer-links a:hover,
#cookie-notice .article-card .footer-links a:focus {
    color: #a87920;
}


/* ==========================================================
   ACCESSIBILITY PAGE — QUICK NAVIGATION
   ========================================================== */

#accessibility-statement .article-card .footer-links a {
    color: #123d35;
    text-decoration: none;
    text-underline-offset: 0.2em;
    transition: color 0.2s ease;
}

#accessibility-statement .article-card .footer-links a:hover,
#accessibility-statement .article-card .footer-links a:focus-visible {
    color: #a87920;
    text-decoration: underline;
}

#accessibility-statement .article-card .footer-links a:focus-visible {
    outline: 2px solid #a87920;
    outline-offset: 3px;
    border-radius: 2px;
}


/* Careers navigation — Fern Hill brand */



@media(max-width:991.98px){}

/* Careers: grouped vacancies and rich-text descriptions */
.fh-vacancy-group{border-top:1px solid var(--fh-border,#e5e4dc);padding-top:2rem}.fh-vacancy-logo{width:130px;height:92px;flex-shrink:0;display:flex;align-items:center;justify-content:center;background:#fff;border:1px solid var(--fh-border,#e5e4dc);border-radius:12px;padding:12px}.fh-vacancy-logo img{max-width:100%;max-height:100%;object-fit:contain}.fh-vacancy-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem}.fh-vacancy-facts dt{font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:var(--fh-muted,#647169)}.fh-vacancy-facts dd{margin:0;font-size:.9rem}.fh-vacancy-description{border-top:1px solid var(--fh-border,#e5e4dc);padding-top:1rem}.fh-vacancy-description summary{cursor:pointer;color:var(--fh-forest,#123d35);font-weight:600}.fh-vacancy-html{overflow-wrap:anywhere}.fh-vacancy-html h2,.fh-vacancy-html h3,.fh-vacancy-html h4{font-size:1.1rem}.fh-no-vacancies{padding:1.1rem 1.4rem;background:rgba(255,255,255,.65);border-radius:12px}.fh-vacancy-group-heading h3{font-size:clamp(1.25rem,2.5vw,1.7rem)}@media(max-width:575.98px){.fh-vacancy-logo{width:90px;height:70px}.fh-vacancy-facts{grid-template-columns:1fr}}

/* Careers navigation: prominent editorial link, not a button */
.main-nav .nav-link.fh-careers-nav {color:var(--fh-terracotta,#d96f50)!important;font-weight:700;position:relative;}
.main-nav .nav-link.fh-careers-nav::after {content:"";position:absolute;left:13px;right:13px;bottom:13px;height:2px;background:var(--fh-ochre,#d8a62e);}
.main-nav .nav-link.fh-careers-nav:hover,.main-nav .nav-link.fh-careers-nav:focus-visible {color:var(--fh-forest,#123d35)!important;}
@media(max-width:991.98px){.main-nav .nav-link.fh-careers-nav::after{bottom:3px;left:0;right:0;}}
/* Eight-stage recruitment accordion */
.fh-recruitment-accordion .accordion-item{border:1px solid var(--fh-border,#e5e4dc);background:#fff;margin-bottom:12px;border-radius:var(--fh-radius,18px);overflow:hidden;}
.fh-recruitment-accordion .accordion-button{display:flex;gap:18px;align-items:center;background:#fff;color:var(--fh-forest,#123d35);padding:20px 24px;box-shadow:none;font-family:inherit;}
.fh-recruitment-accordion .accordion-button:not(.collapsed){background:var(--fh-pale-sage,#dde3d7);box-shadow:none;}
.fh-recruitment-accordion .accordion-button:focus-visible{outline:3px solid var(--fh-ochre,#d8a62e);outline-offset:-3px;box-shadow:none;}
.fh-recruitment-accordion .accordion-button small{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.1em;color:var(--fh-muted,#647169);margin-bottom:3px;}
.fh-recruitment-accordion .accordion-button strong{display:block;font-size:1.03rem;font-weight:600;}
.fh-recruitment-accordion .fh-step-index{font-size:1.2rem;font-weight:700;color:var(--fh-terracotta,#d96f50);min-width:36px;}
.fh-recruitment-accordion .accordion-body{padding:20px 28px 24px 78px;line-height:1.8;}
.fh-recruitment-accordion .accordion-body p:last-child{margin-bottom:0;}
@media(max-width:575.98px){.fh-recruitment-accordion .accordion-body{padding:18px 20px;}}

/* Careers page refinements — existing Fern Hill stylesheet */
.fh-support-section .section-heading{max-width:none;margin-bottom:0}
.fh-support-section .section-heading p{margin-bottom:1rem}
.fh-benefit-bubbles .topic-card{border-radius:22px;padding:24px;background:var(--fh-pale-sage,#dde3d7);border:1px solid rgba(18,61,53,.12);box-shadow:0 8px 24px rgba(18,61,53,.05)}
.fh-benefit-bubbles .topic-card h3{font-size:1.05rem;margin-bottom:.5rem}
.fh-benefit-bubbles .topic-card p{margin-bottom:0}
.fh-policy-panel{padding:clamp(24px,3vw,36px);background:#fff;border:1px solid var(--fh-border,#e5e4dc);border-radius:var(--fh-radius,18px)}
.fh-policy-panel .section-heading{margin-bottom:1.25rem}
.fh-policy-panel .section-heading p{margin-bottom:1rem}
.fh-policy-panel ul{padding-left:1.25rem}
.fh-policy-panel li{margin-bottom:.65rem}
.fh-recruitment-alert{border-left:5px solid var(--fh-ochre,#d8a62e);background:var(--fh-pale-sage,#dde3d7);padding:clamp(22px,3vw,34px);border-radius:0 16px 16px 0}
.fh-recruitment-alert h3{font-size:clamp(1.3rem,2vw,1.7rem)}
.fh-adjustment-alert{border:1px solid rgba(18,61,53,.15);background:var(--fh-pale-sage,#dde3d7);padding:22px 26px;border-radius:16px}
.fh-adjustment-alert h4{font-size:1.1rem}
.fh-adjustment-alert p:last-child,.fh-recruitment-alert p:last-child{margin-bottom:0}
.fh-disability-heading{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap;margin-bottom:1.25rem}
.fh-disability-logo{width:min(220px,100%);height:auto;object-fit:contain;background:#fff;padding:10px;border-radius:12px}
.fh-image-placeholder{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:9px;padding:32px;border:2px dashed var(--fh-sage,#93a58f);border-radius:var(--fh-radius,18px);background:linear-gradient(135deg,var(--fh-pale-sage,#dde3d7),var(--fh-ivory,#f8f5ee));color:var(--fh-forest,#123d35)}
.fh-image-placeholder span{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--fh-muted,#647169)}
.fh-image-placeholder strong{font-size:1.35rem}.fh-image-placeholder small{max-width:380px}
/* Consistent paragraph rhythm within Careers content */
#main-content .section-heading p + p,#main-content .featured-content p + p,#main-content .fh-policy-panel p + p,#main-content .fh-recruitment-alert p + p{margin-top:1rem}
#main-content .section-heading p:last-child,#main-content .fh-policy-panel p:last-child{margin-bottom:0}
@media(max-width:991.98px){.fh-support-section .section-heading{margin-bottom:1.5rem}}

/* Careers: consistent vertical rhythm and readable section flow */
#main-content > section .section-heading > p {line-height:1.75;margin-top:0;margin-bottom:1rem;}
#main-content > section .section-heading > p + p {margin-top:0;}
#main-content > section .section-heading > p:last-child {margin-bottom:0;}
#main-content > section .section-heading {margin-bottom:clamp(1.5rem,2.8vw,2.25rem);}
#main-content > section .article-card-body p {line-height:1.7;}
#main-content > section .article-card-body p:last-child {margin-bottom:0;}
#main-content > section .fh-recruitment-accordion .accordion-body p {margin:0 0 1rem;line-height:1.75;}
#main-content > section .fh-recruitment-accordion .accordion-body p:last-child {margin-bottom:0;}
#main-content > section .fh-policy-panel p + p {margin-top:0;}
#main-content > section .fh-recruitment-alert p + p {margin-top:0;}
#main-content > section .fh-recruitment-alert p {line-height:1.75;margin-bottom:1rem;}
#main-content > section .fh-recruitment-alert p:last-child {margin-bottom:0;}
#main-content > section .fh-adjustment-alert p {line-height:1.75;}
#main-content > section .fh-adjustment-alert p:last-child {margin-bottom:0;}
@media(max-width:767.98px){#main-content > section .fh-policy-panel{padding:22px;}#main-content > section .fh-vacancy-group-heading{align-items:flex-start!important;}}

/* Careers: allow long-form editorial sections to use the available container width. */
#main-content .fh-wide-copy .section-heading {max-width:100%;}
#main-content .fh-wide-copy .section-heading > p {max-width:100%;}
#main-content .fh-inclusive-section .fh-disability-heading {width:100%;}
#main-content .fh-inclusive-section .fh-adjustment-alert {max-width:100%;}
/* Standalone vacancy detail page. */
.fh-job-hero {padding:clamp(3rem,6vw,5rem) 0;background:var(--fh-ivory,#f8f5ee);}
.fh-job-hero h1 {max-width:100%;overflow-wrap:anywhere;}
.fh-job-logo {width:160px;max-height:105px;object-fit:contain;background:white;padding:12px;border-radius:14px;}
.fh-job-content {max-width:100%;overflow-wrap:anywhere;}
.fh-job-content h2,.fh-job-content h3,.fh-job-content h4 {font-size:clamp(1.15rem,2.2vw,1.65rem);margin-top:1.7rem;}
.fh-job-content p,.fh-job-content li {line-height:1.8;}
.fh-job-content p {margin-bottom:1rem;}
.fh-job-content ul,.fh-job-content ol {padding-left:1.5rem;}
.fh-job-details {background:#fff;border-radius:16px;padding:clamp(1.25rem,3vw,2rem);border:1px solid #e5e4dc;}
.fh-job-details .fh-vacancy-facts {grid-template-columns:repeat(2,minmax(0,1fr));}
@media(max-width:575.98px){.fh-job-details .fh-vacancy-facts{grid-template-columns:1fr;}}



.fh-image-placeholder {
    background-image: url('/img/careers2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 100%;
    min-height: 350px;
    border-radius: 20px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .fh-image-placeholder {
        min-height: 220px;
    }
}

/* Careers: use the full available Bootstrap container for editorial copy.
   Scoped to the careers page; preserves intentional two-column layouts. */
#main-content > section .section-heading {
    width: 100%;
    max-width: none;
}
#main-content > section .section-heading > p {
    max-width: none;
}
#main-content > section .featured-content {
    max-width: none;
}
#main-content > section .fh-disability-heading,
#main-content > section .fh-adjustment-alert {
    max-width: none;
}
