.news-slider-section {
    background-color: #f9f9f9;
    overflow: hidden;
}

.news-slider-section .section-title {
    margin-bottom: 40px;
    text-align: center;
}

.news-slider-section .section-title h2 {
    color: #353269;
    font-size: 35px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.news-slider-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0056b3;
}

.news-slider {
    padding: 20px 50px 50px;
    position: relative;
}

.single-news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

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

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.single-news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(53, 50, 105, 0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 18px;
    color: #353269;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content .read-more-btn {
    display: inline-block;
    color: #0056b3;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    margin-top: auto;
    transition: color 0.3s ease;
}

.news-content .read-more-btn:hover {
    color: #353269;
}

/* Swiper Pagination */
.news-slider .swiper-pagination-bullet-active {
    background: #0056b3;
}

/* Swiper Navigation Buttons - EXPLICIT OVERRIDE for visibility */
.news-slider .swiper-button-next,
.news-slider .swiper-button-prev {
    color: #fff !important;
    background: #353269 !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    z-index: 999 !important;
    /* Extremely high z-index */
    top: 50% !important;
    transform: translateY(-50%) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.news-slider .swiper-button-next {
    right: 0 !important;
}

.news-slider .swiper-button-prev {
    left: 0 !important;
}

.news-slider .swiper-button-next:hover,
.news-slider .swiper-button-prev:hover {
    background: #0056b3 !important;
    transform: translateY(-50%) scale(1.1) !important;
}

/* Use Font Awesome icons for compatibility */
.news-slider .swiper-button-next:after,
.news-slider .swiper-button-prev:after {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    display: block !important;
}

.news-slider .swiper-button-next:after {
    content: "\f054" !important;
}

.news-slider .swiper-button-prev:after {
    content: "\f053" !important;
}

@media (max-width: 768px) {
    .news-slider-section .section-title h2 {
        font-size: 28px;
    }

    .news-image {
        height: 180px;
    }

    .news-slider {
        padding: 20px 10px 50px;
    }

    .news-slider .swiper-button-next,
    .news-slider .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
        position: relative !important;
        top: auto !important;
        transform: none !important;
        display: inline-flex !important;
        margin: 10px 15px 0 !important;
    }

    .news-slider .news-nav-container {
        text-align: center;
        margin-top: 20px;
    }
}