.archive-main {
    margin-top: 80px;
    padding: 2rem 5%;
}

.archive-header {
    text-align: center;
    margin-bottom: 3rem;
}

.archive-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.archive-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.search-box {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.search-box button {
    padding: 0.8rem 1.5rem;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #1a252f;
}

.filter-options {
    display: flex;
    gap: 1rem;
}

.filter-options select {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.archive-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.archive-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.archive-item:hover {
    transform: translateY(-5px);
}

.archive-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.archive-item-content {
    padding: 1.5rem;
}

.archive-item-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.archive-item-content p {
    color: #666;
    margin-bottom: 1rem;
}

.archive-item-content .date {
    color: #888;
    font-size: 0.9rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-numbers span {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-numbers span.active {
    background-color: #2c3e50;
    color: white;
}

.prev-page, .next-page {
    background: none;
    border: 1px solid #ddd;
    width: 35px;
    height: 35px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-page:hover, .next-page:hover {
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .archive-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        max-width: none;
    }

    .filter-options {
        flex-direction: column;
    }

    .archive-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
} 