
html, body {
    overflow-y: auto;
}

.bg-gradient {
    fill: linear-gradient(90deg, rgba(22, 31, 56, 0.60) 13.74%, rgba(43, 61, 111, 0.28) 75.89%, rgba(62, 87, 158, 0.00) 113.18%);
    background-blend-mode: multiply;
}

.case-study-section {
    height: 80vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.case-study-section-container {
    width: 65%;
}

#articleBody h1, #articleClone h1 {
    font-weight: 800;
    font-size: 32px;
    line-height: 42px;
    letter-spacing: 0%;
    margin: 20px 0;
    color: #161F38;
}

#articleBody h1:first-child {
    margin: 8px 0;
}

#articleBody h2, #articleClone h2 {
    font-weight: 800;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    margin: 20px 0;
}

#articleBody .summary, #articleClone .summary {
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    margin-bottom: 20px;
    color: #161F38;
}

#articleBody p, #articleBody li, #articleClone p, #articleClone li {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #161F38;
}

#articleBody p:first-child, #articleClone p:first-child {
    margin-top: 0;
}

#articleBody .capabilities-list, #articleClone .capabilities-list {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #161F38;
    margin-bottom: 16px;
}

#articleBody .image-container {
    padding: 20px 0;
    margin-bottom: 50px;
}

#articleBody .img-full {
    width: 100%;
    height: 50%;
    display: block;
    object-fit: cover;
}

#articleBody:has(.img-caption) .img-full {
    height: 95% !important;
}

#articleBody .image-container.v .img-full {
    object-fit: contain;
    height: 100%;
    max-width: 100%;
}

#articleBody .image-container.v30 {
    height: 30%;
    max-height: 750px;
}

#articleBody .img-caption {
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0%;
    text-align: center;
    padding: 12px;
}

#articleBody .gallery-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 50px;
}

#articleBody .gallery-layout .row.top {
    display: flex;
    gap: 20px;
}

#articleBody .gallery-layout .row.bottom {
    display: flex;
}

#articleBody .gallery-layout .image-container {
    flex: 1;
    position: relative;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
}

#articleBody .gallery-layout .row.bottom .image-container {
    aspect-ratio: 2 / 1;
}

#articleBody .gallery-layout .img-full {
    height: 100%;
}

#articleBody .large-quote, #articleClone .large-quote {
    max-width: 95%;
    margin: 30px 0;
}

#articleBody .large-quote-text, #articleClone .large-quote-text {
    font-weight: 800;
    font-size: 48px;
    line-height: 58px;
    letter-spacing: 0%;
    color: #007C85;
    padding-bottom: 12px;
}

#articleBody .large-quote-attribution, #articleClone .large-quote-attribution {
    font-weight: 800;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;
}

#articleBody .wf-button {
    margin-top: 40px;
}

#articleBody .video-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 12px;
}

#articleBody iframe {
    min-width: 60%;
    aspect-ratio: 560 / 315;
}

#articleBody .stats-wrapper, #articleClone .stats-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    margin: 40px 0;
}

.stats-wrapper .stats-container {
    display: flex;
    flex-direction: column;
    max-width: 25%;
}

.stats-wrapper .stats-container .stats-num {
    font-weight: 800;
    font-size: 48px;
    line-height: 58px;
    letter-spacing: 0%;
    color: #161F38;
}

.stats-wrapper .stats-container .stats-text {
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    color: #161F38;
}

#articleBody .h-bar {
    height: 2px;
    background-color: #E4D955;
    margin: 56px 0;
}

#articleBody .contributor-heading, #articleClone .contributor-heading {
    font-weight: 800;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;
    color: #161F38;
}

#articleBody .contributor, #articleClone .contributor {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #161F38;
    margin: 12px 0;
}

#articleBody .contributor span, #articleClone .contributor span {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-underline-offset: 0%;
    text-decoration-thickness: 0%;
}

.indent {
    margin-left: 32px !important;
}

.no-space-below {
    margin-bottom: 0 !important;
}

.aspect-three-halves {
    aspect-ratio: 3 / 2 !important;
}

/* PDF EXPORT */

.export-article-header {
    font-weight: 800;
    font-size: 48px;
    line-height: 80px;
    letter-spacing: 0%;
    color: #161F38;
}

#articleClone {
    width: 100%;
}

#articleClone .gallery-layout,
#articleClone .image-container,
#articleClone .image-full,
#articleClone .wf-button,
#articleClone .h-bar,
#articleClone .video-container {
    display: none;
}

#articleClone .contributor span {
    text-decoration: none;
}

/* GALLERY VIEW */

#galleryViewModalContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    display: none;
    align-items: center;
    justify-content: center;
}

#galleryViewModal {
    width: 100%;
    height: 100%;
    background-color: rgba(22,24,56,0.8);
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    padding: 50px 112px;
    box-sizing: border-box;
}

#galleryViewModal .icon-close {
    align-self: flex-end;
}

#galleryView {
    position: relative;
    width: 100%;
    height: 85%;
    aspect-ratio: 1216 / 805;
    background-color: lightgray;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url(../assets/Phase1_Images/Case_Studies/Chevrolet/Corvette-1.png);
}

.gallery-view-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    background: #007C85;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    cursor: pointer;
    transition: background 0.3s;
}

.gallery-view-btn:hover {
    background: #161F38;
}

#galleryViewRight {
    right: 0;
}

#galleryViewBottom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: #FFFFFF;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;
}

#galleryViewPagination {
    font-weight: 800;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    text-align: right;
}

@media only screen and (max-height: 650px) {
    .case-study-section-container {
        width: 85%;
    }

    .section-headline {
        font-size: 56px;
        line-height: 60px;
    }

    #articleSection {
        padding: 60px 6%;
    }
}

@media only screen and (max-width: 800px) and (orientation: portrait) {
    #menu {
        position: absolute;
    }

    .case-study-section {
        height: 60vh;
    }

    .case-study-section-container {
        margin-top: 9%;
    }

    .section-headline {
        font-size: 32px;
        line-height: 42px;
    }

    #articleSection {
        padding: 75px 3%;
    }

    #articleSectionContainer {
        flex-direction: column;
    }

    #articleReturn {
        align-items: center;
    }

    #articleReturnText {
        max-width: unset;
    }

    #articleBody {
        padding: 40px 0;
        width: 95%;
        max-width: 95%;
    }

    #articleBody h1, #articleClone h1 {
        font-weight: 800;
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0%;
    }

    #articleBody p, #articleBody li, #articleClone p, #articleClone li {
        font-weight: 500;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0%;
    }

    #articleBody .large-quote-text, #articleClone .large-quote-text {
        font-weight: 800;
        font-size: 32px;
        line-height: 42px;
        letter-spacing: 0%;
    }

    #articleBody .large-quote-attribution, #articleClone .large-quote-attribution {
        margin-top: 8px;
    }

    .indent {
        margin-left: 0 !important;
    }

    #articleBody .image-container {
        margin-bottom: 24px;
    }

    #articleBody .image-container.v30 {
        width: 75%;
        margin: auto;
    }

    #articleBody .image-container.v .img-full {
        width: 100%;
    }

    #articleBody .gallery-layout {
        margin-bottom: 24px;
    }

    #articleBody .gallery-layout .row.top {
        flex-direction: column;
    }

    #articleBody .gallery-layout .image-container {
        height: 100%;
    }

    .stats-wrapper .stats-container .stats-num {
        font-weight: 800;
        font-size: 32px;
        line-height: 42px;
        letter-spacing: 0%;
    }

    #galleryViewModal {
        width: 100%;
        height: 100%;
        padding: 0;
        align-items: center;
    }

    #galleryViewModal .icon-close {
        width: 28px;
        height: 28px;
        position: absolute;
        top: 42px;
        right: 20px;
    }
    
    #galleryView {
        height: unset;
    }

    .gallery-view-btn {
        width: 40px;
        height: 40px;
    }

    .gallery-view-btn .icon {
        width: 28px;
        height: 28px;
    }

    #galleryViewBottom {
        width: 85%;
        flex-direction: column;
    }

    #galleryViewPagination {
        text-align: center;
        margin-top: 50px;
    }

    #landingMenu {
        display: flex;
    }
}

@media only screen and (max-width: 500px) and (orientation: portrait) {
    .section-headline {
        font-size: 24px;
        line-height: 32px;
    }

    #articleSection {
        padding: 45px 3%;
    }

    #articleBody .large-quote-text, #articleClone .large-quote-text {
        font-weight: 800;
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0%;
    }
}

@media only screen and (max-width: 400px) and (orientation: portrait) {
    .case-study-section-container {
        width: 87.5%;
        margin-top: 12%;
    }

    .section-headline {
        font-size: 18px;
        line-height: 24px;
    }

    #articleReturn .icon {
        width: 15px;
        height: 15px;
    }

    #articleReturnText {
        font-size: 14px;
        line-height: 18px;
    }

    #articleBody p, #articleBody li, #articleClone p, #articleClone li {
        font-weight: 500;
        font-size: 12px;
        line-height: 18px;
    }
    
    #articleBody .large-quote-text, #articleClone .large-quote-text {
        font-size: 18px;
        line-height: 24px;
    }

    #articleBody .large-quote-attribution, #articleClone .large-quote-attribution {
        font-size: 14px;
        line-height: 20px;
    }

    .wf-button {
        font-size: 12px;
        line-height: 18px;
    }

    .footer-nav-email {
        font-size: 20px;
        line-height: 32px;
    }

    #articleFooterContinueHeader {
        font-weight: 800;
        font-size: 24px;
        line-height: 32px;
    }
    
    #articleFooterNextProjectTitle {
        font-weight: 800;
        font-size: 16px;
        line-height: 24px;
    }

    .icon-arrow {
        width: 30px;
        height: 30px;
    }
}

@media only screen and (max-height: 500px) and (orientation: landscape) {
    .section-headline {
        font-size: 30px;
        line-height: 42px;
    }

    #articleSectionContainer {
        gap: 4px;
    }

    #articleBody .large-quote-text, #articleClone .large-quote-text {
        font-size: 28px;
        line-height: 34px;
    }

    #articleFooterContinueHeader {
        font-size: 24px;
        line-height: 30px;
    }

    #articleFooterNextProjectTitle {
        font-size: 18px;
        line-height: 24px;
    }
}