/* Semantic case-study headings retain the former div typography. Shared CSS is unchanged. */
.case-study-detail-page {
    --cs-title-size: 57px;
    --cs-title-weight: 700;
    --cs-section-size: 33.18px;
    --cs-section-weight: 600;
}

/* Important, scoped declarations override the site's global h1/h2 rules only here. */
.case-study-detail-page h1.case-study-heading {
    color: #fff !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: var(--cs-title-size) !important;
    font-style: normal !important;
    font-weight: var(--cs-title-weight) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    text-align: left;
    margin-bottom: 0;
}

.case-study-detail-page h2.casestudyH5 {
    color: #fff !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: var(--cs-section-size) !important;
    font-style: normal !important;
    font-weight: var(--cs-section-weight) !important;
    line-height: normal !important;
    letter-spacing: -0.995px !important;
    margin-bottom: 10px;
}

.case-study-detail-page h2.casestudyH6 {
    color: #fff !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 27.65px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: normal !important;
    letter-spacing: -0.691px !important;
    margin-bottom: 0;
}

/* Keep the former h6 wrapper's line box and spacing without a navigation heading. */
.case-study-detail-page .case-study-back-link {
    margin: 0 0 0.5rem;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 27.65px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: -0.691px;
}

/* Retain responsive font sizes and weights at the original breakpoint boundaries. */
@media (max-width: 374px) {
    .case-study-detail-page {
        --cs-title-size: 35px;
        --cs-title-weight: 300;
        --cs-section-size: 23px;
        --cs-section-weight: 300;
    }
}

@media (min-width: 375px) and (max-width: 575px) {
    .case-study-detail-page {
        --cs-title-size: 28px;
        --cs-title-weight: 400;
        --cs-section-size: 25px;
        --cs-section-weight: 400;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .case-study-detail-page {
        --cs-title-size: 45px;
        --cs-title-weight: 500;
        --cs-section-size: 28px;
        --cs-section-weight: 400;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .case-study-detail-page {
        --cs-title-size: 45px;
        --cs-title-weight: 500;
        --cs-section-size: 30px;
        --cs-section-weight: 500;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .case-study-detail-page {
        --cs-title-size: 50px;
        --cs-title-weight: 500;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .case-study-detail-page {
        --cs-title-size: 55px;
    }
}

@media (min-width: 1400px) and (max-width: 1800px) {
    .case-study-detail-page {
        --cs-title-size: 60px;
    }
}

@media (min-width: 1801px) and (max-width: 2559px) {
    .case-study-detail-page {
        --cs-title-size: 65px;
    }
}

@media (min-width: 2560px) and (max-width: 3000px),
(min-width: 3001px) and (max-width: 3880px) {
    .case-study-detail-page {
        --cs-title-size: 70px;
    }
}

@media (min-width: 3880px) {
    .case-study-detail-page {
        --cs-title-size: 75px;
    }
}