.yb-case-studies-container {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 64px;
}

.yb-case-studies-content-box {
    width: 1400px;
    display: flex;
    position: relative;
    flex-flow: column;
    padding-bottom: 44px;
}

.yb-case-studies-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: clip;
}

.yb-case-studies-swiper .yb-case-studies-card {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    display: flex;
    gap: 0;
    background-color: #f5f5f5;
}

.yb-case-studies-swiper .yb-case-studies-card-with-media {
    height: 480px;
}

.yb-case-studies-card-content {
    display: flex;
    position: relative;
    flex-flow: column;
    width: 100%;
    gap: 24px;
}

.yb-case-studies-card-with-media .yb-case-studies-card-content {
    width: calc(100% - 480px);
}

.yb-case-studies-card-content-title {
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    letter-spacing: 0px;
    margin: 0 48px;
    margin-right: 190px;
    margin-top: 64px;
}

.yb-case-studies-card-content-text {
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0px;
    color: #6e6e73;
    margin: 0 48px;
    margin-right: 190px;
}

.yb-case-studies-card-with-media .yb-case-studies-card-content-title,
.yb-case-studies-card-with-media .yb-case-studies-card-content-text {
    margin-right: 48px;
}

.yb-case-studies-card-content-avatar {
    position: absolute;
    left: 48px;
    bottom: 64px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.yb-case-studies-card-content-avatar-image {
    min-width: 56px;
    width: 56px;
    height: 56px;
    background-color: #d9d9d9;
    border-radius: 50%;
}

.yb-case-studies-card-content-avatar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.yb-case-studies-card-content-avatar-content {
    max-width: 400px;
    display: flex;
    justify-content: center;
    flex-flow: column;
    gap: 6px;
    height: 56px;
}

.yb-case-studies-card-content-avatar-content-title {
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0px;
}

.yb-case-studies-card-content-avatar-content-text {
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: 0px;
}

.yb-case-studies-card-content-link {
    position: absolute;
    cursor: pointer;
    right: 50px;
    bottom: 64px;
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0px;
}

.yb-case-studies-card-media {
    width: 480px;
    height: 480px;
    border-radius: 24px;
    background-color: #d9d9d9;
}

.yb-case-studies-card-media img,
.yb-case-studies-card-media video,
.yb-case-studies-card-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
}

.yb-case-studies-content-box .yb-case-studies-swiper-button-next {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -28px;
    width: 56px;
    height: 56px;
    box-shadow: 0px 4px 12px 0px #00000014;
    background-color: #ffffff;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
}

.yb-case-studies-content-box .yb-case-studies-swiper-button-prev {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -28px;
    width: 56px;
    height: 56px;
    box-shadow: 0px 4px 12px 0px #00000014;
    background-color: #ffffff;
    border-radius: 50%;
    z-index: 1;
    cursor: pointer;
}

.yb-case-studies-swiper-button-next::after {
    content: "next";
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.yb-case-studies-swiper-button-next:hover::after {
    transform: translateX(4px);
}

.yb-case-studies-swiper-button-prev::after {
    transform: translateX(0);
    transition: transform 0.3s ease;
    content: "prev";
}

.yb-case-studies-swiper-button-prev:hover::after {
    transform: translateX(-4px);
}

.yb-case-studies-swiper-button-next::after,
.yb-case-studies-swiper-button-prev::after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    height: 100%;
    width: 100%;
    margin: 0;
}

.yb-case-studies-content-box .swiper-button-disabled {
    display: none;
}

.yb-case-studies-content-box .yb-case-studies-swiper-pagination {
    position: absolute;
    margin-top: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 12px;
}

.yb-case-studies-content-box .yb-case-studies-swiper-pagination .swiper-pagination-bullet {
    background-color: #cccdce;
    width: 8px;
    height: 8px;
    opacity: 1;
    margin: 0 8px;
}

.yb-case-studies-content-box .yb-case-studies-swiper-pagination .swiper-pagination-bullet-active {
    background-color: #585858;
    width: 12px;
    height: 12px;
}

/* 375-679px */
@media (max-width: 679px) {
    .yb-case-studies-container {
        gap: 32px;
    }

    .yb-case-studies-content-box {
        /* width: 343px; */
        width: calc(100% - 32px);
        padding-bottom: 36px;
    }

    .yb-case-studies-swiper .yb-case-studies-card {
        flex-flow: column;
        height: fit-content;
        border-radius: 16px;
    }

    .yb-case-studies-swiper .yb-case-studies-card-with-media {
        height: fit-content;
    }

    .yb-case-studies-card-content {
        width: 100%;
        gap: 0px;
    }

    .yb-case-studies-card-with-media .yb-case-studies-card-content {
        width: 100%;
    }

    .yb-case-studies-card-content-title {
        font-size: 18px;
        margin: 0 24px;
        margin-top: 32px;
        margin-bottom: 12px;
    }

    .yb-case-studies-card-content-text {
        font-size: 16px;
        margin: 0 24px;
        margin-bottom: 24px;
    }

    .yb-case-studies-card-with-media .yb-case-studies-card-content-title,
    .yb-case-studies-card-with-media .yb-case-studies-card-content-text {
        margin-right: 24px;
    }

    .yb-case-studies-card-content-avatar {
        position: unset;
        margin: 0 24px;
        margin-bottom: 24px;
        gap: 12px;
    }

    .yb-case-studies-card-content-avatar-image {
        min-width: 40px;
        width: 40px;
        height: 40px;
    }

    .yb-case-studies-card-content-avatar-content {
        /* max-width: 227px; */
        max-width: 100%;
        gap: 4px;
        height: 40px;
    }

    .yb-case-studies-card-content-avatar-content-title {
        font-size: 14px;
    }

    .yb-case-studies-card-content-avatar-content-text {
        font-size: 12px;
    }

    .yb-case-studies-card-content-link {
        position: unset;
        font-size: 12px;
        margin: 0 25px;
        margin-bottom: 24px;
    }

    .yb-case-studies-card-media {
        width: 100%;
        height: 100%;
        aspect-ratio: 1/1 !important;
        border-radius: 16px;
    }

    .yb-case-studies-card-media img,
    .yb-case-studies-card-media video,
    .yb-case-studies-card-media iframe {
        border-radius: 16px;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-button-next {
        display: none;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-button-prev {
        display: none;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-pagination {
        margin-top: 24px;
        height: 12px;
    }


    div#swiper-wrapper-5eba4df108a100512b {
        align-items: stretch;
    }

    .swiper-slide.yb-case-studies-card.swiper-slide-active {
        height: auto;
    }

    .yb-case-studies-card-content {
        flex: 1;
    }

    a.yb-case-studies-card-content-link {
        margin-top: 0;
    }

    .yb-case-studies-card-content-avatar {
        margin-top: auto;
    }
}

/* 680-959px */
@media (min-width: 680px) and (max-width: 959px) {
    .yb-case-studies-container {
        gap: 48px;
    }

    .yb-case-studies-content-box {
        /* 2025.06.30修改 */
        width: calc(100% - 48px);
        padding-bottom: 44px;
    }

    .yb-case-studies-swiper .yb-case-studies-card {
        flex-flow: column;
        height: fit-content;
        border-radius: 16px;
    }

    .yb-case-studies-swiper .yb-case-studies-card-with-media {
        height: fit-content;
    }

    .yb-case-studies-card-content {
        width: 100%;
        gap: 0px;
    }

    .yb-case-studies-card-with-media .yb-case-studies-card-content {
        width: 100%;
    }

    .yb-case-studies-card-content-title {
        font-size: 28px;
        margin: 0 32px;
        margin-top: 32px;
        margin-bottom: 16px;
    }

    .yb-case-studies-card-content-text {
        font-size: 18px;
        margin: 0 32px;
        margin-bottom: 24px;
    }

    .yb-case-studies-card-with-media .yb-case-studies-card-content-title,
    .yb-case-studies-card-with-media .yb-case-studies-card-content-text {
        margin-right: 32px;
    }

    .yb-case-studies-card-content-avatar {
        position: unset;
        gap: 12px;
        margin: 0 32px;
        margin-bottom: 24px;
    }

    .yb-case-studies-card-with-media .yb-case-studies-card-content-avatar {
        bottom: 702px;
    }

    .yb-case-studies-card-content-avatar-image {
        min-width: 56px;
        width: 56px;
        height: 56px;
    }

    .yb-case-studies-card-content-avatar-content {
        max-width: 100%;
        gap: 6px;
        height: 56px;
    }

    .yb-case-studies-card-content-avatar-content-title {
        font-size: 16px;
    }

    .yb-case-studies-card-content-avatar-content-text {
        font-size: 12px;
    }

    .yb-case-studies-card-content-link {
        position: unset;
        font-size: 16px;
        margin: 0 32px;
        margin-bottom: 24px;
    }

    .yb-case-studies-card-with-media .yb-case-studies-card-content-link {
        bottom: 656px;
    }

    .yb-case-studies-card-media {
        width: 100%;
        height: 100%;
        aspect-ratio: 1/1 !important;
        border-radius: 16px;
    }

    .yb-case-studies-card-media img,
    .yb-case-studies-card-media video,
    .yb-case-studies-card-media iframe {
        border-radius: 16px;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-button-next {
        display: none;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-button-prev {
        display: none;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-pagination {
        margin-top: 32px;
        height: 12px;
    }



    div#swiper-wrapper-5eba4df108a100512b {
        align-items: stretch;
    }

    .swiper-slide.yb-case-studies-card.swiper-slide-active {
        height: auto;
    }

    .yb-case-studies-card-content {
        flex: 1;
    }

    a.yb-case-studies-card-content-link {
        margin-top: 0;
    }

    .yb-case-studies-card-content-avatar {
        margin-top: auto;
    }
}

/* 960-1439px */
@media (min-width: 960px) and (max-width: 1439px) {
    .yb-case-studies-container {
        gap: 48px;
    }

    .yb-case-studies-content-box {
        width: 900px;
        padding-bottom: 44px;
    }

    .yb-case-studies-swiper .yb-case-studies-card {
        height: 320px;
        border-radius: 16px;
    }

    .yb-case-studies-swiper .yb-case-studies-card-with-media {
        height: 360px;
    }

    .yb-case-studies-card-content {
        gap: 24px;
    }

    .yb-case-studies-card-with-media .yb-case-studies-card-content {
        width: calc(100% - 360px);
    }

    .yb-case-studies-card-content-title {
        font-size: 24px;
        margin: 0 40px;
        margin-right: 120px;
        margin-top: 40px;
    }

    .yb-case-studies-card-content-text {
        font-size: 14px;
        margin: 0 40px;
        margin-right: 120px;
    }

    .yb-case-studies-card-with-media .yb-case-studies-card-content-title,
    .yb-case-studies-card-with-media .yb-case-studies-card-content-text {
        margin-right: 40px;
    }

    .yb-case-studies-card-content-avatar {
        left: 40px;
        bottom: 48px;
        gap: 9px;
    }

    .yb-case-studies-card-content-avatar-image {
        min-width: 42px;
        width: 42px;
        height: 42px;
    }

    .yb-case-studies-card-content-avatar-content {
        max-width: 300px;
        gap: 4px;
        height: 42px;
    }

    .yb-case-studies-card-content-avatar-content-title {
        font-size: 12px;
    }

    .yb-case-studies-card-content-avatar-content-text {
        font-size: 9px;
    }

    .yb-case-studies-card-content-link {
        right: 41px;
        bottom: 55px;
        font-size: 12px;
    }

    .yb-case-studies-card-media {
        width: 360px;
        height: 360px;
        border-radius: 16px;
    }

    .yb-case-studies-card-media img,
    .yb-case-studies-card-media video,
    .yb-case-studies-card-media iframe {
        border-radius: 16px;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-button-next {
        right: -20px;
        width: 40px;
        height: 40px;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-button-prev {
        left: -20px;
        width: 40px;
        height: 40px;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-pagination {
        margin-top: 32px;
        height: 12px;
    }

    .yb-case-studies-swiper-button-next::after,
    .yb-case-studies-swiper-button-prev::after {
        font-size: 13px;
    }
}

/* 1440-1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
    .yb-case-studies-container {
        gap: 56px;
    }

    .yb-case-studies-content-box {
        width: 1200px;
        padding-bottom: 44px;
    }

    .yb-case-studies-swiper .yb-case-studies-card {
        height: 399px;
        border-radius: 24px;
    }

    .yb-case-studies-swiper .yb-case-studies-card-with-media {
        height: 480px;
    }

    .yb-case-studies-card-content {
        gap: 24px;
    }

    .yb-case-studies-card-with-media .yb-case-studies-card-content {
        width: calc(100% - 480px);
    }

    .yb-case-studies-card-content-title {
        font-size: 28px;
        margin: 0 48px;
        margin-right: 140px;
        margin-top: 64px;
    }

    .yb-case-studies-card-content-text {
        font-size: 18px;
        margin: 0 48px;
        margin-right: 140px;
    }

    .yb-case-studies-card-with-media .yb-case-studies-card-content-title,
    .yb-case-studies-card-with-media .yb-case-studies-card-content-text {
        margin-right: 48px;
    }

    .yb-case-studies-card-content-avatar {
        bottom: 64px;
        gap: 12px;
    }

    .yb-case-studies-card-content-avatar-image {
        min-width: 56px;
        width: 56px;
        height: 56px;
    }

    .yb-case-studies-card-content-avatar-content {
        max-width: 400px;
        gap: 6px;
        height: 56px;
    }

    .yb-case-studies-card-content-avatar-content-title {
        font-size: 16px;
    }

    .yb-case-studies-card-content-avatar-content-text {
        font-size: 12px;
    }

    .yb-case-studies-card-content-link {
        right: 50px;
        bottom: 64px;
        font-size: 16px;
    }

    .yb-case-studies-card-media {
        width: 480px;
        height: 480px;
        border-radius: 24px;
    }

    .yb-case-studies-card-media img,
    .yb-case-studies-card-media video,
    .yb-case-studies-card-media iframe {
        border-radius: 24px;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-button-next {
        right: -28px;
        width: 56px;
        height: 56px;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-button-prev {
        left: -28px;
        width: 56px;
        height: 56px;
    }

    .yb-case-studies-content-box .yb-case-studies-swiper-pagination {
        margin-top: 32px;
        height: 12px;
    }

    .yb-case-studies-swiper-button-next::after,
    .yb-case-studies-swiper-button-prev::after {
        font-size: 18px;
    }
}

/* 1920px+ default*/
@media (min-width: 1920px) {}

@media (max-width:960px) {
    .yb-case-studies-swiper-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
        position: static;
    }

    .yb-case-studies-content-box {
        padding-bottom: 0;
    }
}

#yb-case-studies-style-1 {
    .yb-case-studies-card-content {
        gap: 0;
    }

    .yb-case-studies-card-content-title {
        order: 1;
        margin-top: 64px;
    }

    .yb-case-studies-card-content-text {
        order: 2;
        margin-top: 24px;
    }

    .yb-case-studies-card-content-avatar {
        order: 0;
        position: unset;
        margin: 48px 0 0 48px;
    }

    .yb-case-studies-card-content-link {
        text-align: right;
        order: 3;
        position: unset;
        margin: 12px 48px 0 48px;
    }
}

@media (min-width: 1440px) and (max-width: 1919px) {
    #yb-case-studies-style-1 {
        .yb-case-studies-card-content-title {
            margin-top: 48px;
        }

        .yb-case-studies-card-content-text {
            margin-top: 24px;
        }

        .yb-case-studies-card-content-avatar {
            order: 0;
            position: unset;
            margin: 48px 0 0 48px;
        }
    }
}

@media (min-width: 960px) and (max-width: 1439px) {
    #yb-case-studies-style-1 {
        .yb-case-studies-card-content-avatar {
            margin: 40px 0 0 40px;
        }

        .yb-case-studies-card-content-title {
            margin-top: 24px;
        }

        .yb-case-studies-card-content-text {
            margin-top: 12px;
        }

        .yb-case-studies-card-content-link {
            margin: 12px 40px 0 40px;
        }
    }
}

@media (min-width: 680px) and (max-width: 959px) {
    #yb-case-studies-style-1 {
        .yb-case-studies-card-content-avatar {
            margin: 32px 0 0 32px;
        }

        .yb-case-studies-card-content-title {
            margin-top: 24px;
        }

        .yb-case-studies-card-content-text {
            margin-top: 12px;
        }

        .yb-case-studies-card-content-link {
            margin: 12px 32px 24px 32px;
        }
    }
}

@media (max-width: 679px) {
    #yb-case-studies-style-1 {
        .yb-case-studies-card-content-avatar {
            margin: 24px 0 0 24px;
        }

        .yb-case-studies-card-content-title {
            margin-top: 24px;
        }

        .yb-case-studies-card-content-text {
            margin-top: 12px;
        }

        .yb-case-studies-card-content-link {
            margin: 12px 24px 24px 24px;
        }
    }
}