body {
    background-color: #e6e6e7;
}

.news-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f3671;
    position: relative;
}

.news-section h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #fdbf50;
}

/* News Section */
.news-section {
    padding-top: 60px;
    padding-bottom: 40px;
    background-color: #e6e6e7;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}



/* Card styling for grid layout */
.news-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.news-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.news-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}

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

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

.news-card-body {
    padding: 20px;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
}

.news-card:hover .news-card-title {
    color: #1f3671;
}

.news-date {
    font-size: 14px;
    color: #666;
    margin-bottom: 6px;
}

.news-content {
    /*padding: 25px;*/
}

.news-title {
    font-size: 23px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.news-date, .news-comments {
    display: inline-block;
}

.news-excerpt {
    color: #666;
    
    line-height: 1.6;
}

.read-more-btn {
    /* background-color: #fdbf50; */
    background-color: #1f3671;
    color: #fff;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    border: none;
}

.read-more-btn:hover {
    background-color: #e0a940;
    color: #fff;
}

/* Pagination Styles */
.pagination {
    margin: 40px 0;
}

.pagination .page-item {
    margin: 0 3px;
}

.pagination .page-link {
    border: none;
    background-color: #ffffff;
    color: #333;
    font-weight: 600;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: background-color 0.3s, color 0.3s;
}

.pagination .page-link:focus,
.pagination .page-link:focus-visible {
    outline: none;
    box-shadow: none;
}

.pagination .page-item.active .page-link {
    background-color: #003f7e;
    color: #ffffff;
}

.pagination .page-item.disabled .page-link {
    background-color: transparent;
    color: #999;
}

.pagination .page-item:hover .page-link:not(.disabled) {
    background-color: #f5f5f5;
}

.pagination .page-item.next .page-link {
    background-color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 20px;
    }
    
    .pagination .page-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}