#careers-wrapper #main-content img {
    opacity: 0;
    transition: opacity .35s ease-out
}

#careers-wrapper #main-content img.oz-visible {
    opacity: 1
}

#careers-wrapper #main-content .oz-gradient-text,
#careers-wrapper #main-content #hero .oz-hero-subtitle {
    background: linear-gradient(90deg, #caebea, #1fb7b2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

#careers-wrapper #main-content .oz-eyebrow {
    color: #1fb7b2;
    font-weight: 400;
    font-size: 1.625rem;
    margin-bottom: .5rem
}

#careers-wrapper #main-content #hero {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: #1e3667;
    margin-bottom: -100px;
    padding-bottom: calc(5rem + 100px) !important
}

#careers-wrapper #main-content #hero .oz-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0
}

#careers-wrapper #main-content #hero .oz-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.5)
}

#careers-wrapper #main-content #hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: #1e366759;
    z-index: 1
}

#careers-wrapper #main-content #hero .container-responsive {
    position: relative;
    z-index: 2
}

#careers-wrapper #main-content #hero h1 {
    font-family: Albert Sans, sans-serif;
    font-style: normal;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.18;
    font-size: clamp(2.25rem, 4vw + 1rem, 4.0625rem);
    max-width: 59rem;
    margin: 0 0 1.5rem;
    background: none;
    -webkit-text-fill-color: currentColor;
    text-shadow: none
}

#careers-wrapper #main-content #hero .oz-hero-subtitle {
    font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw + 1rem, 2.625rem);
    line-height: 1.5;
    max-width: 50rem;
    margin-bottom: 2.5rem
}

#careers-wrapper #main-content #hero .btn {
    margin-top: 45px
}

@media(max-width:767px) {
    #careers-wrapper #main-content #hero {
        min-height: auto
    }
}

#careers-wrapper #main-content #section2 {
    background: linear-gradient(180deg, #081023, #102558);
    border-radius: 6.25rem 6.25rem 0 0;
    position: relative;
    z-index: 2;
    margin-bottom: -100px;
    padding-bottom: calc(5rem + 100px) !important
}

#careers-wrapper #main-content #section2 .oz-row {
    display: flex;
    gap: 2.5rem;
    align-items: center
}

#careers-wrapper #main-content #section2 .oz-col-text {
    flex: 0 1 58%;
    color: #fff
}

#careers-wrapper #main-content #section2 .oz-col-text h2 {
    font-family: Albert Sans, sans-serif;
    font-weight: 600;
    font-size: clamp(1.85rem, 3vw + 1rem, 3rem);
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem
}

#careers-wrapper #main-content #section2 .oz-col-text p {
    line-height: 1.4;
    margin-bottom: .75rem;
    color: #fff
}

#careers-wrapper #main-content #section2 .oz-col-img {
    flex: 0 1 38%;
    overflow: hidden;
    border-radius: 2.5rem
}

#careers-wrapper #main-content #section2 .oz-col-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
    border-radius: 2.5rem
}

@media(max-width:767px) {
    #careers-wrapper #main-content #section2 .oz-row {
        flex-direction: column
    }

    #careers-wrapper #main-content #section2 .oz-col-text,
    #careers-wrapper #main-content #section2 .oz-col-img {
        flex: 0 1 100%
    }

    #careers-wrapper #main-content #section2 .oz-col-img {
        width: 100%
    }

    #careers-wrapper #main-content #section2 .oz-col-img img {
        aspect-ratio: 4 / 3
    }
}

#careers-wrapper #main-content #section3 {
    background: linear-gradient(180deg, #081023, #102558);
    border-top: 1px solid #1FB7B2;
    border-radius: 6.25rem 6.25rem 0 0;
    padding: 4rem 6.25rem;
    position: relative;
    z-index: 3
}

#careers-wrapper #main-content #section3 .container-responsive {
    max-width: 90rem
}

#careers-wrapper #main-content #section3 .container-responsive .oz-eyebrow {
    color: #1fb7b2;
    font-family: Albert Sans;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%
}

#careers-wrapper #main-content #section3 h2 {
    font-family: Albert Sans, sans-serif;
    font-weight: 600;
    font-size: clamp(1.85rem, 3vw + 1rem, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #fff
}

#careers-wrapper #main-content #section3 .oz-intro {
    color: #fff;
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 2.5rem
}

#careers-wrapper #main-content #section3 .oz-career-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-bottom: 2.5rem
}

#careers-wrapper #main-content #section3 .oz-career-card {
    flex: 0 1 30%;
    border-top: 4px solid #0A8884;
    padding-top: 1.5rem;
    color: #fff
}

#careers-wrapper #main-content #section3 .oz-career-icon img {
    max-width: 3.875rem;
    margin-bottom: 1.375rem
}

#careers-wrapper #main-content #section3 .oz-career-card h3 {
    font-family: Albert Sans, sans-serif;
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.1;
    color: #fff
}

#careers-wrapper #main-content #section3 .oz-outro {
    color: #fff;
    font-size: 1.125rem;
    line-height: 1.4;
    max-width: 60rem;
    margin-bottom: 2rem
}

@media(max-width:767px) {
    #careers-wrapper #main-content #section3 .container-responsive {
        padding: 4rem 2rem;
        border-radius: 3rem 3rem 0 0
    }

    #careers-wrapper #main-content #section3 .oz-career-card {
        flex: 0 1 45%
    }
}

@media(max-width:576px) {
    #careers-wrapper #main-content #section3 .oz-career-card {
        flex: 0 1 100%
    }
}

#careers-wrapper #main-content #section4 {
    background: linear-gradient(180deg, #102558, #002e3f)
}

#careers-wrapper #main-content #section4 .container-responsive {
    max-width: 90rem
}

#careers-wrapper #main-content #section4 .oz-diversity-card {
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 0 .8125rem .375rem #0000002b;
    padding: 5rem 6.25rem;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    gap: 5rem
}

#careers-wrapper #main-content #section4 .oz-diversity-img {
    flex: 0 1 30%
}

#careers-wrapper #main-content #section4 .oz-diversity-img img {
    border-radius: 2rem
}

#careers-wrapper #main-content #section4 .oz-diversity-content {
    flex: 0 1 65%
}

#careers-wrapper #main-content #section4 .oz-diversity-content .oz-eyebrow {
    color: #1fb7b2;
    font-family: Albert Sans, sans-serif;
    font-weight: 400;
    font-size: 1.625rem;
    line-height: 1.1;
    margin-bottom: .75rem
}

#careers-wrapper #main-content #section4 .oz-diversity-content h2 {
    font-family: Albert Sans, sans-serif;
    font-weight: 600;
    font-size: clamp(1.85rem, 3vw + 1rem, 3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    /* solid navy: cancel the global #page h2 gradient text fill */
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #1e3667;
    text-shadow: none
}

#careers-wrapper #main-content #section4 .oz-diversity-content p {
    color: #002e3f;
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: .75rem
}

@media(max-width:767px) {
    #careers-wrapper #main-content #section4 .oz-diversity-card {
        flex-direction: column;
        padding: 3rem 2rem
    }

    #careers-wrapper #main-content #section4 .oz-diversity-img,
    #careers-wrapper #main-content #section4 .oz-diversity-content {
        flex: 0 1 100%
    }
}
/* =====================================================================
   QA: Careers layout matched to Figma "_14 Who We Are_Careers" (node 2236:31)
   Desktop artboard 1440px: 1180px content column, 120px between sections,
   60px radius on "Why Work", 100px radius on "Explore Careers",
   diversity card (1286px) bridging the last two sections.
   ===================================================================== */

#careers-wrapper #main-content #hero .container-responsive,
#careers-wrapper #main-content #section2 .container-responsive,
#careers-wrapper #main-content #section3 .container-responsive {
    max-width: 73.75rem
}

#careers-wrapper #main-content #section4 .container-responsive {
    max-width: 80.375rem
}

/* ---------- Hero: 625px band, next section overlaps 55px, copy centred in the visible area ---------- */
#careers-wrapper #main-content #hero {
    min-height: 39.0625rem;
    margin-bottom: -3.4375rem;
    padding-top: 5rem !important;
    padding-bottom: calc(5rem + 3.4375rem) !important
}

#careers-wrapper #main-content #hero h1 {
    font-size: clamp(2.25rem, 4vw + 1rem, 4.0625rem);
    line-height: 1.18;
    margin: 0
}

#careers-wrapper #main-content #hero .oz-hero-subtitle {
    font-weight: 400;
    font-size: clamp(1.5rem, 2.5vw + 1rem, 2.625rem);
    line-height: 1.5;
    text-transform: uppercase;
    margin: 0;
    background: linear-gradient(90deg, #a8e1df, #4cc5c1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent
}

/* .btn has no display value site-wide (inline <a>), so its padding overlapped the subtitle
   and margin-top was ignored - make it a block-level pill under the subtitle */
#page #careers-wrapper #main-content #hero .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2.6875rem;
    padding: 1.5rem 4rem;
    line-height: 1.5rem
}

/* Background treatment per Figma: no darkening filter, 58% navy layer in saturation blend */
#careers-wrapper #main-content #hero .oz-bg-image {
    filter: none
}

#careers-wrapper #main-content #hero:before {
    background: rgba(30, 54, 103, .58);
    mix-blend-mode: saturation
}

/* ---------- Section 2: Why Work at Wellcove ---------- */
#careers-wrapper #main-content #section2 {
    border-radius: 3.75rem 3.75rem 0 0;
    padding-top: 7.1875rem !important;
    padding-bottom: calc(7.5rem + 100px) !important
}

#careers-wrapper #main-content #section2 .oz-row {
    justify-content: space-between;
    align-items: center;
    gap: 5.3125rem
}

#careers-wrapper #main-content #section2 .oz-col-text {
    flex: 0 1 41.9375rem
}

#page #careers-wrapper #main-content #section2 .oz-col-text h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5625rem;
    text-shadow: 0 4px 2px rgba(0, 0, 0, .25)
}

#careers-wrapper #main-content #section2 .oz-col-text p {
    font-size: 1.125rem;
    line-height: 1.4;
    margin: 0 0 .625rem
}

#careers-wrapper #main-content #section2 .oz-col-text p:last-child {
    margin-bottom: 0
}

#careers-wrapper #main-content #section2 .oz-col-img {
    flex: 0 0 26.5rem;
    border-radius: 2.5rem
}

#careers-wrapper #main-content #section2 .oz-col-img img {
    width: 100%;
    aspect-ratio: 424 / 449;
    object-fit: cover;
    border-radius: 2.5rem
}

/* ---------- Section 3: Explore Careers ---------- */
#careers-wrapper #main-content #section3 {
    border-radius: 6.25rem 6.25rem 0 0;
    padding-top: 7rem;
    padding-bottom: 7.5rem
}

#careers-wrapper #main-content #section3 .container-responsive .oz-eyebrow {
    font-size: 1.625rem;
    line-height: 1.1;
    margin: 0 0 2rem
}

#page #careers-wrapper #main-content #section3 h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin: 0 0 2rem;
    text-shadow: 0 4px 2px rgba(0, 0, 0, .25)
}

#careers-wrapper #main-content #section3 .oz-intro {
    font-size: 1.125rem;
    line-height: 1.4;
    margin: 0 0 4.5rem
}

#careers-wrapper #main-content #section3 .oz-career-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 5rem;
    row-gap: 2.5rem;
    margin-bottom: 2.5rem
}

#careers-wrapper #main-content #section3 .oz-career-card {
    padding: 1.5rem 0
}

#careers-wrapper #main-content #section3 .oz-career-icon img {
    display: block;
    width: auto;
    height: 3.875rem;
    max-width: none;
    margin-bottom: 1.375rem
}

#page #careers-wrapper #main-content #section3 .oz-career-card h3 {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.1;
    color: #fff
}

#careers-wrapper #main-content #section3 .oz-outro {
    font-size: 1.125rem;
    line-height: 1.4;
    max-width: 61.125rem;
    margin: 0 0 3rem
}

#careers-wrapper #main-content #section3 .btn {
    min-width: 14.5rem;
    text-align: center
}

/* ---------- Section 4: Diversity & Inclusion card ---------- */
#careers-wrapper #main-content #section4 {
    position: relative;
    z-index: 4;
    padding-bottom: 7.5rem
}

#careers-wrapper #main-content #section4 .oz-diversity-card {
    justify-content: center;
    gap: 5rem;
    padding: 5rem 6.25rem;
    border-radius: 2rem;
    box-shadow: 0 0 .79375rem .375rem rgba(0, 0, 0, .17)
}

#careers-wrapper #main-content #section4 .oz-diversity-img {
    flex: 0 0 19.6875rem
}

#careers-wrapper #main-content #section4 .oz-diversity-img img {
    display: block;
    width: 100%;
    aspect-ratio: 315 / 353;
    object-fit: cover;
    border-radius: 2rem
}

#careers-wrapper #main-content #section4 .oz-diversity-content {
    flex: 0 1 47.5625rem
}

#careers-wrapper #main-content #section4 .oz-diversity-content .oz-eyebrow {
    font-size: 1.625rem;
    line-height: 1.1;
    margin: 0 0 .625rem
}

#page #careers-wrapper #main-content #section4 .oz-diversity-content h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin: 0 0 .625rem;
    color: #002e3f;
    -webkit-text-fill-color: #002e3f
}

#careers-wrapper #main-content #section4 .oz-diversity-content p {
    font-size: 1.125rem;
    line-height: 1.4;
    margin: 0 0 .625rem
}

#careers-wrapper #main-content #section4 .oz-diversity-content p:last-child {
    margin-bottom: 0
}

/* Desktop: card straddles the end of the Explore Careers panel, as in Figma */
@media(min-width:992px) {
    #careers-wrapper #main-content #section3 {
        padding-bottom: calc(7.5rem + 15.5rem)
    }

    #careers-wrapper #main-content #section4 {
        background: transparent;
        padding-top: 0;
        margin-top: -15.5rem
    }

    #careers-wrapper #main-content {
        background: linear-gradient(180deg, #1e3667, #002e3f)
    }
}

/* ---------- Tablet / mobile ---------- */
@media(max-width:991px) {
    #careers-wrapper #main-content #section2 .oz-row {
        gap: 2.5rem
    }

    #careers-wrapper #main-content #section2 .oz-col-img {
        flex: 0 0 22rem
    }

    #careers-wrapper #main-content #section3 {
        padding-top: 5rem;
        padding-bottom: 5rem
    }

    #careers-wrapper #main-content #section3 .oz-career-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 2.5rem
    }

    #careers-wrapper #main-content #section4 .oz-diversity-card {
        gap: 2.5rem;
        padding: 3rem
    }

    #page #careers-wrapper #main-content #section2 .oz-col-text h2,
    #page #careers-wrapper #main-content #section3 h2,
    #page #careers-wrapper #main-content #section4 .oz-diversity-content h2 {
        font-size: 2.5rem
    }

    #page #careers-wrapper #main-content #section3 .oz-career-card h3 {
        font-size: 1.625rem
    }
}

@media(max-width:767px) {
    #careers-wrapper #main-content #hero {
        min-height: auto;
        padding-top: 3rem !important;
        padding-bottom: calc(3rem + 3.4375rem) !important
    }

    #careers-wrapper #main-content #section2 {
        border-radius: 2.5rem 2.5rem 0 0;
        padding-top: 4rem !important;
        padding-bottom: calc(4rem + 100px) !important
    }

    #careers-wrapper #main-content #section2 .oz-col-img {
        flex: 0 1 100%
    }

    #careers-wrapper #main-content #section3 {
        border-radius: 3rem 3rem 0 0;
        padding-top: 3.5rem;
        padding-bottom: 3.5rem
    }

    #careers-wrapper #main-content #section3 .oz-intro {
        margin-bottom: 2.5rem
    }

    #careers-wrapper #main-content #section4 {
        padding-bottom: 4rem
    }

    #careers-wrapper #main-content #section4 .oz-diversity-card {
        padding: 2.5rem 1.5rem
    }

    #careers-wrapper #main-content #section4 .oz-diversity-img {
        flex: 0 1 auto;
        width: 100%;
        max-width: 19.6875rem
    }
}

@media(max-width:576px) {
    #page #careers-wrapper #main-content #hero .btn {
        padding: 1.125rem 2rem
    }

    #careers-wrapper #main-content #section3 .oz-career-grid {
        grid-template-columns: 1fr
    }

    #page #careers-wrapper #main-content #section2 .oz-col-text h2,
    #page #careers-wrapper #main-content #section3 h2,
    #page #careers-wrapper #main-content #section4 .oz-diversity-content h2 {
        font-size: 2rem
    }
}
