/* ===== Career Hero Section ===== */
.career_hero_section {
    position: relative;
    padding: 22px 0 50px;
}

/* Match Figma 1820px wrap inset on a 1920 canvas. */
.career_hero_section .container {
    max-width: 1920px;
    padding: 0 50px;
    box-sizing: border-box;
}



.career-hero-wrap {
    position: relative;
    width: 100%;
    max-width: 1820px;
    margin: 0 auto;
    min-height: 535px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.career-hero-bg {
    position: relative;
    margin-inline: auto;
    margin-top: -137px;
    border-radius: 50px;
    padding-top: 22.4%;
    max-width: 86.85%;
}

.career-hero-bg-image {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.career-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 118px 78px 20px;
    text-align: center;
}

.career_hero_section:not(:has(+ .career_hero_image-wrap)) .career-hero-inner {
    padding: 50px 0;
}

.career-hero-title {
    font-family: var(--font-gold-Stamp);
    line-height: 1.07;
    margin-bottom: 0px;
}

.career-hero-title span {
    color: var(--color-secondary);
}


/* ===== Career Hero Section — Responsive ===== */

@media (max-width: 1800px) {
    .career-hero-wrap {
        min-height: 445px;
    }
}




/* Large desktop / wide screens */
@media (max-width: 1600px) {
    .career-hero-wrap {
        min-height: 400px;
        border-radius: 40px;
    }

    .career-hero-inner {

        padding: 0 78px 20px;
    }

    .career-hero-bg {
        border-radius: 40px;
        margin-top: -160px;
    }
}

/* Standard desktop / laptop */
@media (max-width: 1280px) {
    .career-hero-wrap {
        min-height: 380px;
    }

    .career_hero_section .container {
        padding: 0 30px;
    }

    .career-hero-wrap {
        border-radius: 32px;
    }

    .career-hero-bg {
        margin-top: -160px;
    }
}

@media (max-width: 1200px) {
    .career-hero-wrap {
        min-height: 350px;
    }

    .career-hero-bg {
        margin-top: -140px;
        max-width: 90%;
    }
}

/* Tablet landscape */
@media (max-width: 1024px) {
    .career_hero_section {
        padding: 16px 0 40px;
    }

    .career_hero_section .container {
        padding: 0 24px;
    }

    .career-hero-inner {
        padding: 0px 24px 48px;
    }

    .career-hero-bg {
        margin-top: -150px;
        padding-top: 27%;
    }

}

/* Tablet portrait */
@media (max-width: 768px) {
    .career-hero-wrap {
        min-height: 300px;
    }

    .career_hero_section {
        padding: 12px 0 32px;
    }

    .career_hero_section .container {
        padding: 0 16px;
    }

    .career-hero-inner {
        padding: 32px 20px 36px;
    }

    .career-hero-bg {
        margin-top: -130px;
        border-radius: 30px;
        min-height: 200px;
    }
}

/* Mobile landscape / large phones */
@media (max-width: 576px) {
    .career_hero_section {
        padding: 10px 0 24px;
    }

    .career_hero_section .container {
        padding: 0 12px;
    }

    .career-hero-bg {
        border-radius: 25px;
        margin-top: -90px;
    }

    .career-hero-wrap {
        border-radius: 25px;
    }

    .career-hero-title br {
        display: none;
    }
}

/* Mobile portrait */
@media (max-width: 400px) {
    .career_hero_section .container {
        padding: 0 10px;
    }



    .career-hero-inner {
        padding: 20px 14px 24px;
    }

    .career-hero-bg {
        margin-top: -100px;
    }
}