/* Container Layout */
.ccc-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.ccc-carousel-wrapper * {
    box-sizing: border-box;
}

/* Swiper Base Override */
.ccc-swiper {
    width: 100%;
    padding: 15px 5px 45px 5px !important; /* Space for shadow margins and dot offset */
}

/* Base Card Styles */
.ccc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ccc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

/* Cover Image Holder */
.ccc-card-image-holder {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f7fafc;
}

.ccc-card-image-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content Panel Defaults */
.ccc-card-body {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start;
}

.ccc-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.ccc-card-text, .ccc-card-text p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Slide Height Uniformity */
.ccc-swiper .swiper-slide {
    height: auto !important;
    display: flex;
}

/* Direction Arrows Navigation */
.ccc-carousel-wrapper .swiper-button-prev,
.ccc-carousel-wrapper .swiper-button-next {
    color: #4a5568;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease, color 0.2s;
    z-index: 10;
}

.ccc-carousel-wrapper .swiper-button-prev::after,
.ccc-carousel-wrapper .swiper-button-next::after {
    font-size: 16px;
    font-weight: bold;
}

.ccc-carousel-wrapper .swiper-button-prev:hover,
.ccc-carousel-wrapper .swiper-button-next:hover {
    background: #f7fafc;
    color: #1a202c;
}

/* Bullet Dots Styling */
.ccc-swiper .swiper-pagination-bullet {
    background: #cbd5e0;
    opacity: 1;
}

.ccc-swiper .swiper-pagination-bullet-active {
    background: #4a5568 !important;
}

/* Responsive Desktop Rules */
@media (min-width: 1025px) {
    .ccc-carousel-wrapper {
        padding: 10px 55px; /* Offset to prevent arrows covering active slides */
    }
    .ccc-carousel-wrapper .swiper-button-prev {
        left: 0;
    }
    .ccc-carousel-wrapper .swiper-button-next {
        right: 0;
    }
}

@media (max-width: 1024px) {
    .ccc-carousel-wrapper .swiper-button-prev,
    .ccc-carousel-wrapper .swiper-button-next {
        display: none; /* Emphasize swipe gestures on smaller devices */
    }
    .ccc-swiper {
        padding: 15px 5px 35px 5px !important;
    }
}