/*
 * FMS Newsletter Archive — the archive card on My Newsletters and the account hub (moved from
 * FMS Member Gate's assets/gate.css in 0.62.0; class names unchanged). Loads after gate.css,
 * which publishes --fms-gate-accent.
 */

/* The archive card sits under the grid on the hub (it lives above the choices
   on My Newsletters); give it the same breathing room the header has. */
.fms-account__grid + .fms-account__archive {
    margin: 2.5rem 0 0;
}

/* --- Newsletter archive card on My Newsletters ------------------------------ */
.fms-account__archive {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 0 0 1.75rem;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 5px solid #ffd200;
    background: #fbf9f3;
}

.fms-account__archive.is-locked {
    border-left-color: rgba(0, 0, 0, 0.18);
    background: #f7f7f5;
}

.fms-account__archive-kicker {
    margin: 0 0 .25rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--fms-gate-accent);
}

.fms-account__archive h3 {
    margin: 0 0 .35rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

.fms-account__archive p {
    margin: 0;
    max-width: 34rem;
    line-height: 1.5;
    color: #444;
}

.fms-account__archive-action {
    flex: 0 0 auto;
}

.fms-account__archive .fms-btn {
    display: inline-block;
    padding: .7rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid var(--fms-gate-accent);
}

.fms-account__archive .fms-btn--primary {
    background: var(--fms-gate-accent);
    color: #fff;
}

.fms-account__archive .fms-btn--primary:hover,
.fms-account__archive .fms-btn--primary:focus {
    filter: brightness(0.93);
}

.fms-account__archive .fms-btn--ghost {
    background: #fff;
    color: var(--fms-gate-accent);
}

@media (max-width: 640px) {
    .fms-account__archive {
        flex-direction: column;
        align-items: flex-start;
    }
}

