.scroll-thumb {
    height: calc(100% / 8);
}

#landingSection {
    padding-top: 0;
    transition: background-image 0.3s;
}

#landingVideoContainer {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 99;
    transition: opacity 0.3s ease;
    opacity: 1;
}

/* *::-webkit-media-controls {
    display: none!important;
    -webkit-appearance: none;
    opacity: 0;
    position: absolute;
    top: -9999px;
}

*::-webkit-media-controls-panel {
    display: none!important;
    -webkit-appearance: none;
    opacity: 0;
    position: absolute;
    top: -9999px;
}

*::--webkit-media-controls-play-button {
    display: none!important;
    -webkit-appearance: none;
    opacity: 0;
    position: absolute;
    top: -9999px;
}

*::-webkit-media-controls-start-playback-button {
    display: none!important;
    -webkit-appearance: none;
    opacity: 0;
    position: absolute;
    top: -9999px;
} */

#videoPosterOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/DCI_Website_Reel_16x9_Poster.png');
    background-size: cover;
    background-position: center;
    z-index: 2;
    transition: opacity 0.5s ease;
}

#landingVideoContainer video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 99;
    display: none;
}

#reimagine {
    font-weight: 700;
    font-size: 96px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    z-index: 2;
    transition: opacity 0.3s;
}

#reimagine br {
    display: none;
}

#reimagine span {
    /* font-family: Arial; */
    transition: opacity 0.3s;
}

#whatWeDoSection {
    background: rgba(255, 255, 255, 1);
}

#whatWeDoSectionContainer {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 88%;
}

#whatWeDoSectionBottom {
    height: 550px;
    overflow: hidden;
    position: relative;
    margin-top: 32px;
    display: flex;
    justify-content: space-between;
}

#whatWeDoHeaders {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 50%;
}

.what-we-do-item {
    overflow: hidden;
    transition: all 0.4s ease;
    margin-bottom: 8px;
}

.what-we-do-header {
    font-weight: 800;
    font-size: 64px;
    line-height: 70px;
    letter-spacing: 0%;
    color: #007C85;
    transition: color 0.3s;
    cursor: pointer;
}

.selected .what-we-do-header {
    color: #161F38;
}

.what-we-do-body {
    width: 75%;
    color: #161F38;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    margin-top: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.3s ease;
}

.what-we-do-item.selected .what-we-do-body {
    max-height: 200px;
    opacity: 1;
}

#whatWeDoBodyText {
    font-weight: 600;
    font-size: 32px;
    line-height: 150%;
    letter-spacing: 0%;
    color: #161F38;
    /* transition: opacity 0.3s; */
}

#whatWeDoImg {
    width: 50%;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../assets/Home_Page_Anims/Integrated.jpg);
    transition: background-image 0.3s, opacity 0.3s ease;
    overflow: hidden;
    opacity: 1;
    aspect-ratio: 1920 / 1080;
}

#whatWeDoTransitionVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#whatWeDoFallbackImg {
    z-index: 1;
}

#featuredSection .case-study-bg {
    background-image: url(../assets/Phase1_Images/Insights/JUN25/77_cover.jpg);
}

#insightsSection .wf-button {
    margin-top: 48px;
}

#insightsSectionContainer {
    width: 88%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#insightsSectionLeft {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 45%;
    height: 100%;
}

#featuredArticles {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article {
    width: 100%;
    height: 37.5vh;
    max-width: unset;
    max-height: unset;
    aspect-ratio: unset;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-out;
}

@media only screen and (max-height: 800px) {
    #reimagine {
        font-size: 80px;
    }

    #whatWeDoSection {
        /* margin-top: 12px; */
        padding-top: 80px;
    }

    #whatWeDoSectionBottom {
        margin-top: 16px;
        height: 450px;
    }

    #whatWeDoHeaders {
        gap: 16px;
    }

    .what-we-do-header {
        font-size: 48px;
        line-height: 54px;
    }

    .what-we-do-body {
        font-size: 24px;
        line-height: 30px;
    }

    #whatWeDoBodyText {
        font-size: 26px;
        height: 7em;
    }
}

@media only screen and (max-height: 1200px), screen and (max-width: 900px) {
    .what-we-do-header {
        font-size: 48px;
        line-height: 54px;
    }
}

@media only screen and (max-width: 800px) and (orientation: portrait) {
    #videoPosterOverlay {
        background-image: url(../assets/DCI_Website_Reel_9x16_Poster.png);
    }

    #reimagine {
        font-weight: 800;
        font-size: 42px;
        line-height: 52px;
        letter-spacing: 0%;
        text-align: center;
        max-width: 80%;
    }

    #reimagine br {
        display: block;
    }

    #whatWeDoSectionContainer {
        width: 94%;
        height: 94%;
        justify-content: flex-end;
    }

    #whatWeDoHeaders {
        gap: 12px;
        width: 100%;
        height: 300px;
        overflow: hidden;
    }

    .what-we-do-item {
        margin-bottom: 0;
    }

    .what-we-do-header {
        font-weight: 800;
        font-size: 42px;
        line-height: 52px;
        letter-spacing: 0%;
    }

    #whatWeDoBody {
        width: 100%;
        margin-top: 16px;
        align-items: center;
    }

    .what-we-do-body {
        font-size: 16px;
        line-height: 22px;
        margin-top: 4px;
    }

    #whatWeDoBodyText {
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0%;
    }

    #whatWeDoSectionBottom {
        /* height: unset; */
        margin-top: unset;
        align-items: unset;
        flex-direction: column;
    }

    #whatWeDoImg {
        width: 100%;
        height: 125px;
    }

    #insightsSectionContainer {
        width: 94%;
        height: 94%;
        flex-direction: column;
    }

    #insightsSectionLeft {
        width: 100%;
    }

    #insightsSection .wf-button {
        margin-top: 24px;
    }

    #featuredArticles {
        margin-top: 12px;
        width: 100%;
    }

    #featuredArticle2 {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    #whatWeDoSection .section-underline {
        margin: 8px 0 16px;
    }

    .what-we-do-header {
        font-size: 32px;
        line-height: 36px;
    }

    #whatWeDoBodyText {
        line-height: 20px;
        height: 65px;
    }

    #whatWeDoBodyImg {
        width: 80%;
    }

    #insightsSectionContainer {
        padding-top: 80px;
    }

    #insightsSection .wf-button {
        margin-top: 12px;
    }
}

@media only screen and (max-height: 650px) {
    #whatWeDoSectionContainer {
        justify-content: flex-end;
    }

    .what-we-do-header {
        font-size: 32px;
        line-height: 36px;
    }
}

@media only screen and (max-width: 1000px) and (orientation: landscape) {
    #whatWeDoSectionBottom {
        flex-direction: row;
    }

    .what-we-do-header {
        font-size: 16px;
        line-height: 20px;
    }
    
    .what-we-do-body {
        font-size: 14px;
        line-height: 20px;
        margin-top: 4px;
    }

    #insightsSection .wf-button {
        margin-top: 12px;
    }

    #featuredArticles {
        margin-top: 6px;
    }
}

@media only screen and (max-width: 400px) and (orientation: portrait) {
    #whatWeDoSection {
        padding-top: 66px;
    }

    .what-we-do-header {
        font-size: 18px;
        line-height: 24px;
    }
}

@media only screen and (max-height: 500px) and (orientation: landscape) {
    #whatWeDoSection {
        padding-top: 66px;
    }

    #whatWeDoSectionBottom {
        height: unset
    }

    #whatWeDoHeaders {
        gap: 8px;
    }

    #whatWeDoImg {
        width: 40%;
        background-size: contain;
    }

    .what-we-do-body {
        width: 90%;
    }

    /* #featuredArticle2 {
        display: none;
    } */

    #featuredArticles {
        gap: 8px;
    }

    .article .section-subheading {
        font-size: 16px;
        line-height: 20px;
    }

    .section-headline, .article .section-headline {
        font-size: 16px;
        line-height: 20px;
    }

    .article .section-headline {
        -webkit-line-clamp: 2;
    }
}