/* Image Carousel Widget */
.ic-widget {
    position: relative;
    width: 100%;
}

.ic-swiper-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.ic-swiper-container .swiper {
    flex: 1;
    overflow: hidden;
}

.ic-widget .swiper-wrapper {
    transition-timing-function: linear !important;
}

/* Slide */
.ic-slide {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Image */
.ic-image-link {
    display: block;
    overflow: hidden;
}

.ic-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    border-radius: 8px;
    transition: transform 0.4s ease, border-radius 0.4s ease;
}

.ic-image-link:hover .ic-image,
.ic-slide:hover .ic-image {
    border-radius: 0 !important;
    transform: scale(1.05);
}

/* Title */
.ic-title {
    display: block;
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.5;
}

a.ic-title:hover {
    color: #3b4a6b;
}

/* Navigation */
.ic-nav-btn {
    flex-shrink: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.ic-nav-btn:hover {
    opacity: 0.7;
}

.ic-nav-btn i {
    font-size: 28px;
    color: #999;
}

.ic-nav-btn svg {
    width: 28px;
    height: 28px;
    fill: #999;
}

/* Responsive */
@media (max-width: 767px) {
    .ic-nav-btn {
        display: none;
    }

    .ic-swiper-container {
        display: block;
    }
}
