.scroll-thumb {
    /* height: calc(100% / 4); */
}

#landingSection {
    background-image: url(../assets/Phase1_Images/Main_Page_Headers/Careers_wo_overlay.jpg);
}

#landingSubheader a {
    color: #ffffff;
    font-weight: 800;
}

.opportunities-container, #benefitsContainer {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 6%;
}

.opportunities-container {
    width: 100%;
    height: 70%;
    justify-content: unset;
}

.opportunities-header, #benefitsHeader {
    font-weight: 800;
    font-size: 54px;
    line-height: 68px;
    letter-spacing: 0%;
    color: #161F38;
    margin-bottom: 24px;
}

.opportunities-positions {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.opportunity {
    width: 45%;
    transition: all 0.3s;
}

.opportunity:only-child {
    width: 95%;
}

.opp-header {
    font-weight: 800;
    font-size: 32px;
    line-height: 42px;
    letter-spacing: 0%;
    color: #161F38;
    margin-bottom: 10px;
}

.opp-body {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;
    color: #161F38;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal;
    overflow-wrap: anywhere;
}

.opportunities-positions:has(.opportunity:nth-of-type(3)) .opp-body {
    -webkit-line-clamp: 5;
}

.opp-none {
    font-size: 20px;
    margin-top: 8px;
}

.opportunity .wf-button .icon {
    margin-right: 0;
    margin-left: 8px;
}

#benefitsBody {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#benefitsBodyText, #benefitsBody img {
    width: 47.5%;
}

#benefitsBodyText .lg {
    font-weight: 500;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: 0%;
    color: #161F38;
}

#benefitsBodyText .sm {
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;
}

#benefitsBody img {
    object-fit: contain;
}

.opportunities-slide-mobile {
    display: none;
}

@media only screen and (max-height: 800px) {
    .opportunities-container {
        height: 80%;
    }

    .opportunities-positions:has(.opportunity:nth-of-type(3)) .opp-body {
        -webkit-line-clamp: 3;
    }

    #benefitsContainer {
        padding-top: 20px;
    }

    #benefitsHeader {
        margin-bottom: 12px;
    }

    #benefitsBodyText .lg {
        font-size: 20px;
        line-height: 28px;
    }

    #benefitsBodyText .sm {
        font-size: 16px;
        line-height: 24px;
    }

    #benefitsBodyText ul {
        margin: 0.5em 0;
    }
}

@media only screen and (max-width: 800px) and (orientation: portrait) {
    .opportunities-slide-mobile {
        display: flex;
    }

    #opportunitiesSlideDesktop {
        display: none;
    }

    #landingSubheader b {
        font-weight: 800;
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0%;
    }

    .opportunities-container, #benefitsContainer {
        height: 80%;
        justify-content: center;
    }

    #benefitsContainer {
        padding-top: 16px;
        margin-bottom: 20px;
    }

    .opportunities-header {
        font-weight: 700;
        font-size: 32px;
        line-height: 50px;
        letter-spacing: 0%;
    }

    .opportunity {
        width: 95%;
        color: black;
    }

    .opp-header {
        font-weight: 800;
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0%;
    }

    #benefitsHeader {
        font-weight: 700;
        font-size: 32px;
        line-height: 50px;
        letter-spacing: 0%;
    }

    #benefitsBodyText {
        width: 95%;
    }

    #benefitsBodyText .lg {
        font-weight: 500;
        font-size: 16px;
        line-height: 20px;
        letter-spacing: 0%;
    }

    #benefitsBodyText .sm {
        font-weight: 500;
        font-size: 16px;
        line-height: 20px;
        letter-spacing: 0%;
    }

    #benefitsBody img {
        display: none;
    }
}

@media only screen and (max-height: 650px) {
    .opportunities-positions:has(.opportunity:nth-of-type(3)) .opp-body {
        -webkit-line-clamp: 2;
    }
}

@media only screen and (max-width: 500px) {
    .opportunities-container {
        height: 100%;
        padding-top: 32px;
    }

    .opportunities-header {
        margin-bottom: 16px;
        font-size: 28px;
        line-height: 36px;
    }

    #benefitsContainer {
        padding-top: 48px;
    }

    #benefitsHeader {
        margin-bottom: 8px;
    }
}

@media only screen and (max-width: 1000px) and (orientation: landscape) {
    .opportunities-header, #benefitsHeader {
        font-size: 24px;
        line-height: 28px;
    }
    
    .opp-header {
        font-size: 20px;
        line-height: 24px;
    }

    .opp-body {
        font-size: 14px;
        line-height: 20px;
    }
    
    #benefitsBodyText .lg {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 6px;
    }
    
    #benefitsBodyText .sm {
        font-size: 12px;
        line-height: 16px;
    }

    br {
        display: none;
    }
}

@media only screen and (max-width: 400px) and (orientation: portrait) {
    .opportunities-header, #benefitsHeader {
        font-size: 24px;
        line-height: 30px;
    }

    .opp-header {
        font-size: 18px;
        line-height: 24px;
    }

    .opp-body {
        font-size: 14px;
        line-height: 22px;
    }

    .wf-button {
        font-size: 14px;
        line-height: 18px;
    }

    #benefitsBodyText .lg {
        font-size: 12px;
        line-height: 16px;
    }
    
    #benefitsBodyText .sm {
        font-size: 12px;
        line-height: 16px;
    }
}

@media only screen and (max-height: 500px) and (orientation: landscape) {
    .opportunities-header, #benefitsHeader {
        margin-bottom: 12px;
        font-size: 20px;
        line-height: 24px;
    }

    .opp-header {
        font-size: 16px;
        line-height: 20px;
    }

    .opp-body {
        font-size: 14px;
        line-height: 18px;
        -webkit-line-clamp: 5;
    }
    
    #benefitsBodyText .lg {
        font-size: 12px;
        line-height: 16px;
    }
    
    #benefitsBodyText .sm {
        font-size: 10px;
        line-height: 12px;
    }

    #benefitsContainer {
        padding-top: 0;
    }
}