.deya-rbs {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    background: #f2f2f2;
    --deya-rbs-aspect: 1920 / 675;
    --deya-rbs-arrow-size: 38px;
}

.deya-rbs:focus {
    outline: none;
}

.deya-rbs__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: var(--deya-rbs-aspect);
    overflow: hidden;
}

.deya-rbs__track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translate3d(0, 0, 0);
    transition-property: transform;
    transition-timing-function: cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.deya-rbs__slide {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    min-width: 0;
}

.deya-rbs__link,
.deya-rbs__picture,
.deya-rbs__image {
    display: block;
    width: 100%;
    height: 100%;
}

.deya-rbs__link {
    text-decoration: none;
    color: inherit;
}

.deya-rbs__image {
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

.deya-rbs__arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    inline-size: var(--deya-rbs-arrow-size);
    block-size: var(--deya-rbs-arrow-size);
    min-inline-size: 0 !important;
    max-inline-size: none;
    min-block-size: 0 !important;
    max-block-size: none;
    padding: 0 !important;
    margin: 0;
    border: 0;
    border-radius: 999px;
    box-sizing: border-box;
    color: #fff;
    background: rgba(0,0,0,.28);
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity .2s ease, background-color .2s ease, transform .2s ease;
    line-height: 1;
}

.deya-rbs__arrow:hover,
.deya-rbs__arrow:focus-visible {
    background: rgba(0,0,0,.55);
}

.deya-rbs__arrow:focus-visible,
.deya-rbs__dot:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.deya-rbs__arrow span {
    display: block;
    font-size: calc(var(--deya-rbs-arrow-size) * .5);
    font-weight: 700;
    line-height: 1;
    transform: translateY(-1px);
    pointer-events: none;
}

.deya-rbs__arrow--prev {
    left: 14px;
}

.deya-rbs__arrow--next {
    right: 14px;
}

.deya-rbs__dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transform: translateX(-50%);
}

.deya-rbs__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.55);
    cursor: pointer;
    transition: width .2s ease, opacity .2s ease, background-color .2s ease;
}

.deya-rbs__dot.is-active {
    width: 24px;
    background: #fff;
}

.deya-rbs__empty {
    padding: 24px;
    border: 1px dashed #c3c4c7;
    background: #fff;
    color: #50575e;
    text-align: center;
}

@media (max-width: 767px) {
    .deya-rbs {
        --deya-rbs-aspect: 480 / 720;
    }

    .deya-rbs__arrow {
        inline-size: 34px;
        block-size: 34px;
    }

    .deya-rbs__arrow span {
    display: block;
    font-size: calc(var(--deya-rbs-arrow-size) * .5);
    font-weight: 700;
    line-height: 1;
    transform: translateY(-1px);
    pointer-events: none;
}

.deya-rbs__arrow--prev {
        left: 10px;
    }

    .deya-rbs__arrow--next {
        right: 10px;
    }

    .deya-rbs__dots {
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .deya-rbs__track,
    .deya-rbs__arrow,
    .deya-rbs__dot {
        transition-duration: 0.01ms !important;
    }
}
