/* Archive Page Styles */
.archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.archive-content {
    display: flex;
    gap: 60px;
    margin: 0;
    flex: 1;
}

.archive-title {
    font-family: 'Playwright', serif;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0px auto;
    text-align: center;
}

.divider-container {
    position: relative;
    width: 100%;
    height: 40px;
    margin: 1rem 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-line {
    width: 100%;
    height: 40px;
}

.sidebar {
    flex: 0 0 200px;
}

.email-dates {
    list-style: none;
    padding: 0;
    margin: 0;
    position: sticky;
    top: 2rem;
    text-align: left;
}

.email-date {
    font-family: 'Marcellus', serif;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin: 1rem 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
}

.email-date:hover {
    opacity: 0.8;
}

.email-date.active {
    opacity: 0.8;
    text-decoration: underline;
}

.content-area {
    flex: 1;
    max-width: 800px;
}

.email-content {
    display: none;
    margin: 1rem 0 0 0;
    color: #fff;
    font-family: 'Marcellus', serif;
    line-height: 1.8;
    text-align: justify;
}

.email-content.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.email-content h1,
.email-content h2,
.email-content h3,
.email-content h4,
.email-content h5,
.email-content h6 {
    color: var(--primary-color);
    font-family: 'Playwright', serif;
    margin: 1.5em 0 0.5em;
    text-align: left;
    font-weight: 300;
}

.email-content h1 {
    margin-top: 0;
    line-height: 1.3;
}

.email-content p {
    margin: 1em 0;
}

.email-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.email-content a:hover {
    text-decoration: underline;
}

.back-link {
    font-family: 'Playwright', serif;
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.5rem 0;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 2.2rem;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 0.8;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile styles */
@media (max-width: 768px) {
    .archive-content {
        flex-direction: column;
        gap: 2rem;
        margin: 0 auto;
    }

    .sidebar {
        flex: none;
    }

    .email-dates {
        position: relative;
        top: 0;
        display: block;
        line-height: 1.2rem;
        text-align: center;
    }

    .email-date {
        margin: 1rem 0;
    }

    .content-area {
        padding: 0;
    }

    .divider-container {
        margin-bottom: 0 autos;
    }

    .email-content h1 {
        margin-top: 1.5rem;
    }
} 