/* Archive Header Styles - Magazine Design */

.archive-header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 2rem 0 3rem;
    margin-bottom: 3rem;
}

/* Archive header content uses common container from main.css */

/* Breadcrumb Navigation - uses common breadcrumb styles from main.css */

/* Title Section */
.archive-title-section {
    text-align: center;
    margin-bottom: 2rem;
}

.archive-title {
    font-family: serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    color: #000;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

/* Archive Meta */
.archive-meta {
    font-family: sans-serif;
    font-size: 0.875rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.archive-type {
    background: var(--color-text-primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    font-size: 0.75rem;
}

.meta-separator {
    margin: 0 0.75rem;
    opacity: 0.5;
}

.post-count {
    font-weight: 600;
}

.archive-date {
    font-style: italic;
}

/* Archive Description */
.archive-description {
    max-width: 600px;
    margin: 2rem auto;
    text-align: center;
    font-family: serif;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #333;
}

.archive-description p {
    margin: 0;
}

/* Featured Content */
.archive-featured {
    background: #f8f9fa;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid #000;
}

.featured-label {
    font-family: sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: #000;
    margin: 0 0 1rem 0;
}

.featured-post h2 {
    font-family: serif;
    font-size: 1.5rem;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
}

.featured-post h2 a {
    color: #000;
    text-decoration: none;
}

.featured-post h2 a:hover {
    text-decoration: underline;
}

.featured-post p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Archive Controls */
.archive-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e5e5;
    margin-top: 2rem;
    font-family: sans-serif;
}

.view-options,
.sort-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.view-label,
.sort-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.view-toggle {
    background: none;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 2px;
}

.view-toggle:hover,
.view-toggle.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.sort-select {
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border-radius: 2px;
    cursor: pointer;
}

.sort-select:focus {
    outline: none;
    border-color: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .archive-header {
        padding: 1.5rem 0 2rem;
    }

    .archive-header-content {
        padding: 0 1rem;
    }

    .archive-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .view-options,
    .sort-options {
        justify-content: center;
    }

    .archive-featured {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

/* Typography Refinements */
@media (min-width: 769px) {
    .archive-title {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }
}