/* Resources page — navy hero band, grouped link cards on light */

.resources-hero {
    position: relative;
    min-height: 42vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 130px 0 70px;
    text-align: center;
    overflow: hidden;
}

.resources-hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 0 1.5rem;
}

.resources-hero-eyebrow {
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--blue-hi);
}

.resources-title {
    font-size: clamp(2.8rem, 6vw, 4.6rem);
    color: #ffffff;
}

.resources-hero-tagline {
    margin-top: 1.1rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--mist);
    max-width: 60ch;
    margin-left: auto;
    margin-right: auto;
}

.resources-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
}

/* ---- group ---- */
.resource-group {
    margin-bottom: 4rem;
}

.resource-group:last-of-type {
    margin-bottom: 2rem;
}

.group-head {
    margin-bottom: 1.75rem;
}

.group-label {
    display: block;
    margin-bottom: 0.6rem;
}

.group-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--heading);
    letter-spacing: -0.01em;
}

.group-desc {
    margin-top: 0.75rem;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 68ch;
}

/* ---- grid of cards ---- */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.resource-card {
    display: flex;
    flex-direction: column;
    background: var(--wash);
    border: 1px solid var(--line);
    border-top: 3px solid var(--blue);
    padding: 1.75rem;
    color: var(--ink);
    transition: border-color 0.2s, background 0.2s;
}

a.resource-card:hover {
    border-color: var(--blue);
    background: var(--paper);
}

a.resource-card:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.rc-name {
    font-size: 1.25rem;
    color: var(--heading);
    margin-bottom: 0.55rem;
    letter-spacing: -0.01em;
}

.rc-detail {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1.25rem;
}

.rc-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    color: var(--blue);
    font-weight: 500;
}

/* ---- "coming soon" placeholder cards ---- */
.resource-card.is-soon {
    border-top-color: var(--line-2);
    background: transparent;
    position: relative;
}

.soon-tag {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--faint);
    border: 1px solid var(--line-2);
    border-radius: 2px;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.9rem;
}

.is-soon .rc-name {
    color: var(--muted);
}

.rc-foot-soon {
    color: var(--faint);
    font-weight: 400;
}

/* ---- footnote ---- */
.resources-footnote {
    margin-top: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.95rem;
}

.resources-footnote-link {
    color: var(--blue);
    font-weight: 600;
    border-bottom: 1px solid color-mix(in srgb, var(--blue) 35%, transparent);
}

.resources-footnote-link:hover {
    border-bottom-color: var(--blue);
}

@media (max-width: 768px) {
    .resources-content {
        padding: 3rem 1.5rem;
    }

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .resource-group {
        margin-bottom: 3rem;
    }
}
