/* ── Wrapper ── */
.cs-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 50px 60px;
    box-sizing: border-box;
}

/* ── Swiper container ── */
.cs-swiper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* ── Each slide ── */
.cs-swiper .swiper-slide {
    width: 100%;
    box-sizing: border-box;
}

/* ── Fix WordPress Columns block inside slide ── */
.cs-swiper .swiper-slide .wp-block-columns {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 60px !important;
    width: 100% !important;
    align-items: center !important;
    margin: 0 !important;
}

.cs-swiper .swiper-slide .wp-block-column {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

/* ── Typography ── */
.cs-swiper .wp-block-post-terms a,
.cs-swiper .wp-block-post-terms {
    color: #8ecfc9;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.cs-swiper .wp-block-post-title,
.cs-swiper .wp-block-post-title a {
    font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-decoration: none;
}

/* ── Featured image ── */
.cs-swiper .wp-block-post-featured-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* ── Read More / Button ── */
.cs-swiper .wp-block-read-more,
.cs-swiper .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 14px 28px;
    color: #fff !important;
    border-radius: 50px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s;
}
.cs-swiper .wp-block-read-more:hover,
.cs-swiper .wp-block-button__link:hover {
    background: #2744b3;
}

/* ── Pagination dots ── */
.cs-swiper .swiper-pagination {
    position: relative;
    margin-top: 10px;
    text-align: left;
}
.cs-swiper .swiper-pagination-bullet {
    width: 32px;
    height: 6px;
    border-radius: 3px;
    background: #BFDBFE;
    opacity: 1;
}
.cs-swiper .swiper-pagination-bullet-active {
    background: #1E3A8A;
}

/* Force overflow hidden on Spectra parent so slides clip correctly */
.cs-slider-wrapper,
.cs-slider-wrapper .uagb-container-inner-blocks-wrap {
    overflow: hidden !important;
}

.cs-swiper {
    width: 100%;
    overflow: hidden;
}
.cs-swiper .swiper-button-prev,
.cs-swiper .swiper-button-next {
    color: #ffffff;
    z-index: 10;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .cs-slider-wrapper {
        padding: 40px 24px;
    }
    .cs-swiper .swiper-slide .wp-block-columns {
        flex-direction: column !important;
    }
    .cs-swiper .wp-block-post-featured-image img {
        height: 240px;
    }
}