/* Astro form controls only; Sharp controls all site layout and typography. */
/* Active staging forms */
.qwr-ninja-form,.qwr-contact-banner{margin:1.4rem 0;border:1px solid #d2dfe8;padding:18px;border-radius:8px;background:#fff}
.qwr-form-title{font-size:1.15rem;margin:0 0 1rem}
.qwr-field{margin-bottom:14px}
.qwr-field[hidden]{display:none}
.qwr-label{display:block;font-size:15px;font-weight:600;margin-bottom:6px}
.qwr-required{color:#b02a37}
.qwr-live-form:not(.navbar-form):not(.qwr-footer-live-form) input:not([type=radio]):not([type=checkbox]):not(.qwr-honeypot),.qwr-live-form:not(.navbar-form):not(.qwr-footer-live-form) select,.qwr-live-form:not(.navbar-form):not(.qwr-footer-live-form) textarea{display:block;width:100%;min-height:38px;padding:8px;border:1px solid #b9c8d4;border-radius:4px;color:#14212a;background:#fff}
.qwr-live-form textarea{min-height:90px}
.qwr-choices{display:grid;gap:5px}
.qwr-choice{display:flex;align-items:center;gap:6px;line-height:1.35;font-size:14px;font-weight:400}
.qwr-choice input{flex-shrink:0}
/* Sharp custom.css has a global `input { width:100% }` selector.
   Keep the native Ninja radio/checkbox beside its option label, not full-width.
   Scope this to imported Ninja forms; leave Sharp banner/footer/popups alone. */
.qwr-ninja-form .qwr-choice input[type="checkbox"],
.qwr-ninja-form .qwr-choice input[type="radio"]{width:1rem;min-width:1rem;max-width:1rem;height:1rem;flex:0 0 1rem;margin:0;float:none}
.qwr-help{color:#516272;font-size:13px;margin-top:5px}
.qwr-form-richtext{margin:16px 0}
.qwr-form-status{font-size:14px;margin-top:11px}
.qwr-form-error{color:#af2134}
.qwr-success{color:#006f4e}
.qwr-submit{background:#194d75;border:0;border-radius:4px;color:white;cursor:pointer;padding:9px 20px}
.qwr-submit:disabled{opacity:.6;cursor:wait}
.qwr-honeypot{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;left:-10000px!important}
.qwr-contact-banner{background-size:cover;background-position:center}
.qwr-quick-form{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:center}
.qwr-quick-form .qwr-form-status{grid-column:1/-1}
.qwr-banner-intro{margin-bottom:12px}
@media(max-width:720px){.qwr-quick-form{display:block}.qwr-quick-form input{margin-bottom:9px}}

/* Both Sharp forms use the ORIGINAL custom.css / contact_us_style.css layout.
   An empty D1 feedback paragraph must not contribute Bootstrap <p> spacing. */
.qwr-footer-live-form .qwr-form-status:empty,
.main-outer .navbar-form .qwr-form-status:empty {
  display: none;
  margin: 0;
  padding: 0;
}
/* Keep readable success/error feedback after submit without an initial spacer. */
.qwr-footer-live-form .qwr-form-status:not(:empty) {
  display: block;
  clear: both;
  margin: 0;
  padding-top: 8px;
  color: #fff;
}
.main-outer .navbar-form .qwr-form-status:not(:empty) {
  margin: 0;
  color: #fff;
}
/* WordPress' sharp/style.css uses '.post button {float:right}' in Single.
   Astro's SinglePost has no '.post' ancestor: restore it ONLY for this CTA.
   Under 992px the theme's own custom.css centers the mobile button. */
@media (min-width: 992px) {
  .contact_box_single_page .qwr-footer-live-form .miniblock > button[type="submit"] {
    float: right;
  }
}
.qwr-footer-live-form .qwr-honeypot{position:absolute!important}

/* QWEALTH NINJA HTML EXPLANATIONS: preserve prose, replace decorative HR lines */
/* WordPress wrapped 126 explanatory HTML blocks in horizontal rules.
   Keep their EN/ES text and links, but show a calm, readable help card. */
.qwr-ninja-form .qwr-form-richtext:has(hr) {
  margin: 0.75rem 0 1rem;
  padding: 12px 14px;
  border-left: 3px solid #39739b;
  border-radius: 0 6px 6px 0;
  background: #f3f7fa;
  color: #324a5a;
  font-size: 14px;
  line-height: 1.55;
}
/* Remove only the decorative lines inside Ninja HTML notes. */
.qwr-ninja-form .qwr-form-richtext hr { display: none; }
.qwr-ninja-form .qwr-form-richtext:has(hr) p { margin: 0 0 0.45rem; }
.qwr-ninja-form .qwr-form-richtext:has(hr) p:empty { display: none; }
.qwr-ninja-form .qwr-form-richtext:has(hr) p:last-child { margin-bottom: 0; }
