/* POST-TYPE: Case Studies */
/* section: Head */
.HEADER-SINGLE.alt-case-study .b-frame { max-width: 970px; }

.HEADER-SINGLE.alt-case-study .b-frame-head { margin: 0 auto 60px; }

.HEADER-SINGLE.alt-case-study .background { position: relative; }
.HEADER-SINGLE.alt-case-study .background::before {
    content: '';
    background-color: #F6F6FB;

    position: absolute;
    top: -999px;
    left: -999px;
    right: -999px;
    bottom: 50%;
    z-index: -1;
}

.HEADER-SINGLE.alt-case-study .b-media::after { padding-bottom: calc(540/970 * 100%); }

@media screen and (max-width: 900px) { 
    .HEADER-SINGLE.b-frame-head { margin-bottom: 40px; }
}





/* section: content */
.CONTENT-MAIN.alt-case-study .b-frame {
    padding-top: 0;
    max-width: 970px;
}

.CONTENT-MAIN.alt-case-study .b-frame > .content > *:not(:first-child) { margin-top: 50px;}
.CONTENT-MAIN.alt-case-study .b-frame > .content > *:not(:last-child) { margin-bottom: 50px;}

.CONTENT-MAIN.alt-case-study .key-results {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: space-evenly;
}

.CONTENT-MAIN.alt-case-study .key-results > .result {
    max-width: 280px;
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
}

.CONTENT-MAIN.alt-case-study .key-results > .result > p {
    color: #1C6BFF;
    font-size: 110px;
    font-weight: 800;
    line-height: 90px;
    margin-bottom: 10px;
}
.CONTENT-MAIN.alt-case-study .key-results > .result > p > span {
    font-size: 28px;
    line-height: 34px;
}

.CONTENT-MAIN.alt-case-study .key-results > .result > h4 { margin-top: 0; }

.CONTENT-MAIN.alt-case-study .testimonial {
    box-sizing: border-box;
    padding: 30px 145px 30px 30px;
    display: flex;
    align-items: flex-start;
    border-radius: 10px;
    background-color: #FFFFFF;
    box-shadow: 0 20px 40px 0 rgba(0,0,0,0.1);
}
 
.CONTENT-MAIN.alt-case-study .testimonial > .b-media {
    flex: 0 0 90px;
    margin-right: 25px;
    padding-bottom: 90px;
    width: 90px;
    height: 90px;
    border-radius: 100%;
}

.CONTENT-MAIN.alt-case-study .testimonial > .content { margin-bottom: 15px; }

.CONTENT-MAIN.alt-case-study .testimonial > .content > p { margin: 0; color: #0E1924; }
.CONTENT-MAIN.alt-case-study .testimonial > .content > p:nth-of-type(1) { font-size: 16px; font-weight: 700; }
.CONTENT-MAIN.alt-case-study .testimonial > .content > p:nth-of-type(2) { opacity: 0.7; font-size: 15px; margin-bottom: 20px; }
.CONTENT-MAIN.alt-case-study .testimonial > .content > p:nth-of-type(3) { font-size: 18px; font-weight: 500; }

.CONTENT-MAIN.alt-case-study .button-container { width: fit-content; margin: 0 auto; }

.CONTENT-MAIN.alt-case-study .line-break {
    height: 1px;
    width: 100%;
    background-color: #D8D8D8;
}

.CONTENT-MAIN.alt-case-study .b-media {
    padding-bottom: calc(540/970 * 100%);
    border-radius: 10px;
}

.CONTENT-MAIN.alt-case-study .cta-block {
    box-sizing: border-box;
    padding: 40px;
    font-weight: 800;
    color: #FFFFFF;
    background-color: #003282;
    border-radius: 10px;
    text-align: center;
}

.CONTENT-MAIN.alt-case-study .cta-block > p {
    max-width: 600px;
    line-height: 50px;
    margin: 0 auto;
    margin-bottom: 25px;
}

.CONTENT-MAIN.alt-case-study .parallel-image-block {
    display: flex;
    max-height: 320px;
}

.CONTENT-MAIN.alt-case-study .parallel-image-block > .b-media { padding-bottom: 34%; }
.CONTENT-MAIN.alt-case-study .parallel-image-block > .b-media:first-of-type { margin-right: 30px; }

@media screen and (max-width: 900px) {
    .CONTENT-MAIN.alt-case-study .key-results { flex-wrap: wrap; }
    .CONTENT-MAIN.alt-case-study .key-results > .result { max-width: 230px; }
    .CONTENT-MAIN.alt-case-study .key-results > .result > p { font-size: 88px; }
    .CONTENT-MAIN.alt-case-study .key-results > .result > p > span { font-size: 22px; }

    .CONTENT-MAIN.alt-case-study .testimonial { padding: 20px; flex-direction: column; }
    .CONTENT-MAIN.alt-case-study .testimonial > .b-media { margin: 0 auto; }
    .CONTENT-MAIN.alt-case-study .testimonial > .content { text-align: center; margin-bottom: 0; margin-top: 15px; }

    .CONTENT-MAIN.alt-case-study .cta-block { padding: 20px; }
    .CONTENT-MAIN.alt-case-study .cta-block > p { line-height: initial; line-height: 36px; margin-bottom: 15px; }
    
    .CONTENT-MAIN.alt-case-study .parallel-image-block {
        display: flex;
        flex-direction: column;
        max-height: fit-content;
    }

    .CONTENT-MAIN.alt-case-study .parallel-image-block > .b-media { padding-bottom: calc(540/970 * 100%); }
    .CONTENT-MAIN.alt-case-study .parallel-image-block > .b-media:first-of-type { margin-right: 0; margin-bottom: 30px; }

}





/* section: Continue Reading */
.SECTION-POSTS.alt-case-study .b-frame { padding-top: 0; padding-bottom: 80px; }

.SECTION-POSTS.alt-case-study .b-card { box-shadow: 0 20px 40px 0 rgba(0,0,0,0.1); }

.SECTION-POSTS.alt-case-study .b-card > .b-media { border-radius: 0; }
.SECTION-POSTS.alt-case-study .b-card > .b-media::after { padding-bottom: calc(207/370 * 100%); }

.SECTION-POSTS.alt-case-study .b-card > .content { padding: 20px; }

@media screen and (max-width: 900px) {
    .SECTION-POSTS.alt-case-study .b-frame { padding-bottom: 40px; }
}