/* Announcements Archive Page */
.announcements-archive {
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 20px 40px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #35707e;
}

.page-header h1 {
    color: #35707e;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.breadcrumb {
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #35707e;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Search and Filter Section */
.archive-filters {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.filter-form {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.search-group,
.filter-group,
.action-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-input,
.category-filter {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.search-input:focus,
.category-filter:focus {
    outline: none;
    border-color: #35707e;
    box-shadow: 0 0 0 2px rgba(53, 112, 126, 0.1);
}

.action-group {
    flex-direction: row;
    gap: 0.5rem;
}

.filter-btn,
.clear-btn {
    padding: 12px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.filter-btn {
    background: #35707e;
    color: white;
}

.filter-btn:hover {
    background: #2a5861;
}

.clear-btn {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.clear-btn:hover {
    background: #e9ecef;
    color: #333;
}

/* Results Info */
.results-info {
    margin-bottom: 2rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
}

/* Announcements Archive List */
.announcements-archive-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.announcement-archive-item {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.announcement-archive-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.announcement-archive-header {
    margin-bottom: 1.5rem;
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    font-size: 14px;
}

.announcement-date {
    background: #35707e;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.announcement-category {
    background: #f8f9fa;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-title {
    color: #333;
    font-size: 1.5rem;
    line-height: 1.4;
    margin: 0;
    font-weight: 600;
}

.announcement-archive-content {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 1.5rem;
}

.announcement-actions {
    text-align: right;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.interest-btn {
    display: inline-block;
    background: #35707e;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.interest-btn:hover {
    background: #2a5861;
}

/* Pagination */
.pagination-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn,
.pagination-number {
    padding: 8px 12px;
    text-decoration: none;
    border-radius: 4px;
    color: #35707e;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.pagination-btn:hover,
.pagination-number:hover {
    background: #35707e;
    color: white;
    border-color: #35707e;
}

.pagination-current {
    padding: 8px 12px;
    border-radius: 4px;
    background: #35707e;
    color: white;
    border: 1px solid #35707e;
    font-weight: 500;
}

.pagination-numbers {
    display: flex;
    gap: 0.25rem;
}

.pagination-info {
    color: #666;
    font-size: 14px;
}

/* No Results */
.no-announcements-archive {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.no-announcements-archive h3 {
    color: #35707e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.no-announcements-archive p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.back-to-all-btn,
.back-home-btn {
    display: inline-block;
    background: #35707e;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.back-to-all-btn:hover,
.back-home-btn:hover {
    background: #2a5861;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .announcements-archive {
        padding: 100px 15px 30px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .filter-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .action-group {
        flex-direction: column;
    }
    
    .announcement-archive-item {
        padding: 1.5rem;
    }
    
    .announcement-title {
        font-size: 1.3rem;
    }
    
    .announcement-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination-btn {
        padding: 6px 10px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .archive-filters {
        padding: 1rem;
    }
    
    .announcement-archive-item {
        padding: 1rem;
    }
    
    .announcement-title {
        font-size: 1.2rem;
    }
    
    .search-input,
    .category-filter {
        font-size: 14px;
    }
}
