.resources-page {
    background: #f5f7f6;
}

.resources-page .main-nav > .nav-item > .nav-link.is-resources-active {
    color: var(--green);
}

.resources-page .main-nav > .nav-item > .nav-link.is-resources-active::after {
    transform: scaleX(1);
}

.career-hero {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    color: var(--white);
    background: #1b4d61;
}

.career-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(8, 39, 51, 0.18);
}

.career-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.career-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 500px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 64px;
    text-align: right;
    text-shadow: 0 2px 18px rgba(0, 29, 42, 0.48);
}

.career-hero-content p,
.career-kicker {
    color: #0e846f;
    font-size: 12px;
    font-weight: 700;
}

.career-hero-content p {
    color: rgba(255, 255, 255, 0.88);
}

.career-hero-content h1 {
    margin-top: 10px;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.25;
}

.career-hero-content span {
    margin-top: 12px;
    font-size: 17px;
}

.career-intro,
.career-benefits,
.career-openings,
.career-cta {
    padding: 96px 0;
}

.career-intro {
    background: var(--white);
}

.career-intro-layout,
.career-section-heading,
.career-cta-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 80px;
}

.career-intro-heading h2,
.career-section-heading h2,
.career-cta h2 {
    margin-top: 12px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.38;
}

.career-intro-copy {
    color: #51605a;
    font-size: 16px;
    line-height: 2;
}

.career-intro-copy p + p {
    margin-top: 18px;
}

.career-benefits {
    background: #f3f6f5;
}

.career-section-heading {
    align-items: end;
    margin-bottom: 48px;
}

.career-section-heading > p {
    color: #697872;
    line-height: 1.85;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #ccd8d4;
}

.benefit-item {
    position: relative;
    min-height: 220px;
    padding: 34px 34px 36px 72px;
    border-right: 1px solid #ccd8d4;
    border-bottom: 1px solid #ccd8d4;
}

.benefit-item:nth-child(even),
.benefit-item-wide {
    border-right: 0;
}

.benefit-item-wide {
    grid-column: 1 / -1;
    min-height: 180px;
}

.benefit-item > span {
    position: absolute;
    top: 38px;
    left: 25px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.benefit-item h3 {
    font-size: 20px;
    font-weight: 700;
}

.benefit-item p {
    margin-top: 14px;
    color: #697872;
    line-height: 1.8;
}

.career-image-band {
    overflow: hidden;
    background: #eaf0f2;
}

.career-image-band img {
    display: block;
    width: 100%;
    height: auto;
}

.career-openings {
    background: var(--white);
}

.job-list {
    border-top: 1px solid #cbd6d2;
}

.job-list-status,
.job-list.is-empty > p {
    margin: 0;
    padding: 28px 8px;
    color: #697872;
}

.job-item {
    border-bottom: 1px solid #cbd6d2;
}

.job-item summary {
    display: flex;
    min-height: 112px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 24px 8px;
    cursor: pointer;
    list-style: none;
}

.job-item summary::-webkit-details-marker {
    display: none;
}

.job-item summary span {
    display: grid;
    gap: 8px;
}

.job-item summary small {
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
}

.job-item summary strong {
    font-size: 22px;
    font-weight: 700;
}

.job-item summary svg {
    flex: 0 0 auto;
    transition: transform 0.2s ease;
}

.job-item[open] summary svg {
    transform: rotate(45deg);
}

.job-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px;
    padding: 8px 8px 44px;
}

.job-content h3 {
    margin-bottom: 14px;
    color: #173b32;
    font-size: 15px;
    font-weight: 700;
}

.job-content ol {
    display: grid;
    gap: 10px;
    padding-left: 1.35em;
    color: #5c6b65;
    line-height: 1.75;
}

.career-cta {
    color: var(--white);
    background: #113c34;
}

.career-cta .career-kicker {
    color: #87d4c1;
}

.career-cta-layout {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.career-cta-layout > div > span {
    display: block;
    max-width: 760px;
    margin-top: 16px;
    color: #bfd3cd;
    line-height: 1.85;
}

.career-email {
    margin-top: 30px;
    color: #9db9b0;
    font-size: 14px;
}

.career-email a {
    color: var(--white);
}

@media (max-width: 960px) {
    .career-hero,
    .career-hero-content {
        min-height: 430px;
    }

    .career-hero > img {
        object-position: 58% center;
    }

    .career-intro,
    .career-benefits,
    .career-openings,
    .career-cta {
        padding: 76px 0;
    }

    .career-intro-layout,
    .career-section-heading {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 720px) {
    .career-hero,
    .career-hero-content {
        min-height: 410px;
    }

    .career-hero > img {
        object-position: 66% center;
    }

    .career-hero-content {
        align-items: flex-start;
        padding-bottom: 40px;
        text-align: left;
    }

    .career-hero-content h1 {
        max-width: 280px;
        font-size: 35px;
    }

    .career-intro-heading h2,
    .career-section-heading h2,
    .career-cta h2 {
        font-size: 29px;
    }

    .benefit-grid,
    .job-content,
    .career-cta-layout {
        grid-template-columns: 1fr;
    }

    .benefit-item,
    .benefit-item:nth-child(even),
    .benefit-item-wide {
        min-height: 0;
        grid-column: auto;
        padding: 28px 20px 30px 58px;
        border-right: 0;
    }

    .benefit-item > span {
        top: 31px;
        left: 18px;
    }

    .career-image-band img {
        width: auto;
        max-width: none;
        height: 280px;
        object-fit: cover;
        object-position: 62% center;
    }

    .job-item summary {
        min-height: 96px;
        padding: 20px 4px;
    }

    .job-item summary strong {
        font-size: 18px;
    }

    .job-content {
        gap: 30px;
        padding: 4px 4px 34px;
        font-size: 14px;
    }

    .career-cta-layout {
        gap: 28px;
    }
}
