/* ===== SWIPER SLIDER ===== */

.impact-cards-swiper {
    padding: 0; /* No bottom padding needed since buttons are in header */
}

/* ===== SLIDER BUTTONS GROUP ===== */

.slider-btns-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

.impact-cards-swiper .swiper-slide {
    height: auto;
}

.impact-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px 24px;
    background-color: #5E376E; /* primary-light */
    border-radius: 8px;
    height: 100%;
}

.impact-card img {
    width: 100%;
    height: auto;
}

.impact-card p {
    font-size: 18px;
    line-height: 1.4;
    color: white;
}

/* ===== SWIPER NAVIGATION BUTTONS ===== */

.slider-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: visible !important; /* Override global button overflow: hidden */
}

/* Override global button ripple effects */
.slider-btn::after {
    display: none !important;
}

.slider-btn:active::after {
    display: none !important;
    animation: none !important;
}

/* Swiper button overrides */
.impact-cards-swiper .swiper-button-prev,
.impact-cards-swiper .swiper-button-next {
    position: static !important;
    margin: 0 !important;
    width: 48px !important;
    height: 48px !important;
    background: transparent !important;
    border: none !important;
}

.impact-cards-swiper .swiper-button-prev:after,
.impact-cards-swiper .swiper-button-next:after {
    display: none !important;
}

/* ===== RESPONSIVE STYLES ===== */

/* Mid-size screens (1024px - 1300px) */
@media (max-width: 1300px) {
    .impact-cards-swiper .swiper-slide {
        width: 350px !important;
        max-width: 350px !important;
    }
    
    .impact-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .impact-card img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }
}