/* ============================================================
   HOW IT WORKS PAGE — NFA
   File: assets/css/how-it-works.css
   ============================================================ */

/* ─────────────────────────────────────────
   RESET page-level defaults
───────────────────────────────────────── */
body.page-template-page-how-it-works,
body.page-template-page-industry-how-it-works {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
}

body.page-template-page-how-it-works .entry-title,
body.page-template-page-how-it-works .page-title,
body.page-template-page-how-it-works h1.page-title,
body.page-template-page-industry-how-it-works .entry-title,
body.page-template-page-industry-how-it-works .page-title,
body.page-template-page-industry-how-it-works h1.page-title {
    display: none !important;
}

/* ─────────────────────────────────────────
   DESIGN TOKENS
───────────────────────────────────────── */
.hiw-page {
    --hiw-navy: #0d1f3c;
    --hiw-navy-mid: #1a3a6b;
    --hiw-orange: #e05c2a;
    --hiw-light-bg: #f5f7fa;
    --hiw-border: #dde3ec;
    --hiw-text: #0a0a0a;
    --hiw-muted: #5f6b7a;
    --hiw-step-bg: #1a3a6b;

    font-family: 'Inter', sans-serif;
    color: var(--hiw-text);
}

/* ══════════════════════════════════════
   HERO / BANNER — dark navy
══════════════════════════════════════ */
.hiw-banner {
    padding: 234px 20px 173px !important;
    text-align: center;
}

.hiw-banner__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.hiw-banner__title {
    color: #fff;
    margin: 0;
    letter-spacing: -0.312px;
    line-height: 140%;
}

/* ══════════════════════════════════════
   FORM SECTION WRAPPER
══════════════════════════════════════ */
.hiw-form-section {
    /* intentionally unstyled — shortcode handles its own appearance */
}

.hiw-form-section__container {
    /* mirrors .about-form-section__container */
}

/* ══════════════════════════════════════
   SECTION WRAPPER
══════════════════════════════════════ */
.hiw-section {
    max-width: 1720px;
    margin: 0 auto;
    padding: 72px 0;
    padding-bottom: 74px;
}

.hiw-section-intro__title {
    font-weight: 700;
    color: var(--hiw-navy);
}

.hiw-section-intro__sub {
    font-size: var(--fs-18);
    color: #0A0A0A;
    font-weight: var(--fw-400);
    margin: 0 0 40px;
    line-height: var(--lh-133);
}

/* ══════════════════════════════════════
   STEP ROWS
══════════════════════════════════════ */
.hiw-steps {
    display: flex;
    flex-direction: column;
    max-width: 1440px;
    width: 100%;
}

.hiw-step {
    display: grid;
    grid-template-columns: 1fr 813px;
    gap: 48px 90px;
    padding: 40px 0;
    border-bottom: 1px solid var(--hiw-border);
    align-items: start;
}

.hiw-step:last-child {
    border-bottom: none;
}

/* Left column */
.hiw-step__left {
    display: flex;
    gap: 18px;
    align-items: center;
}

.hiw-step__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 18px;
    background: #6A7282;
    color: #fff;
    font-weight: var(--fw-600);
    border-radius: 4px;
    white-space: nowrap;
}

.hiw-step__heading {
    font-weight: 700;
    color: var(--hiw-navy);
    margin: 0;
    line-height: 1.3;
}

/* ══════════════════════════════════════
   RIGHT COLUMN — WYSIWYG DESCRIPTION
   (replaces the old tagline + list + note pattern)
══════════════════════════════════════ */
.hiw-step__right {
    display: flex;
    flex-direction: column;
    /*     gap: 24px; */
}

/* WYSIWYG wrapper — inherits .hiw-step__right layout */
.hiw-step__description {
    display: flex;
    flex-direction: column;
    /*     gap: 16px; */
}

/* Paragraphs inside WYSIWYG */
.hiw-step__description p {
    font-size: var(--fs-18);
    font-weight: var(--fw-500);
    text-transform: capitalize;
    color: #5F5F5F;
    margin: 0;
    /*     line-height: calc(1em + 10px); */
}

.hiw-step__description p strong {
    color: var(--hiw-navy);
    font-weight: 600;
}

/* Unordered lists inside WYSIWYG */
.hiw-step__description ul {
    list-style: none;
    padding-left: 10px !important;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hiw-step__description ul li {
    font-size: var(--fs-20);
    /*     font-weight: var(--fw-600); */
    color: #5F5F5F;
    padding-left: 18px;
    position: relative;
    line-height: var(--lh-normal);
}

.hiw-step__description ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #5F5F5F;
    border-radius: 50%;
}

.hiw-step__description ul li strong {
    font-weight: 600;
    color: #0A0A0A;
}

/* Ordered lists inside WYSIWYG */
.hiw-step__description ol {
    padding-left: 20px !important;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hiw-step__description ol li {
    font-size: var(--fs-20);
    font-weight: var(--fw-600);
    color: #0A0A0A;
    line-height: var(--lh-normal);
}

/* ══════════════════════════════════════
   CTA BLOCK — "See. Select. Save."
══════════════════════════════════════ */
.hiw-cta {
    background: #F3F3F5;
    border: 1.26px solid rgba(0, 0, 0, 0.10);
    border-radius: 16px;
    padding: 49px 40px;
    text-align: center;
    max-width: 1720px;
    margin: 0 auto 72px;
}

.hiw-cta__headline {
    color: var(--hiw-navy);
    letter-spacing: -0.312px;
}

.hiw-cta__sub {
    font-size: var(--fs-18);
    font-weight: var(--fw-500);
    color: #5F5F5F;
    text-transform: capitalize;
    line-height: var(--lh-normal);
}

.hiw-cta__sub--bold {
    font-size: var(--fs-18);
    font-weight: var(--fw-500);
    color: #5F5F5F;
    text-transform: capitalize;
    line-height: var(--lh-normal);
}

/* Space between consecutive paragraphs */
.hiw-step__description p+p {
    margin-top: 10px;
}

/* Space between p → ul */
.hiw-step__description p+ul {
    margin-top: 24px;
}

/* Space between ul → p */
.hiw-step__description ul+p {
    margin-top: 24px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media only screen and (max-width: 1720px) {
    .hiw-section {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hiw-cta {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media only screen and (max-width: 1599px) {
    .hiw-step {
        padding: 30px 0;
    }

    .hiw-banner {
        padding: 210px 20px 150px !important;
    }
}

@media only screen and (max-width:1366px) {
    .hiw-banner {
        padding: 180px 20px 130px !important;
    }

    .hiw-step {
        gap: 48px 62px;
    }

    .hiw-section {
        padding-bottom: 45px;
    }
}

@media (max-width: 1199px) {
    .hiw-step {
        gap: 32px 40px;
    }

}

@media only screen and (max-width:1199px) {
    .hiw-banner {
        padding: 182px 20px 140px !important;
    }

    .hiw-step {
        grid-template-columns: 1fr 696px;
    }

    .hiw-section {
        padding-bottom: 40px;
    }
}

@media only screen and (max-width:1024px) {
    .hiw-banner {
        padding: 150px 20px 150px !important;
    }

    .hiw-step {
        grid-template-columns: 1fr 587px;
    }

    .hiw-step__description ul li {
        padding-left: 12px;
    }

    .hiw-step__description ul {
        padding-left: 0 !important;
    }
}

@media only screen and (max-width:950px) {
    .hiw-step__description p+ul {
        margin-top: 20px;
    }

    .hiw-step__description ul+p {
        margin-top: 20px;
    }

    .hiw-step {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 32px 0;
    }

    .hiw-step__description p+ul {
        margin-top: 15px;
    }
}

@media only screen and (max-width:767px) {
    .hiw-banner {
        padding: 129px 20px 270px !important;
    }

    .hiw-section-intro__sub {
        margin: 0;
    }

    .nfa-hero__form-wrap {
        margin-left: 20px;
        margin-right: 20px;
    }

    .hiw-section {
        padding-bottom: 30px;
    }

    .nfa-header__inner {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .hiw-banner {
        padding: 40px 0 36px;
    }

    .hiw-banner__title {
        font-size: 28px;
    }

    .hiw-cta {
        margin: 0 16px 48px;
        padding: 40px 20px;
    }

    .hiw-cta__headline {
        font-size: 26px;
    }
}

@media (max-width: 479px) {
    .hiw-section {
        padding: 48px 16px;
    }

    .hiw-step {
        padding: 20px 0;
        gap: 10px;
    }

}

@media only screen and (max-width:479px) {
    .hiw-step__badge {
        padding: 7px 18px;
    }

    .hiw-step__left {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        align-items: flex-start;
    }

    .nfa-hero__form-wrap {
        margin-left: 15px;
        margin-right: 15px;
    }

    .main-banner {
        padding: 140px 20px 370px !important;
    }

    .nfa-hero__form-wrap {
        margin-top: -320px !important;
    }
}