.bl-careers {
    --bl-dark: #173f2c;
    --bl-green: #49b637;
    --bl-soft: #eff7eb;
    --bl-line: #dce6da;
    --bl-text: #273229;
    --bl-muted: #5c675f;

    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 24px 84px;
    color: var(--bl-text);
}

.bl-careers * {
    box-sizing: border-box;
}


/* HERO */

.bl-careers-hero {
    position: relative;
    overflow: hidden;
    padding: 64px 58px;
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 86% 20%,
            rgba(81,190,57,.28),
            transparent 28%
        ),
        linear-gradient(
            130deg,
            #123522,
            #20533a
        );
    color: #fff;
}

.bl-careers-eyebrow {
    margin: 0 0 12px;
    color: #bfe8b1;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.bl-careers h1 {
    max-width: 820px;
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(38px,5vw,62px);
    line-height: 1.03;
    letter-spacing: -.025em;
}

.bl-careers-hero-copy {
    max-width: 760px;
    margin: 0;
    color: #edf5ef;
    font-size: 18px;
    line-height: 1.72;
}

.bl-careers-status {
    margin-top: 26px;
    max-width: 760px;
    padding: 14px 17px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 11px;
    background: rgba(255,255,255,.08);
    color: #f4f8f5;
    font-size: 14px;
    line-height: 1.6;
}


/* GENERAL */

.bl-careers-section {
    padding-top: 64px;
}

.bl-careers-section-head {
    max-width: 760px;
    margin-bottom: 30px;
}

.bl-careers-section-head h2 {
    margin: 0 0 12px;
    color: var(--bl-dark);
    font-size: clamp(29px,4vw,42px);
    line-height: 1.1;
}

.bl-careers-section-head p {
    margin: 0;
    color: var(--bl-muted);
    font-size: 17px;
    line-height: 1.7;
}


/* ROLE CARDS */

.bl-role-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 20px;
}

.bl-role-card {
    padding: 30px;
    border: 1px solid var(--bl-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(23,63,44,.05);
}

.bl-role-number {
    display: block;
    margin-bottom: 35px;
    color: var(--bl-green);
    font-size: 13px;
    font-weight: 800;
}

.bl-role-card h2,
.bl-role-card h3 {
    margin: 0 0 13px;
    color: var(--bl-dark);
    font-size: 25px;
    line-height: 1.2;
}

.bl-role-card p {
    margin: 0 0 22px;
    color: var(--bl-muted);
    line-height: 1.65;
}

.bl-role-link {
    display: inline-flex;
    padding: 11px 17px;
    border-radius: 8px;
    background: var(--bl-green);
    color: #102310 !important;
    font-weight: 800;
    text-decoration: none !important;
}


/* CHIPS */

.bl-career-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 26px;
}

.bl-career-chips span {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.07);
    color: #fff;
    font-size: 13px;
}


/* DETAILS */

.bl-career-details {
    max-width: 970px;
}

.bl-career-details details {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--bl-line);
    border-radius: 13px;
    background: #fff;
}

.bl-career-details summary {
    position: relative;
    cursor: pointer;
    list-style: none;
    padding: 21px 58px 21px 22px;
    color: var(--bl-dark);
    font-size: 18px;
    font-weight: 750;
}

.bl-career-details summary::-webkit-details-marker {
    display: none;
}

.bl-career-details summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #eaf5e5;
    color: #2c7c23;
    font-size: 22px;
}

.bl-career-details details[open] summary {
    background: #f4f8f1;
}

.bl-career-details details[open] summary::after {
    content: "−";
}

.bl-career-detail-body {
    padding: 0 22px 23px;
    color: var(--bl-muted);
    font-size: 16px;
    line-height: 1.72;
}

.bl-career-detail-body p {
    margin: 0 0 13px;
}

.bl-career-detail-body ul {
    margin: 8px 0 10px;
    padding-left: 22px;
}

.bl-career-detail-body li {
    margin: 7px 0;
}


/* NOTE */

.bl-career-note {
    margin-top: 25px;
    padding: 18px 20px;
    border-left: 4px solid var(--bl-green);
    border-radius: 4px 10px 10px 4px;
    background: var(--bl-soft);
    color: #435147;
    line-height: 1.65;
}


/* CTA */

.bl-careers-cta {
    margin-top: 62px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border-radius: 18px;
    background: var(--bl-dark);
    color: #fff;
}

.bl-careers-cta strong {
    display: block;
    margin-bottom: 6px;
    font-size: 22px;
}

.bl-careers-cta span {
    display: block;
    max-width: 700px;
    color: #d8e5dc;
    line-height: 1.6;
}

.bl-careers-cta a {
    flex: 0 0 auto;
    padding: 13px 19px;
    border-radius: 8px;
    background: var(--bl-green);
    color: #102310 !important;
    font-weight: 800;
    text-decoration: none !important;
}


/* BACK LINK */

.bl-careers-back {
    display: inline-flex;
    margin-bottom: 22px;
    color: #347a2c;
    font-weight: 700;
    text-decoration: none;
}


/* MOBILE */

@media(max-width:760px) {

    .bl-careers {
        padding:
            12px
            17px
            64px;
    }

    .bl-careers-hero {
        padding:
            42px
            25px;
        border-radius: 18px;
    }

    .bl-role-grid {
        grid-template-columns: 1fr;
    }

    .bl-careers-section {
        padding-top: 48px;
    }

    .bl-careers-cta {
        display: block;
        padding: 26px 22px;
    }

    .bl-careers-cta a {
        display: inline-flex;
        margin-top: 19px;
        width: 100%;
        justify-content: center;
    }
}


/*
 * =========================================================
 * Careers Visual Polish V2
 * =========================================================
 */


/*
 * Reduce Astra/theme whitespace before Careers content.
 */

body.page-id-1451 .site-content,
body.page-id-1452 .site-content,
body.page-id-1453 .site-content {
    padding-top: 0 !important;
}

body.page-id-1451 .site-content > .ast-container,
body.page-id-1452 .site-content > .ast-container,
body.page-id-1453 .site-content > .ast-container {
    padding-top: 34px !important;
}


/*
 * Slightly tighter page entrance.
 */

body.page-id-1451 .bl-careers,
body.page-id-1452 .bl-careers,
body.page-id-1453 .bl-careers {
    padding-top: 0;
}


/*
 * Give hero a little more dimensionality without
 * introducing another image dependency.
 */

.bl-careers-hero {
    box-shadow:
        0 18px 50px rgba(23,63,44,.13);
}


/*
 * Improve role-card hierarchy.
 */

.bl-role-card {
    position: relative;
    overflow: hidden;
    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.bl-role-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #49b637;
}

.bl-role-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 38px rgba(23,63,44,.09);
}


/*
 * Fix CTA button.
 *
 * Reset any theme-generated pseudo-elements and force a
 * normal horizontal inline-flex button.
 */

.bl-careers-cta a,
.bl-careers-cta a:link,
.bl-careers-cta a:visited {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 132px !important;
    min-height: 48px !important;
    height: auto !important;

    margin: 0 !important;
    padding: 12px 20px !important;

    border: 0 !important;
    border-radius: 8px !important;

    background: #49b637 !important;
    color: #102310 !important;

    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;

    text-decoration: none !important;
    overflow: visible !important;
}


/*
 * Kill pseudo-elements coming from global button/link styles.
 */

.bl-careers-cta a::before,
.bl-careers-cta a::after {
    content: none !important;
    display: none !important;
}


/*
 * Keep CTA vertically centered.
 */

.bl-careers-cta {
    min-height: 150px;
}


/*
 * Make FAQ area visually distinct from role cards.
 */

.bl-career-details details {
    box-shadow:
        0 4px 18px rgba(23,63,44,.035);
}

.bl-career-details details[open] {
    border-color: #bcd8b6;
}


/*
 * Avoid excessive pale-green space before footer.
 */

.bl-careers-cta {
    margin-bottom: 0;
}

.bl-careers {
    padding-bottom: 58px;
}


@media (max-width: 760px) {

    body.page-id-1451 .site-content > .ast-container,
    body.page-id-1452 .site-content > .ast-container,
    body.page-id-1453 .site-content > .ast-container {
        padding-top: 20px !important;
    }

    .bl-careers-cta {
        min-height: 0;
    }

    .bl-careers-cta a,
    .bl-careers-cta a:link,
    .bl-careers-cta a:visited {
        width: 100% !important;
        margin-top: 20px !important;
    }
}
