/* Case Study Hero */

html,
body {
    overflow-x: unset;
}

body {
    background-color: #ffffff;
}

#single_study_hero {
    margin: 55px 0 100px;
    padding: 0 100px;
}

#single_study_hero_wrapper {
    background-color: rgba(170, 233, 255, 1);
    border-radius: 26px;
    padding: 78px 74px;
}

.single_study_hero_inner {
    display: grid;
    grid-template-columns: 630px minmax(0, 750px);
    column-gap: 40px;
}

.single_study_hero_logo {
    max-width: 168px;
    user-select: none;
    -webkit-user-select: none;
    grid-row: 1;
    grid-column: 1;
    margin-top: 25px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 31px;
}

.single_study_hero_title {
    color: var(--say9-default-text-blue);
    font-size: 48px;
    line-height: 1.18em;
    font-weight: 700;
    grid-row: 2;
    grid-column: 1;
    transition: color 0.3s ease-in-out;
}

.single_study_hero_img {
    grid-row: 1 / 4;
    grid-column: 2;
    max-width: 750px;
}

.hero_stats {
    max-width: 530px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
    grid-row: 3;
    grid-column: 1;
    margin: 80px 0 26px 0;
}

.hero_stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat_number {
    font-size: 48px;
    line-height: 1.18em;
    font-weight: 700;
    color: var(--say9-default-text-blue);
    transition: color 0.3s ease-in-out;
}

.stat_name {
    color: var(--say9-default-text-blue);
    font-size: 22px;
    line-height: 1.4em;
    text-align: center;
    font-weight: 400;
    transition: color 0.3s ease-in-out;
}

/* Case Study */

#case_study {
    padding: 0 100px;
    margin-bottom: 140px;
}

#case_study_inner {
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
    justify-content: space-between;
}

#details_container {
    width: 416px;
    flex-shrink: 0;
    position: relative;
}

#details {
    position: sticky;
    position: -webkit-sticky;
    top: 100px;
    height: auto;
}

#details_wrapper {
    overflow: hidden;
}

#details_inner {
    /* max-height: 100%; */
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding: 24px;
    border-radius: 24px;
    background: #F8F9FD;
    display: flex;
    flex-direction: column;
}

#details .detail_title {
    color: var(--Gray-900);
    font-size: 30px;
    line-height: 1.28em;
    font-weight: 700;
    margin-bottom: 24px;
}

#details .detail {
    color: var(--Gray-900);
    font-size: 22px;
    line-height: 1.4em;
    font-weight: 700;
    margin-bottom: 4px;
}

#details .info {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6em;
    color: var(--Gray-500);
    margin-bottom: 14px;
}

/* TTC Player */

#tts-player-wrapper {
    width: 100%;
    max-width: 600px;
    min-width: 0;
}

#tts-player {
    position: relative;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    align-items: center;
    width: 100%;
}

#tts-player .tts-speeds {
    display: none;
    gap: 6px;
}

#tts-player .tts-speed {
    border-radius: 100px;
    background-color: #FFFFFF;
    padding: 6px 6px 4px 6px;
    font-size: 14px;
    line-height: 22.4px;
    color: #021835;
    border: none;
    font-weight: 500;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 36px;
    outline: none;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

#tts-player.active .tts-speeds {
    display: flex;
}

#tts-player .tts-speed.active {
    background-color: #C6E1FF;
}

.tts-toggle {
    background-color: var(--say9-secondary-blue);
    border-radius: 100px;
    width: 97px;
    border: none;
    cursor: pointer;
    padding: 6.5px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 4px;
    outline: none;
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease-in-out;
}

.tts-toggle.tts-sticky {
    margin-top: 40px;
}

.tts-toggle .play,
.tts-toggle .pause {
    height: 24px;
}

.tts-toggle .pause {
    display: none;
}

#tts-player .tts-toggle .tts-txt,
.tts-toggle.tts-sticky .tts-txt {
    color: rgba(255, 255, 255, 1);
    font-size: 18px;
    line-height: 22.4px;
    font-weight: 500;
    padding-top: 2px;
}

.tts-timers {
    display: none;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
    background-color: #FFFFFF;
    border-radius: 100px;
    padding: 10px 10px 8px 10px;
    column-gap: 4px;
    height: 36px;
}

#tts-player.active .tts-timers {
    display: flex;
}

.tts-progress {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    height: 18px;
    overflow: hidden;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.tts-progress div {
    width: 1px;
    flex: 0 0 1px;
    min-width: 0;
    border-radius: 20px;
    border: 1px solid #021835;
    transition: border-color .1s;
}

.tts-progress div.played {
    border-color: var(--say9-secondary-blue);
}

.tts-speed,
.tts-timers,
.tts-progress {
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.3s ease,
        color 0.3s ease;
}

.tts-speed,
.tts-toggle {
    flex: 0 0 auto;
}

.active .tts-speed,
.active .tts-toggle,
.active .tts-timers,
.active .tts-progress {
    opacity: 1;
    pointer-events: auto;
}

#case_study h3.brand_title,
#case_study .heading {
    color: var(--say9-primary-blue);
    font-size: 60px;
    font-weight: 700;
    line-height: 1.16em;
    margin-bottom: 32px;
    transition: color 0.3s ease-in-out;
}

#content {
    max-width: 1084px;
}

#content h3 {
    font-size: 18px;
}

#content h3.wp-block-heading,
#content h2.wp-block-heading {
    font-weight: 700;
    font-size: 26px;
    padding-left: 36px;
    line-height: 1.4em;
    position: relative;
}

#content h3.wp-block-heading::before,
#content h2.wp-block-heading::before {
    content: "";
    width: 14px;
    height: 14px;
    position: absolute;
    top: 15px;
    transform: translateY(-50%);
    left: 4px;
    background-image: url("../assets/images/blog/subtitle_icon.svg");
}

#content h2 {
    font-size: 20px;
}

#content>* {
    color: var(--say9-default-text-blue);
    list-style: initial;
    margin-bottom: 32px;
    line-height: 1.6em;
    font-size: 24px;
    font-weight: 400;
    transition: color 0.3s ease-in-out;
}

#content>.loom_video {
    margin: 0 0 32px 0;
}

#content>figure {
    margin: 32px 0;
}

#content p>strong {
    color: var(--say9-default-text-blue);
    font-size: 24px;
}

#content li>strong {
    color: var(--say9-default-text-blue);
    font-size: 24px;
    line-height: 1.6em;
}

#content ul {
    color: var(--say9-default-text-blue);
    padding: initial;
    list-style: none;
    font-size: 24px;
    line-height: 1.6em;
    font-weight: 400;
    counter-reset: item;
}

#content li {
    counter-increment: item;
    color: var(--say9-default-text-blue);
    font-size: 24px;
    line-height: 1.6em;
    font-weight: 400;
    margin-bottom: 0;
    padding: 24px 0 12px 0;
    border-bottom: 2px solid #E5F1FF;
    transition: color 0.3s ease-in-out;
}

#content li:before {
    content: counter(item);
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-right: 14px;
    transition: background-color 0.3s ease-in-out;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.6em;
    top: -1px;
}

#content p.has-link-color {
    font-weight: 700 !important;
}

#content a {
    color: #077DFD;
    text-decoration: underline;
    transition: color .3s ease;
}

#content figure img {
    height: auto;
    width: 100% !important;
}

#content figure video {
    height: auto;
    width: 100%;
}


/* Related Case Studies */

#related_studies_wrapper {
    padding: 0 100px;
    overflow: hidden;
}

#related_studies_inner {
    max-width: 1640px;
    position: relative;
}

#related_studies_inner>* {
    min-width: 0;
}

#related_studies_inner,
.related_studies_slider,
.related_studies {
    overflow: visible;
}

.related_studies_title {
    font-size: 72px;
    line-height: 1.08em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 68px;
}

.related_studies_slider {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    clip-path: inset(0 -9999px 0 0);
}

/* Related Slider */


.related_slider_pagination {
    bottom: 0 !important;
    top: unset !important;
    width: fit-content !important;
    left: 50% !important;
    transform: translateX(-50%);
    display: flex;
}

.related_slider_pagination .swiper-pagination-bullet {
    background-color: #10335F;
    width: 12px;
    height: 8px;
    border-radius: 50px;
    margin: 0 2px !important;
    opacity: 1;
    transition: width 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.related_slider_pagination .swiper-pagination-bullet-active {
    background-color: var(--say9-secondary-blue);
    width: 14px;
}

/* Result */

#result {
    padding-top: 140px;
}

.result_content {
    margin: 100px 0;
    gap: 14px;
}

.result_desc {
    margin-bottom: 46px;
}

@media screen and (max-width: 1760px) {
    #single_study_hero_wrapper {
        padding: 60px;
    }

    .single_study_hero_inner {
        grid-template-columns: 580px minmax(0, 750px);
    }

    #content {
        max-width: 1000px;
    }
}

@media screen and (max-width: 1600px) {
    .single_study_hero_inner {
        grid-template-columns: 500px minmax(0, 750px);
    }

    .single_study_hero_title,
    .stat_number {
        font-size: 44px;
    }

    .stat_name {
        font-size: 20px;
    }
}

@media screen and (max-width: 1440px) {
    #single_study_hero_wrapper {
        padding: 40px 30px;
    }

    .single_study_hero_inner {
        grid-template-columns: 460px minmax(0, 750px);
    }

    .single_study_hero_logo {
        margin-top: 14px;
    }

    .single_study_hero_title,
    .stat_number {
        font-size: 40px;
    }

    .hero_stats {
        margin-top: 60px;
    }

    .stat_name {
        font-size: 18px;
    }

    #case_study {
        margin-bottom: 120px;
    }

    #case_study h3.brand_title {
        font-size: 40px;
    }

    #content {
        max-width: 950px;
    }

    #content>*,
    #content p>strong {
        font-size: 24px;
    }


    #content li,
    #content ul {
        font-size: 24px;
    }

    #content li:before {
        font-size: 24px;
        top: -1px;
    }

    #content li>strong {
        font-size: 24px;
    }

    #details_container {
        width: 350px;
    }

    #tts-player.active .tts-toggle {
        width: 37px;
    }

    #tts-player.active .tts-toggle .tts-txt {
        display: none;
    }

    .related_studies_title {
        font-size: 60px;
    }

    .result_content {
        margin: 60px 0;
    }
}

@media screen and (max-width: 1350px) {
    .single_study_hero_inner {
        grid-template-columns: 410px minmax(0, 750px);
    }

    .single_study_hero_title,
    .stat_number {
        font-size: 36px;
    }
}

@media screen and (max-width: 1200px) {
    #single_study_hero {
        padding: 0 70px;
        margin: 40px 0 60px;
    }

    #single_study_hero_wrapper {
        padding: 40px 20px;
    }

    .single_study_hero_inner {
        grid-template-columns: 370px minmax(0, 750px);
    }

    .single_study_hero_title,
    .stat_number {
        font-size: 32px;
    }

    .stat_name {
        font-size: 16px;
    }

    #case_study {
        padding: 0 70px;
    }

    #related_studies_wrapper {
        padding: 0 70px;
    }

    .related_studies_title {
        font-size: 54px;
    }
}


@media screen and (max-width: 1024px) {
    #single_study_hero {
        margin: 40px 0 60px;
    }

    #single_study_hero_wrapper {
        padding: 40px 70px 70px;
    }

    .single_study_hero_inner {
        grid-template-columns: 1fr;
        row-gap: 24px;
        column-gap: 0;
    }

    .single_study_hero_logo,
    .single_study_hero_title,
    .single_study_hero_img {
        grid-column: 1;
        margin: 0;
    }

    .single_study_hero_img {
        grid-row: 1;
        align-self: stretch;
        width: 100%;
        max-width: none;
        margin-bottom: 64px;
    }

    .single_study_hero_img>* {
        display: block;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box;
    }

    .hero_stats {
        max-width: 100%;
        grid-row: 4;
        margin: 0;
    }

    .single_study_hero_logo {
        grid-row: 2;
    }

    .single_study_hero_title {
        font-size: 48px;
        grid-row: 3;
    }

    .stat_number {
        font-size: 48px;
    }

    .stat_name {
        font-size: 22px;
    }

    #case_study {
        margin-bottom: 60px;
    }

    .detail_wrapper {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 40px;
        margin-bottom: 20px;
    }

    #tts-player.active {
        justify-content: flex-end;
    }

    #tts-player {
        padding-bottom: 0;
    }

    #tts-player.active .tts-toggle {
        width: 97px;
    }

    #tts-player.active .tts-toggle .tts-txt {
        display: flex;
    }

    #content h3.wp-block-heading,
    #content h2.wp-block-heading {
        font-size: 26px;
        padding-left: 36px;
    }

    #content h3.wp-block-heading::before,
    #content h2.wp-block-heading::before {
        width: 14px;
        height: 14px;
        top: 15px;
        left: 4px;
    }

    #case_study h3.brand_title,
    #case_study .heading {
        font-size: 60px;
    }

    #content>* {
        font-size: 24px;
        line-height: 1.6em;
    }

    #content p>strong,
    #content li>strong {
        font-size: 24px;
    }

    #case_study_inner {
        flex-direction: column;
        gap: 60px;
    }

    #details_container {
        width: 100%;
        flex-shrink: 0;
    }

    #details {
        position: static;
    }

    #details_inner {
        max-height: none;
        overflow: visible;
        top: auto;
    }

    .related_studies_title {
        font-size: 70px;
        margin-bottom: 60px;
    }

    .related_studies_pagination {
        bottom: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .related_studies_slider .related_studies_pagination .swiper-pagination-bullet {
        margin: 0 2px;
        height: 6px;
        width: 26px;
        border-radius: 43px;
        background-color: var(--say9-main-blue);
        opacity: 0.4;
        transition: opacity 0.3s ease-in-out, width 0.3s ease-in-out, height 0.3s ease-in-out;
    }

    .related_studies_slider .related_studies_pagination .swiper-pagination-bullet-active {
        opacity: 1;
        height: 8px;
        width: 36px;
    }

    .result_content {
        margin: 0;
    }

    .result_desc {
        margin: 0;
    }
}

@media screen and (max-width: 850px) {
    .related_studies_title {
        font-size: 54px;
    }
}

@media screen and (max-width: 768px) {
    #single_study_hero {
        margin: 30px 0;
        padding: 0 16px;
    }

    #single_study_hero_wrapper {
        padding: 25px 20px 32px;
        border-radius: 24px;
    }

    .single_study_hero_img {
        margin-bottom: 3px;
    }

    .single_study_hero_title {
        font-size: 40px;
    }

    .stat_number {
        font-size: 36px;
    }

    .stat_name {
        font-size: 18px;
    }

    #case_study {
        padding: 0 16px;
    }

    #case_study_inner {
        gap: 30px;
    }

    #case_study h3.brand_title,
    #case_study .heading {
        font-size: 48px;
    }

    #related_studies_wrapper {
        padding: 0 16px;
    }

    .related_studies_title {
        font-size: 48px;
        margin-bottom: 40px;
    }

    #result {
        padding-top: 100px;
    }
}

@media screen and (max-width: 600px) {
    .single_study_hero_title {
        font-size: 36px;
    }

    .stat_number {
        font-size: 32px;
    }

    .stat_name {
        font-size: 16px;
    }

    #details_inner {
        padding: 24px 14px;
    }

    .detail_wrapper {
        margin-bottom: 0;
    }

    #case_study h3.brand_title,
    #case_study .heading {
        font-size: 40px;
    }

    #content>.loom_video {
        margin: 0 0 24px 0;
    }

    #content>figure {
        margin: 24px 0;
    }

    .related_studies_slider {
        padding-bottom: 40px;
    }

    .related_studies_title {
        font-size: 42px;
    }
}

@media screen and (max-width: 480px) {
    .single_study_hero_title {
        font-size: 34px;
    }

    .stat_number {
        font-size: 26px;
    }

    .stat_name {
        font-size: 14px;
    }

    #case_study h3.brand_title,
    #case_study .heading {
        font-size: 36px;
    }

    .related_studies_title {
        font-size: 34px;
    }

    .case_study_title {
        font-size: 20px;
        line-height: 1.4em;
        max-height: 56px;
    }
}

@media screen and (max-width: 450px) {
    .hero_stats {
        column-gap: 10px;
    }

    .tts-progress {
        gap: 2px;
    }

    #tts-player.active .tts-toggle .tts-txt {
        display: none;
    }

    #tts-player.active .tts-toggle {
        width: 37px;
    }

    #case_study h3.brand_title,
    #case_study .heading {
        font-size: 34px;
    }
}

/*  */

.case-video-wrapper {
    position: relative;
    display: inline-block;
}

.case-video-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.2);
    opacity: 1;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

#content .case-video-play-btn img {
    width: 90px !important;
    height: 90px !important;
    pointer-events: none;
}

.case-video-wrapper.playing .case-video-play-btn {
    opacity: 0;
    pointer-events: none;
}

@media screen and (max-width: 480px) {
    #content .case-video-play-btn img {
        width: 60px !important;
        height: 60px !important;
    }
}