.home-archive {
    background: #060b1b;
    color: #fff;
    padding-block: clamp(24px, 4vw, 56px);
}

.home-archive-inner { max-width: 1240px; }
.home-archive-heading {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
    gap: 24px;
}

.home-archive-heading > p,
.home-archive-copy > p { color: #bccddd; }
.home-archive h2, .home-archive h3 {
    font-family: BannerAnton, Impact, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
}
.home-archive h2 { font-size: clamp(28px, 3.3vw, 50px); }
.home-archive h2 span { display: block; color: #ffc107; }
.home-archive .icon { width: 1em; height: 1em; fill: currentColor; }

.home-archive-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-block: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #263748;
}
.home-archive-toolbar button {
    padding: 7px 12px;
    border: 1px solid #263748;
    border-radius: 8px;
    background: #121d2d;
    color: #d2deea;
    font-size: 12px;
}
.home-archive-toolbar button[aria-pressed="true"] { background: #ffc107; color: #091520; font-weight: 700; }
.home-archive-count { margin-inline-start: auto; color: #a7bdcf; font-size: 12px; }

.home-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2vw, 24px);
}
.home-archive-lead { grid-column: span 2; }
.home-archive-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #263748;
    border-radius: 14px;
    background: #111b2d;
}
.home-archive-card[hidden] { display: none; }
.home-archive-photo { position: relative; height: clamp(150px, 17vw, 245px); }
.home-archive-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-archive-lead img { object-position: right center; }
.home-archive-card[data-archive-decade="1970"] img { filter: grayscale(1); }
.home-archive-tags { position: absolute; inset: 12px 12px auto; display: flex; flex-wrap: wrap; gap: 6px; }
.home-archive-tags span { padding: 4px 8px; border-radius: 5px; background: #091520df; font-size: 11px; font-weight: 700; }
.home-archive-tags span:first-child { background: #ffc107; color: #091520; }
.home-archive-copy { display: flex; flex: 1; flex-direction: column; padding: clamp(14px, 2vw, 24px); }
.home-archive h3 { font-size: clamp(18px, 2vw, 26px); }
.home-archive-copy > p { font-size: 14px; }
.home-archive-copy footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #263748;
    color: #a7bdcf;
    font-size: 12px;
}
.home-archive-copy footer a { color: #ffc107; font-weight: 700; }

@media (max-width: 991.98px) {
    .home-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 575.98px) {
    .home-archive-heading, .home-archive-grid { grid-template-columns: minmax(0, 1fr); }
    .home-archive-heading { gap: 8px; }
    .home-archive-lead { grid-column: auto; }
    .home-archive-count { width: 100%; margin-inline-start: 0; }
    .home-archive-photo { height: 190px; }
}

/* Approved light archive palette: colors only. */
.home-archive { background: #f6f6f6; color: #252b32; }
.home-archive-heading > p,
.home-archive-copy > p,
.home-archive-count,
.home-archive-copy footer { color: #657583; }
.home-archive h2 span { color: #526f88; }
.home-archive .home-results-label { background: #dce7f0; border-color: #bdcedd; color: #3e5d78; }
.home-archive-toolbar,
.home-archive-card,
.home-archive-copy footer { border-color: #dde4e8; }
.home-archive-card { background: #ffffff; }
.home-archive-toolbar button { background: #f1f6f8; color: #3e5d78; border-color: #bdcedd; }
.home-archive-toolbar button[aria-pressed="true"] { background: #526f88; color: #ffffff; }
.home-archive-tags span { background: #f1f6f8; color: #3e5d78; }
.home-archive-tags span:first-child { background: #dce7f0; color: #3e5d78; }
.home-archive-copy footer a { color: #526f88; }
.home-archive-copy footer a:hover { color: #425e77; }
.home-archive-view-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding: 10px 20px; background: #526f88; border-color: #526f88; color: #ffffff; font: 600 15px/1.5 Arial, sans-serif; }
.home-archive-view-all:is(:hover, :focus-visible, :active) { background: #425e77; border-color: #425e77; color: #ffffff; }
