.case_study_pod-template {
    div,
    p {
        font-family: Inter, Helvetica Neue, Arial, sans-serif;
    }
}

.bg-blue-fade {
    position: relative;
    .fade-bg {
        position: absolute;
        left: 0;
        top: -116px;
        width: 100%;
        height: auto;
        object-fit: cover;
        z-index: 1;
    }
}
.customer-review-hero-block__wrapper {
    margin: calc(116px + 48px + 32px) 0 80px;
    @media (max-width: 992px) {
        margin: calc(100px + 12px) 0 40px;
    }
}

.gutenberg-blocks-template__wrapper {
    position: relative;
    z-index: 2;
}

.customer-review-hero-block {
    width: 1150px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;

    .content-section {
        flex: 1;
        max-width: 667px;
        display: inline-flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 12px;

        .category-tags {
            align-self: stretch;
            padding: 0.5rem 0;
            display: inline-flex;
            justify-content: flex-start;
            align-items: center;
            gap: 0.375rem;

            .category-text {
                justify-content: flex-start;
                color: #0080ea;
                font-size: 1rem;
                font-weight: 600;
                font-family: 'Inter', sans-serif;
                text-transform: uppercase;
                line-height: 1.25;
            }

            .separator {
                width: 1rem;
                height: 1rem;
                position: relative;
                overflow: hidden;

                .dot {
                    width: 0.25rem;
                    height: 0.25rem;
                    position: absolute;
                    left: 0.375rem;
                    top: 0.375rem;
                    background-color: #a0a3bd;
                    border-radius: 50%;
                }
            }
        }

        .title-section {
            align-self: stretch;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;

            .title-content {
                color: #262626;
                font-size: 3rem;
                font-weight: bold;
                font-family: 'Plus Jakarta Display', sans-serif;
                line-height: 1.17;
                b,
                strong,
                span {
                    color: #0080ea;
                }
            }
        }

        .description-section {
            align-self: stretch;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;

            .description-text {
                align-self: stretch;
                justify-content: center;
                color: #6e7191;
                font-size: 20px;
                font-weight: normal;
                font-family: 'Inter', sans-serif;
                line-height: 1.625;
                @media (max-width: 992px) {
                    font-size: 16px;
                    text-align: center;
                }
            }
        }
    }

    .image-section {
        width: 560px;
        border-radius: 1rem;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 3.5rem;
        overflow: hidden;

        .hero-image {
            width: 560px;
            height: 526px;
            object-fit: cover;
        }
    }
}

/* Responsive design */
@media (max-width: 1200px) {
    .customer-review-hero-block {
        width: 100%;

        .content-section {
            max-width: 50%;
        }

        .image-section {
            max-width: 50%;

            .hero-image {
                width: 100%;
            }
        }
    }
}

@media (max-width: 992px) {
    .customer-review-hero-block {
        .content-section {
            max-width: 100%;
        }

        #custom-breadbrumbs {
            text-align: center;
            display: flex;
            width: 100%;
            align-items: center;
            justify-content: center;

            a {
                @media (max-width: 540px) {
                    font-size: 13px;
                }
            }
        }

        .title-content {
            text-align: center;
            display: block;
            text-align: center;
            width: 100%;
        }

        .image-section {
            display: none;
        }
    }
}

.acf-block-preview {
    .title-content {
        h1 {
            font-size: 44px;
        }
    }
}

/* Case Studies Columns */
.case-studies-columns {
    gap: 64px;
    align-items: flex-start;
    margin-bottom: 80px;

    @media (max-width: 992px) {
        gap: 0;
        flex-direction: column;
        margin-bottom: 40px;
    }

    @media (max-width: 540px) {
        gap: 0;
        flex-direction: column;
        margin-bottom: 0px;
    }
}

.case-studies-columns .wp-block-column:first-child {
    position: sticky;
    top: 140px;
    align-self: flex-start;
    @media (max-width: 992px) {
        margin-bottom: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid #e3e4ee;
        position: relative;
        top: 0;
        max-width: 100%;
        flex-basis: 100% !important;
        width: 100%;
    }
}

.case-studies-columns .wp-block-column:nth-child(2) {
    @media (max-width: 992px) {
        margin-bottom: 40px;
        padding-bottom: 40px;
        border-bottom: 1px solid #e3e4ee;
        max-width: 100%;
        flex-basis: 100% !important;
        width: 100%;
    }
}
