.aibc-carousel-container-741d5266 {
    position: relative;
    padding-bottom: 40px; /* Space for pagination */
    overflow: hidden;
}

.aibc-slide-inner {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    /* Default background if not set in controls */
    background-color: #ffffff;
}

a.aibc-slide-inner {
    text-decoration: none;
}

a.aibc-slide-inner:hover,
a.aibc-slide-inner:focus {
    color: inherit;
}

.aibc-slide-inner:hover {
    transform: translateY(-5px);
}

.aibc-image-wrap {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.aibc-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.aibc-slide-inner:hover .aibc-image-wrap img {
    transform: scale(1.05);
}

.aibc-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Default gradient if not overridden */
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aibc-slide-inner:hover .aibc-overlay {
    opacity: 1;
}

.aibc-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    transition: transform 0.3s ease;
}

.aibc-slide-inner:hover .aibc-content {
    transform: translateY(-3px);
}

.aibc-title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
}

a.aibc-slide-inner .aibc-title {
    color: inherit;
}

.aibc-description {
    margin: 0 0 20px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.aibc-button {
    display: inline-block;
    padding: 8px 16px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-weight: 500;
    opacity: 0.9;
    transition: background 0.3s ease, color 0.3s ease, border 0.3s ease, opacity 0.3s ease;
    align-self: flex-start;
}

.aibc-slide-inner:hover .aibc-button {
    opacity: 1;
}

/* Swiper Controls Adjustment */
.aibc-carousel-container-741d5266 .swiper-pagination-bullet-active {
    background: #000; /* Default */
}

.aibc-carousel-container-741d5266 .swiper-button-next,
.aibc-carousel-container-741d5266 .swiper-button-prev {
    color: #000; /* Default */
}

/* Ensure arrows sit above content */
.aibc-carousel-container-741d5266 .swiper-button-next,
.aibc-carousel-container-741d5266 .swiper-button-prev {
    z-index: 10;
}
