/* News and Events Page Styles */

.news-section {
    padding: 80px 0;
    background-color: #fcfdfe;
}

/* Featured News Card */
.featured-news {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.featured-news:hover {
    transform: translateY(-5px);
}

.featured-news .row {
    margin: 0;
}

.featured-img-wrapper {
    padding: 0;
}

.featured-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.4s ease;
}

.featured-img:hover {
    transform: scale(1.03);
}

.featured-content {
    padding: 20px 30px;
}

.news-label-small {
    color: #1965c0;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.25;
}

.featured-excerpt {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* News Cards Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.news-card-inner {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card-inner:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

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

.news-date-badge {
    color: #1965c0;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
}

.news-card-title-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* News Details Page Specific Styles */
.news-details-section {
    padding: 80px 0;
    background-color: #fff;
}

.news-main-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    cursor: zoom-in;
    transition: transform 0.4s ease;
}

.news-main-image:hover {
    transform: scale(1.02);
}

.news-article-header {
    margin-bottom: 30px;
}

.news-article-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    margin-bottom: 20px;
}

.news-article-content {
    font-family: 'Quicksand', sans-serif;
    font-size: 18px;
    line-height: 1.9;
    color: #555;
}

.news-article-content p {
    margin-bottom: 25px;
}

.news-article-content blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 24px;
    color: #1965c0;
    padding-left: 30px;
    border-left: 5px solid #1965c0;
    margin: 40px 0;
    line-height: 1.5;
}

/* Sidebar Styles */
.news-sidebar {
    padding-left: 40px;
}

.sidebar-widget {
    margin-bottom: 50px;
}

.widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #1965c0;
}

.recent-post-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-post-item:hover {
    transform: translateX(5px);
}

.recent-post-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-info h6 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-info span {
    font-family: 'Quicksand', sans-serif;
    font-size: 13px;
    color: #1965c0;
    font-weight: 700;
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #1965c0;
    text-decoration: none;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: #1d4ed8;
}

@media (max-width: 991px) {
    .news-sidebar {
        padding-left: 0;
        margin-top: 60px;
    }
    
    .news-article-title {
        font-size: 32px;
    }
}


.news-card-link {
    color: #1965c0;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news-card-link i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.news-card-link:hover i {
    transform: translateX(5px);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .featured-content {
        padding: 40px;
    }
    
    .featured-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .featured-img {
        min-height: 250px;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-section {
        padding: 60px 0;
    }
}
/* Pagination Styles */
.pagination-container {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    gap: 12px;
}

.pagination-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #333;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.pagination-link:hover {
    background: #1965c0; /* Brand primary blue */
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(25, 101, 192, 0.2);
    border-color: #1965c0;
}

.pagination-link.active {
    background: #003366; /* Deep blue matching theme */
    color: #fff;
    border-color: #003366;
}

.pagination-link.prev, .pagination-link.next {
    font-size: 12px;
}

@media (max-width: 576px) {
    .pagination-link {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .pagination-list {
        gap: 8px;
    }
}
