/* Desktop unchanged. If :has is unsupported, the native badge remains visible. */
body.page-id-5488 #wpforms-form-2566 .vgfd-recaptcha-disclosure {
    display: none;
}

@media (max-width: 767px) {
    body.page-id-5488 #wpforms-form-2566 .vgfd-recaptcha-disclosure {
        display: block;
        position: static;
        clear: both;
        margin: 12px 0 0;
        padding: 0;
        font-size: 12px;
        line-height: 1.5;
        font-weight: 400;
        color: #fff;
    }

    /* Match only this form's badge and only while its disclosure is in the DOM. */
    body.page-id-5488 #wpforms-form-2566:has(.wpforms-submit-container > .vgfd-recaptcha-disclosure) .grecaptcha-badge,
    body.page-id-5488 #wpforms-form-2566:has(.wpforms-submit-container > .vgfd-recaptcha-disclosure) .grecaptcha-badge * {
        visibility: hidden !important;
    }
}
