
/* News & Events Hero Section */
.news-events-hero {
    background: #f8f9fa;
    padding: 40px 0;
    text-align: center;
}

.news-events-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 10px;
}

.news-events-hero p {
    font-size: 1.1rem;
    color: #4a5568;
}

/* News & Events Container */
.news-events-container {
    padding: 60px 0;
    background-color: #fff;
}

/* Single News/Event Section */
.single-news-event-section {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

/* News Event Card (for Listing Page) */
.news-event-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.news-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.news-event-card .card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-event-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.news-event-card .card-body {
    padding: 20px;
}

.news-event-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-event-card .event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-event-card .event-meta i {
    margin-right: 6px;
    color: #007bff;
}

.news-event-card .card-text {
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-event-card .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.news-event-card .btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

/* Filter Buttons */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-buttons .btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.filter-buttons .btn-outline-primary {
    border-color: #007bff;
    color: #007bff;
}

.filter-buttons .btn-outline-primary:hover,
.filter-buttons .btn-outline-primary.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Pagination */
.pagination-nav {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.pagination-nav .page-numbers {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 5px;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    color: #007bff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.pagination-nav .page-numbers:hover,
.pagination-nav .page-numbers.current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Single News/Event Template Styles */
.news-event-single {
    background: transparent;
    padding: 0;
    margin-bottom: 30px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: #0056b3;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

.news-title {
    font-size: 2.25rem;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
}

.post-date {
    font-size: 0.9rem;
    color: #6c757d;
}

.featured-image img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.content {
    line-height: 1.8;
    color: #2d3748;
    font-size: 1.1rem;
    margin-top: 20px;
}

.content p {
    margin-bottom: 1.5rem;
}

.content img {
    max-width: 100%;
    height: auto;
    margin: 25px 0;
    border-radius: 8px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    color: #4a5568;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.event-meta i {
    margin-right: 6px;
    color: #0056b3;
}

.share-buttons {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.share-buttons h6 {
    font-size: 1rem;
    color: #1a202c;
    margin-bottom: 15px;
}

.share-buttons .btn {
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.share-buttons .btn-primary {
    background-color: #3b5998;
    border-color: #3b5998;
}

.share-buttons .btn-info {
    background-color: #1da1f2;
    border-color: #1da1f2;
}

.share-buttons .btn:hover {
    opacity: 0.9;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .news-events-hero h1 {
        font-size: 2rem;
    }

    .news-event-card .card-title {
        font-size: 1.1rem;
    }

    .news-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .news-events-hero h1 {
        font-size: 1.75rem;
    }

    .news-event-card .card-image {
        height: 150px;
    }

    .news-event-card .card-body {
        padding: 15px;
    }

    .filter-buttons .btn {
        padding: 6px 15px;
        font-size: 0.85rem;
    }

    .news-title {
        font-size: 1.5rem;
    }

    .event-meta {
        flex-direction: column;
        gap: 10px;
    }

    .share-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .featured-image img {
        max-height: 200px;
    }
}
