/* CognKids Addons - Card Carousel Styles */
.ck-carousel-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.swiper-wrapper {
    display: flex;
    box-sizing: content-box;
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition-property: transform;
}

.swiper-slide {
    flex-shrink: 0;
    height: 100%;
    position: relative;
    transition-property: transform;
}

.ck-card {
    background: #fff;
    border-radius: 20px;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ck-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.ck-card-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.ck-card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.ck-card-content {
    padding: 10px 15px 20px;
    flex-grow: 1;
}

.ck-card-title {
    font-size: 1.6rem;
    font-weight: 800;
    font-style: italic;
    color: #f9b233; /* Orange/Yellow from image */
    margin-bottom: 10px;
}

.ck-card-desc {
    font-size: 1rem;
    color: #333;
    font-weight: 500;
    margin: 0;
}

/* Full card link */
.ck-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* Swiper Pagination */
.ck-carousel-container .swiper-pagination {
    bottom: 5px !important;
}

.ck-carousel-container .swiper-pagination-bullet {
    background: #f9b233;
    opacity: 0.3;
}

.ck-carousel-container .swiper-pagination-bullet-active {
    opacity: 1;
    background: #f9b233;
}
