 .tk-standard-enquiry__recaptcha {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .e-con-inner:has(> .profile-quote-wrapper + .contact-form-outer-wrapper) {
    display: grid;
    grid-template-columns: minmax(260px, 28%) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
  }

  .profile-quote-wrapper + .contact-form-outer-wrapper {
    width: 100% !important;
    max-width: none !important;
  }

  .profile-quote-wrapper:has(+ .contact-form-outer-wrapper) {
    width: 100% !important;
    max-width: none !important;
  }

  .profile-quote-wrapper:has(+ .contact-form-outer-wrapper) + .contact-form-outer-wrapper {
    margin-left: 0;
  }

  .profile-quote-wrapper:has(+ .contact-form-outer-wrapper) ~ .contact-form-outer-wrapper,
  .contact-form-outer-wrapper {
    --container-widget-width: 100%;
  }

  .contact-form-outer-wrapper .elementor-element-550594a {
    padding-right: 20px;
    padding-left: 20px;
  }

  .profile-quote-wrapper:has(+ .contact-form-outer-wrapper),
  .profile-quote-wrapper:has(+ .contact-form-outer-wrapper) + .contact-form-outer-wrapper {
    --widgets-spacing: 32px 32px;
  }

  .profile-quote-wrapper:has(+ .contact-form-outer-wrapper) + .contact-form-outer-wrapper,
  .profile-quote-wrapper:has(+ .contact-form-outer-wrapper) {
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .free-lesson-form-outer .tk-standard-enquiry__grid,
  .robotics-page-form-outer .tk-standard-enquiry__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .free-lesson-form-outer .tk-standard-enquiry__wide,
  .robotics-page-form-outer .tk-standard-enquiry__wide {
    grid-column: auto;
  }

  .free-lesson-form-outer .tk-standard-enquiry fieldset,
  .robotics-page-form-outer .tk-standard-enquiry fieldset {
    grid-column: auto;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .free-lesson-form-outer .tk-standard-enquiry button[type="submit"],
  .robotics-page-form-outer .tk-standard-enquiry button[type="submit"] {
    width: 100%;
    min-width: 0;
    padding-right: 14px;
    padding-left: 14px;
  }
}

@media (max-width: 360px) {
  .tk-standard-enquiry__recaptcha {
    justify-content: flex-start;
    transform: scale(.82);
    transform-origin: left top;
    width: 122%;
    margin-bottom: -14px;
  }
}
