/*
 * Trinity Care – mobile overflow fixes (not in the Webflow export).
 * The live Webflow site is wider than the screen on phones: the reCAPTCHA
 * box is a fixed 304px and the contact forms add 4em padding around it, so
 * the home page is 388px wide and the contact page 416–443px wide on
 * 320–414px phones. Phones then zoom the page out and show a white strip
 * on the right. Loaded after the Webflow CSS.
 */
@media screen and (max-width: 479px) {
  .hero-title.contact-hero-title,
  .contact-hero-title .testimonial-bg-image {
    padding-left: 0;
    padding-right: 0;
  }
  .contact-hero-title .contact-form,
  .contact-form.home {
    padding-left: 14px;
    padding-right: 14px;
  }
}

/* Very small phones (under 360px): shrink the reCAPTCHA widget to fit. */
@media screen and (max-width: 359px) {
  .g-recaptcha {
    transform: scale(0.77);
    transform-origin: 0 0;
    width: 234px !important;
    height: 60px !important;
  }
}
