/* =========================================================
   DAPPS PLATFORM
   CAREERS + JOB DESCRIPTION
   FINAL RESPONSIVE CSS

   DESKTOP:
   Existing desktop layout preserved.

   MOBILE:
   JOB DESCRIPTION PAGE = TRUE SINGLE COLUMN
   NO HORIZONTAL OVERFLOW
========================================================= */


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

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

table {
    max-width: 100%;
}


/* =========================================================
   VARIABLES
========================================================= */

:root {
    --careers-navy: #031431;
    --careers-deep: #061a35;
    --careers-blue: #087fdf;

    --careers-white: #ffffff;

    --careers-text: #102033;
    --careers-muted: #68788a;

    --careers-line: rgba(16, 32, 51, 0.12);

    --careers-light: #f5f8fb;

    --careers-container: 1180px;
}


/* =========================================================
   SHARED CONTAINER
========================================================= */

.careers-page .container,
.job-page .container {
    width: min(
        calc(100% - 48px),
        var(--careers-container)
    );

    margin-left: auto;
    margin-right: auto;
}


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

.careers-hero {
    min-height: 690px;

    position: relative;

    display: flex;
    align-items: center;

    background:
        url("../assets/careers-hero.jpg")
        center center /
        cover
        no-repeat;

    color: #ffffff;
}

.careers-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 20, 49, 0.94) 0%,
            rgba(3, 20, 49, 0.78) 42%,
            rgba(3, 20, 49, 0.30) 100%
        );
}

.careers-hero-inner {
    position: relative;
    z-index: 2;

    padding-top: 90px;
    padding-bottom: 80px;
}

.careers-eyebrow,
.careers-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.careers-eyebrow {
    margin-bottom: 25px;

    color: rgba(255, 255, 255, 0.75);
}

.careers-hero h1 {
    max-width: 800px;

    margin: 0 0 25px;

    font-size: clamp(48px, 6vw, 82px);
    line-height: 1.02;

    font-weight: 500;

    letter-spacing: -0.045em;
}

.careers-hero p {
    max-width: 690px;

    margin: 0 0 28px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 20px;
    line-height: 1.7;
}

.careers-hero-meta {
    display: flex;
    flex-wrap: wrap;

    gap: 12px 28px;

    margin-bottom: 38px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;
}

.careers-hero-meta span + span::before {
    content: "•";

    margin-right: 12px;

    color: rgba(255, 255, 255, 0.45);
}

.careers-primary-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 52px;

    padding: 0 25px;

    background: #ffffff;
    color: var(--careers-navy);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.1em;

    text-transform: uppercase;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

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

    background: #edf3f8;
}


/* =========================================================
   INTRO
========================================================= */

.careers-intro {
    padding: 120px 0;

    background: #ffffff;
}

.careers-two-column {
    display: grid;

    grid-template-columns:
        minmax(0, 0.85fr)
        minmax(0, 1.35fr);

    gap: 100px;
}

.careers-label {
    margin-bottom: 22px;

    color: var(--careers-blue);
}

.careers-intro h2,
.careers-section-heading h2,
.careers-executive-heading h2,
.careers-benefits-heading h2,
.careers-work h2 {
    margin: 0;

    color: var(--careers-text);

    font-size: clamp(36px, 4.5vw, 60px);

    line-height: 1.05;

    font-weight: 500;

    letter-spacing: -0.04em;
}

.careers-intro-copy {
    max-width: 720px;

    color: var(--careers-muted);

    font-size: 17px;

    line-height: 1.85;
}

.careers-intro-copy p {
    margin: 0;
}

.careers-intro-copy p + p {
    margin-top: 24px;
}


/* =========================================================
   FOUNDATION
========================================================= */

.careers-foundation {
    padding: 115px 0 125px;

    background: var(--careers-light);

    border-top: 1px solid var(--careers-line);
    border-bottom: 1px solid var(--careers-line);
}

.careers-section-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 55px;
}

.careers-section-heading p {
    max-width: 420px;

    margin: 0;

    color: var(--careers-muted);

    font-size: 15px;

    line-height: 1.75;
}

.foundation-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    border-top: 1px solid var(--careers-line);
    border-left: 1px solid var(--careers-line);
}

.foundation-card {
    min-height: 275px;

    padding: 32px;

    background: #ffffff;

    border-right: 1px solid var(--careers-line);
    border-bottom: 1px solid var(--careers-line);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.foundation-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(3, 20, 49, 0.06);
}

.foundation-number {
    display: block;

    margin-bottom: 65px;

    color: #8c9bab;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.15em;
}

.foundation-card h3 {
    margin: 0 0 13px;

    color: var(--careers-text);

    font-size: 23px;

    font-weight: 500;
}

.foundation-card p {
    margin: 0;

    color: var(--careers-muted);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   OPEN POSITIONS
========================================================= */

.careers-positions {
    padding: 120px 0 130px;

    background: #ffffff;
}

.career-job-list {
    border-top: 1px solid var(--careers-line);
}

.career-job-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 55px;

    padding: 42px 0;

    border-bottom: 1px solid var(--careers-line);

    transition:
        background 0.25s ease,
        padding 0.25s ease;
}

.career-job-card:hover {
    padding-left: 18px;
    padding-right: 18px;

    background: #f8fafc;
}

.career-job-category {
    margin-bottom: 12px;

    color: var(--careers-blue);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.career-job-main h3 {
    margin: 0 0 15px;

    color: var(--careers-text);

    font-size: clamp(25px, 3vw, 35px);

    line-height: 1.2;

    font-weight: 500;

    letter-spacing: -0.025em;
}

.career-job-main > p {
    max-width: 820px;

    margin: 0 0 19px;

    color: var(--careers-muted);

    font-size: 15px;

    line-height: 1.75;
}

.career-job-meta {
    display: flex;

    flex-wrap: wrap;

    gap: 8px 22px;

    margin-bottom: 18px;

    color: #738293;

    font-size: 12px;
}

.career-job-highlights {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.career-job-highlights span {
    padding: 7px 10px;

    background: #f2f6fa;

    color: #526476;

    font-size: 11px;

    font-weight: 600;
}

.career-job-action {
    align-self: center;
}

.careers-outline-btn {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    min-height: 46px;

    padding: 0 19px;

    border: 1px solid #b8c5d2;

    color: var(--careers-text);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.1em;

    text-decoration: none;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}

.careers-outline-btn:hover {
    background: var(--careers-navy);

    border-color: var(--careers-navy);

    color: #ffffff;
}


/* =========================================================
   EXECUTIVE
========================================================= */

.careers-executive {
    padding: 125px 0;

    background: var(--careers-navy);

    color: #ffffff;
}

.careers-executive-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.4fr);

    gap: 95px;
}

.careers-executive .careers-label {
    color: #77b8ee;
}

.careers-executive-heading h2 {
    color: #ffffff;
}

.careers-executive-heading p {
    max-width: 410px;

    margin: 25px 0 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 15px;

    line-height: 1.8;
}

.executive-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    border-top: 1px solid rgba(255, 255, 255, 0.13);

    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.executive-card {
    min-height: 245px;

    padding: 31px;

    border-right: 1px solid rgba(255, 255, 255, 0.13);

    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.executive-card h3 {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: 19px;

    font-weight: 500;
}

.executive-card p {
    margin: 0;

    color: rgba(255, 255, 255, 0.60);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   BENEFITS
========================================================= */

.careers-benefits {
    padding: 125px 0;

    background: #ffffff;
}

.careers-benefits-heading {
    max-width: 720px;

    margin-bottom: 62px;
}

.careers-benefits-heading p {
    max-width: 670px;

    margin: 24px 0 0;

    color: var(--careers-muted);

    font-size: 17px;

    line-height: 1.8;
}

.benefits-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 1px;

    background: var(--careers-line);

    border: 1px solid var(--careers-line);
}

.benefit-card {
    min-height: 230px;

    padding: 32px;

    background: #ffffff;
}

.benefit-card h3 {
    margin: 0 0 15px;

    color: var(--careers-text);

    font-size: 19px;

    font-weight: 500;
}

.benefit-card p {
    margin: 0;

    color: var(--careers-muted);

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   FLEXIBLE WORK
========================================================= */

.careers-work {
    padding: 120px 0;

    background: var(--careers-light);

    border-top: 1px solid var(--careers-line);
}

.careers-work-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.9fr)
        minmax(0, 1.2fr);

    gap: 100px;
}

.careers-work-copy > p {
    margin: 0 0 24px;

    color: var(--careers-muted);

    font-size: 17px;

    line-height: 1.8;
}

.work-options {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px;

    margin-top: 35px;
}

.work-options div {
    padding: 20px;

    background: #ffffff;

    border: 1px solid var(--careers-line);

    color: var(--careers-text);

    font-size: 13px;

    font-weight: 600;
}


/* =========================================================
   FINAL CTA
========================================================= */

.careers-final {
    min-height: 600px;

    position: relative;

    display: flex;

    align-items: center;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(3, 20, 49, 0.94),
            rgba(3, 20, 49, 0.65)
        ),
        url("../assets/careers-hero.jpg")
        center center /
        cover
        no-repeat;
}

.careers-final-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(3, 20, 49, 0.45),
            transparent
        );
}

.careers-final-inner {
    position: relative;

    z-index: 2;
}

.careers-final .careers-label {
    color: rgba(255, 255, 255, 0.68);
}

.careers-final h2 {
    max-width: 850px;

    margin: 0 0 25px;

    color: #ffffff;

    font-size: clamp(42px, 5vw, 70px);

    line-height: 1.03;

    font-weight: 500;

    letter-spacing: -0.045em;
}

.careers-final p {
    max-width: 700px;

    margin: 0 0 35px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 18px;

    line-height: 1.8;
}


/* =========================================================
   JOB DESCRIPTION
========================================================= */

.job-hero {
    width: 100%;
}

.job-hero .container {
    position: relative;

    min-width: 0;
}

.job-hero h1 {
    max-width: 900px;

    overflow-wrap: anywhere;
}

.job-hero p {
    max-width: 780px;

    overflow-wrap: anywhere;
}


/* =========================================================
   JOB DETAIL ROWS
========================================================= */

.job-details,
.employment-details {
    width: 100%;

    min-width: 0;
}

.job-detail-row,
.employment-detail-row {
    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr);

    gap: 30px;

    padding: 22px 0;

    border-bottom: 1px solid #dfe4ea;

    min-width: 0;
}

.job-detail-row strong,
.employment-detail-row strong {
    font-weight: 600;
}

.job-detail-row span,
.employment-detail-row span {
    min-width: 0;

    overflow-wrap: anywhere;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .careers-two-column,
    .careers-executive-grid,
    .careers-work-grid {
        grid-template-columns: 1fr;

        gap: 55px;
    }

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

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

    .careers-section-heading {
        align-items: flex-start;
    }
}


/* =========================================================
   MOBILE
   CAREERS PAGE
========================================================= */

@media (max-width: 720px) {

    html,
    body {
        width: 100%;

        max-width: 100%;

        overflow-x: hidden;
    }

    .careers-page .container,
    .job-page .container,
    .container {
        width: calc(100% - 44px);

        max-width: none;

        margin-left: auto;
        margin-right: auto;

        min-width: 0;
    }


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

    .careers-hero {
        min-height: 620px;

        align-items: flex-end;

        background-position: 60% center;
    }

    .careers-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(3, 20, 49, 0.48) 0%,
                rgba(3, 20, 49, 0.88) 60%,
                rgba(3, 20, 49, 0.97) 100%
            );
    }

    .careers-hero-inner {
        width: 100%;

        padding-top: 110px;
        padding-bottom: 65px;

        min-width: 0;
    }

    .careers-eyebrow {
        margin-bottom: 18px;

        font-size: 10px;

        letter-spacing: 0.15em;
    }

    .careers-hero h1 {
        max-width: 100%;

        margin-bottom: 20px;

        font-size: 47px;

        line-height: 1.03;

        letter-spacing: -0.04em;

        overflow-wrap: anywhere;
    }

    .careers-hero p {
        max-width: 100%;

        margin-bottom: 24px;

        font-size: 16px;

        line-height: 1.7;
    }

    .careers-hero-meta {
        gap: 8px 16px;

        margin-bottom: 30px;

        font-size: 12px;
    }

    .careers-hero-meta span + span::before {
        margin-right: 8px;
    }

    .careers-primary-btn {
        width: 100%;

        min-height: 50px;
    }


    /* =====================================================
       CAREERS INTRO
    ===================================================== */

    .careers-intro {
        padding: 76px 0;
    }

    .careers-two-column {
        display: block;
    }

    .careers-two-column > * + * {
        margin-top: 35px;
    }

    .careers-label {
        margin-bottom: 15px;

        font-size: 10px;

        letter-spacing: 0.15em;
    }

    .careers-intro h2,
    .careers-section-heading h2,
    .careers-executive-heading h2,
    .careers-benefits-heading h2,
    .careers-work h2 {
        font-size: 36px;

        line-height: 1.08;

        letter-spacing: -0.035em;

        overflow-wrap: anywhere;
    }

    .careers-intro-copy {
        max-width: none;

        font-size: 15.5px;

        line-height: 1.8;
    }

    .careers-intro-copy p + p {
        margin-top: 20px;
    }


    /* =====================================================
       FOUNDATION
    ===================================================== */

    .careers-foundation {
        padding: 76px 0 80px;
    }

    .careers-section-heading {
        display: block;

        margin-bottom: 38px;
    }

    .careers-section-heading p {
        max-width: none;

        margin-top: 18px;

        font-size: 14px;

        line-height: 1.75;
    }

    .foundation-grid {
        grid-template-columns: 1fr;

        border-left: 0;
    }

    .foundation-card {
        min-height: 0;

        padding: 27px 24px;

        border-left: 1px solid var(--careers-line);
    }

    .foundation-number {
        margin-bottom: 35px;
    }

    .foundation-card h3 {
        font-size: 21px;
    }

    .foundation-card p {
        font-size: 14px;
    }


    /* =====================================================
       OPEN POSITIONS
    ===================================================== */

    .careers-positions {
        padding: 78px 0 85px;
    }

    .career-job-card {
        display: block;

        padding: 30px 0;
    }

    .career-job-card:hover {
        padding-left: 0;
        padding-right: 0;
    }

    .career-job-category {
        margin-bottom: 10px;

        font-size: 9px;
    }

    .career-job-main h3 {
        margin-bottom: 13px;

        font-size: 26px;

        line-height: 1.18;
    }

    .career-job-main > p {
        margin-bottom: 17px;

        font-size: 14px;

        line-height: 1.75;
    }

    .career-job-meta {
        gap: 7px 15px;

        margin-bottom: 17px;

        font-size: 11px;
    }

    .career-job-highlights {
        gap: 6px;
    }

    .career-job-highlights span {
        padding: 6px 8px;

        font-size: 10px;
    }

    .career-job-action {
        margin-top: 24px;

        align-self: auto;
    }

    .careers-outline-btn {
        width: 100%;

        justify-content: center;

        min-height: 48px;
    }


    /* =====================================================
       EXECUTIVE
    ===================================================== */

    .careers-executive {
        padding: 80px 0;
    }

    .careers-executive-grid {
        display: block;
    }

    .careers-executive-grid > * + * {
        margin-top: 38px;
    }

    .careers-executive-heading p {
        max-width: none;

        margin-top: 18px;

        font-size: 14px;
    }

    .executive-grid {
        grid-template-columns: 1fr;

        border-left: 0;
    }

    .executive-card {
        min-height: 0;

        padding: 27px 24px;

        border-left: 1px solid rgba(255, 255, 255, 0.13);
    }

    .executive-card h3 {
        font-size: 18px;
    }

    .executive-card p {
        font-size: 14px;
    }


    /* =====================================================
       BENEFITS
    ===================================================== */

    .careers-benefits {
        padding: 80px 0;
    }

    .careers-benefits-heading {
        margin-bottom: 38px;
    }

    .careers-benefits-heading p {
        margin-top: 18px;

        font-size: 15px;

        line-height: 1.75;
    }

    .benefits-grid {
        grid-template-columns: 1fr;

        gap: 1px;
    }

    .benefit-card {
        min-height: 0;

        padding: 27px 24px;
    }

    .benefit-card h3 {
        font-size: 18px;
    }

    .benefit-card p {
        font-size: 14px;
    }


    /* =====================================================
       WORK
    ===================================================== */

    .careers-work {
        padding: 78px 0;
    }

    .careers-work-grid {
        display: block;
    }

    .careers-work-grid > * + * {
        margin-top: 38px;
    }

    .careers-work-copy > p {
        font-size: 15px;

        line-height: 1.8;
    }

    .work-options {
        grid-template-columns: 1fr;

        margin-top: 28px;
    }

    .work-options div {
        padding: 17px;

        font-size: 12px;
    }


    /* =====================================================
       FINAL CTA
    ===================================================== */

    .careers-final {
        min-height: 550px;

        align-items: flex-end;

        background-position: 60% center;
    }

    .careers-final-inner {
        width: 100%;

        padding: 75px 0;
    }

    .careers-final h2 {
        max-width: none;

        margin-bottom: 18px;

        font-size: 40px;

        line-height: 1.06;
    }

    .careers-final p {
        max-width: none;

        margin-bottom: 28px;

        font-size: 16px;

        line-height: 1.75;
    }


    /* =====================================================
       =====================================================
       JOB DESCRIPTION DETAIL PAGE
       MOBILE ONLY
       =====================================================
       ===================================================== */

    /*
       THIS IS THE IMPORTANT PART.

       The job detail HTML uses inline styles such as:

       display:grid;
       grid-template-columns:1fr 2fr;

       display:grid;
       grid-template-columns:repeat(2,1fr);

       display:grid;
       grid-template-columns:repeat(3,1fr);

       display:grid;
       grid-template-columns:220px 1fr;

       Those inline styles are forcibly converted below.
    */


    /* -----------------------------------------------------
       JOB PAGE GLOBAL WIDTH CONTROL
    ----------------------------------------------------- */

    .job-page,
    .job-page main,
    .job-page section {
        width: 100%;
        max-width: 100%;
        min-width: 0;

        overflow-x: hidden;
    }

    .job-page *,
    .job-page *::before,
    .job-page *::after {
        min-width: 0;

        max-width: 100%;
    }

    .job-page
    main > section:not(.job-hero) > .container {
        width: calc(100% - 44px) !important;

        max-width: none !important;

        margin-left: auto !important;
        margin-right: auto !important;
    }


    /* -----------------------------------------------------
       JOB HERO
    ----------------------------------------------------- */

    .job-hero {
        width: 100% !important;

        padding: 72px 0 58px !important;

        overflow: hidden !important;
    }

    .job-hero .container {
        width: calc(100% - 44px) !important;

        max-width: none !important;

        margin-left: auto !important;
        margin-right: auto !important;

        padding: 0 !important;
    }

    .job-hero a {
        display: inline-flex !important;

        max-width: 100% !important;

        margin-bottom: 28px !important;

        font-size: 13px !important;

        overflow-wrap: anywhere;
    }

    .job-hero h1 {
        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        margin: 0 0 18px !important;

        padding: 0 !important;

        font-size: 43px !important;

        line-height: 1.06 !important;

        letter-spacing: -0.035em !important;

        overflow-wrap: anywhere !important;

        word-break: normal !important;
    }

    .job-hero p {
        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        margin: 0 !important;

        padding: 0 !important;

        font-size: 16px !important;

        line-height: 1.72 !important;

        overflow-wrap: anywhere !important;
    }


    /* -----------------------------------------------------
       HERO META
    ----------------------------------------------------- */

    .job-hero > .container > div:last-child {
        display: flex !important;

        flex-direction: row !important;

        flex-wrap: wrap !important;

        width: 100% !important;

        max-width: 100% !important;

        gap: 8px !important;

        margin-top: 27px !important;

        overflow: visible !important;
    }

    .job-hero > .container > div:last-child span {
        display: inline-block !important;

        width: auto !important;

        max-width: 100% !important;

        padding: 8px 11px !important;

        font-size: 11px !important;

        line-height: 1.3 !important;

        white-space: normal !important;

        overflow-wrap: anywhere !important;
    }


    /* -----------------------------------------------------
       EVERY JOB SECTION
    ----------------------------------------------------- */

    .job-page main > section {
        width: 100% !important;

        max-width: 100% !important;

        padding-top: 68px !important;

        padding-bottom: 68px !important;

        overflow: hidden !important;
    }


    /* -----------------------------------------------------
       CRITICAL:
       MAIN TWO-COLUMN SECTION CONTAINERS
       
       This directly kills:
       1fr 2fr
       1fr 1fr
       0.8fr 1.4fr
       0.9fr 1.2fr
       etc.
    ----------------------------------------------------- */

    .job-page
    main > section
    > .container
    > div[style*="grid-template-columns"] {

        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        grid-template-columns: none !important;

        grid-template-rows: none !important;

        gap: 0 !important;

        column-gap: 0 !important;

        row-gap: 0 !important;

        margin-left: 0 !important;

        margin-right: 0 !important;

        min-width: 0 !important;

        overflow: visible !important;
    }


    /* -----------------------------------------------------
       DIRECT CHILDREN OF TITLE/COPY LAYOUT
    ----------------------------------------------------- */

    .job-page
    main > section
    > .container
    > div[style*="grid-template-columns"]
    > div {

        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        min-width: 0 !important;

        margin-left: 0 !important;

        margin-right: 0 !important;

        overflow-wrap: anywhere !important;
    }


    /* -----------------------------------------------------
       SPACE BETWEEN TITLE AND BODY
    ----------------------------------------------------- */

    .job-page
    main > section
    > .container
    > div[style*="grid-template-columns"]
    > div + div {

        margin-top: 32px !important;
    }


    /* -----------------------------------------------------
       ALL INLINE GRIDS INSIDE JOB PAGE
       
       Any remaining inline grid becomes one column.
    ----------------------------------------------------- */

    .job-page
    main > section
    div[style*="grid-template-columns"] {

        max-width: 100% !important;

        min-width: 0 !important;
    }


    /* -----------------------------------------------------
       RESPONSIBILITY / SUCCESS / BENEFIT CARD GRIDS
       
       Force actual grid containers to one column.
    ----------------------------------------------------- */

    .job-page
    main > section
    div[style*="grid-template-columns:repeat"] {

        display: grid !important;

        grid-template-columns: 1fr !important;

        grid-template-rows: none !important;

        width: 100% !important;

        max-width: 100% !important;

        gap: 18px !important;

        min-width: 0 !important;
    }

    .job-page
    main > section
    div[style*="grid-template-columns: repeat"] {

        display: grid !important;

        grid-template-columns: 1fr !important;

        grid-template-rows: none !important;

        width: 100% !important;

        max-width: 100% !important;

        gap: 18px !important;

        min-width: 0 !important;
    }


    /* -----------------------------------------------------
       CARDS
    ----------------------------------------------------- */

    .job-page
    main > section
    div[style*="background:#ffffff"] {

        width: 100% !important;

        max-width: 100% !important;

        min-width: 0 !important;

        padding: 25px !important;

        margin-left: 0 !important;
        margin-right: 0 !important;

        overflow: hidden !important;
    }


    /* -----------------------------------------------------
       JOB H2
    ----------------------------------------------------- */

    .job-page h2 {

        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        font-size: 34px !important;

        line-height: 1.1 !important;

        letter-spacing: -0.035em !important;

        margin-top: 0 !important;

        margin-bottom: 20px !important;

        overflow-wrap: anywhere !important;
    }


    /* -----------------------------------------------------
       JOB H3
    ----------------------------------------------------- */

    .job-page h3 {

        width: 100% !important;

        max-width: 100% !important;

        font-size: 18px !important;

        line-height: 1.3 !important;

        margin-top: 0 !important;

        overflow-wrap: anywhere !important;
    }


    /* -----------------------------------------------------
       JOB PARAGRAPHS
    ----------------------------------------------------- */

    .job-page p {

        max-width: 100% !important;

        overflow-wrap: anywhere !important;

        word-break: normal !important;

        font-size: 15px !important;

        line-height: 1.78 !important;
    }


    /* -----------------------------------------------------
       CARD PARAGRAPHS
    ----------------------------------------------------- */

    .job-page
    main > section
    div[style*="background:#ffffff"] p {

        width: 100% !important;

        max-width: 100% !important;

        margin-left: 0 !important;

        margin-right: 0 !important;

        overflow-wrap: anywhere !important;

        font-size: 14px !important;

        line-height: 1.75 !important;
    }


    /* -----------------------------------------------------
       QUALIFICATIONS
    ----------------------------------------------------- */

    .job-page ul {

        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        margin: 0 !important;

        padding-left: 20px !important;

        box-sizing: border-box !important;

        overflow: visible !important;
    }

    .job-page li {

        max-width: 100% !important;

        margin-bottom: 13px;

        font-size: 14px !important;

        line-height: 1.7 !important;

        overflow-wrap: anywhere !important;
    }


    /* -----------------------------------------------------
       EMPLOYMENT DETAILS
       
       Desktop:
       Label | Value

       Mobile:
       Label
       Value
    ----------------------------------------------------- */

    .job-page
    div[style*="grid-template-columns:220px 1fr"] {

        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        min-width: 0 !important;

        grid-template-columns: none !important;

        grid-template-rows: none !important;

        gap: 0 !important;

        padding: 18px 0 !important;

        overflow: visible !important;
    }

    .job-page
    div[style*="grid-template-columns:220px 1fr"]
    strong {

        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        margin: 0 0 7px !important;

        padding: 0 !important;

        overflow-wrap: anywhere !important;
    }

    .job-page
    div[style*="grid-template-columns:220px 1fr"]
    span {

        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        min-width: 0 !important;

        margin: 0 !important;

        padding: 0 !important;

        font-size: 14px !important;

        line-height: 1.65 !important;

        overflow-wrap: anywhere !important;

        word-break: normal !important;
    }


    /* -----------------------------------------------------
       ANY OTHER 220PX GRID
    ----------------------------------------------------- */

    .job-page
    div[style*="220px 1fr"] {

        display: block !important;

        width: 100% !important;

        max-width: 100% !important;

        grid-template-columns: none !important;

        gap: 0 !important;

        min-width: 0 !important;
    }


    /* -----------------------------------------------------
       BUTTONS
    ----------------------------------------------------- */

    .job-page
    a[style*="background:#031431"] {

        display: inline-flex !important;

        width: 100% !important;

        max-width: 100% !important;

        justify-content: center !important;

        align-items: center !important;

        min-height: 50px !important;

        padding: 14px 20px !important;

        text-align: center !important;

        overflow-wrap: anywhere !important;
    }


    /* -----------------------------------------------------
       BACK TO CAREERS
    ----------------------------------------------------- */

    .job-page
    section:last-of-type
    a {

        max-width: 100% !important;

        font-size: 14px !important;

        overflow-wrap: anywhere !important;
    }


    /* -----------------------------------------------------
       JOB FOOTER
    ----------------------------------------------------- */

    .job-page .footer {

        width: 100% !important;

        max-width: 100% !important;

        overflow: hidden !important;
    }

}


/* =========================================================
   SMALL MOBILE
   480px AND BELOW
========================================================= */

@media (max-width: 480px) {

    .careers-page .container,
    .job-page .container,
    .container {

        width: calc(100% - 40px);
    }


    /* CAREERS PAGE */

    .careers-hero {
        min-height: 600px;
    }

    .careers-hero-inner {
        padding-bottom: 52px;
    }

    .careers-hero h1 {
        font-size: 42px;
    }

    .careers-hero p {
        font-size: 15px;
    }

    .careers-intro,
    .careers-foundation,
    .careers-positions,
    .careers-executive,
    .careers-benefits,
    .careers-work {

        padding-top: 65px;
        padding-bottom: 68px;
    }

    .careers-intro h2,
    .careers-section-heading h2,
    .careers-executive-heading h2,
    .careers-benefits-heading h2,
    .careers-work h2 {

        font-size: 32px;
    }

    .career-job-main h3 {
        font-size: 24px;
    }


    /* =====================================================
       JOB DESCRIPTION
    ===================================================== */

    .job-hero {

        padding: 62px 0 50px !important;
    }

    .job-hero .container,
    .job-page
    main > section:not(.job-hero) > .container {

        width: calc(100% - 40px) !important;
    }

    .job-hero h1 {

        width: 100% !important;

        max-width: 100% !important;

        font-size: 38px !important;

        line-height: 1.07 !important;
    }

    .job-page h2 {

        width: 100% !important;

        max-width: 100% !important;

        font-size: 31px !important;
    }

    .job-page
    main > section
    div[style*="background:#ffffff"] {

        width: 100% !important;

        max-width: 100% !important;

        padding: 22px !important;
    }

}


/* =========================================================
   EXTRA SMALL DEVICES
========================================================= */

@media (max-width: 360px) {

    .careers-page .container,
    .job-page .container,
    .container {

        width: calc(100% - 32px);
    }

    .careers-hero h1 {
        font-size: 38px;
    }


    /* JOB DESCRIPTION */

    .job-hero .container,
    .job-page
    main > section:not(.job-hero) > .container {

        width: calc(100% - 32px) !important;
    }

    .job-hero h1 {

        font-size: 35px !important;
    }

    .job-page h2 {

        font-size: 29px !important;
    }

    .job-page
    main > section
    div[style*="background:#ffffff"] {

        padding: 20px !important;
    }

}
