.yki-home-slider {
    position: relative;
    width: 100%;
}

.yki-home-slider__viewport {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f4f6;
    min-height: 300px;
}

.yki-home-slider__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
    margin: 0;
}

.yki-home-slider__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

.yki-home-slider__slide img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 1;
    object-fit: cover;
}

.yki-home-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    color: #111827;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.yki-home-slider__arrow--prev {
    left: 16px;
}

.yki-home-slider__arrow--next {
    right: 16px;
}

.yki-home-slider__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.yki-home-slider__dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
}

.yki-home-slider__dot.is-active {
    background: #0284c7;
}

@media (max-width: 767px) {
    .yki-home-slider__viewport {
        min-height: 220px;
    }

    .yki-home-slider__slide img {
        aspect-ratio: 16 / 9;
    }

    .yki-home-slider__arrow {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }
}
