/* ─────────────────────────────────
   NEWSLETTERS: ARCHIVE CONTINUUM
   Museum Editorial Design Language
───────────────────────────────── */

.newsletters-archives {
    padding-bottom: 100px;
    background: #fbfbfb;
}

/* ─────────────────────────────────
   EDITORIAL HERO
───────────────────────────────── */
.archives-hero {
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #051336;
}

.archives-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    filter: grayscale(1) contrast(1.2);
}

.archives-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.archives-label {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 12px;
    margin-bottom: 20px;
    display: block;
    opacity: 0.8;
}

.archives-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -2px;
}

/* ─────────────────────────────────
   ARCHIVE DOSSIERS (GRID)
───────────────────────────────── */
.archives-container {
    max-width: 1400px;
    margin: -100px auto 0;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.year-dossier {
    background: white;
    border-radius: 32px;
    padding: 60px;
    margin-bottom: 60px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 60px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.year-marker {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.year-number {
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.year-caption {
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

/* ─────────────────────────────────
   ISSUE TOKENS
───────────────────────────────── */
.issue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px;
}

.issue-token {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.month-name {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    margin-bottom: 4px;
}

.issue-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--accent);
}

.issue-token:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(5, 19, 54, 0.15);
    border-color: var(--primary);
}

.issue-token:hover .month-name {
    color: white;
}

.issue-token:hover .issue-label {
    color: rgba(255, 255, 255, 0.6);
}

.issue-token.disabled {
    opacity: 0.3;
    cursor: default;
    background: transparent;
    filter: grayscale(1);
}

/* ─────────────────────────────────
   RESPONSIVE
───────────────────────────────── */
@media (max-width: 992px) {
    .year-dossier {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 30px;
    }

    .year-number {
        font-size: 4rem;
    }

    .archives-container {
        margin-top: -60px;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .issue-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .month-name {
        font-size: 0.85rem;
    }
}
