.ic-5282-container {
    position: relative;
    width: 100%;
}

.ic-5282-carousel {
    padding-bottom: 40px; /* Space for pagination */
    /* Ensure the main container hides slides that are scrolled out of view horizontally */
    overflow: hidden; 
}

.ic-5282-carousel .swiper-wrapper {
    /* The wrapper should be visible so Swiper handles the transform scrolling */
    overflow: visible;
}

.ic-5282-slide {
    text-align: center;
    flex-shrink: 0;
}

.ic-5282-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ic-5282-image-wrap {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: inherit; 
}

.ic-5282-image-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ic-5282-link:hover .ic-5282-image-wrap img {
    transform: scale(1.05);
}

.ic-5282-heading {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Swiper overrides for elementor */
.ic-5282-carousel .swiper-button-next,
.ic-5282-carousel .swiper-button-prev {
    color: #333;
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: -40px;
    z-index: 10;
}

.ic-5282-carousel .swiper-button-prev {
    left: 10px;
}

.ic-5282-carousel .swiper-button-next {
    right: 10px;
}

.ic-5282-carousel .swiper-button-next:after,
.ic-5282-carousel .swiper-button-prev:after {
    font-size: 18px;
}

.ic-5282-carousel .swiper-pagination-bullet-active {
    background: #333;
}
