/* Frontend styles for Elegant Banner Slider */

.no-js .ebs-slide {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Wrapper base */

.ebs-slider-wrapper {
    position: relative;
    margin:0;
    max-width: 100%;
    overflow: hidden;
    border-radius:0;
}

/* Themes */

.ebs-theme-dark {
    background: #020617;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.45);
}

.ebs-theme-light {
    background: #f9fafb;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(209, 213, 219, 0.9);
}

/* Inner */

.ebs-slider-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slides */

.ebs-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.ebs-slide.ebs-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.ebs-slide-image,
.ebs-slide-html {
    width: 100%;
    height: 100%;
}

.ebs-slide-image img,
.ebs-slide-html iframe,
.ebs-slide-html img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Arrows */

.ebs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(15, 23, 42, 0.72);
    color: #f9fafb;
    padding: 0.45rem 0.95rem;
    cursor: pointer;
    font-size: 1.35rem;
    border-radius:0;
    line-height: 1;
    transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.45);
}

.ebs-theme-light .ebs-arrow {
    background: rgba(31, 41, 55, 0.85);
    color: #f9fafb;
    box-shadow: 0 10px 25px rgba(31, 41, 55, 0.38);
}

.ebs-arrow:hover {
    background: rgba(37, 99, 235, 0.95);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.55);
}

.ebs-arrow.ebs-prev {
    left: 14px;
}

.ebs-arrow.ebs-next {
    right: 14px;
}

/* Dots */

.ebs-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px 14px;
}

.ebs-dot {
    width: 9px;
    height: 9px;
    border-radius:0;
    border: none;
    padding: 0;
    cursor: pointer;
    background: rgba(148, 163, 184, 0.6);
    transition: background 0.18s ease, transform 0.18s ease, width 0.18s ease;
}

.ebs-theme-light .ebs-dot {
    background: rgba(107, 114, 128, 0.5);
}

.ebs-dot.ebs-dot-active {
    width: 18px;
    background: #3b82f6;
    transform: translateY(-1px);
}

.ebs-dot:hover {
    background: #60a5fa;
}

/* object-fit dynamic */

.ebs-slider-wrapper[data-fit="cover"] .ebs-slide-image img {
    object-fit: cover;
}

.ebs-slider-wrapper[data-fit="contain"] .ebs-slide-image img {
    object-fit: contain;
}

.ebs-slider-wrapper[data-fit="fill"] .ebs-slide-image img {
    object-fit: fill;
}

/* Responsive */

@media (max-width: 640px) {
    .ebs-arrow {
        padding: 0.35rem 0.75rem;
        font-size: 1.1rem;
    }

    .ebs-arrow.ebs-prev {
        left: 8px;
    }
    .ebs-arrow.ebs-next {
        right: 8px;
    }

    .ebs-dots {
        padding-bottom: 10px;
    }
}

.ebs-slide-inner,
.ebs-slide,
.ebs-slide-image img {
    margin:0 !important;
    padding:0 !important;
}

.ebs-dots {
    padding:0 !important;
    margin:0 !important;
}
