/**
 * Leader Card Swiper Styles
 * Simplified styles for Post Type leadership
 */

/* Swiper Container */
.swiper {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

/* Swiper Wrapper */
.swiper-wrapper {
    width: 100%;
    height: auto;
    transition-property: transform;
    box-sizing: content-box;
}

/* Swiper Slides */
.swiper-slide {
    margin-top: 0 !important;
}

/* Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 19rem;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3971a6;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #3971a6;
    color: white;
    transform: scale(1.1);
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* Pagination */
.swiper-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(57, 113, 166, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #3971a6;
    transform: scale(1.2);
}

/* Mobile Styles */
@media (max-width: 767px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
        margin-top: -18px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 14px;
    }
    
    .swiper-pagination {
        bottom: 15px;
    }
    
    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 48px;
        height: 48px;
        margin-top: -24px;
    }
    
    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 20px;
    }
}

/* Fix for touch scrolling issues */
.swiper-wrapper {
    will-change: transform;
}

.swiper-slide {
    will-change: transform;
}

/* Ensure smooth transitions */
.swiper-wrapper,
.swiper-slide {
    transition-timing-function: ease-out;
}