.gazelle-apply {
  padding: clamp(48px, 7vw, 96px) 16px;
  background: #eef3f9;
  color: #172842;
  scroll-margin-top: 88px;
}

.gazelle-apply-inner { width: min(100%, 760px); margin-inline: auto; }
.gazelle-apply-heading { margin-bottom: 20px; }
.gazelle-apply-heading h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 38px);
  line-height: 1.3;
  color: #172842;
}
.gazelle-apply-heading p { margin: 10px 0 0; font-size: 14px; }
.gazelle-apply-card {
  padding: clamp(16px, 4vw, 36px);
  border: 1px solid #ced7e4;
  border-radius: 16px;
  background: #fff;
}
.gazelle-apply [hidden] { display: none !important; }
.gazelle-apply-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gazelle-apply-message { margin: 16px 0; }
.gazelle-apply label { font-size: 14px; font-weight: 600; }
.gazelle-required { color: #87334a; font-size: 12px; font-weight: 600; }
.gazelle-apply-fields input, .gazelle-apply textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  margin-top: 5px;
  border: 1px solid #8190a6;
  border-radius: 8px;
  background: #fff;
  color: #172842;
  font: inherit;
  font-size: 16px;
}
.gazelle-apply textarea { resize: vertical; }
.gazelle-apply-choice { display: flex; align-items: flex-start; gap: 10px; margin: 12px 0; line-height: 1.5; }
.gazelle-apply-choice input { width: 16px; height: 16px; flex: none; margin: 3px 0 0; accent-color: #354986; }
.gazelle-apply-choice a { color: #30457f; text-decoration: underline; text-underline-offset: 3px; }
.gazelle-apply-primary, .gazelle-apply-secondary {
  min-height: 46px;
  padding: 9px 18px;
  border: 1px solid #354986;
  border-radius: 8px;
  background: #354986;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.gazelle-apply-secondary { background: #fff; color: #30457f; }
.gazelle-apply-primary:disabled, [data-zoo-send]:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.gazelle-apply :focus-visible { outline: 3px solid #354986; outline-offset: 3px; }
.gazelle-apply-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gazelle-apply-status { margin: 8px 0 0; font-size: 13px; }
.gazelle-apply-status:empty { display: none; }
.gazelle-apply #confirmation { scroll-margin-top: 90px; }
.gazelle-apply #confirmation h3 { margin: 0 0 16px; font-size: 23px; }
.gazelle-hub-cta { color: inherit; font-size: 13px; font-weight: 700; }

@media (max-width: 540px) {
  .gazelle-apply-fields { grid-template-columns: 1fr; }
  .gazelle-apply-actions > button { width: 100%; }
  .site-header:has(.gazelle-hub-cta) .header-inner { flex-wrap: wrap; }
}
