.yb-image-text-swiper-content {
    display: flex;
    font-family: Nunito Sans;
    position: relative;
    flex-flow: column;
}

.yb-image-text-swiper-content .yb-image-text-swiper-card-swiper {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.yb-image-text-swiper-container strong {
    font-weight: bold;
}

.yb-image-text-swiper-content .yb-image-text-swiper-card-container {
    width: 1398px;
    margin-top: 32px;
}

.yb-image-text-swiper-content .yb-image-text-swiper-card {
    height: 480px;
    border-radius: 16px;
    background-color: #ffffff;
    display: flex;
    flex-flow: row;
}

.yb-image-text-swiper-content .yb-image-text-swiper-card-black {
    background-color: #1f1f1f;
}

.yb-image-text-swiper-content .yb-image-text-swiper-card-meta {
    width: 751px;
    height: 100%;
    background-color: #838383;
    border-radius: 16px;
    position: relative;
}

.yb-image-text-swiper-content .yb-image-text-swiper-card-meta img,
.yb-image-text-swiper-content .yb-image-text-swiper-card-meta video,
.yb-image-text-swiper-content .yb-image-text-swiper-card-meta iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    aspect-ratio: 358/263;
}

.yb-image-text-swiper-content .yb-image-text-swiper-card-content {
    display: flex;
    flex-flow: column;
    padding-top: 80px;
    padding-left: 48px;
    padding-right: 48px;
    width: 647px;
    text-align: left;
}

.yb-image-text-swiper-content .yb-image-text-swiper-card-content-title {
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.yb-image-text-swiper-content .yb-image-text-swiper-card-content-text {
    margin-top: 24px;
    font-size: 20px;
    line-height: 1.4;
}

.yb-image-text-swiper-content .swiper-button-box {
    position: absolute;
    display: flex;
    right: 32px;
    bottom: 32px;
    gap: 16px;
}

.yb-image-text-swiper-content .swiper-button {
    position: unset;
    display: block;
    height: 56px;
    width: 56px;
    background-color: #f5f5f5;
    border-radius: 50%;
    right: 0;
    left: 0;
}

.yb-image-text-swiper-content .swiper-button-next:after {
    font-size: 21px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    height: 100%;
    margin: 0;
}

.yb-image-text-swiper-content .swiper-button-prev:after {
    font-size: 21px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000000;
    height: 100%;
    margin: 0;
}

.yb-image-text-swiper-content .swiper-button-black {
    background-color: #383838;
}

.yb-image-text-swiper-content .swiper-button-black:after {
    color: #ffffff;
}

.yb-image-text-swiper-content .swiper-pagination-top {
    width: auto !important;
    margin-top: 64px;
    position: unset;
    display: flex;
    align-items: center;
    justify-self: center;
    border-radius: 24px;
    background-color: #ffffff;
}

.yb-image-text-swiper-content .swiper-pagination-top-black {
    background-color: #222222;
}

.yb-image-text-swiper-content .swiper-pagination-top-black .yb-image-text-swiper-bullet {
    color: #6e6e73;
    opacity: 1;
}

.yb-image-text-swiper-content .swiper-pagination-bottom {
    width: auto;
    max-width: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    border-radius: 24px;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
    background-color: #ffffff;
}

.yb-image-text-swiper-content .swiper-pagination-bottom-black {
    background-color: #222222;
}

.yb-image-text-swiper-content .swiper-pagination-bottom-black .yb-image-text-swiper-bullet {
    color: #6e6e73;
    opacity: 1;
}

.yb-image-text-swiper-content .swiper-pagination-bottom::-webkit-scrollbar {
    display: none;
}

.yb-image-text-swiper-content .yb-image-text-swiper-bullet {
    width: auto;
    height: 48px;
    padding-left: 40px;
    padding-right: 40px;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 24px;
    display: flex;
    align-items: center;
    margin: 0 !important;
    white-space: nowrap;
}

.yb-image-text-swiper-content .swiper-pagination-top {
    position: relative;
}

.yb-image-text-swiper-content .swiper-pagination-top::before,
.yb-image-text-swiper-content .swiper-pagination-bottom::before {
    content: "";
    position: absolute;
    height: 48px;
    background: #fedb1e;
    border-radius: 24px;
    transition: all 0.3s ease;
    z-index: 0;
    width: var(--slide-width, 0);
    transform: translateX(var(--slide-left));
}

.yb-image-text-swiper-content .yb-image-text-swiper-bullet {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    background: transparent;
}

.yb-image-text-swiper-content .swiper-pagination-top-black .swiper-pagination-bullet.swiper-pagination-bullet-active {
    color: #000000;
    width: auto;
}

.yb-image-text-swiper-content .swiper-pagination-bottom-black .swiper-pagination-bullet.swiper-pagination-bullet-active {
    color: #000000;
    width: auto;
}

.yb-image-text-swiper-content .swiper-pagination-bullet.swiper-pagination-bullet-active {
    color: #000000;
    width: auto;
}

.yb-image-text-swiper-content .swiper-button-next {
    position: relative;
}

.yb-image-text-swiper-content .swiper-button-next::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#fedb1e var(--progress, 0%),
            transparent var(--progress, 0%));
    transition: all 0.3s ease;
    mask: radial-gradient(transparent 60%, #000 0);
    -webkit-mask: radial-gradient(transparent 60%, #000 0);
}

.yb-image-text-swiper-content .swiper-button-next.progress-active::before {
    opacity: 1;
}

.yb-image-text-swiper-content .yb-image-text-swiper-mobile-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 10;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 24px;
}

.yb-image-text-swiper-content .yb-image-text-swiper-mobile-progress-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #fedb1e;
    transition: width 0.1s linear;
}

/* 375-679px */
@media (max-width: 679px) {
    .yb-image-text-swiper-content .yb-image-text-swiper-card-meta {
        /* height: 252px; */
        height: 100%;
        width: 100%;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card {
        flex-flow: column;
        height: unset;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content {
        padding: 0;
        margin-top: 80px;
        width: 100%;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content-title {
        font-size: 18px;
        text-align: center;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content-text {
        margin-top: 8px;
        font-size: 14px;
        text-align: center;
    }

    .yb-image-text-swiper-content .swiper-pagination-top {
        display: none;
    }

    .yb-image-text-swiper-content .swiper-button-box {
        display: none;
    }

    .yb-image-text-swiper-content .swiper-pagination-bottom {
        /* top: 304px !important; */
        top: 0 !important;
        margin-top: calc((100% - 32px)*(252 / 343) + 52px) !important;
        height: 40px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-bullet {
        height: 40px;
        padding-left: 40px;
        padding-right: 40px;
        font-size: 14px;
    }

    .yb-image-text-swiper-content .swiper-pagination-top::before,
    .yb-image-text-swiper-content .swiper-pagination-bottom::before {
        height: 40px;
        border-radius: 24px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-swiper {
        /* width: 343px;*/
        width: calc(100% - 32px);
        display: block;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-mobile-progress {
        width: calc(100% - 20px);
    }

    .swiper-fade .swiper-slide {
        aspect-ratio: 343 / 252;
    }
}

/* 680-959px */
@media (min-width: 680px) and (max-width: 959px) {
    .yb-image-text-swiper-content .yb-image-text-swiper-card-container {
        margin-top: 48px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-meta {
        height: 100%;
        width: 100%;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card {
        flex-flow: column;
        height: unset;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content {
        padding: 0;
        margin-top: 112px;
        width: 100%;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content-title {
        font-size: 32px;
        text-align: center;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content-text {
        margin-top: 23px;
        font-size: 24px;
        text-align: center;
    }

    .yb-image-text-swiper-content .swiper-pagination-top {
        display: none;
    }

    .yb-image-text-swiper-content .swiper-button-box {
        display: none;
    }

    .yb-image-text-swiper-content .swiper-pagination-bottom {
        top: 0 !important;
        margin-top: calc((100% - 48px)*(464 / 632) + 80px) !important;
        height: 48px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-bullet {
        height: 48px;
        padding-left: 40px;
        padding-right: 40px;
        font-size: 16px;
    }

    .yb-image-text-swiper-content .swiper-pagination-top::before,
    .yb-image-text-swiper-content .swiper-pagination-bottom::before {
        height: 48px;
        border-radius: 24px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-container {
        /* width: 632px; */
        width: 100%;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-mobile-progress {
        /* width: 615px; */
        width: calc(100% - 17px);
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-swiper {
        width: calc(100% - 48px);
        display: block;
    }

    .swiper-fade .swiper-slide {
        aspect-ratio: 632 / 464;
    }
}

/* 960-1439px */
@media (min-width: 960px) and (max-width: 1439px) {
    .yb-image-text-swiper-content .yb-image-text-swiper-card-container {
        width: 900px;
        margin-top: 24px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card {
        height: 309px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-meta {
        width: 483px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content {
        padding-top: 48px;
        padding-left: 32px;
        padding-right: 32px;
        width: 417px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content-title {
        font-size: 20px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content-text {
        margin-top: 12px;
        font-size: 14px;
    }

    .yb-image-text-swiper-content .swiper-button-box {
        right: 24px;
        bottom: 24px;
        gap: 12px;
    }

    .yb-image-text-swiper-content .swiper-button {
        height: 40px;
        width: 40px;
    }

    .yb-image-text-swiper-content .swiper-button-next:after,
    .yb-image-text-swiper-content .swiper-button-prev:after {
        font-size: 15px;
    }

    .yb-image-text-swiper-content .swiper-pagination-top {
        margin-top: 48px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-bullet {
        height: 40px;
        padding-left: 46px;
        padding-right: 46px;
        font-size: 14px;
        border-radius: 24px;
    }

    .yb-image-text-swiper-content .swiper-pagination-top::before,
    .yb-image-text-swiper-content .swiper-pagination-bottom::before {
        height: 40px;
        border-radius: 24px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-swiper {
        width: 900px;
    }

    .yb-image-text-swiper-content .swiper-pagination-bottom {
        display: none;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-mobile-progress {
        display: none;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-swiper {
        display: block;
    }
}

/* 1440-1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
    .yb-image-text-swiper-content .yb-image-text-swiper-card-container {
        width: 1200px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card {
        height: 412px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-meta {
        width: 644px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content {
        padding-top: 72px;
        padding-left: 40px;
        padding-right: 40px;
        width: 556px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content-title {
        font-size: 28px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-content-text {
        margin-top: 19px;
        font-size: 18px;
    }

    .yb-image-text-swiper-content .swiper-button-box {
        right: 24px;
        bottom: 24px;
        gap: 12px;
    }

    .yb-image-text-swiper-content .swiper-button {
        height: 48px;
        width: 48px;
    }

    .yb-image-text-swiper-content .swiper-button-next:after,
    .yb-image-text-swiper-content .swiper-button-prev:after {
        font-size: 18px;
    }

    .yb-image-text-swiper-content .swiper-pagination-top {
        margin-top: 56px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-bullet {
        height: 48px;
        padding-left: 40px;
        padding-right: 40px;
        font-size: 16px;
        border-radius: 24px;
    }

    .yb-image-text-swiper-content .swiper-pagination-top::before,
    .yb-image-text-swiper-content .swiper-pagination-bottom::before {
        height: 48px;
        border-radius: 24px;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-card-swiper {
        width: 1200px;
    }

    .yb-image-text-swiper-content .swiper-pagination-bottom {
        display: none;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-mobile-progress {
        display: none;
    }
}

/* 1920px+ default*/
@media (min-width: 1920px) {
    .yb-image-text-swiper-content .yb-image-text-swiper-card-swiper {
        width: 1400px;
    }

    .yb-image-text-swiper-content .swiper-pagination-bottom {
        display: none;
    }

    .yb-image-text-swiper-content .yb-image-text-swiper-mobile-progress {
        display: none;
    }
}