/* =====================
   email-arsiv.css
   ===================== */

.email-arsiv-main {
    min-height: min-content;
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    position: relative;
    z-index: 0;
    padding-bottom: 100px;
}

    /* Himalaya paper background — same as blog */
    .email-arsiv-main::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent url("Assets/Himalayapaper.png") 0% 0% no-repeat padding-box;
        background-size: cover;
        opacity: 0.7;
        z-index: -1;
    }

/* Mobile logo */
.first-div-mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 24px;
}

    .first-div-mobile-logo img {
        width: 160px;
    }

/* Page title — matches .blog-header exactly */
.email-arsiv-header {
    margin-top: 271px;
    margin-bottom: 20px;
    text-align: center;
    font: normal normal normal 60px/64px Didot;
    letter-spacing: 0px;
    color: #727171;
}

/* Subtitle — matches .allposts style */
.email-arsiv-subtitle {
    width: 190px;
    height: 44px;
    background: #808080 0% 0% no-repeat padding-box;
    border-radius: 6px;
    text-align: center;
    font: normal normal bold 14px/24px 'Mono45 Headline', monospace;
    letter-spacing: 0px;
    color: #ffb94a;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 48px;
}

/* List container */
.email-arsiv-host {
    width: 100%;
    max-width: 860px;
    padding: 0 24px;
    border-top: 1px solid #c8c0b0;
}

/* Empty state */
.email-arsiv-empty {
    font: normal normal normal 14px/20px 'Mono45 Headline Light', monospace;
    color: #888;
    text-align: center;
    padding: 48px 0;
}

/* Each row item */
.email-arsiv-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid #c8c0b0;
    gap: 24px;
}

/* Subject + date */
.email-arsiv-item-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.email-arsiv-item-subject {
    text-align: left;
    font: normal normal normal 22px/27px Didot;
    letter-spacing: 0px;
    color: #525252;
}

.email-arsiv-item-date {
    text-align: left;
    font: normal normal normal 12px/18px 'Mono45 Headline Light', monospace;
    letter-spacing: 0.08em;
    color: #999;
    text-transform: uppercase;
}

/* Button */
.email-arsiv-btn {
    flex-shrink: 0;
    display: inline-block;
    font: normal normal bold 11px/24px 'Mono45 Headline', monospace;
    letter-spacing: 0.15em;
    color: #525252;
    border: 1px solid #525252;
    padding: 8px 18px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .email-arsiv-btn:hover {
        background-color: #525252;
        color: #fff;
        text-decoration: none;
    }

/* =====================
   Responsive
   ===================== */
@media screen and (max-width: 768px) {
    .email-arsiv-main {
        padding-bottom: 60px;
    }

    .first-div-mobile-logo {
        display: block;
        margin-top: 24px;
    }

    .email-arsiv-header {
        margin-top: 150px;
        font-size: 40px;
        line-height: 48px;
    }

    .email-arsiv-host {
        max-width: 100%;
        width: 90%;
    }

    .email-arsiv-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .email-arsiv-btn {
        align-self: flex-start;
    }
}
