.malp-banner-slider {
    position: relative;
    width: 100%;
    max-width: 100%; /* Adjust as needed */
    margin-bottom: 20px!important;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.malp-banner-slides {
    display: flex;
    width: 100%;
    height: auto; /* Adjust as needed, or set a fixed height */
}

.malp-banner-slide {
    width: 100%;
    flex-shrink: 0;
    display: none; /* Hidden by default, shown by JS */
    position: relative;
}

.malp-banner-slide img {
    width: 100%;
    height: auto;
    display: block;
 
}

.malp-banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    text-align: center;
   
}

.malp-banner-caption h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #fff;
}

.malp-banner-caption p {
    margin-bottom: 0;
    font-size: 0.9em;
}

.malp-slider-prev,
.malp-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.5em;
    border-radius: 5px;
    z-index: 10;
    transition: background-color 0.3s ease;
    display:none!important;
}

.malp-slider-prev:hover,
.malp-slider-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.malp-slider-prev {
    left: 10px;
}

.malp-slider-next {
    right: 10px;
}

.malp-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.malp-slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.malp-slider-dot.active {
    background-color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .malp-banner-caption {
        padding: 10px;
    }

    .malp-banner-caption h3 {
        font-size: 1.2em;
    }

    .malp-banner-caption p {
        font-size: 0.8em;
    }

    .malp-slider-prev,
    .malp-slider-next {
        padding: 5px 10px;
        font-size: 1.2em;
    }
}
