/* ── Help cards ──────────────────────────────────────────────
   Figma: FAQs, Speak to a real person 1366:94081 (mobile
   1366:93858); 404, Where would you like to go next? 1400:17355
   (mobile 1400:17465). Three cards on beamwood.
   ─────────────────────────────────────────────────────────── */

.help-cards {
    padding: 64px var(--pad-x);
    background: var(--color-beamwood);
    color: var(--color-on-dark);
}

.help-cards__inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: var(--site-max-w);
    margin: 0 auto;
}

.help-cards__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 64px;
}

.help-cards__title {
    max-width: 820px;
    font-size: 52px;
    font-weight: 300;
    line-height: 1.08;
    letter-spacing: -0.78px;
}

.help-cards__note {
    max-width: 240px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-style: italic;
    line-height: 1.5;
    text-align: right;
    color: rgba(252, 251, 250, 0.6);
}

.help-cards__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-cards__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 32px;
    border: 1px solid rgba(252, 251, 250, 0.18);
    background: rgba(252, 251, 250, 0.06);
}

.help-cards__numeral {
    font-family: var(--font-heading);
    font-size: 32px;
    font-style: italic;
    font-weight: 100;
    color: var(--color-ochre);
    font-variation-settings: "SOFT" 100, "WONK" 1;
}

.help-cards__name {
    font-size: 30px;
    font-weight: 300;
    line-height: 1.08;
}

.help-cards__detail {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    color: rgba(252, 251, 250, 0.85);
    overflow-wrap: anywhere;
}

.help-cards__detail--link {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.help-cards__detail--link:hover {
    color: var(--color-ochre);
}

.help-cards__action.button--secondary {
    color: var(--color-ochre);
    font-weight: 500;
}

/* The whole card is the link: the button's hit area covers it. The phone
   number or email above it stays its own link, on top. */
.help-cards__card {
    transition: background-color var(--transition), border-color var(--transition);
}

.help-cards__action::after {
    content: "";
    position: absolute;
    inset: 0;
}

.help-cards__detail--link {
    position: relative;
    z-index: 1;
}

.help-cards__card:has(.help-cards__action):hover {
    border-color: rgba(252, 251, 250, 0.35);
    background: rgba(252, 251, 250, 0.1);
}

.help-cards__card:has(.help-cards__action:focus-visible) {
    outline: 2px solid var(--color-ochre);
    outline-offset: 4px;
}

.help-cards__action:focus-visible {
    outline: none;
}


/* Tablet and mobile — 1024px and below: one under another */
@media (max-width: 1024px) {
    .help-cards__title {
        font-size: 32px;
        line-height: 1.12;
        letter-spacing: -0.32px;
    }

    .help-cards {
        padding: 40px var(--pad-x);
    }

    .help-cards__inner {
        gap: 32px;
    }

    .help-cards__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .help-cards__note {
        max-width: none;
        text-align: left;
    }

    .help-cards__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .help-cards__card {
        gap: 18px;
        padding: 32px 28px;
    }

    .help-cards__name {
        font-size: 26px;
    }
}
