.news-hero {
    background-image: url('https://images.unsplash.com/photo-1617280137702-32e761be8b26?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NXx8Z3Jhc3MlMjBmaWVsZHxlbnwwfHwwfHx8MA%3D%3D&w=1000&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.news-listing {
    background-color: #f9f9f9;
}

.news-card-link {
    text-decoration: none;
    color: inherit;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(105, 105, 105, 0.02);
    /* transition: transform 0.25s ease, box-shadow 0.25s ease; */
}

/* .news-card:hover {
    transform: translateY(-6px);
} */

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

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 6px;
    box-sizing: border-box;
    border-radius: 8px;
    /* transition: transform 0.35s ease; */
}

/* .news-card:hover .news-img-wrap img {
    transform: scale(1.06);
} */

.news-body {
    padding: 1rem 1.25rem;
}

.news-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    text-transform: capitalize;
}

.news-desc {
    color: #8f8d8d;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.news-author {
    color: #2aa84a;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: capitalize;
}

.news-footer {
    border-color: #e9ecef !important;
}

.news-date {
    font-size: 0.85rem;
}

.clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.pagination .page-link {
    color: #28a745;
    border: 1px solid #28a745;
    cursor: pointer;
    padding: 8px 15px;
    margin: 0 3px;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link,
.pagination .page-link:hover:not(.disabled) {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    opacity: 0.6;
    color: #6c757d;
    border-color: #b7dfc0;
    cursor: not-allowed;
    background-color: #f8f9fa;
}

@media (max-width: 767px) {
    .news-img-wrap {
        height: 180px;
    }

    .pagination .page-link {
        padding: 6px 12px;
        margin: 0 2px;
    }
}

/* Category Badge */
.news-img-wrap {
    position: relative;
}

.news-category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(40, 167, 69, 0.95);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    z-index: 1;
}

/* Filter Buttons - Matching Events Page */
.filter-section {
    text-align: left;
}

.filter-btn,
.type-filter-btn {
    padding: 8px 20px;
    border: none;
    background: #fff;
    color: #1a8755;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: none;
}

.filter-btn:hover,
.type-filter-btn:hover {
    background: #1a8755;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: none;
}

.filter-btn.active,
.type-filter-btn.active {
    background: #1a8755;
    color: #fff;
    box-shadow: none;
}

.nav-pills .nav-link {
    background: #fff;
    color: #1a8755;
    border-radius: 10px;
    margin: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: none;
}

.nav-pills .nav-link:hover {
    background: #1a8755;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: none;
}

.nav-pills .nav-link.active {
    background: #1a8755;
    color: #fff;
}

.filter-btn:focus,
.type-filter-btn:focus,
.nav-pills .nav-link:focus {
    outline: none;
    box-shadow: none;
}

@media (max-width: 767px) {

    .filter-btn,
    .type-filter-btn {
        padding: 6px 15px;
        font-size: 0.85rem;
        margin: 3px;
    }
}

/* No Results Message */
.events-no-results {
    display: none;
}

.events-no-results p {
    font-size: 1.1rem;
    color: #6c757d;
}