.gf-form[hidden] {
  display: none !important;
}
.gf-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.gf-field-error {
  display: block;
  color: #b42318;
  font-size: 0.875rem;
  margin-top: 0.4em;
}
.gf-result:not(:empty) {
  padding: 1em;
  border-radius: 8px;
  background: #f0f5fa;
  color: #123b60;
}
.gf-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}
.gf-form :focus-visible {
  outline: 3px solid #1769aa;
  outline-offset: 3px;
}
.gf-complete {
  box-sizing: border-box;
  max-width: 780px;
  margin: 32px auto;
  padding: 64px 36px;
  text-align: center;
  border: 1px solid #dce7ee;
  border-radius: 24px;
  background: linear-gradient(145deg, var(--gf-complete-bg, #f4f9fd) 0%, var(--gf-complete-bg-end, #fff) 65%);
  box-shadow: 0 16px 50px #164c7c0d;
  animation: gf-in 0.35s ease-out;
}
.gf-complete-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--gf-complete-icon-bg, #e4f4ed);
  color: var(--gf-complete-icon, #16805b);
  font-size: 42px;
  font-weight: 600;
}
.gf-complete .gf-complete-kicker {
  font: 600 12px/1.5 sans-serif;
  letter-spacing: 0.2em;
  color: var(--gf-complete-title, #537590);
  margin: 0 0 12px;
}
.gf-complete .gf-complete-title {
  color: var(--gf-complete-title, #124e86);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
  line-height: 1.5;
  margin: 0 0 20px;
}
.gf-complete .gf-complete-body {
  white-space: pre-line;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
  line-height: 1.9;
  color: var(--gf-complete-text, #364c5c);
  margin: 0;
}
.gf-complete:focus {
  outline: none;
}
@keyframes gf-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 600px) {
  .gf-complete {
    padding: 32px 16px;
    border-radius: 16px;
    margin: 20px auto;
  }
  .gf-complete-icon {
    width: 56px;
    height: 56px;
    font-size: 30px;
    margin-bottom: 20px;
  }
}
.gf-complete-title-part {
  display: inline-block;
  max-width: 100%;
}
@media (max-width: 600px) {
  .gf-complete .gf-complete-title {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 16px;
  }
  .gf-complete .gf-complete-body {
    font-size: 14px;
    line-height: 1.9;
  }
  .gf-complete .gf-complete-kicker {
    font-size: 10px;
    margin-bottom: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gf-complete {
    animation: none;
  }
}
/* Preserve the site's custom checkboxes while retaining keyboard access. */
.gf-form input[type="checkbox"] {
  display: inline-block !important;
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.gf-form input[type="checkbox"]:focus-visible + span {
  outline: 3px solid #1769aa;
  outline-offset: 4px;
}
.gf-form [type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
}

.gf-file-help{display:block;margin-top:6px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.gf-form [hidden]{display:none!important}.gf-form .wpcf7-radio{display:flex;flex-wrap:wrap;gap:12px 24px}.gf-form .wpcf7-radio .wpcf7-list-item{display:inline-flex;align-items:center;gap:8px}.gf-form .wpcf7-radio input[type=radio]{width:1.2em;height:1.2em;min-height:0;flex:0 0 auto;margin:0;accent-color:currentColor}.gf-form input[type=radio]:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.gf-form .gf-condition-required{display:inline-block;margin:0 8px 6px 0;padding:2px 7px;border-radius:4px;color:#a12828;background:#fff0f0;font-size:.75rem;font-weight:700}
.gf-form .wpcf7-radio .wpcf7-list-item{min-height:44px;padding:2px 8px;box-sizing:border-box}
