/* In the News Section Styles */

:root {
    --brand-dark: #132343;
    --brand-blue: #0d6efd;
    --brand-light: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-muted: #555;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-section {
    padding: 80px 0;
    background-color: var(--white);
    overflow: hidden;
}

.news-section .ul-2-section-title {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.news-section .ul-2-section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--brand-blue);
    border-radius: 2px;
}

/* Swiper Container */
.news-slider-container {
    padding: 20px 10px 50px;
    margin: 0 -15px;
}

/* News Card */
.news-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.news-card-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

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

.news-card:hover .news-card-img-wrapper img {
    transform: scale(1.1);
}

/* Domain Tag */
.news-domain-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-dark);
    box-shadow: var(--shadow-sm);
    text-transform: lowercase;
    z-index: 2;
}

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

.news-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 75px;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: gap 0.3s ease;
    margin-top: auto;
}

.news-read-more i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.news-read-more:hover {
    color: var(--brand-dark);
    gap: 12px;
}

.news-read-more:hover i {
    transform: translateX(4px);
}

/* Swiper Pagination */
.news-slider-container .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--brand-dark);
    opacity: 0.2;
}

.news-slider-container .swiper-pagination-bullet-active {
    opacity: 1;
    width: 25px;
    border-radius: 5px;
    background: var(--brand-blue);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .news-section {
        padding: 50px 0;
    }

    .news-card-img-wrapper {
        height: 200px;
    }

    .news-card-title {
        font-size: 16px;
    }
}

/* Navigation Arrows Styles */
.news-slider-prev,
.news-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--brand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: none;
}

.news-slider-prev:hover,
.news-slider-next:hover {
    background: var(--brand-blue);
    color: var(--white);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
}

.news-slider-prev {
    left: -15px;
}

.news-slider-next {
    right: -15px;
}

.news-slider-prev i,
.news-slider-next i {
    font-size: 16px;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .news-slider-prev {
        left: 0;
    }

    .news-slider-next {
        right: 0;
    }
}

@media (max-width: 991px) {

    .news-slider-prev,
    .news-slider-next {
        width: 35px;
        height: 35px;
        top: auto;
        bottom: 0px;
        transform: none;
        display: flex;
    }

    .news-slider-prev {
        left: 35%;
    }

    .news-slider-next {
        right: 35%;
    } 
}