/* Keep verification local to each existing form without changing its field layout. */
.spes-turnstile-protection {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
  flex: 0 0 auto;
  margin: 1rem 0;
  text-align: left;
}
.spes-turnstile-widget { width: 100%; max-width: 300px; min-width: 0; }
.spes-turnstile-protection .spes-turnstile-status {
  margin: 0.5rem 0;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  color: inherit;
}
.spes-turnstile-protection .spes-turnstile-retry {
  display: inline-block;
  width: auto;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid currentColor;
  border-radius: 4px;
  font: inherit;
  color: inherit;
  background: transparent;
  cursor: pointer;
}
.spes-turnstile-protection .spes-turnstile-retry[hidden] { display: none; }
.spes-turnstile-protection .spes-turnstile-retry:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* The legacy newsletter is a wrapping column flexbox. Keep verification in
   normal vertical flow; a percentage flex-basis can create extra columns. */
form[name="newsletter"].form-component > .inner {
  flex-wrap: nowrap;
  min-width: 0;
}
form[name="newsletter"] .spes-turnstile-protection,
form[name="newsletter"] .spes-turnstile-protection .spes-turnstile-status,
form[name="newsletter"] .spes-turnstile-protection .spes-turnstile-retry {
  color: #FFFFFF;
}

/* Both summit forms also sit on green; prayer cards sit on a white panel. */
form[name="summit-reservation"] .spes-turnstile-protection { color: #FFFFFF; }
form[name="prayer-card-request"] .spes-turnstile-protection { color: #1A332F; }
