/* Archives Page Styles */
.archives-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/archives-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
}

.archives-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.archives-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.recent-news {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.recent-news h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2a6d3e;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}

.news-category {
    background-color: #e0f0e5;
    color: #2a6d3e;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 600;
}

.news-card h3 {
    margin-bottom: 15px;
    color: #2a6d3e;
}

.news-card p {
    margin-bottom: 15px;
    color: #555;
}

.read-more {
    color: #2a6d3e;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-archives {
    padding: 80px 0;
}

.news-archives h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2a6d3e;
}

.archive-filters {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 600;
}

.filter-group select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}

.archives-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.archive-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.archive-item:hover {
    background-color: #f9f9f9;
}

.archive-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.archive-item h3 {
    margin-bottom: 10px;
}

.archive-item h3 a {
    color: #2a6d3e;
    text-decoration: none;
}

.archive-item h3 a:hover {
    text-decoration: underline;
}

.archive-item p {
    color: #666;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #2a6d3e;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-btn.active {
    background-color: #2a6d3e;
    color: white;
    border-color: #2a6d3e;
}

.page-btn:hover:not(.active) {
    background-color: #f0f7f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .archive-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-group {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .archives-hero h1 {
        font-size: 2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}