.single-case-study {
    .case-study {
        @media screen and (max-width: 991px) {
            padding-top: var(--spacing-3xl);
        }
        @media screen and (max-width: 768px) {
            padding-top: var(--spacing-2xl);
        }
        @media screen and (max-width: 576px) {
            padding-top: var(--spacing-lg);
        }
        .case-study-header {
            margin-bottom: 40px;

            .client {
                width: 50%;
                font-weight: 800;
                text-transform: uppercase;
                letter-spacing: 3px;
                color: var(--color-primary);

                @media screen and (max-width: 991px) {
                    width: 100%;
                }
                @media screen and (max-width: 991px) {
                    font-size: 2.4rem;
                    letter-spacing: 2px;
                }
                @media screen and (max-width: 576px) {
                    text-align: center;
                }
            }
            h1 {
                margin-bottom: 1.5rem;

                br {
                    @media screen and (max-width: 576px) {
                        display: none;
                    }
                }
            }
            .services-used {
                margin: 0;
                padding: 0;
                display: flex;
                flex-wrap: wrap;
                gap: 20px;

                @media screen and (max-width: 768px) {
                    gap: 15px;
                }
                @media screen and (max-width: 576px) {
                    gap: 10px;
                    justify-content: center;
                }
                li {
                    list-style-type: none;
                }
            }
        }
        .case-study-content {
            h2 {
                font-family: var(--font-secondary);
                font-size: var(--font-size-xl);
                font-weight: normal;
                font-style: italic;
                margin-bottom: 1rem;

                @media screen and (max-width: 991px) {
                    font-size: var(--font-size-lg);
                }
                @media screen and (max-width: 576px) {
                    font-size: var(--font-size-md);
                }
            }
            video {
                display: block;
                width: 100%;
            }
            .the-situation, .the-insight, .the-solve {
                p {
                    a {
                        text-decoration: underline;
                        color: var(--color-white);

                        &:hover, &:focus-visible {
                            text-decoration: none;
                            color: var(--color-accent);
                        }
                    }
                }
            }
            .the-situation {
                p {
                    &:last-of-type {
                        @media screen and (max-width: 991px) {
                            margin-bottom: 0;
                        }
                    }
                }
            }
            .situation-insights {
                margin-top: -30px;
            }
            .situation-insight-media {
                img {
                    display: block;
                    width: 100%;
                    border-radius: 30px;

                    @media screen and (max-width: 576px) {
                        border-radius: 20px;
                    }
                }
                .si-video {
                    border-radius: 30px;
                    overflow: hidden;
                    
                    @media screen and (max-width: 576px) {
                        border-radius: 20px;
                    }
                    &.border {
                        border: 2px solid rgba(var(--color-white-rgb), .15) !important;
                    }
                }
            }
            .solve {
                margin-top: 0;
            }
            .stats {
                .stat {
                    @media screen and (max-width: 1199px) {
                        margin-top: 20px;
                    }
                    &:first-of-type {
                        @media screen and (max-width: 1199px) {
                            margin-top: 40px;
                        }
                        @media screen and (max-width: 991px) {
                            margin-top: 0;
                        }
                    }
                    .stat-heading {
                        font-weight: bold;
                        text-transform: uppercase;
                        letter-spacing: 4.8px;
                        color: var(--color-primary);
                        margin-bottom: .5rem;

                        @media screen and (max-width: 991px) {
                            letter-spacing: 3px;
                        }
                        @media screen and (max-width: 576px) {
                            letter-spacing: 2px;
                        }
                        br {
                            @media screen and (max-width: 1199px) {
                                display: none;
                            }
                        }
                    }
                    .stat-text {
                        line-height: 1.5;
                        text-transform: uppercase;
                        letter-spacing: 1.44px;
                        margin: 0;

                        @media screen and (max-width: 576px) {
                            font-size: 1.6rem;
                            letter-spacing: 1px;
                        }
                    }
                }
            }
            .work {
                .row {
                    margin-top: 0;

                    &:first-of-type {
                        margin-top: -30px;
                    }
                    &.columns-two {
                        .plyr__control--overlaid {
                            padding: 25px;

                            @media screen and (max-width: 576px) {
                                padding: 20px;
                            }
                            svg {
                                width: 25px;
                                height: 25px;

                                @media screen and (max-width: 576px) {
                                    width: 20px;
                                    height: 20px;
                                }
                            }
                        }
                    }
                    &.columns-three {
                        .plyr__control--overlaid {
                            padding: 20px;

                            svg {
                                width: 20px;
                                height: 20px;
                            }
                        }
                    }
                }
                .work-image {
                    border-radius: 30px;
                    overflow: hidden;
                    display: block;

                    @media screen and (max-width: 576px) {
                        border-radius: 20px;
                    }
                    img {
                        display: block;
                        width: 100%;
                    }
                }
                .work-video {
                    border-radius: 30px;
                    overflow: hidden;
                    
                    @media screen and (max-width: 576px) {
                        border-radius: 20px;
                    }
                    &.border {
                        border: 2px solid rgba(var(--color-white-rgb), .15) !important;
                    }
                }
                .work-audio {
                    display: flex;
                    flex-wrap: wrap;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    height: 100%;
                    
                    h3 {
                        font-family: var(--font-primary);
                        font-size: var(--font-size-md);
                        font-weight: 800;
                        font-style: normal;
                        text-transform: uppercase;
                        letter-spacing: 2.4px;
                        margin-bottom: 2rem;

                        @media screen and (max-width: 576px) {
                            font-size: 2rem;
                            letter-spacing: 2px;
                            margin-bottom: 1.5rem;
                        }
                    }
                    .audio-player, .audio-players {
                        width: 100%;
                        max-width: 430px;

                        .audio-player {
                            margin-bottom: 1.6rem;

                            &:last-of-type {
                                margin-bottom: 0;
                            }
                            .audio-player-heading {
                                font-family: var(--font-secondary);
                                font-size: 1.8rem;
                                font-weight: 700;
                                font-style: italic;
                                letter-spacing: .45px;
                                color: var(--color-primary);
                                margin-bottom: 1rem;
                                text-align: center;
                            }
                            audio {
                                display: block;
                                width: 100%;
                            }
                        }
                        .plyr__control[data-plyr="settings"] {
                            display: none;
                        }
                    }
                    .audio-players {
                        padding-bottom: 65px;

                        .plyr__control[data-plyr="play"] {
                            display: none;
                        }
                        .swiper-navigation {
                            position: absolute;
                            bottom: 5px;
                            left: 0;
                            width: 100%;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            gap: 30px;
                            z-index: 10;
                            opacity: 1;
                            visibility: visible;
                            transition: none;
                        }
                        .swiper-button-prev, .swiper-button-next, .play-pause {
                            background: none;
                            border: none;
                            padding: 0;
                            font-size: 0;
                            position: relative;
                            top: auto;
                            margin: 0;
                            transition: .3s ease;
                            opacity: 1;
                            visibility: visible;

                            &:hover, &:focus-visible {
                                transform: scale(1.1);
                            }
                            svg {
                                .bg, .caret, .bar {
                                    transition: .3s ease;
                                }
                            }
                        }
                        .swiper-button-prev, .swiper-button-next {
                            &:hover, &:focus-visible {
                                svg {
                                    .bg {
                                        fill: var(--color-blue);
                                        fill-opacity: 1;
                                    }
                                    .caret, .bar {
                                        fill: var(--color-black);
                                    }
                                }
                            }
                        }
                        .play-pause {
                            &:hover, &:focus-visible {
                                svg {
                                    .bg {
                                        fill: var(--color-primary);
                                    }
                                    .caret, .bar {
                                        fill: var(--color-white);
                                    }
                                }
                            }
                        }
                    }
                    .up-next {
                        width: 100%;
                        max-width: 430px;
                        margin-top: 15px;
                        background-color: rgba(var(--color-white-rgb), .1);
                        border-radius: 8px;
                        padding: 30px 25px 20px;
                        transition: .8s ease;

                        p {
                            font-size: 1.2rem;
                            font-weight: bold;
                            text-transform: uppercase;
                            letter-spacing: 1.2px;
                            color: #F2F2F2;
                            margin-bottom: 1.6rem;
                        }
                        .upcoming-audio {
                            overflow: hidden;
                            position: relative;
                            transition: height 0.4s ease;
                            
                            .up-next-audio {
                                display: none;
                                justify-content: space-between;
                                gap: 10px;
                                padding-bottom: 7px;
                                opacity: 0;
                                transition: opacity 0.8s ease;

                                &.visible {
                                    opacity: 1;
                                    transition: opacity 0.4s ease;
                                }
                                .title, .duration {
                                    font-size: 1.6rem;
                                    line-height: 1.3;
                                    letter-spacing: .08px;
                                    opacity: .75;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .explore {
        padding: var(--spacing-4xl) 0;

        @media screen and (max-width: 768px) {
            padding-top: var(--spacing-2xl);
        }
        .container {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;

            @media screen and (max-width: 768px) {
                align-items: flex-end;
            }
        }
        .previous-case-study {
            width: 365px;

            @media screen and (max-width: 1199px) {
                width: 200px;
            }
            @media screen and (max-width: 768px) {
                width: 50%;
                padding-right: 15px;
                order: 2;
            }
            a {
                display: inline-block;

                &:hover, &:focus-visible {
                    .prev-title {
                        .link-arrow {
                            left: -3px;
                        }
                    }
                    .prev-image {
                        img {
                            transform: scale(1.1);
                        }
                    }
                }
            }
            .prev-title {
                line-height: 1.2;
                margin-bottom: 2rem;
                font-size: 1.6rem;
                font-weight: 800;
                text-transform: uppercase;
                letter-spacing: 1.28px;
                color: var(--color-white);

                @media screen and (max-width: 768px) {
                    letter-spacing: 1px;
                }
                @media screen and (max-width: 576px) {
                    font-size: 1.4rem;
                    letter-spacing: .8px;
                }
                .link-arrow {
                    display: inline-block;
                    width: 10px;
                    height: 10px;
                    position: relative;
                    top: -2px;
                    left: 0;
                    margin-right: 2px;
                    transition: .2s ease-in-out;

                    svg {
                        width: 100%;
                        height: 100%;
                        transform: rotate(-135deg);

                        path {
                            stroke: var(--color-primary);
                            stroke-width: 4px;
                        }
                    }
                }
            }
            .prev-image {
                width: 180px;
                height: 140px;
                border-radius: 30px;
                overflow: hidden;

                @media screen and (max-width: 991px) {
                    width: 160px;
                    height: 120px;
                    border-radius: 20px;
                }
                @media screen and (max-width: 768px) {
                    width: 100%;
                    height: 100%;
                    aspect-ratio: 300 / 220;
                }
                img {
                    display: block;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: .5s ease;
                }
            }
        }
        .explore-services {
            width: calc(100% - 730px);
            padding: 0 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;

            @media screen and (max-width: 1199px) {
                width: calc(100% - 400px);
            }
            @media screen and (max-width: 768px) {
                width: 100%;
                padding-bottom: 40px;
                order: 1;
            }
            p {
                font-family: var(--font-secondary);
                font-size: var(--font-size-md);
                font-weight: bold;
                font-style: italic;
                margin-bottom: 1rem;
            }
            .services-used {
                margin: 0;
                padding: 0;

                li {
                    display: block;
                    list-style-type: none;
                    margin-bottom: 1.4rem;

                    @media screen and (max-width: 576px) {
                        margin-bottom: 1rem;
                    }
                    &:first-of-type {
                        .btn-outline-gray {
                            border: none;
                            border-radius: 0;
                            color: var(--color-white);
                            padding: 0;
                            font-size: var(--font-size-md);
                            font-weight: 800;
                            text-transform: uppercase;
                            letter-spacing: 2px;

                            @media screen and (max-width: 576px) {
                                font-size: 1.8rem;
                                letter-spacing: 1.5px;
                            }
                            .link-arrow {
                                display: inline-block;
                                width: 16px;
                                height: 16px;
                                position: relative;
                                top: -2px;
                                right: 0;
                                margin-left: -2px;

                                @media screen and (max-width: 576px) {
                                    width: 12px;
                                    height: 12px;
                                    top: -1px;
                                }
                                svg {
                                    path {
                                        stroke-width: 2.5px;
                                    }
                                }
                            }
                        }
                    }
                    &:last-of-type {
                        margin-bottom: 0;
                    }
                }
            }
        }
        .next-case-study {
            width: 365px;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            
            @media screen and (max-width: 1199px) {
                width: 200px;
            }
            @media screen and (max-width: 768px) {
                width: 50%;
                padding-left: 15px;
                order: 3;
            }
            a {
                display: inline-flex;
                flex-direction: column;
                align-items: flex-end;

                &:hover, &:focus-visible {
                    .next-title {
                        .link-arrow {
                            right: -3px;
                        }
                    }
                    .next-image {
                        img {
                            transform: scale(1.1);
                        }
                    }
                }
            }
            .next-title {
                text-align: right;
                line-height: 1.2;
                margin-bottom: 2rem;
                font-size: 1.6rem;
                font-weight: 800;
                text-transform: uppercase;
                letter-spacing: 1.28px;
                color: var(--color-white);

                @media screen and (max-width: 768px) {
                    letter-spacing: 1px;
                }
                @media screen and (max-width: 576px) {
                    font-size: 1.4rem;
                    letter-spacing: .8px;
                }
                .link-arrow {
                    display: inline-block;
                    width: 10px;
                    height: 10px;
                    position: relative;
                    top: -2px;
                    right: 0;
                    margin-left: 2px;
                    transition: .2s ease-in-out;

                    svg {
                        width: 100%;
                        height: 100%;
                        transform: rotate(45deg);

                        path {
                            stroke: var(--color-primary);
                            stroke-width: 4px;
                        }
                    }
                }
            }
            .next-image {
                width: 180px;
                height: 140px;
                border-radius: 30px;
                overflow: hidden;

                @media screen and (max-width: 991px) {
                    width: 160px;
                    height: 120px;
                    border-radius: 20px;
                }
                @media screen and (max-width: 768px) {
                    width: 100%;
                    height: 100%;
                    aspect-ratio: 300 / 220;
                }
                img {
                    display: block;
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    transition: .5s ease;
                }
            }
        }
    }
}