/* ESBICM Slider Styles - v1.3 */
.esbicm-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-family: sans-serif;
}

.esbicm-slides {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    transition: transform 0.5s ease-in-out;
}

.esbicm-slide {
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    position: relative;
}

.esbicm-slide img {
    width: 100%;
    display: block;
    /* Height and object-fit are now controlled from admin settings via inline styles */
}

.esbicm-slide a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.esbicm-slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px 25px;
    text-align: center;
    transition: background-color 0.3s;
}

.esbicm-slide-caption h3 {
    margin: 0;
    transition: color 0.3s, font-size 0.3s;
}

/* Next & previous buttons */
.esbicm-prev, .esbicm-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    z-index: 10;
    /* Colors are now controlled from admin settings */
}

.esbicm-next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* Dots navigation */
.esbicm-dots {
    text-align: center;
    padding: 10px;
    position: absolute;
    bottom: 10px;
    width: 100%;
    left: 0;
    z-index: 15;
}

.esbicm-dot {
    cursor: pointer;
    height: 13px;
    width: 13px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    border: 1px solid #fff;
}

.esbicm-dot.active, .esbicm-dot:hover {
    background-color: #717171;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .esbicm-prev, .esbicm-next {
        font-size: 16px;
        padding: 12px;
    }
    .esbicm-dots {
        bottom: 5px;
    }
    .esbicm-dot {
        height: 10px;
        width: 10px;
    }
}
