/* ==========================================================
   FPLF HOMEPAGE – How It Works (client reference, 2026-11)
   Three static steps and the legal note: markup in the Elementor
   HTML widget d10ec16 of the homepage (page 12, container
   "FPLF Process"); the section's H2 and subtitle are Elementor
   widgets and keep their own styles. No script, no images.
   Step panel = the Layer 1 card outline (1px #dbe4ee, 14px radius)
   on the page's white background; colours are existing FPLF values.
   Loaded on the front page only (inc/home-categories.php).
========================================================== */

.fplf-hiw {
    width: 100%;
    margin: 20px 0 0;
    font-family: "Inter", sans-serif;
}

.fplf-hiw ol.fplf-hiw-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fplf-hiw .fplf-hiw-step {
    margin: 0;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #dbe4ee;
    border-radius: 14px;
    text-align: left;
}

.fplf-hiw .fplf-hiw-number {
    display: block;
    color: #215bc2;
    font-size: 40px;
    line-height: 1;
    font-weight: 700;
}

.fplf-hiw .fplf-hiw-title {
    margin: 20px 0 0;
    color: #1e3a5f;
    font-family: inherit;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.fplf-hiw .fplf-hiw-text {
    margin: 10px 0 0;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

.fplf-hiw .fplf-hiw-note {
    max-width: 700px;
    margin: 40px auto 0;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* Tablet: three columns stay, tighter panels */
@media (max-width: 1023px) {
    .fplf-hiw .fplf-hiw-step {
        padding: 22px;
    }
}

/* Phones: the steps stack in order 01, 02, 03 */
@media (max-width: 767px) {
    .fplf-hiw ol.fplf-hiw-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .fplf-hiw .fplf-hiw-number {
        font-size: 34px;
    }

    .fplf-hiw .fplf-hiw-title {
        margin-top: 14px;
    }

    .fplf-hiw .fplf-hiw-note {
        margin-top: 28px;
    }
}
