@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/*
    Apex Yellow:#FFE37B
    Charcoal:   #3C3C3B
    Saffron:    #E6B55B
    Espresso:   #7A6F62
    Moss:       #575D51
    Off-White:  #F3F2E8
*/

/* =====================
   PILLS
   ===================== */
.nav-pills .nav-link {
    border-radius: 0;
    border: 0;
    background: #F3F2E8;
    padding: 11px 20px;
    margin-bottom: 10px;
    color: #3c3c3b !important;
}

    .nav-pills .nav-link.active {
        color: #f3f2e8 !important;
        background-color: #3c3c3b;
    }

    .nav-pills .nav-link:hover {
        border: 0;
        text-decoration: none;
    }

/* =====================
   CARDS
   ===================== */
.card {
    border-radius: 0;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: #f3f2e8;
    border-bottom: 1px solid rgba(87, 93, 81, 0.2);
}

/* =====================
   FONTS
   ===================== */



/* =====================
    
.roboto-<uniquifier> {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.instrument-serif-regular {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}

.instrument-serif-regular-italic {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: italic;
}

===================== */


/* =====================
   BASICS
   ===================== */

body {
    font-family: "Roboto", sans-serif;
    color: #3c3c3b;
    font-size: 16px;
    font-weight: 400;
    line-height: 2rem;
}

.body-wrapper {
    margin-top: 9rem;
}



body.jobs .slider-text {
    margin-top: 50px;
}

.job-details .body-wrapper {
    margin-top: 11rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Instrument Serif", serif;
}

h1, .h1 {
    color: #3C3C3B;
    font-size: 3rem;
    font-weight: 400;
}

h2, .h2 {
    color: #3C3C3B;
    font-size: 2rem;
    font-weight: 400;
}

h3, .h3 {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.438em;
    letter-spacing: 0.64px;
}

/* =====================
   BUTTONS
   ===================== */

.btn {
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 0px;
    padding: 11px 30px;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 400;
    transition: all .3s;
}

.btn-primary {
    background-color: #3c3c3b;
    color: #ffe37b;
    border: none;
}

    .btn-primary:hover,
    .btn-primary:active,
    .btn-primary:focus {
        color: #3c3c3b !important;
        background-color: #ffe37b;
        border: none;
    }

    .btn-primary.disabled {
        background-color: #a8a9ad;
        border-color: #a8a9ad;
    }

.btn-secondary {
    border: none;
    color: #3c3c3b !important;
    background-color: #ffe37b;
}

    .btn-secondary:hover,
    .btn-secondary:active,
    .btn-secondary:focus {
        border: none;
        color: #ffe37b !important;
        background-color: #3c3c3b !important;
    }



#divSelectCV #div_connect .btn {
    min-width: 235px;
    height: 43px;
    width: 100%;
    max-width: 270px;
    padding: 8px 10px;
    position: relative;
    text-align: left;
    padding-left: 55px;
}

#divSelectCV #div_connect .btn-secondary.btn-dropbox,
#divSelectCV #div_connect .btn-secondary.btn-googledrive,
#divSelectCV #div_connect .btn-secondary.btn-onedrive,
#divSelectCV #div_connect .btn-secondary.btn-manually {
    background-color: #FFE37B !important;
    border-color: #ccc;
    color: #3c3c3b !important;
}

    #divSelectCV #div_connect .btn-secondary.btn-dropbox:hover,
    #divSelectCV #div_connect .btn-secondary.btn-googledrive:hover,
    #divSelectCV #div_connect .btn-secondary.btn-onedrive:hover,
    #divSelectCV #div_connect .btn-secondary.btn-manually:hover {
        background-color: #3c3c3b !important;
        border-color: #ccc;
        color: #FFE37B !important;
        opacity: 1;
    }


/* =====================
   HEADER
   ===================== */

#header {
    background: #3C3C3B;
    position: absolute;
    padding: 0px 10px;
    right: 0;
    left: 0;
    top: 0;
    box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.3);
}

    #header .main-logo img,
    #header .alt-logo img {
        height: 50px;
        margin: 20px 0;
    }

    #header nav .navbar-collapse.expanded {
        position: absolute;
        left: 0;
        right: 0;
        top: 140%;
        margin-top: 0px;
        padding: 20px 0;
        z-index: 1000;
    }

/* =====================
   NAVIGATION
   ===================== */

.nav-link {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2em;
    text-transform: uppercase;
    letter-spacing: 0.32px;
}

    .nav-link:hover {
        color: #fff;
    }

.navbar-expand-lg .navbar-nav .nav-item {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-item {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 0.2rem 0rem;
    }



    .nav-link {
        border: 3px #ffe37b00;
        border-bottom-style: solid;
        text-decoration: none;
    }

        .nav-link:hover {
            border: 3px #FFE37B;
            border-bottom-style: solid;
            text-decoration: none;
        }
}

/* =====================
   FOOTER
   ===================== */

#footer {
    margin-top: 50px;
    padding: 0;
    color: #f3f2e8;
    font-size: 16px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    background-color: #3c3c3b;
    border-top: 6px solid #ffe37b;
}

body.home #footer {
    margin-top: 0px;
}

#footer .alt-logo img {
    width: 100% !important;
}

#footer h6 {
    color: #FFE37B;
    font-weight: 600;
    font-size: 22px;
    font-family: "Roboto", sans-serif;
    text-transform: uppercase;
}


#footer a {
    color: #f3f2e8;
}

#footer ul {
    padding: 0;
    margin: 0;
}

    #footer ul li {
        display: list-item;
        font-size: 16px;
        font-weight: 400;
        padding: 0 0 15px 0;
    }

#footer nav ul li:after {
    all: unset;
}

#footer .copyrights {
    color: #fff;
    background-color: #3c3c3b;
}

    #footer .copyrights small {
        font-size: 14px;
        font-weight: 400;
    }

#footer .powered-by {
    display: block;
    margin-top: 5px; /* optional spacing */
    font-size: 12px;
    font-weight: 400;
}

#footer .accreditations {
    background-color: #f8f9fa;
}

#footer .fa-inverse {
    color: #3c3c3b;
}

    #footer .fa-inverse:hover {
        color: #ffe37b;
    }

#footer .blue {
    background-color: #273148;
}

#footer .contact {
    line-height: 18px;
}




#footer .pre-footer img {
    max-width: 350px;
}


#footer .pre-footer .fancy-bg {
    background-color: #273148;
    background-image: url(https://ext.recruitgenie.co.uk/system/gallery/d203dd84-48e2-4472-9a31-7c4d4e94aa85/footer-pattern.png);
    background-repeat: repeat;
}

#footer .pre-footer .fancy-outline {
    border: #f4f3ef solid 1px
}

    #footer .pre-footer .fancy-outline p {
        margin-bottom: 0px;
    }
    
    #footer .social-icons ul li {display:inline-block;}


/* =====================
   SLIDER
   ===================== */

.slider .carousel-item .img {
    height: 450px;
    background-size: cover;
}

.slider-caption-container {
    text-align: left
}

@media (min-width: 1200px) {
    .home .slider .carousel-item .carousel-caption {
        width: 1110px;
    }
}

    /* =====================
   HOMEPAGE
   ===================== */
    .home .body-wrapper {
        margin-top: 0;
    }

    /* =====================
   JOB LISTINGS
   ===================== */
    .jobs .body-wrapper {
        margin-top: 150px;
    }

    .jobs .job-search-filter-wrapper,
    .jobs .job-results-wrapper {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .jobs .job-list li hr {
        display: none;
    }

    .jobs h1.title {
        text-align: center;
        margin-top: 30px;
        margin-bottom: 30px;
        text-transform: uppercase !important;
    }

    .jobs #jobList > ul li h2 a {
        color: #fff
    }

    .job-details .slider {
        display: none;
    }

    .job-search-filter-v2 {
        border-radius: 0px;
        border: 0px solid #3c3c3b;
        background-color: #f3f2e8;
        font-weight: 700;
    }



        .job-search-filter-v2 .multiselect-arrow {
            right: 15px;
        }

        .job-search-filter-v2 input[type='text'],
        .job-search-filter-v2 select,
        .job-search-filter-v2 .flagstrap,
        .job-search-filter-v2 .multiselect {
            background: #fff;
            border-color: #3c3c3b;
        }

    #divBranchFilterMsgWrapper {
        box-shadow: none !important;
        border-radius: 5px;
        background-color: #f8f9fa;
    }

    .job-details h1 span.sub-title {
        font-family: Arial, sans-serif;
    }

    #jobList > ul li {
        padding: 0px;
        border: 1px solid #e6ebf0;
        margin-bottom: 30px;
        background: #3c3c3b;
        border-radius: 0px;
    }

    #jobList {
        color: #fff
    }

        #jobList > ul li hr,
        #jobList > ul li .row-1 {
            display: none;
        }

        #jobList > ul li .row-2 .header-img {
            display: none !important;
            height: 350px;
            background-color: #3c3c3b;
            border-bottom-left-radius: 0px;
            border-top-left-radius: 0px;
        }

        #jobList > ul li .row-2 > div {
            float: left !important;
            margin: 0px;
            width: 100%;
            padding: 30px;
        }


        #jobList > ul li .brand-img {
            display: none !important;
        }

        #jobList > ul li .row-2 h2 {
            font-family: "Lora", serif;
            display: block !important;
            float: none !important;
            text-transform: uppercase;
            font-weight: 600;
        }

/* move button to right*/

        #jobList > ul li .row-2 .btn-apply-2 {
            font-family: "Lora", serif;
            display: block !important;
            float: right !important;
            text-transform: uppercase;
            font-weight: 600;
            
        }

        #jobList .branch-name,
        #jobList .points,
        #jobList .overview
        {
            font-weight: 400;
            width:70%;
            float:left;
        }
        
        
        
        

        #jobList .btn-primary {
            background-color: #ffe37b;
            border: none;
            box-shadow: none;
            color: #3c3c3b;
        }

            #jobList .btn-primary:hover {
                background-color: #f3f2e8;
                border: none;
                box-shadow: none;
                color: #3c3c3b;
            }



        #jobList > ul li .row-2 .header-img {
            height: 250px;
            display: none !important;
            border-radius: 5px 5px 0px 0px;
        }

        #jobList > ul li .row-2 > div {
            width: 100%;
        }


.jobs .job-search-filter-wrapper, .jobs .job-results-wrapper {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.jobs .job-list li .header-img {
    display: none !important;
}
/* hide image */

/* =====================
   JOB DETAILS
   ===================== */

.job-details .header-image img {
    border-radius: 5px;
}

.job-details .share-icons .sharebox-title {
    float: left;
    margin: 8px 5px 0 0;
}

.job-details .share-icons .sharebox {
    margin-top: 8px;
}

.job-details .job-title {
    text-transform: uppercase;
}

/* =====================
   CARDS
   ===================== */

.card-default {
    background-color: #f8f9fa;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
}

/* =====================
   SLIDER
   ===================== */

.home .slider.fullscreen {
    top: 90px; /* this moves the slider down so that it's not hiding under the header */
}

.home .slider .carousel-item .carousel-caption {
    z-index: 700;
    justify-content: left;
    bottom: 90px; /* this moves the caption up as it gets moved down by slider.fullscreen 90px*/
}

.slider .carousel-item .carousel-caption h1 {
    text-shadow: 0px 2px 9px rgba(0, 0, 0, 0.5);
    font-weight: 300;
    font-size: 80px;
}

/* =====================
   APPLY / REGISTER PAGE
   ===================== */

.simplified-wrapper .simplified-wrapper-inner {
    border-radius: 5px;
}

.body-simplified .section {
    border-radius: 5px;
}

.body-simplified .nav-wizard {
    border-radius: 5px 5px 0 0;
}

.section .btn,
.step .footer .btn {
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px !important;
    padding: .75rem 1rem;
    font-family: "Roboto", sans-serif;
    font-size: .9rem;
    font-weight: 500;
}

/* Hide cloud storage options on CV upload */
ul#divCVUpload li:nth-child(2),
ul#divCVUpload li:nth-child(3),
ul#divCVUpload li:nth-child(4),
ul#divCVUpload li:nth-child(5) {
    display: none;
}

#divForm #divOptions {
    line-height: 1.4rem;
}

/* =====================
   CUSTOM BG'S & COLOURS
   ===================== */

.bg-beige {
    background-color: #f4f3ef
}

.bg-blue {
    background-color: #495d8c
}

.bg-navy {
    background-color: #171c2b
}

.bg-apexyellow {
    background-color: #ffe37b
}

.bg-charcoal {
    background-color: #3c3c3b
}

.bg-saffron {
    background-color: #e6b55b
}

.bg-espresso {
    background-color: #7a6f62
}

.bg-moss {
    background-color: #575d51
}

.bg-offwhite {
    background-color: #f3f2e8
}

.apexyellow {
    color: #ffe37b
}

.charcoal {
    color: #3c3c3b
}

.saffron {
    color: #e6b55b
}

.espresso {
    color: #7a6f62
}

.moss {
    color: #575d51
}

.offwhite {
    color: #f3f2e8
}



/* =====================
   LAYOUT TWEAKS
   ===================== */

.py-100 {
    padding: 100px;
}

.py-120 {
    padding: 120px;
}

.mb1 {
    margin-bottom: 1rem !important
}

.mb2 {
    margin-bottom: 2rem !important
}


.pt-100 {
    padding-top: 100px
}

.pb-100 {
    padding-bottom: 100px
}

.mt-100 {
    margin-top: 100px
}

.mb-100 {
    margin-bottom: 100px
}

.f-20 {
    font-size: 20px !important
}

.f-30 {
    font-size: 30px !important
}

.f-40 {
    font-size: 40px !important
}

.f-50 {
    font-size: 50px !important
}

.f-60 {
    font-size: 60px !important
}

.f-65 {
    font-size: 65px !important
}

.f-70 {
    font-size: 70px !important
}

.f-80 {
    font-size: 80px !important
}


/* =====================
   APEX RESPONSIVE LAYOUT
   Keep these rules after the existing custom CSS.
   ===================== */

/* Header stays 90px tall to match Recruit Genie's existing page offsets. */
#header {
    padding: 0;
    z-index: 1000;
}

#header .container {
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
}

#header .apex-header-layout {
    min-height: 90px;
    gap: 12px;
}

#header .nav-logo,
#header .nav-handler {
    flex: 0 0 auto;
}

#header .main-logo img,
#header .alt-logo img {
    display: block;
    width: auto;
    height: 50px;
    margin: 20px 0;
}

#header nav.navbar {
    padding: 0;
}

#header nav .navbar-toggler {
    min-width: 44px;
    min-height: 44px;
    margin-top: 0;
    padding: 8px;
    color: #FFE37B;
}

#header nav .navbar-toggler .navbar-toggler-icon-text,
#header nav .navbar-toggler i,
#header.active nav .navbar-toggler .navbar-toggler-icon-text,
#header.active nav .navbar-toggler i {
    color: #FFE37B !important;
}

#header nav .navbar-toggler:focus {
    outline: 2px solid #FFE37B;
    outline-offset: 3px;
}

@media (max-width: 991.98px) {
    #header nav .navbar-collapse.expanded {
        top: 100%;
        left: 15px;
        right: 15px;
        margin-top: 0;
        padding: 12px 0;
        background-color: #3C3C3B;
        z-index: 10;
    }

    #header nav .navbar-collapse.expanded .nav-link {
        min-height: 44px;
        color: #F3F2E8;
    }
}

/* Shared section spacing; retain Bootstrap's normal 15px horizontal gutters. */
.apex-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

.apex-section-heading {
    font-size: 38px;
    font-weight: 400;
    line-height: 1.15;
}

.apex-card-heading {
    font-size: 32px;
    font-weight: 400;
    line-height: 1.15;
}

.apex-card-column {
    margin-bottom: 24px;
}

.apex-card-row:last-child {
    margin-bottom: -24px;
}

.apex-content-card {
    padding: 24px;
}

.apex-content-card .btn {
    max-width: 100%;
    white-space: normal;
}

/* Keep dark CTAs legible on both the yellow and off-white panels.
   The platform also supplies important active/focus button colours. */
.apex-section .btn-primary:hover,
.apex-section .btn-primary:focus,
.apex-section .btn-primary:active {
    background-color: #090908 !important;
    color: #FFE37B !important;
}

.apex-section .btn:focus {
    outline: 2px solid currentColor;
    outline-offset: -5px;
}

.apex-partners-image {
    width: 100%;
    max-width: 800px;
    height: auto;
}

/* Footer uses explicit columns rather than automatic widths on phones. */
.apex-footer-column {
    margin-bottom: 32px;
}

.apex-footer-content > .row {
    margin-bottom: -32px;
}

.apex-footer-logo {
    width: 200px;
    max-width: 100%;
    height: auto;
}

.apex-footer-symbol {
    width: 100px;
    max-width: 100%;
    height: auto;
}

#footer .apex-footer-content ul {
    list-style: none;
}

#footer .apex-footer-content ul li:last-child {
    padding-bottom: 0;
}

/* Mobile/tablet hero grows with its text, including on short landscape screens.
   Override platform inline heights/offsets only within this breakpoint. */
@media (max-width: 991.98px) {
    .home .slider.fullscreen {
        position: relative;
        inset: auto;
        margin-top: 90px;
        height: auto;
        z-index: 0;
    }

    .home .slider .carousel-item .img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100% !important;
    }

    .home .slider .carousel-item .carousel-caption {
        position: relative;
        inset: auto;
        width: 100%;
        min-height: 520px;
        margin: 0;
        padding: 48px 32px;
        z-index: 2;
        justify-content: center;
    }

    .home .slider-caption-container {
        width: 100%;
        max-width: 680px;
        min-width: 0;
    }

    .home .slider .carousel-item .carousel-caption h1 {
        font-size: clamp(48px, 8vw, 68px);
        line-height: 1.05;
        margin-bottom: 24px;
    }

    .home .slider .carousel-item .carousel-caption .lead {
        font-size: 18px;
        line-height: 1.6;
    }

    .home .slider .carousel-control-prev,
    .home .slider .carousel-control-next {
        width: 7%;
        z-index: 3;
    }

    .home .body-wrapper.fullscreen {
        position: relative;
        top: auto !important;
        left: auto;
        right: auto;
        margin-top: 0;
    }

    /* Job metadata should use the whole card width when the button stacks. */
    .jobs #jobList .branch-name,
    .jobs #jobList .points,
    .jobs #jobList .overview {
        width: 100%;
        float: none;
    }

    .jobs #jobList > ul li .row-2 .btn-apply-2 {
        float: none !important;
        clear: both;
        margin-top: 16px;
    }
}

@media (max-width: 575.98px) {
    #header .main-logo img,
    #header .alt-logo img {
        height: 38px;
        margin: 26px 0;
    }

    .apex-section .lead {
        font-size: 18px;
        line-height: 1.65;
    }

    .jobs #jobList > ul li .row-2 > div {
        padding: 20px;
    }

    .jobs #jobList > ul li .row-2 h2 {
        font-size: 26px;
        line-height: 1.2;
    }
}

@media (min-width: 992px) {
    .apex-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .apex-section-heading {
        font-size: 50px;
    }

    .apex-card-heading {
        font-size: 36px;
    }

    .apex-content-card {
        padding: 32px;
    }
}

@media (min-width: 1200px) {
    .apex-card-heading {
        font-size: 40px;
    }

    .apex-content-card {
        padding: 40px;
    }
}

/* Apex /jobs search filters.
   APPEND this entire block after the existing global custom CSS.
   Uses the existing Recruit Genie HTML and filter behaviour. */

body.jobs .job-search-filter-v2 {
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid #E2DED5;
    border-radius: 0;
    background: #F3F2E8;
    color: #3C3C3B;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    overflow: visible;
}

/* Keyword, Location and Search remain the main controls.
   The advanced toggle always occupies a separate row underneath. */
body.jobs .job-search-filter-v2 .row.basic {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    margin: 0;
    align-items: start;
}

body.jobs .job-search-filter-v2 .row.basic > [class*="col-"] {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
}

body.jobs .job-search-filter-v2 .basic .form-group {
    margin-bottom: 0;
}

body.jobs .job-search-filter-v2 label {
    margin-bottom: 8px;
    color: #3C3C3B;
    font-size: 15px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: normal;
}

body.jobs .job-search-filter-v2 .form-group > label {
    display: block;
    min-height: 24px;
}

/* Exclude the plugin's hidden native selects and hidden location inputs. */
body.jobs .job-search-filter-v2 input[type="text"]:not(.hide),
body.jobs .job-search-filter-v2 select.form-control:not(.multiselect),
body.jobs .job-search-filter-v2 div.multiselect.form-control {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    padding: 11px 14px;
    border: 1px solid #7A6F62;
    border-radius: 0;
    background: #FFFFFF;
    color: #3C3C3B;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: normal;
    text-transform: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

body.jobs .job-search-filter-v2 input::placeholder {
    color: #68645D;
    opacity: 1;
}

body.jobs .job-search-filter-v2 input[type="text"]:not(.hide):hover,
body.jobs .job-search-filter-v2 select.form-control:not(.multiselect):hover,
body.jobs .job-search-filter-v2 div.multiselect.form-control:hover {
    border-color: #3C3C3B;
}

body.jobs .job-search-filter-v2 input[type="text"]:not(.hide):focus,
body.jobs .job-search-filter-v2 select.form-control:not(.multiselect):focus,
body.jobs .job-search-filter-v2 div.multiselect.form-control:focus,
body.jobs .job-search-filter-v2 .multiselect-wrapper:focus-within > div.multiselect,
body.jobs .job-search-filter-v2 .flagstrap:focus-within {
    border-color: #3C3C3B !important;
    outline: 2px solid #3C3C3B;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 227, 123, .55) !important;
}

/* The generated property trigger is a div, so .show also needs a clear state. */
body.jobs .job-search-filter-v2 .multiselect-wrapper.show > div.multiselect,
body.jobs .job-search-filter-v2 div.multiselect[aria-expanded="true"] {
    border-color: #3C3C3B;
    background: #FFFFFF;
    outline: 2px solid #3C3C3B;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 227, 123, .55);
}

body.jobs .job-search-filter-v2 div.multiselect.form-control {
    position: relative;
    padding-right: 40px;
    cursor: pointer;
}

body.jobs .job-search-filter-v2 .multiselect-selected-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.jobs .job-search-filter-v2 .multiselect-arrow {
    top: 50%;
    right: 14px;
    margin-top: 0;
    transform: translateY(-50%);
    font-size: 14px;
    line-height: 1;
    pointer-events: none;
}

/* Align the location menu to the field; retain Popper's vertical positioning. */
body.jobs .job-search-filter-v2 .multiselect-container {
    box-sizing: border-box;
    left: 0 !important;
    width: 100%;
    min-width: 0;
    max-height: min(360px, 55vh) !important;
    padding: 4px 0;
    border: 1px solid #7A6F62;
    border-radius: 0;
    background: #FFFFFF;
    box-shadow: 0 8px 20px rgba(60, 60, 59, .16);
    z-index: 100;
    overscroll-behavior: contain;
}

body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item {
    min-height: 44px;
    padding: 10px 14px !important;
    border-bottom: 1px solid #E2DED5;
    background: #FFFFFF;
    color: #3C3C3B;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    white-space: normal;
    text-transform: none;
    letter-spacing: normal;
}

body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item:last-child {
    border-bottom: 0;
}

body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item:hover,
body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item:focus,
body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item:focus-within {
    background: #F3F2E8 !important;
    color: #3C3C3B !important;
}

body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item.active,
body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item:active {
    background: #FFE37B !important;
    color: #3C3C3B !important;
}

body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item.active:hover,
body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item.active:focus,
body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item.active:focus-within {
    background: #F5D65F !important;
}

body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item:focus,
body.jobs .job-search-filter-v2 .multiselect-container .dropdown-item:focus-within {
    outline: 2px solid #3C3C3B;
    outline-offset: -3px;
    box-shadow: none;
}

body.jobs .job-search-filter-v2 .multiselect-container .form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
}

body.jobs .job-search-filter-v2 .multiselect-container .form-check-input {
    position: static;
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 3px 0 0;
    accent-color: #3C3C3B;
}

body.jobs .job-search-filter-v2 .multiselect-container .form-check-label {
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}

body.jobs .job-search-filter-v2 input[type="checkbox"]:focus-visible {
    outline: 2px solid #3C3C3B;
    outline-offset: 2px;
}

/* Search and Reset: explicit states override generated theme button rules. */
body.jobs .job-search-filter-v2 .search-button .btn,
body.jobs .job-search-filter-v2 .clear-button .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 11px 20px;
    border: 1px solid #3C3C3B;
    border-radius: 0;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 24px;
    white-space: normal;
}

body.jobs .job-search-filter-v2 .search-button .btn-primary {
    background: #3C3C3B !important;
    border-color: #3C3C3B !important;
    color: #FFE37B !important;
    box-shadow: none;
}

body.jobs .job-search-filter-v2 .search-button .btn-primary:hover,
body.jobs .job-search-filter-v2 .search-button .btn-primary:focus {
    background: #252524 !important;
    border-color: #252524 !important;
    color: #FFE37B !important;
}

body.jobs .job-search-filter-v2 .search-button .btn-primary:active,
body.jobs .job-search-filter-v2 .search-button .btn-primary.active {
    background: #090908 !important;
    border-color: #090908 !important;
    color: #FFE37B !important;
}

body.jobs .job-search-filter-v2 .clear-button .btn {
    background: transparent !important;
    border-color: #3C3C3B !important;
    color: #3C3C3B !important;
}

body.jobs .job-search-filter-v2 .clear-button .btn:hover,
body.jobs .job-search-filter-v2 .clear-button .btn:focus {
    background: #FFE37B !important;
    color: #3C3C3B !important;
}

body.jobs .job-search-filter-v2 .clear-button .btn:active,
body.jobs .job-search-filter-v2 .clear-button .btn.active {
    background: #F5D65F !important;
    color: #3C3C3B !important;
}

body.jobs .job-search-filter-v2 .search-button .btn:focus,
body.jobs .job-search-filter-v2 .clear-button .btn:focus {
    outline: 2px solid #3C3C3B;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(255, 227, 123, .55) !important;
}

/* Toggle and Clear All are links, not filled buttons. */
body.jobs .job-search-filter-v2 .advanced-filters-button {
    grid-column: 1 / -1;
}

body.jobs .job-search-filter-v2 .advanced-filters-button a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: #3C3C3B;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

body.jobs .job-search-filter-v2 .btn-clear {
    display: inline-block;
    color: #3C3C3B;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.jobs .job-search-filter-v2 .advanced-filters-button a:hover,
body.jobs .job-search-filter-v2 .btn-clear:hover {
    color: #090908;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.jobs .job-search-filter-v2 .advanced-filters-button a:active,
body.jobs .job-search-filter-v2 .btn-clear:active {
    background: #FFE37B;
    color: #3C3C3B;
}

body.jobs .job-search-filter-v2 .advanced-filters-button a:focus,
body.jobs .job-search-filter-v2 .btn-clear:focus {
    outline: 2px solid #3C3C3B;
    outline-offset: 3px;
    background: #FFE37B;
    color: #3C3C3B;
}

/* Leave the platform's inline display:none and slide-toggle behaviour intact. */
body.jobs .job-search-filter-v2 > div > .advanced {
    margin-top: 20px !important;
    padding-top: 24px;
    border-top: 1px solid #D5CFC3;
}

body.jobs .job-search-filter-v2 .advanced .form-group {
    margin-bottom: 20px;
}

body.jobs .job-search-filter-v2 .advanced > .search-button,
body.jobs .job-search-filter-v2 .advanced > .clear-button {
    width: calc(50% - 8px);
    margin-top: 4px;
}

body.jobs .job-search-filter-v2 .advanced > .search-button {
    float: left;
}

body.jobs .job-search-filter-v2 .advanced > .clear-button {
    float: right;
}

body.jobs .job-search-filter-v2 > div > .advanced::after {
    content: "";
    display: table;
    clear: both;
}

body.jobs .job-search-filter-v2 .advanced > .search-button .form-group,
body.jobs .job-search-filter-v2 .advanced > .clear-button .form-group {
    margin-bottom: 0;
}

/* Flag selector shares the height of city/postcode and distance controls. */
body.jobs .job-search-filter-v2 .flagstrap.form-control {
    height: 48px;
    padding: 0;
    border-color: #7A6F62;
    border-radius: 0;
    background: #FFFFFF;
}

body.jobs .job-search-filter-v2 .flagstrap > .btn {
    width: 100%;
    height: 100%;
    padding: 10px 8px;
    border: 0;
    border-radius: 0;
    background: #FFFFFF;
    color: #3C3C3B;
    box-shadow: none;
}

body.jobs .job-search-filter-v2 .flagstrap > .btn:hover,
body.jobs .job-search-filter-v2 .flagstrap > .btn:active,
body.jobs .job-search-filter-v2 .flagstrap > .btn[aria-expanded="true"] {
    background: #F3F2E8;
}

body.jobs .job-search-filter-v2 #search-by-location .d-flex > div {
    min-width: 0;
}

body.jobs .job-search-filter-v2 .flagstrap .dropdown-menu {
    min-width: 200px;
    max-width: 100%;
    border-color: #7A6F62;
    border-radius: 0;
    background: #FFFFFF;
}

body.jobs .job-search-filter-v2 .flagstrap .dropdown-menu a {
    display: block;
    padding: 10px;
    color: #3C3C3B;
    font-size: 14px;
    white-space: normal;
}

body.jobs .job-search-filter-v2 .flagstrap .dropdown-menu a:hover,
body.jobs .job-search-filter-v2 .flagstrap .dropdown-menu a:focus,
body.jobs .job-search-filter-v2 .flagstrap .dropdown-menu a:active {
    background: #FFE37B;
    color: #3C3C3B;
}

/* Keep disabled controls visually distinct even with the state overrides. */
body.jobs .job-search-filter-v2 .form-control:disabled,
body.jobs .job-search-filter-v2 .form-control[readonly],
body.jobs .job-search-filter-v2 .btn:disabled,
body.jobs .job-search-filter-v2 .btn.disabled,
body.jobs .job-search-filter-v2 .btn[aria-disabled="true"],
body.jobs .job-search-filter-v2 div.multiselect[aria-disabled="true"] {
    background: #E7E4DC !important;
    border-color: #C4BFB4 !important;
    color: #68645D !important;
    box-shadow: none !important;
    cursor: not-allowed;
}

@media (min-width: 992px) {
    body.jobs .job-search-filter-v2 {
        padding: 30px;
    }

    body.jobs .job-search-filter-v2 .row.basic {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(140px, .5fr);
        column-gap: 24px;
        row-gap: 12px;
    }
}

@media (max-width: 575.98px) {
    body.jobs .job-search-filter-v2 {
        padding: 20px;
    }

    /* Replace the cramped three-control line with country + city, then distance. */
    body.jobs .job-search-filter-v2 #search-by-location .d-flex {
        display: grid !important;
        grid-template-columns: 65px minmax(0, 1fr);
        row-gap: 12px;
    }

    body.jobs .job-search-filter-v2 #search-by-location .d-flex > div {
        width: auto !important;
        min-width: 0 !important;
    }

    body.jobs .job-search-filter-v2 #search-by-location .d-flex > div:nth-child(3) {
        grid-column: 1 / -1;
    }

    body.jobs .job-search-filter-v2 select.miles {
        border-left: 1px solid #7A6F62 !important;
    }

    body.jobs .job-search-filter-v2 .advanced > .search-button,
    body.jobs .job-search-filter-v2 .advanced > .clear-button {
        float: none;
        width: 100%;
    }

    body.jobs .job-search-filter-v2 .advanced > .clear-button {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.jobs .job-search-filter-v2 .form-control,
    body.jobs .job-search-filter-v2 .btn {
        transition: none;
    }
}

/* APPEND after all existing custom CSS, including the jobs filter CSS. */

/* Remove shadow animation while retaining the existing normal button colours. */
body .btn.btn-primary,
#form1 .btn.btn-primary,
#divForm .btn.btn-primary {
    transition: background-color .15s ease, color .15s ease;
    box-shadow: none !important;
}

/* Use a dark background so white text stays readable, including yellow job CTAs.
   Form IDs outrank the platform and existing page-specific important rules. */
body .btn.btn-primary:focus,
body .btn.btn-primary:active,
body .btn.btn-primary.active,
#form1 .btn.btn-primary:focus,
#form1 .btn.btn-primary:active,
#form1 .btn.btn-primary.active,
#divForm .btn.btn-primary:focus,
#divForm .btn.btn-primary:active,
#divForm .btn.btn-primary.active {
    color: #FFFFFF !important;
    background-color: #252524 !important;
    border-color: #252524 !important;
    box-shadow: none !important;
    outline: 2px solid rgba(37, 37, 36, .35) !important;
    outline-offset: 3px !important;
}

/* Preserve the existing disabled appearance. */
body .btn.btn-primary:disabled,
body .btn.btn-primary.disabled,
body .btn.btn-primary[aria-disabled="true"],
#form1 .btn.btn-primary:disabled,
#form1 .btn.btn-primary.disabled,
#form1 .btn.btn-primary[aria-disabled="true"],
#divForm .btn.btn-primary:disabled,
#divForm .btn.btn-primary.disabled,
#divForm .btn.btn-primary[aria-disabled="true"] {
    outline: none !important;
    box-shadow: none !important;
}


/* REPLACE the previous Our People CSS with this stylesheet.
   Off-white / espresso / off-white bands; alternating image positions.
   Scoped to this page's .apex-people wrapper. */
.apex-people { width:100%; color:#3C3C3B; background:#FFFFFF; font-family:"Roboto",sans-serif; font-size:17px; font-weight:400; line-height:1.75; }
.apex-people, .apex-people * { box-sizing:border-box; }
.apex-people .apex-people__intro-wrap { padding:40px 24px 48px; background:#FFFFFF; }
.apex-people .apex-people__intro { max-width:740px; margin:0 auto; padding:0; text-align:center; }
.apex-people .apex-people__title { margin:0 0 20px; color:#3C3C3B; font-family:"Instrument Serif",Georgia,serif; font-size:64px; font-weight:400; line-height:1.1; letter-spacing:normal; }
.apex-people .apex-people__intro p { margin:0; font-size:18px; line-height:1.7; }
/* The spread shadow extends each background beyond Recruit Genie's container.
   The clip keeps that colour within the section vertically without changing
   layout width or creating horizontal scrolling.
   Continuous 60/40 sections, without card borders or gaps.
   Photos retain their proportions rather than being stretched or cropped. */
.apex-people .apex-people__profile { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,2fr); grid-template-areas:"content image"; align-items:start; gap:0; margin:0; padding:0; border:0; background:#F3F2E8; color:#3C3C3B; box-shadow:0 0 0 100vmax #F3F2E8; clip-path:inset(0 -100vmax); }
.apex-people .apex-people__profile--reverse { grid-template-columns:minmax(0,2fr) minmax(0,3fr); grid-template-areas:"image content"; }
.apex-people .apex-people__profile--espresso { background:#7A6F62; color:#FFFFFF; box-shadow:0 0 0 100vmax #7A6F62; }
.apex-people .apex-people__content { grid-area:content; min-width:0; padding:64px 40px; }
.apex-people .apex-people__text { width:100%; max-width:none; margin-left:auto; }
.apex-people .apex-people__profile--reverse .apex-people__text { margin-left:0; margin-right:auto; }
.apex-people .apex-people__heading { margin:0 0 28px; }
.apex-people .apex-people__name { margin:0 0 14px; color:inherit; font-family:"Instrument Serif",Georgia,serif; font-size:54px; font-weight:400; line-height:1.1; letter-spacing:normal; }
.apex-people .apex-people__role { margin:0 0 14px; color:inherit; font-size:18px; font-weight:600; line-height:1.5; }
.apex-people .apex-people__meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 16px; margin:0; color:inherit; font-size:14px; font-weight:400; line-height:1.6; }
.apex-people .apex-people__service { display:inline-block; padding:3px 10px; background:#FFE37B; color:#3C3C3B; font-size:13px; line-height:1.6; }
.apex-people .apex-people__story p { margin:0 0 20px; }
.apex-people .apex-people__story > :last-child { margin-bottom:0; }
.apex-people .apex-people__visual { grid-area:image; position:static; min-width:0; margin:0; padding:64px 0; }
.apex-people .apex-people__photo { display:block; width:100%; max-width:100%; height:auto; margin:0; border:0; border-radius:0; }
.apex-people .apex-people__quote { margin:28px 0; padding:0; border:0; background:transparent; color:inherit; font-family:"Instrument Serif",Georgia,serif; font-size:28px; font-weight:400; font-style:italic; line-height:1.4; }
.apex-people .apex-people__quote p { margin:0; }
/* Image first, then text, for all mobile and tablet sections. */
@media (max-width:991.98px) {
    .apex-people .apex-people__profile, .apex-people .apex-people__profile--reverse { grid-template-columns:minmax(0,1fr); grid-template-areas:"image" "content"; }
    .apex-people .apex-people__visual { padding:0; }
    .apex-people .apex-people__content { padding:40px 32px 48px; }
    .apex-people .apex-people__text, .apex-people .apex-people__profile--reverse .apex-people__text { max-width:680px; margin:0 auto; }
}
@media (max-width:575.98px) {
    .apex-people { font-size:16px; line-height:1.75; }
    .apex-people .apex-people__intro-wrap { padding:32px 24px 40px; }
    .apex-people .apex-people__title { font-size:48px; }
    .apex-people .apex-people__intro p { font-size:17px; }
    .apex-people .apex-people__content { padding:32px 24px 40px; }
    .apex-people .apex-people__name { font-size:44px; }
    .apex-people .apex-people__role { font-size:17px; }
    .apex-people .apex-people__meta { flex-direction:column; align-items:flex-start; }
    .apex-people .apex-people__quote { font-size:26px; }
}

/* On desktop, text sits flush with the outside container edge.
   Retain only the inner spacing next to each image. */
@media (min-width:992px) {
    .apex-people .apex-people__content {
        padding-left:0;
        padding-right:40px;
    }
    .apex-people .apex-people__profile--reverse .apex-people__content {
        padding-left:40px;
        padding-right:0;
    }
}

/* Remove the site footer's default 50px gap on Our People only. */
body.our-people #footer {
    margin-top: 0;
}


/* Apprenticeships: standalone page styles.
   Paste after the existing global CSS. All component rules are scoped.
   Uses the site's existing Instrument Serif and Roboto fonts.
   Native details/summary controls need no additional JavaScript. */
.apex-apprenticeships {
    --aa-ink: #3C3C3B;
    --aa-paper: #F3F2E8;
    --aa-yellow: #FFE37B;
    --aa-espresso: #7A6F62;
    width: 100%;
    color: var(--aa-ink);
    background: #FFFFFF;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.75;
}
.apex-apprenticeships,
.apex-apprenticeships * { box-sizing: border-box; }
.apex-apprenticeships .aa-section {
    padding: 56px 0;
    margin: 0;
    scroll-margin-top: 32px;
}
/* Paint colour to the screen edges without widening the content container.
   Clip vertically so each background stays within its own section. */
.apex-apprenticeships .aa-section--white {
    background: #FFFFFF;
}
.apex-apprenticeships .aa-section--offwhite {
    background: var(--aa-paper);
    box-shadow: 0 0 0 100vmax var(--aa-paper);
    clip-path: inset(0 -100vmax);
}
.apex-apprenticeships .aa-section--espresso {
    color: #FFFFFF;
    background: var(--aa-espresso);
    box-shadow: 0 0 0 100vmax var(--aa-espresso);
    clip-path: inset(0 -100vmax);
}
.apex-apprenticeships .aa-split {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    grid-template-areas: "copy media";
    align-items: start;
    gap: 48px;
}
.apex-apprenticeships .aa-split--reverse {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-areas: "media copy";
}
.apex-apprenticeships .aa-copy { grid-area: copy; min-width: 0; }
.apex-apprenticeships .aa-media { grid-area: media; min-width: 0; }
.apex-apprenticeships .aa-photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    border: 0;
    border-radius: 0;
}
.apex-apprenticeships .aa-eyebrow {
    margin: 0 0 14px;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.apex-apprenticeships .aa-title,
.apex-apprenticeships .aa-heading,
.apex-apprenticeships .aa-subheading {
    margin: 0 0 24px;
    color: inherit;
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: normal;
}
.apex-apprenticeships .aa-title { font-size: clamp(42px, 4.5vw, 60px); }
.apex-apprenticeships .aa-heading { font-size: 44px; }
.apex-apprenticeships .aa-subheading { font-size: 34px; }
.apex-apprenticeships p { margin: 0 0 20px; }
.apex-apprenticeships .aa-copy > :last-child { margin-bottom: 0; }
.apex-apprenticeships .aa-lead { font-size: 20px; line-height: 1.6; }
.apex-apprenticeships .aa-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.apex-apprenticeships .aa-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    max-width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--aa-ink);
    border-radius: 0;
    background: var(--aa-ink);
    color: var(--aa-yellow);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .15s ease, color .15s ease;
}
.apex-apprenticeships .aa-button--outline { color: var(--aa-ink); background: transparent; }
.apex-apprenticeships .aa-button:hover { background: #252524; color: #FFFFFF; text-decoration: none; }
.apex-apprenticeships .aa-button:focus,
.apex-apprenticeships .aa-button:active {
    color: #FFFFFF;
    background: #252524;
    outline: 2px solid rgba(37, 37, 36, .35);
    outline-offset: 3px;
    box-shadow: none;
    text-decoration: none;
}
.apex-apprenticeships .aa-benefits {
    margin: 28px 0 0;
    padding-left: 22px;
    list-style: disc;
}
.apex-apprenticeships .aa-benefits li { padding-left: 6px; margin-bottom: 14px; }
.apex-apprenticeships .aa-benefits li:last-child { margin-bottom: 0; }
.apex-apprenticeships .aa-section-intro { max-width: 780px; margin-bottom: 32px; }
.apex-apprenticeships .aa-section-intro > :last-child { margin-bottom: 0; }
.apex-apprenticeships .aa-pathways {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 28px;
}
.apex-apprenticeships .aa-pathway {
    min-width: 0;
    padding: 28px;
    border: 1px solid #DDD8CC;
    background: var(--aa-paper);
}
.apex-apprenticeships .aa-pathway .aa-eyebrow { font-size: 12px; }
.apex-apprenticeships .aa-pathway > p:last-of-type { margin-bottom: 24px; }
.apex-apprenticeships .aa-details { margin: 0; border-top: 1px solid #CCC5B7; }
.apex-apprenticeships .aa-details summary {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 16px 4px;
    color: var(--aa-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
}
.apex-apprenticeships .aa-details summary::-webkit-details-marker { display: none; }
.apex-apprenticeships .aa-details summary::marker { content: ""; }
.apex-apprenticeships .aa-details summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.apex-apprenticeships .aa-details summary:focus-visible {
    outline: 2px solid var(--aa-ink);
    outline-offset: 3px;
    background: var(--aa-yellow);
}
.apex-apprenticeships .aa-disclosure {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-right: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}
.apex-apprenticeships .aa-details[open] .aa-disclosure { transform: rotate(225deg); }
.apex-apprenticeships .aa-details-body { padding: 16px 0 0; }
.apex-apprenticeships .aa-details-body h4 {
    margin: 24px 0 12px;
    color: inherit;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.5;
}
.apex-apprenticeships .aa-details-body h4:first-child { margin-top: 0; }
.apex-apprenticeships .aa-details-body > :last-child { margin-bottom: 0; }
.apex-apprenticeships .aa-follow-on { max-width: 800px; margin: 28px 0 0; }
.apex-apprenticeships .aa-launch {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 48px;
    align-items: start;
}
.apex-apprenticeships .aa-launch .aa-eyebrow { color: var(--aa-yellow); }
.apex-apprenticeships .aa-launch .aa-copy { grid-area: auto; }
.apex-apprenticeships .aa-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
    margin: 28px 0;
    padding: 22px 0;
    border-top: 1px solid #CCC5B7;
    border-bottom: 1px solid #CCC5B7;
}
.apex-apprenticeships .aa-facts > div:last-child { grid-column: 1 / -1; }
.apex-apprenticeships .aa-facts dt { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.apex-apprenticeships .aa-facts dd { margin: 0; font-size: 17px; line-height: 1.5; }
/* Join the final colour band directly to the existing site footer. */
body.apprenticeships-new #footer { margin-top: 0; }
@media (max-width: 991.98px) {
    .apex-apprenticeships .aa-split,
    .apex-apprenticeships .aa-split--reverse {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "copy" "media";
        gap: 28px;
    }
    .apex-apprenticeships .aa-media { max-width: 480px; width: 100%; }
    .apex-apprenticeships .aa-intro .aa-media { max-width: 100%; }
    .apex-apprenticeships .aa-intro .aa-photo { aspect-ratio: 4 / 3; object-fit: cover; object-position: center 25%; }
    .apex-apprenticeships .aa-launch { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .apex-apprenticeships .aa-pathways { gap: 20px; }
    .apex-apprenticeships .aa-pathway { padding: 24px; }
}
@media (max-width: 767.98px) {
    .apex-apprenticeships .aa-pathways { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 575.98px) {
    .apex-apprenticeships { font-size: 16px; line-height: 1.7; }
    .apex-apprenticeships .aa-section { padding: 36px 0; }
    .apex-apprenticeships .aa-title { font-size: 42px; }
    .apex-apprenticeships .aa-heading { font-size: 36px; }
    .apex-apprenticeships .aa-subheading { font-size: 30px; }
    .apex-apprenticeships .aa-lead { font-size: 18px; }
    .apex-apprenticeships .aa-actions { flex-direction: column; align-items: stretch; }
    .apex-apprenticeships .aa-pathway { padding: 22px; }
    .apex-apprenticeships .aa-facts { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .apex-apprenticeships .aa-button { transition: none; }
}
