/* HomePro reCAPTCHA Badge Visibility v1.0.5 (site-wide RealesWP footer)
 * Google permits hiding the floating badge when visible branding remains.
 * Never hide challenge dialogs, checkbox widgets, response inputs, or iframes.
 */
html.homepro-rcbv-v105-ready .grecaptcha-badge {
    visibility: hidden !important;
}

/* Hide only duplicate FOOTER disclosures that the JS has positively marked.
 * No form/modal notices are ever marked by this add-on. Specificity also beats
 * older v1.0.2 CSS when a stale script is present temporarily in cache. */
html.homepro-rcbv-v105-ready .homepro-rcbv-redundant,
html.homepro-rcbv-v105-ready #hprc-recaptcha-disclosure.homepro-rcbv-redundant,
html.homepro-rcbv-v105-ready #homepro-rcbv-copyright-note.homepro-rcbv-redundant {
    display: none !important;
    visibility: hidden !important;
}

/* An existing theme or Companion footer notice becomes the ONE site notice.
 * It is positioned immediately after the copyright, before payment widgets.
 * No floating positioning, new full-width band, or appended external footer. */
html.homepro-rcbv-v105-ready .home-footer .homepro-rcbv-site-note[data-homepro-rcbv-primary="1"],
html.homepro-rcbv-v105-ready footer .homepro-rcbv-site-note[data-homepro-rcbv-primary="1"],
html.homepro-rcbv-v105-ready #footer .homepro-rcbv-site-note[data-homepro-rcbv-primary="1"],
html.homepro-rcbv-v105-ready #hprc-recaptcha-disclosure.homepro-rcbv-site-note,
html.homepro-rcbv-v105-ready #homepro-rcbv-copyright-note.homepro-rcbv-site-note {
    display: flex !important;
    position: static !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 5px auto 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: #b8d1ce !important;
    font-family: inherit !important;
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    line-height: 1.5 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    opacity: 1 !important;
    transform: none !important;
    vertical-align: middle !important;
}

.homepro-rcbv-site-note[data-homepro-rcbv-primary="1"]::before,
.homepro-rcbv-site-note[data-homepro-rcbv-primary="1"]::after {
    content: none !important;
    display: none !important;
}
.homepro-rcbv-site-note[data-homepro-rcbv-primary="1"] svg {
    display: block !important;
    flex: 0 0 14px !important;
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    color: #79c8c1 !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.75 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    opacity: .95 !important;
}
.homepro-rcbv-site-note[data-homepro-rcbv-primary="1"] .homepro-rcbv-label {
    display: inline !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    color: inherit !important;
    background: transparent !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: normal !important;
}

/* When the footer is visible near a fixed HomePro chat launcher, leave a
 * usable middle-left lane between the left To Top button and the chat.
 * No global footer grid or payment/trust element layout changes. */
@media (max-width: 900px) {
    html.homepro-rcbv-v105-ready .home-footer.homepro-rcbv-chat-clearance .homepro-rcbv-site-note[data-homepro-rcbv-primary="1"],
    html.homepro-rcbv-v105-ready .home-footer.homepro-rcbv-chat-clearance #hprc-recaptcha-disclosure.homepro-rcbv-site-note,
    html.homepro-rcbv-v105-ready .home-footer.homepro-rcbv-chat-clearance #homepro-rcbv-copyright-note.homepro-rcbv-site-note {
        width: var(--homepro-rcbv-safe-width) !important;
        max-width: var(--homepro-rcbv-safe-width) !important;
        margin-left: var(--homepro-rcbv-safe-left) !important;
        margin-right: 0 !important;
        justify-content: flex-start !important;
        text-align: left !important;
        font-size: 10.5px !important;
    }

}

/* v1.0.5: center the actual copyright on ALL RealesWP footer layouts.
 * Only isolated text-only copyright nodes are targeted. The JS already marks
 * their footer with .homepro-rcbv-copy-isolated after confirming that the
 * node does not contain payments, badges, images, Trustpilot or other widgets.
 * The chat safe-lane continues to apply to the smaller reCAPTCHA note only;
 * never shove the copyright line into the left-side lane. */
html.homepro-rcbv-v105-ready .home-footer.homepro-rcbv-copy-isolated .copyright,
html.homepro-rcbv-v105-ready footer.homepro-rcbv-copy-isolated .copyright,
html.homepro-rcbv-v105-ready #footer.homepro-rcbv-copy-isolated .copyright {
    float: none !important;
    clear: both !important;
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
}

/* 1.0.5: quieter, consistent compact footer typography. No new footer band. */
html.homepro-rcbv-v105-ready .home-footer .homepro-rcbv-site-note[data-homepro-rcbv-primary="1"],
html.homepro-rcbv-v105-ready footer .homepro-rcbv-site-note[data-homepro-rcbv-primary="1"] {
    margin-top: 4px !important;
    color: #b6c7c5 !important;
    font-size: 11px !important;
    line-height: 1.45 !important;
}
@media (max-width: 600px) {
    html.homepro-rcbv-v105-ready .home-footer .homepro-rcbv-site-note[data-homepro-rcbv-primary="1"],
    html.homepro-rcbv-v105-ready footer .homepro-rcbv-site-note[data-homepro-rcbv-primary="1"] {
        font-size: 10.5px !important;
    }
    /* The LiveChat plugin owns widget/footer collision handling. Do not
       narrow or shift normal copyright text to make room for a fixed button. */
    html.homepro-rcbv-v105-ready .home-footer.homepro-rcbv-copy-isolated .copyright {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
