/* RiskFree Core System Features - scoped CMS appearance.
 * Retains the existing content, anchors and demo-clck hook.
 * Does not style the page wrappers, sidebar, header or footer.
 */
body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) {
    --rf-blue: #1f5b97;
    --rf-heading: #174368;
    --rf-navy: #102b47;
    --rf-border: #dce9f3;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    color: #334e68;
    font-family: "Segoe UI", "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    container-type: inline-size;
}

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) *,
    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) *::before {
        box-sizing: border-box;
    }

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > h1 {
        margin: 0 0 20px !important;
        padding: 25px 27px !important;
        border: 1px solid #1b4772 !important;
        border-radius: 12px;
        background: linear-gradient(120deg, #102b47, #1b4772) !important;
        letter-spacing: -.025em;
    }

        body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > h1,
        body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > h1 * {
            color: #ffffff !important;
            font-family: inherit !important;
            font-size: 29px !important;
            font-weight: 650 !important;
            line-height: 1.22 !important;
        }

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > hr,
    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > br {
        display: none !important;
    }

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > h3 {
        margin: 23px 0 13px !important;
        padding: 0 !important;
        border: 0 !important;
        background: none !important;
        letter-spacing: -.015em;
    }

        body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > h3,
        body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > h3 * {
            color: var(--rf-heading) !important;
            font-family: inherit !important;
            font-size: 21px !important;
            font-weight: 650 !important;
            line-height: 1.3 !important;
        }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > h3 br {
                display: none !important;
            }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > h3:first-of-type {
                margin-top: 0 !important;
            }

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
        background: transparent !important;
    }
        /* Existing eight navigation buttons, in two rows of four. */
        body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(1) {
            margin: 0 0 25px !important;
            padding: 0 0 24px !important;
            border-bottom: 1px solid var(--rf-border) !important;
        }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(1) > tbody {
                display: grid !important;
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 10px;
            }

                body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(1) > tbody > tr {
                    display: contents !important;
                }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(1) td {
                display: block !important;
                width: auto !important;
                height: auto !important;
                min-width: 0;
                margin: 0 !important;
                padding: 0 !important;
                border: 0 !important;
                background: transparent !important;
            }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(1) a {
                display: flex;
                height: 100%;
                text-decoration: none !important;
            }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(1) button,
            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(1) input[type="button"] {
                display: block !important;
                width: 100% !important;
                min-width: 0 !important;
                min-height: 48px;
                height: auto !important;
                margin: 0 !important;
                padding: 10px 8px !important;
                border: 1px solid #b5d0e6 !important;
                border-radius: 7px !important;
                background: #f4f8fc !important;
                color: var(--rf-blue) !important;
                font-family: inherit !important;
                font-size: 12px !important;
                font-weight: 600 !important;
                line-height: 1.35 !important;
                white-space: normal !important;
                text-align: center !important;
                box-shadow: none !important;
                cursor: pointer;
            }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(1) a[href$="/lender-core-system.php"] button,
            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(1) a[href$="/lender-core-system.php"] input[type="button"] {
                border-color: var(--rf-blue) !important;
                background: var(--rf-blue) !important;
                color: #ffffff !important;
            }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(1) button:hover {
                border-color: var(--rf-blue) !important;
                box-shadow: 0 2px 6px rgba(16,43,71,.08) !important;
            }
        /* Original feature labels and descriptions; the middle cell is a blank divider. */
        body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) > tbody {
            display: grid !important;
            grid-template-columns: minmax(0, 1fr);
            gap: 9px;
            counter-reset: rf-core-feature;
        }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) > tbody > tr {
                display: grid !important;
                grid-template-columns: minmax(160px, 30%) minmax(0, 1fr);
                gap: 18px;
                width: 100% !important;
                height: auto !important;
                padding: 15px !important;
                border: 1px solid var(--rf-border) !important;
                border-radius: 12px;
                background: #ffffff !important;
                counter-increment: rf-core-feature;
            }

                body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) > tbody > tr:nth-child(even) {
                    background: #f4f8fc !important;
                }

        body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td {
            display: block !important;
            width: auto !important;
            height: auto !important;
            min-width: 0;
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
            background: transparent !important;
            text-align: left !important;
            vertical-align: top !important;
        }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td,
            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td * {
                color: #334e68 !important;
                font-family: inherit !important;
                font-size: 14px !important;
                line-height: 1.55 !important;
                white-space: normal !important;
                overflow-wrap: break-word;
            }

                body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td:nth-child(2) {
                    display: none !important;
                }

                body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td:first-child {
                    display: flex !important;
                    align-items: flex-start;
                    gap: 10px;
                }

                    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td:first-child,
                    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td:first-child * {
                        color: var(--rf-heading) !important;
                        font-weight: 650 !important;
                        line-height: 1.35 !important;
                    }

                        body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td:first-child > span {
                            min-width: 0;
                        }

                        body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td:first-child::before {
                            content: counter(rf-core-feature, decimal-leading-zero);
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            flex: 0 0 29px;
                            width: 29px;
                            height: 29px;
                            border-radius: 50%;
                            background: #e2effa;
                            color: var(--rf-blue);
                            font-size: 13px;
                            font-weight: 650;
                            line-height: 1;
                        }

                body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td:nth-child(3) {
                    padding-left: 18px !important;
                    border-left: 1px solid var(--rf-border) !important;
                }

        body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) p {
            margin: 0 0 10px !important;
            padding: 0 !important;
        }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) p:last-child {
                margin-bottom: 0 !important;
            }
        /* Original Pricing and Arrange a demo controls. */
        body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(3) {
            margin: 18px 0 0 !important;
            padding: 16px !important;
            border: 1px solid var(--rf-border) !important;
            border-radius: 12px;
            background: #edf5fb !important;
        }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(3) > tbody {
                display: block !important;
            }

                body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(3) > tbody > tr {
                    display: flex !important;
                    flex-wrap: wrap;
                    gap: 12px;
                }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(3) td {
                display: block !important;
                width: auto !important;
                padding: 0 !important;
                border: 0 !important;
            }

                body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(3) td > br {
                    display: none !important;
                }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(3) a {
                display: block;
                text-decoration: none !important;
            }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(3) button {
                display: block !important;
                width: auto !important;
                min-width: 160px;
                min-height: 44px;
                height: auto !important;
                margin: 0 !important;
                padding: 10px 19px !important;
                border: 1px solid var(--rf-blue) !important;
                border-radius: 7px !important;
                background: #ffffff !important;
                color: var(--rf-blue) !important;
                font-family: inherit !important;
                font-size: 14px !important;
                font-weight: 600 !important;
                line-height: 1.35 !important;
                box-shadow: none !important;
                cursor: pointer;
            }

            body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(3) td:nth-child(2) button {
                background: var(--rf-blue) !important;
                color: #ffffff !important;
            }

                body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(3) td:nth-child(2) button:hover {
                    background: #1b4772 !important;
                }

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) a:focus-visible,
    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) button:focus-visible {
        outline: 3px solid var(--rf-blue);
        outline-offset: 3px;
        border-radius: 7px;
    }

@container (max-width: 650px) {
    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > h1,
    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > h1 * {
        font-size: 25px !important;
    }

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > h1 {
        padding: 21px !important;
    }

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) > tbody > tr {
        gap: 14px;
        padding: 13px !important;
    }

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td:nth-child(3) {
        padding-left: 14px !important;
    }
}

@container (max-width: 480px) {
    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(1) > tbody {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

@container (max-width: 420px) {
    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) > tbody > tr {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(2) td:nth-child(3) {
        padding: 12px 0 0 !important;
        border-left: 0 !important;
        border-top: 1px solid var(--rf-border) !important;
    }

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(3) td {
        flex: 1 1 160px;
    }

    body.rf-lender-software-page #cms_pg .cms-content:has(a[href$="/lender_software_pricing.php"]):has(> table:nth-of-type(1) a[href$="/lender-core-system.php"]):has(> table:nth-of-type(2) > tbody > tr > td:nth-child(3)) > table:nth-of-type(3) button {
        width: 100% !important;
    }
}

/* Desktop Core system cards and feature image placeholders. */
#cms_pg #rf-lender-core-desktop {
    display: none;
}

@media screen and (min-width: 1024px) {
    #cms_pg #rf-core-cms-source .rf-core-desktop-replaced,
    #cms_pg #rf-document-cms-source .rf-core-desktop-replaced {
        display: none !important;
    }

    #cms_pg #rf-lender-core-desktop {
        display: block;
        width: 100%;
        margin: 0 0 24px;
        color: #174368;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 14px;
        line-height: 1.6;
    }

        #cms_pg #rf-lender-core-desktop,
        #cms_pg #rf-lender-core-desktop * {
            box-sizing: border-box;
        }

            #cms_pg #rf-lender-core-desktop .rf-core-title {
                margin: 0 0 12px;
                padding: 0 0 14px;
                border-bottom: 1px solid #d5e5ef;
                color: #174368;
                font-family: inherit;
                font-size: 28px;
                font-weight: bold;
                line-height: 1.3;
                text-transform: none;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-nav-label {
                margin: 0 0 15px;
                color: #174368;
                font-size: 16px;
                line-height: 1.5;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-nav {
                display: grid;
                grid-template-columns: repeat(4, minmax(0, 1fr));
                grid-auto-rows: 1fr;
                align-items: stretch;
                gap: 10px;
                margin: 0 0 26px;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-tab {
                display: flex;
                align-items: center;
                justify-content: center;
                min-width: 0;
                min-height: 48px;
                margin: 0;
                padding: 10px 7px;
                border: 1px solid #1680e8;
                border-radius: 5px;
                background: #ffffff;
                color: #1680e8;
                font-family: inherit;
                font-size: 14px;
                font-weight: normal;
                line-height: 1.4;
                text-align: center;
                text-decoration: none;
                white-space: normal;
                box-shadow: none;
            }

                #cms_pg #rf-lender-core-desktop .rf-core-tab:hover {
                    background: #edf6fc;
                    color: #174368;
                    text-decoration: none;
                }

                #cms_pg #rf-lender-core-desktop .rf-core-tab:focus {
                    outline: 2px solid #174368;
                    outline-offset: 3px;
                }

            #cms_pg #rf-lender-core-desktop .rf-core-tab-current {
                background: #ecf7fd;
                color: #174368;
                font-weight: bold;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-intro {
                display: grid;
                grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
                align-items: center;
                gap: 24px;
                margin: 0 0 23px;
                padding: 23px 0 0;
                border-top: 1px solid #d5e5ef;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-intro-copy,
            #cms_pg #rf-lender-core-desktop .rf-core-intro-visual {
                min-width: 0;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-intro-title {
                margin: 0 0 14px;
                padding: 0;
                border: 0;
                color: #174368;
                font-family: inherit;
                font-size: 30px;
                font-weight: bold;
                line-height: 1.2;
                text-transform: none;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-intro-text {
                margin: 0;
                max-width: 32ch;
                color: #174368;
                font-family: inherit;
                font-size: 17px;
                line-height: 1.45;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-hero-placeholder {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 8px;
                width: 100%;
                height: 240px;
                padding: 24px;
                border: 1px dashed #a6c6dc;
                border-radius: 6px;
                background: #ecf7fd;
                text-align: center;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-hero-caption {
                margin: 8px 0 0;
                padding: 0;
                color: #466a85;
                font-family: inherit;
                font-size: 13px;
                line-height: 1.4;
                text-align: center;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-hero-image {
                display: none;
                width: 100%;
                height: 100%;
                object-fit: contain;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-hero-loaded {
                display: block;
                padding: 0;
                border: 0;
                background: transparent;
            }

                #cms_pg #rf-lender-core-desktop .rf-core-hero-loaded > .rf-core-hero-image {
                    display: block;
                }

                #cms_pg #rf-lender-core-desktop .rf-core-hero-loaded > .rf-core-image-title,
                #cms_pg #rf-lender-core-desktop .rf-core-hero-loaded > .rf-core-image-caption {
                    display: none;
                }

            /* One feature per row on desktop. The feature heading sits first,
             * followed by the full-width Impact screenshot, its caption and then
             * the complete CMS feature text underneath. */
            #cms_pg #rf-lender-core-desktop .rf-core-card-grid {
                display: grid;
                grid-template-columns: minmax(0, 1fr);
                gap: 16px;
                align-items: stretch;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-card {
                display: flex;
                flex-direction: column;
                min-width: 0;
                margin: 0;
                padding: 18px;
                border: 1px solid #d2e7f3;
                border-radius: 6px;
                background: #ecf7fd;
                box-shadow: none;
                overflow: visible;
                overflow-wrap: break-word;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-card-heading {
                order: 1;
                display: grid;
                grid-template-columns: 36px minmax(0, 1fr);
                align-items: center;
                gap: 12px;
                min-width: 0;
                margin: 0 0 14px;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-card-copy {
                min-width: 0;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-card-icon {
                display: block;
                width: 36px;
                height: 36px;
                fill: none;
                stroke: #1680e8;
                stroke-width: 1.8;
                stroke-linecap: round;
                stroke-linejoin: round;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-card-title {
                margin: 0;
                padding: 0;
                border: 0;
                background: transparent;
                color: #174368;
                font-family: inherit;
                font-size: 19px;
                font-weight: bold;
                line-height: 1.25;
                text-transform: none;
            }

            /* Introductory feature copy. In the PHP this now sits inside the
             * full text section below the screenshot, so no copy is lost. */
            #cms_pg #rf-lender-core-desktop .rf-core-card-summary {
                display: block !important;
                width: 100%;
                height: auto !important;
                max-height: none !important;
                margin: 0 0 12px;
                padding: 0;
                color: #174368;
                font-family: inherit;
                font-size: 14px;
                font-weight: 600;
                line-height: 1.6;
                text-align: left;
                white-space: normal;
                overflow: visible !important;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-card-media {
                order: 2;
                min-width: 0;
                width: 100%;
                margin: 0;
                padding: 0;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-card-caption {
                display: flex;
                align-items: center;
                justify-content: center;
                min-height: 2.7em;
                margin: 9px 0 0;
                padding: 0;
                color: #174368;
                font-family: inherit;
                font-size: 14px;
                font-weight: bold;
                line-height: 1.35;
                text-align: center;
            }

            /* Always show every paragraph of the original feature copy below the image. */
            #cms_pg #rf-lender-core-desktop .rf-core-card-details {
                order: 3;
                display: block !important;
                min-width: 0;
                width: 100%;
                height: auto !important;
                max-height: none !important;
                margin: 14px 0 0;
                padding: 14px 0 0;
                border: 0;
                border-top: 1px solid #cfe1ed;
                border-radius: 0;
                background: transparent;
                color: #174368;
                overflow: visible !important;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-card-more {
                display: none !important;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-card-details > .rf-core-card-text {
                display: block !important;
                visibility: visible !important;
                height: auto !important;
                max-height: none !important;
                overflow: visible !important;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-card-text {
                display: block !important;
                margin: 0 0 10px;
                padding: 0;
                color: #174368;
                font-family: inherit;
                font-size: 14px;
                font-weight: normal;
                line-height: 1.65;
                text-align: left;
                white-space: normal;
                overflow: visible;
            }

                #cms_pg #rf-lender-core-desktop .rf-core-card-text:last-of-type {
                    margin-bottom: 0;
                }

            #cms_pg #rf-lender-core-desktop .rf-core-image-placeholder {
                position: relative;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                gap: 8px;
                width: 100%;
                height: 260px;
                min-height: 260px;
                flex-shrink: 0;
                margin-top: 0;
                padding: 20px;
                border: 1px dashed #a6c6dc;
                border-radius: 5px;
                background: #ffffff;
                color: #174368;
                text-align: center;
            }

            /* Keep a measurable image box while native lazy loading waits. */
            #cms_pg #rf-lender-core-desktop .rf-core-card-image {
                position: absolute;
                top: 0;
                left: 0;
                display: block;
                width: 100%;
                max-width: 100%;
                height: 100%;
                margin: 0;
                padding: 0;
                border: 0;
                object-fit: contain;
                opacity: 0;
            }

            /* Show the full screenshot at its natural aspect ratio once loaded. */
            #cms_pg #rf-lender-core-desktop .rf-core-image-loaded {
                display: block;
                width: 100%;
                height: auto;
                min-height: 0;
                padding: 0;
                border-style: solid;
                border-color: #d2e7f3;
                overflow: hidden;
            }

                #cms_pg #rf-lender-core-desktop .rf-core-image-loaded > .rf-core-card-image {
                    position: static;
                    display: block;
                    width: 100%;
                    height: auto;
                    opacity: 1;
                }

                #cms_pg #rf-lender-core-desktop .rf-core-image-loaded > .rf-core-image-title,
                #cms_pg #rf-lender-core-desktop .rf-core-image-loaded > .rf-core-image-caption {
                    display: none;
                }

            #cms_pg #rf-lender-core-desktop .rf-core-image-title {
                display: block;
                color: #174368;
                font-size: 15px;
                font-weight: bold;
                line-height: 1.4;
            }

            #cms_pg #rf-lender-core-desktop .rf-core-image-caption {
                display: block;
                color: #466a85;
                font-size: 12px;
                font-weight: normal;
                line-height: 1.4;
            }
}

/*
###############################################################################
# CORE SYSTEM / FEATURES - RESPONSIVE LEGACY CMS VIEW
#
# The modern generated card layout begins at 1024px.
# Below 1024px the page uses the original CMS content, so this block styles
# that EXISTING content only. No feature links or menu items are duplicated.
#
# Scoped to body.rf-lender-features-page so no other pages are affected.
###############################################################################
*/

@media screen and (max-width: 1023px) {

    body.rf-lender-features-page #rf-core-cms-source,
    body.rf-lender-features-page #rf-core-cms-source .cms-content {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #334e68 !important;
        font-family: "Segoe UI", "Open Sans", Arial, sans-serif !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
        overflow: visible !important;
    }

        body.rf-lender-features-page #rf-core-cms-source .cms-content *,
        body.rf-lender-features-page #rf-core-cms-source .cms-content *::before,
        body.rf-lender-features-page #rf-core-cms-source .cms-content *::after {
            box-sizing: border-box;
        }

        /*
    ===========================================================================
    PAGE TITLE
    ===========================================================================
    */

        body.rf-lender-features-page #rf-core-cms-source .cms-content > h1 {
            display: block !important;
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 0 24px !important;
            padding: 0 0 18px !important;
            border: 0 !important;
            border-bottom: 1px solid #d5e5ef !important;
            border-radius: 0 !important;
            background: transparent !important;
            color: #174368 !important;
            font-family: inherit !important;
            font-size: 32px !important;
            font-weight: 700 !important;
            line-height: 1.16 !important;
            letter-spacing: -.02em !important;
            text-transform: none !important;
            white-space: normal !important;
            overflow-wrap: normal !important;
            word-break: normal !important;
        }

            body.rf-lender-features-page #rf-core-cms-source .cms-content > h1 * {
                color: inherit !important;
                font-family: inherit !important;
                font-size: inherit !important;
                font-weight: inherit !important;
                line-height: inherit !important;
            }

        body.rf-lender-features-page #rf-core-cms-source .cms-content > hr,
        body.rf-lender-features-page #rf-core-cms-source .cms-content > br {
            display: none !important;
        }

        /*
    ===========================================================================
    SECTION HEADINGS
    ===========================================================================
    */

        body.rf-lender-features-page #rf-core-cms-source .cms-content > h3 {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 0 14px !important;
            padding: 0 !important;
            border: 0 !important;
            background: transparent !important;
            color: #174368 !important;
            font-family: inherit !important;
            font-size: 23px !important;
            font-weight: 700 !important;
            line-height: 1.25 !important;
            letter-spacing: -.01em !important;
            text-transform: none !important;
        }

            body.rf-lender-features-page #rf-core-cms-source .cms-content > h3 * {
                color: inherit !important;
                font-family: inherit !important;
                font-size: inherit !important;
                font-weight: inherit !important;
                line-height: inherit !important;
            }

        /*
    ===========================================================================
    EXISTING FEATURE NAVIGATION
    The eight links already exist in the CMS table. This only restyles them.
    ===========================================================================
    */

        body.rf-lender-features-page #rf-core-cms-source .cms-content > table {
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            height: auto !important;
            margin-right: 0 !important;
            margin-left: 0 !important;
            border-collapse: separate !important;
            border-spacing: 0 !important;
        }

            body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) {
                display: block !important;
                margin: 0 0 30px !important;
                padding: 0 0 28px !important;
                border: 0 !important;
                border-bottom: 1px solid #dce9f3 !important;
                background: transparent !important;
            }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) > tbody {
                    display: grid !important;
                    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
                    gap: 10px !important;
                    width: 100% !important;
                    max-width: 100% !important;
                    min-width: 0 !important;
                }

                    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) > tbody > tr {
                        display: contents !important;
                    }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) td {
                    display: block !important;
                    width: auto !important;
                    max-width: 100% !important;
                    min-width: 0 !important;
                    height: auto !important;
                    margin: 0 !important;
                    padding: 0 !important;
                    border: 0 !important;
                    background: transparent !important;
                }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) a {
                    display: flex !important;
                    width: 100% !important;
                    height: 100% !important;
                    min-width: 0 !important;
                    margin: 0 !important;
                    padding: 0 !important;
                    text-decoration: none !important;
                }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) button,
                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) input[type="button"] {
                    display: flex !important;
                    box-sizing: border-box !important;
                    width: 100% !important;
                    max-width: 100% !important;
                    min-width: 0 !important;
                    min-height: 64px !important;
                    height: auto !important;
                    align-items: center !important;
                    justify-content: center !important;
                    margin: 0 !important;
                    padding: 11px 10px !important;
                    border: 1px solid #8fc5f4 !important;
                    border-radius: 10px !important;
                    background: #ffffff !important;
                    color: #145a93 !important;
                    font-family: inherit !important;
                    font-size: 14px !important;
                    font-weight: 600 !important;
                    line-height: 1.25 !important;
                    text-align: center !important;
                    white-space: normal !important;
                    overflow-wrap: break-word !important;
                    word-break: normal !important;
                    box-shadow: 0 2px 7px rgba(15,67,108,.04) !important;
                    -webkit-appearance: none !important;
                    appearance: none !important;
                    cursor: pointer !important;
                }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) a[href$="/lender-core-system.php"] button,
                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) a[href$="/lender-core-system.php"] input[type="button"] {
                    border-color: #1f5b97 !important;
                    background: linear-gradient(135deg, #1f5b97 0%, #266aa8 100%) !important;
                    color: #ffffff !important;
                    box-shadow: 0 5px 14px rgba(31,91,151,.16) !important;
                }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) a:focus-visible {
                    outline: 3px solid rgba(22,128,232,.32) !important;
                    outline-offset: 3px !important;
                    border-radius: 10px !important;
                }

            /*
    ===========================================================================
    CORE SYSTEM FEATURE ROWS
    ===========================================================================
    */

            body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) {
                display: block !important;
                margin: 0 !important;
                padding: 0 !important;
                border: 0 !important;
                background: transparent !important;
            }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) > tbody {
                    display: grid !important;
                    grid-template-columns: minmax(0, 1fr) !important;
                    gap: 12px !important;
                    width: 100% !important;
                    counter-reset: rf-core-feature;
                }

                    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) > tbody > tr {
                        display: grid !important;
                        grid-template-columns: minmax(180px, 32%) minmax(0, 1fr) !important;
                        gap: 16px !important;
                        box-sizing: border-box !important;
                        width: 100% !important;
                        max-width: 100% !important;
                        min-width: 0 !important;
                        height: auto !important;
                        margin: 0 !important;
                        padding: 16px !important;
                        border: 1px solid #d6e6f1 !important;
                        border-radius: 12px !important;
                        background: #ffffff !important;
                        box-shadow: 0 3px 10px rgba(13,45,77,.04) !important;
                        counter-increment: rf-core-feature;
                    }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) td {
                    display: block !important;
                    box-sizing: border-box !important;
                    width: auto !important;
                    max-width: 100% !important;
                    min-width: 0 !important;
                    height: auto !important;
                    margin: 0 !important;
                    padding: 0 !important;
                    border: 0 !important;
                    background: transparent !important;
                    color: #334e68 !important;
                    font-family: inherit !important;
                    font-size: 14px !important;
                    line-height: 1.55 !important;
                    text-align: left !important;
                    vertical-align: top !important;
                    white-space: normal !important;
                    overflow-wrap: break-word !important;
                }

                    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) td:nth-child(2) {
                        display: none !important;
                    }

                    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) td:first-child {
                        display: flex !important;
                        align-items: flex-start !important;
                        gap: 10px !important;
                        color: #174368 !important;
                        font-weight: 700 !important;
                        line-height: 1.35 !important;
                    }

                        body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) td:first-child * {
                            color: inherit !important;
                            font-family: inherit !important;
                            font-size: inherit !important;
                            font-weight: inherit !important;
                            line-height: inherit !important;
                        }

                        body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) td:first-child::before {
                            content: counter(rf-core-feature, decimal-leading-zero);
                            display: inline-flex !important;
                            width: 34px !important;
                            height: 34px !important;
                            min-width: 34px !important;
                            flex: 0 0 34px !important;
                            align-items: center !important;
                            justify-content: center !important;
                            border-radius: 50% !important;
                            background: #e4f1fb !important;
                            color: #145a93 !important;
                            font-size: 13px !important;
                            font-weight: 700 !important;
                            line-height: 1 !important;
                        }

                    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) td:nth-child(3) {
                        padding-left: 16px !important;
                        border-left: 1px solid #dce9f3 !important;
                    }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) p {
                    margin: 0 0 10px !important;
                    padding: 0 !important;
                }

                    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) p:last-child {
                        margin-bottom: 0 !important;
                    }

            /*
    ===========================================================================
    PRICING / ARRANGE A DEMO
    ===========================================================================
    */

            body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(3) {
                display: block !important;
                margin: 22px 0 0 !important;
                padding: 16px !important;
                border: 1px solid #dce9f3 !important;
                border-radius: 12px !important;
                background: #edf5fb !important;
            }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(3) > tbody,
                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(3) > tbody > tr {
                    display: flex !important;
                    width: 100% !important;
                    max-width: 100% !important;
                    flex-wrap: wrap !important;
                    gap: 10px !important;
                }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(3) td {
                    display: block !important;
                    flex: 1 1 180px !important;
                    width: auto !important;
                    min-width: 0 !important;
                    padding: 0 !important;
                    border: 0 !important;
                }

                    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(3) td > br {
                        display: none !important;
                    }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(3) a {
                    display: block !important;
                    width: 100% !important;
                    text-decoration: none !important;
                }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(3) button {
                    display: block !important;
                    box-sizing: border-box !important;
                    width: 100% !important;
                    min-width: 0 !important;
                    min-height: 46px !important;
                    margin: 0 !important;
                    padding: 10px 16px !important;
                    border: 1px solid #1f5b97 !important;
                    border-radius: 8px !important;
                    background: #ffffff !important;
                    color: #1f5b97 !important;
                    font-family: inherit !important;
                    font-size: 14px !important;
                    font-weight: 600 !important;
                    line-height: 1.35 !important;
                    box-shadow: none !important;
                }

                body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(3) td:nth-child(2) button {
                    background: #1f5b97 !important;
                    color: #ffffff !important;
                }
}


/*
===============================================================================
PHONE
===============================================================================
*/

@media screen and (max-width: 700px) {

    body.rf-lender-features-page #rf-core-cms-source .cms-content > h1 {
        margin-bottom: 24px !important;
        padding-bottom: 18px !important;
        font-size: 30px !important;
        line-height: 1.16 !important;
    }

    body.rf-lender-features-page #rf-core-cms-source .cms-content > h3 {
        margin-bottom: 15px !important;
        font-size: 22px !important;
    }

    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) > tbody {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) button,
    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) input[type="button"] {
        min-height: 66px !important;
        padding: 11px 8px !important;
        font-size: 14px !important;
        line-height: 1.24 !important;
    }

    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) > tbody > tr {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        padding: 15px !important;
    }

    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) td:nth-child(3) {
        padding: 12px 0 0 !important;
        border-left: 0 !important;
        border-top: 1px solid #dce9f3 !important;
    }
}


/*
===============================================================================
SMALL PHONE
===============================================================================
*/

@media screen and (max-width: 420px) {

    body.rf-lender-features-page #rf-core-cms-source .cms-content > h1 {
        font-size: 28px !important;
        line-height: 1.17 !important;
    }

    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) > tbody {
        gap: 8px !important;
    }

    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) button,
    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) input[type="button"] {
        min-height: 64px !important;
        padding: 9px 6px !important;
        font-size: 13px !important;
    }

    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(2) > tbody > tr {
        padding: 13px !important;
    }

    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(3) td {
        flex-basis: 100% !important;
    }
}


/*
===============================================================================
VERY NARROW PHONE
Keep the normal phone design in two columns until there genuinely is not enough
room for readable touch targets.
===============================================================================
*/

@media screen and (max-width: 340px) {

    body.rf-lender-features-page #rf-core-cms-source .cms-content > table:nth-of-type(1) > tbody {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/*
###############################################################################
# SHARED MOBILE FEATURE HEADER / NAVIGATION - DOCUMENT GENERATION
#
# Reuses the SAME mobile title and eight-link feature navigation treatment
# already used by Core System. Only the source wrapper and active link differ.
# Document-specific content below the navigation is intentionally NOT styled
# here; that lives in riskfree-document-generation-mobile.css.
###############################################################################
*/

@media screen and (max-width: 1023px) {

    body.rf-document-generation-page #rf-document-cms-source,
    body.rf-document-generation-page #rf-document-cms-source .cms-content {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #334e68 !important;
        font-family: "Segoe UI", "Open Sans", Arial, sans-serif !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

        body.rf-document-generation-page #rf-document-cms-source .cms-content *,
        body.rf-document-generation-page #rf-document-cms-source .cms-content *::before,
        body.rf-document-generation-page #rf-document-cms-source .cms-content *::after {
            box-sizing: border-box;
        }

        body.rf-document-generation-page #rf-document-cms-source .cms-content > h1 {
            display: block !important;
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 0 24px !important;
            padding: 0 0 18px !important;
            border: 0 !important;
            border-bottom: 1px solid #d5e5ef !important;
            border-radius: 0 !important;
            background: transparent !important;
            color: #174368 !important;
            font-family: inherit !important;
            font-size: 32px !important;
            font-weight: 700 !important;
            line-height: 1.16 !important;
            letter-spacing: -.02em !important;
            text-transform: none !important;
            white-space: normal !important;
            word-break: normal !important;
        }

            body.rf-document-generation-page #rf-document-cms-source .cms-content > h1 * {
                color: inherit !important;
                font-family: inherit !important;
                font-size: inherit !important;
                font-weight: inherit !important;
                line-height: inherit !important;
            }

        body.rf-document-generation-page #rf-document-cms-source .cms-content > hr,
        body.rf-document-generation-page #rf-document-cms-source .cms-content > br {
            display: none !important;
        }

        body.rf-document-generation-page #rf-document-cms-source .cms-content > h3 {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 0 14px !important;
            padding: 0 !important;
            border: 0 !important;
            background: transparent !important;
            color: #174368 !important;
            font-family: inherit !important;
            font-size: 23px !important;
            font-weight: 700 !important;
            line-height: 1.25 !important;
            letter-spacing: -.01em !important;
            text-transform: none !important;
        }

            body.rf-document-generation-page #rf-document-cms-source .cms-content > h3 * {
                color: inherit !important;
                font-family: inherit !important;
                font-size: inherit !important;
                font-weight: inherit !important;
                line-height: inherit !important;
            }

        body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) {
            display: block !important;
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            height: auto !important;
            margin: 0 0 30px !important;
            padding: 0 0 28px !important;
            border: 0 !important;
            border-bottom: 1px solid #dce9f3 !important;
            border-collapse: separate !important;
            border-spacing: 0 !important;
            background: transparent !important;
        }

            body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) > tbody {
                display: grid !important;
                grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
                gap: 10px !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
            }

                body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) > tbody > tr {
                    display: contents !important;
                }

            body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) td {
                display: block !important;
                width: auto !important;
                max-width: 100% !important;
                min-width: 0 !important;
                height: auto !important;
                margin: 0 !important;
                padding: 0 !important;
                border: 0 !important;
                background: transparent !important;
            }

            body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) a {
                display: flex !important;
                width: 100% !important;
                height: 100% !important;
                min-width: 0 !important;
                margin: 0 !important;
                padding: 0 !important;
                text-decoration: none !important;
            }

            body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) button,
            body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) input[type="button"] {
                display: flex !important;
                box-sizing: border-box !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                min-height: 64px !important;
                height: auto !important;
                align-items: center !important;
                justify-content: center !important;
                margin: 0 !important;
                padding: 11px 10px !important;
                border: 1px solid #8fc5f4 !important;
                border-radius: 10px !important;
                background: #ffffff !important;
                color: #145a93 !important;
                font-family: inherit !important;
                font-size: 14px !important;
                font-weight: 600 !important;
                line-height: 1.25 !important;
                text-align: center !important;
                white-space: normal !important;
                overflow-wrap: break-word !important;
                word-break: normal !important;
                box-shadow: 0 2px 7px rgba(15,67,108,.04) !important;
                -webkit-appearance: none !important;
                appearance: none !important;
                cursor: pointer !important;
            }

            body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) a[href$="/lender-document-generation.php"] button,
            body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) a[href$="/lender-document-generation.php"] input[type="button"] {
                border-color: #1f5b97 !important;
                background: linear-gradient(135deg, #1f5b97 0%, #266aa8 100%) !important;
                color: #ffffff !important;
                box-shadow: 0 5px 14px rgba(31,91,151,.16) !important;
            }

            body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) a:focus-visible {
                outline: 3px solid rgba(22,128,232,.32) !important;
                outline-offset: 3px !important;
                border-radius: 10px !important;
            }
}

@media screen and (max-width: 700px) {

    body.rf-document-generation-page #rf-document-cms-source .cms-content > h1 {
        margin-bottom: 24px !important;
        padding-bottom: 18px !important;
        font-size: 30px !important;
        line-height: 1.16 !important;
    }

    body.rf-document-generation-page #rf-document-cms-source .cms-content > h3 {
        margin-bottom: 15px !important;
        font-size: 22px !important;
    }

    body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) > tbody {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) button,
    body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) input[type="button"] {
        min-height: 66px !important;
        padding: 11px 8px !important;
        font-size: 14px !important;
        line-height: 1.24 !important;
    }
}

@media screen and (max-width: 420px) {

    body.rf-document-generation-page #rf-document-cms-source .cms-content > h1 {
        font-size: 28px !important;
        line-height: 1.17 !important;
    }

    body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) > tbody {
        gap: 8px !important;
    }

    body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) button,
    body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) input[type="button"] {
        min-height: 64px !important;
        padding: 9px 6px !important;
        font-size: 13px !important;
    }
}

@media screen and (max-width: 340px) {

    body.rf-document-generation-page #rf-document-cms-source .cms-content > table:nth-of-type(1) > tbody {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/*
###############################################################################
# SHARED LENDER FEATURE MOBILE HEADER / NAVIGATION
#
# Used by lender feature pages that opt in with:
#   body.rf-lender-feature-page
#   .rf-feature-cms-source
#
# IMPORTANT:
# - Reuses the EXISTING CMS title and first feature-navigation table.
# - Does not duplicate any menu links.
# - Does not alter Core System or Document Generation's existing scoped rules.
# - Does not style the page-specific feature content below the navigation.
###############################################################################
*/

@media screen and (max-width: 1023px) {

    body.rf-lender-feature-page .rf-feature-cms-source,
    body.rf-lender-feature-page .rf-feature-cms-source .cms-content {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #334e68 !important;
        font-family: "Segoe UI", "Open Sans", Arial, sans-serif !important;
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

        body.rf-lender-feature-page .rf-feature-cms-source .cms-content *,
        body.rf-lender-feature-page .rf-feature-cms-source .cms-content *::before,
        body.rf-lender-feature-page .rf-feature-cms-source .cms-content *::after {
            box-sizing: border-box;
        }

        /*
    ===========================================================================
    PAGE TITLE
    ===========================================================================
    */

        body.rf-lender-feature-page .rf-feature-cms-source .cms-content > h1 {
            display: block !important;
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 0 24px !important;
            padding: 0 0 18px !important;
            border: 0 !important;
            border-bottom: 1px solid #d5e5ef !important;
            border-radius: 0 !important;
            background: transparent !important;
            color: #174368 !important;
            font-family: inherit !important;
            font-size: 32px !important;
            font-weight: 700 !important;
            line-height: 1.16 !important;
            letter-spacing: -.02em !important;
            text-transform: none !important;
            white-space: normal !important;
            word-break: normal !important;
        }

            body.rf-lender-feature-page .rf-feature-cms-source .cms-content > h1 * {
                color: inherit !important;
                font-family: inherit !important;
                font-size: inherit !important;
                font-weight: inherit !important;
                line-height: inherit !important;
            }

        body.rf-lender-feature-page .rf-feature-cms-source .cms-content > hr,
        body.rf-lender-feature-page .rf-feature-cms-source .cms-content > br {
            display: none !important;
        }

        /*
    ===========================================================================
    FEATURES HEADING
    ===========================================================================
    */

        body.rf-lender-feature-page .rf-feature-cms-source .cms-content > h3 {
            width: 100% !important;
            max-width: 100% !important;
            margin: 0 0 14px !important;
            padding: 0 !important;
            border: 0 !important;
            background: transparent !important;
            color: #174368 !important;
            font-family: inherit !important;
            font-size: 23px !important;
            font-weight: 700 !important;
            line-height: 1.25 !important;
            letter-spacing: -.01em !important;
            text-transform: none !important;
        }

            body.rf-lender-feature-page .rf-feature-cms-source .cms-content > h3 * {
                color: inherit !important;
                font-family: inherit !important;
                font-size: inherit !important;
                font-weight: inherit !important;
                line-height: inherit !important;
            }

        /*
    ===========================================================================
    EXISTING EIGHT-LINK FEATURES NAVIGATION
    Only the first CMS table is touched here.
    ===========================================================================
    */

        body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) {
            display: block !important;
            box-sizing: border-box !important;
            width: 100% !important;
            max-width: 100% !important;
            min-width: 0 !important;
            height: auto !important;
            margin: 0 0 30px !important;
            padding: 0 0 28px !important;
            border: 0 !important;
            border-bottom: 1px solid #dce9f3 !important;
            border-collapse: separate !important;
            border-spacing: 0 !important;
            background: transparent !important;
        }

            body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) > tbody {
                display: grid !important;
                grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
                gap: 10px !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
            }

                body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) > tbody > tr {
                    display: contents !important;
                }

            body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) td {
                display: block !important;
                width: auto !important;
                max-width: 100% !important;
                min-width: 0 !important;
                height: auto !important;
                margin: 0 !important;
                padding: 0 !important;
                border: 0 !important;
                background: transparent !important;
            }

            body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) a {
                display: flex !important;
                width: 100% !important;
                height: 100% !important;
                min-width: 0 !important;
                margin: 0 !important;
                padding: 0 !important;
                text-decoration: none !important;
            }

            body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) button,
            body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) input[type="button"] {
                display: flex !important;
                box-sizing: border-box !important;
                width: 100% !important;
                max-width: 100% !important;
                min-width: 0 !important;
                min-height: 64px !important;
                height: auto !important;
                align-items: center !important;
                justify-content: center !important;
                margin: 0 !important;
                padding: 11px 10px !important;
                border: 1px solid #8fc5f4 !important;
                border-radius: 10px !important;
                background: #ffffff !important;
                color: #145a93 !important;
                font-family: inherit !important;
                font-size: 14px !important;
                font-weight: 600 !important;
                line-height: 1.25 !important;
                text-align: center !important;
                white-space: normal !important;
                overflow-wrap: break-word !important;
                word-break: normal !important;
                box-shadow: 0 2px 7px rgba(15,67,108,.04) !important;
                -webkit-appearance: none !important;
                appearance: none !important;
                cursor: pointer !important;
            }

            body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) a.rf-feature-current button,
            body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) a.rf-feature-current input[type="button"] {
                border-color: #1f5b97 !important;
                background: linear-gradient(135deg, #1f5b97 0%, #266aa8 100%) !important;
                color: #ffffff !important;
                box-shadow: 0 5px 14px rgba(31,91,151,.16) !important;
            }

            body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) a:focus-visible {
                outline: 3px solid rgba(22,128,232,.32) !important;
                outline-offset: 3px !important;
                border-radius: 10px !important;
            }
}


/*
===============================================================================
PHONE
===============================================================================
*/

@media screen and (max-width: 700px) {

    body.rf-lender-feature-page .rf-feature-cms-source .cms-content > h1 {
        margin-bottom: 24px !important;
        padding-bottom: 18px !important;
        font-size: 30px !important;
        line-height: 1.16 !important;
    }

    body.rf-lender-feature-page .rf-feature-cms-source .cms-content > h3 {
        margin-bottom: 15px !important;
        font-size: 22px !important;
    }

    body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) > tbody {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) button,
    body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) input[type="button"] {
        min-height: 66px !important;
        padding: 11px 8px !important;
        font-size: 14px !important;
        line-height: 1.24 !important;
    }
}


/*
===============================================================================
SMALL PHONE
===============================================================================
*/

@media screen and (max-width: 420px) {

    body.rf-lender-feature-page .rf-feature-cms-source .cms-content > h1 {
        font-size: 28px !important;
        line-height: 1.17 !important;
    }

    body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) > tbody {
        gap: 8px !important;
    }

    body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) button,
    body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) input[type="button"] {
        min-height: 64px !important;
        padding: 9px 6px !important;
        font-size: 13px !important;
    }
}


/*
===============================================================================
VERY NARROW PHONE
===============================================================================
*/

@media screen and (max-width: 340px) {

    body.rf-lender-feature-page .rf-feature-cms-source .cms-content > table:nth-of-type(1) > tbody {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}
