.khedr-banner-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 18px;
    margin: 0 auto 22px;
    background: #f7f1e8;
}

.khedr-banner-track {
    display: flex;
    direction: ltr;
    width: 100%;
    min-height: 120px;
    transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.khedr-banner-slide {
    display: block !important;
    flex: 0 0 100%;
    width: 100%;
    margin: 0;
}

.khedr-banner-slide.is-active {
    display: block !important;
}

.khedr-banner-slide a,
.khedr-banner-slide picture {
    display: block;
    width: 100%;
    line-height: 0;
}

.khedr-banner-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0;
    border-radius: 18px;
}

.khedr-banner-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(90, 0, 15, .82);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .22);
    transition: transform 250ms ease, background 250ms ease, opacity 250ms ease, box-shadow 250ms ease;
}

.khedr-banner-prev {
    right: 16px;
}

.khedr-banner-next {
    left: 16px;
}

.khedr-banner-arrow:hover,
.khedr-banner-arrow:focus {
    background: rgba(90, 0, 15, .95);
    outline: none;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .28);
}

.khedr-banner-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 5;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.khedr-banner-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: rgba(90, 0, 15, .5);
    cursor: pointer;
    transition: width 250ms ease, background 250ms ease, opacity 250ms ease, border-radius 250ms ease;
}

.khedr-banner-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: #d4af37;
}

.khedr-banner-empty {
    padding: 18px;
    text-align: center;
    border: 1px dashed #b7a98e;
    background: #fff8ea;
    color: #6b1b22;
    border-radius: 12px;
}

.khedr-banner-home-wrap,
.khedr-banner-sitewide-wrap {
    width: 100%;
    max-width: 100%;
    margin: 12px auto 24px;
    padding: 0;
}

.khedr-banner-home-wrap .khedr-banner-slider,
.khedr-banner-sitewide-wrap .khedr-banner-slider {
    margin-top: 0;
}

@media (prefers-reduced-motion: reduce) {
    .khedr-banner-track {
        transition: none;
    }
}

@media (max-width: 767px) {
    .khedr-banner-slider {
        border-radius: 14px;
        margin-bottom: 16px;
    }

    .khedr-banner-track {
        min-height: 100px;
    }

    .khedr-banner-slide img {
        border-radius: 14px;
    }

    .khedr-banner-arrow {
        width: 34px;
        height: 34px;
        font-size: 24px;
    }

    .khedr-banner-prev {
        right: 8px;
    }

    .khedr-banner-next {
        left: 8px;
    }

    .khedr-banner-dots {
        bottom: 8px;
    }
}
