/* Additions on top of the mirrored WordPress CSS (static-site only). */

/* Contact form honeypot: hidden from people, visible to naive bots */
.hpv-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.hpv-turnstile { min-height: 65px; }

/* Team page portraits: make all four identical at every screen size.
   - Jayesh's photo is square (1024x1024); the others are portrait (~282x300).
   - The WordPress (Spectra) block for Jayesh's image sets width:1024px below 976px,
     so on tablets/phones it stretched to the full column; the others are 282px.
   - Wenbin's block used height:auto on desktop while the others used 300px.
   Selector specificity (0,4,1) beats Spectra's per-block rules (0,3,1) at all breakpoints. */
.wp-block-uagb-image.wp-block-uagb-image .wp-block-uagb-image__figure img:is(.uag-image-557, .uag-image-558, .uag-image-711, .uag-image-830) {
  width: 282px; max-width: 100%; height: auto;
  aspect-ratio: 282 / 300; object-fit: cover; object-position: 50% 20%;
}

.hpv-form-status { margin-top: 16px; font-size: 16px; line-height: 1.5; }
.hpv-form-status:empty { display: none; }
.hpv-form-status.is-success { padding: 15px; border: 1px solid #b4d39b; background: #ebf3e6; color: #2f4d1c; border-radius: 3px; }
.hpv-form-status.is-error { padding: 15px; border: 1px solid #d63637; background: #fcf0f1; color: #8a1f1f; border-radius: 3px; }
.hpv-contact-form .wpforms-submit[disabled] { opacity: .6; cursor: progress; }
