/* General Styles */
* {
    box-sizing: border-box;
}

.custom-slider {
    max-width: auto;
    position: relative;
    margin: auto;
    overflow: hidden;
    height: auto; 
    min-height: auto;
    border-radius: 0px; /* Added rounded corners */

}

.slide {
    display: none;
    border-radius: inherit; /* Inherit the slider's radius */
}


.slide img {
    width: 100%; /* Scale image to fit the slider width */
    height: 100%; /* Scale image to fit the slider height */
    object-fit: cover; /* Ensure the image is cropped proportionally */
}


.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 10px;
    width: auto;
    padding-left: 12px;
    padding-right: 12px;
    color: rgb(255, 255, 255);
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgb(112, 112, 112);
  }
  
  .next {
    margin-right: 40px; /* Adjust the margin as needed */
  }

  
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Desktop-only and mobile-only styles */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Mobile styles */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}