/* Base container — min-height reserves space before Cloudflare JS renders */
.turnstile-field {
  min-height: 65px;
  border-radius: 14px;
  overflow: hidden;
}

.turnstile-field[hidden] {
  display: none;
}

/* agency-form (hire-our-alumni, corporate-training):
   align with other direct children which use margin-inline: 32px */
.agency-form > .turnstile-field {
  margin-inline: 32px;
}

/* paid-registration form: sits inside a .paid-card, needs bottom gap before submit */
.paid-form .turnstile-field {
  margin-bottom: 16px;
  border-radius: 12px;
}

/* Force the rendered Cloudflare iframe to fill available width */
.turnstile-widget,
.turnstile-widget > div,
.turnstile-widget iframe {
  width: 100% !important;
  max-width: 100%;
}

@media (max-width: 680px) {
  /* match the 24px margin-inline on agency-form children at this breakpoint */
  .agency-form > .turnstile-field {
    margin-inline: 24px;
  }
}
