/* End-of-content CTA block (partials/cta.php) */
.cta { border: 0 !important; border-radius: 16px !important; padding: 0 !important; margin-top: 48px; box-shadow: 0 20px 40px -20px rgba(230,135,63,.6); }
.cta > div { width: 90% !important; max-width: 720px; margin: 0 auto !important; padding: 48px 0 52px; }
.cta__subtitle { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .9; margin-bottom: 12px; }
.cta__title { font-size: clamp(26px, 3.2vw, 34px) !important; line-height: 1.15 !important; margin: 0 0 16px !important; color: #fff; }
.cta__content { width: 100% !important; max-width: 56ch; margin: 0 auto 26px !important; font-size: 16px; line-height: 1.55; }
.cta__content p:last-child { margin-bottom: 0; }

/* Link / download actions */
.cta__action > .btn { display: inline-block; background: #fff !important; color: #C2410C !important; border-color: #fff !important; font-weight: 600; padding: 13px 26px; border-radius: 10px; }
.cta__action > .btn:hover { background: #FFF3E8 !important; color: #9A3412 !important; }

/* Form actions: single row, centered */
.cta__action .gform_wrapper { margin: 0 auto; max-width: 560px; }
.cta__action .gform_wrapper form { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 10px; }
.cta__action .gform_body { display: block !important; width: auto !important; flex: 1 1 260px; margin: 0 !important; }
.cta__action .gform_fields { margin: 0; padding: 0; list-style: none; }
.cta__action .gfield { margin: 0; padding: 0; text-align: left; }
.cta__action .gfield_label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } /* placeholder does the job */
.cta__action .ginput_container input[type="email"], .cta__action .ginput_container input[type="text"] {
  width: 100% !important; height: 48px; padding: 0 16px; border: 0; border-radius: 10px; background: #fff; color: #101828; font-size: 15px;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6);
}
.cta__action .ginput_container input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.cta__action .gform_footer { display: block !important; margin: 0 !important; padding: 0 !important; flex: 0 0 auto; }
.cta__action .gform_button { width: auto !important; height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: #fff; color: #C2410C; font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; cursor: pointer; transition: background .15s; }
.cta__action .gform_button:hover { background: #FFF3E8; }
.cta__action .validation_message, .cta__action .gfield_validation_message { color: #fff; background: rgba(0,0,0,.18); border: 0; padding: 6px 10px; border-radius: 6px; margin-top: 6px; font-size: 13px; }
.cta__action .gform_confirmation_message { color: #fff; font-weight: 600; }
.cta__action .ginput_recaptchav3 { flex-basis: 100%; height: 0; overflow: hidden; }

/* Legacy "Really Simple CAPTCHA" fields render empty when the plugin is absent; hide them (forms use reCAPTCHA v3). */
.gfield--type-captcha .gfield_captcha[src=""], .gfield--type-captcha .gfield_captcha:not([src]) { display: none; }
.gfield--type-captcha:has(.gfield_captcha[src=""]) { display: none !important; }

@media (max-width: 640px) {
  .cta > div { padding: 36px 0 40px; }
  .cta__action .gform_footer, .cta__action .gform_button { width: 100% !important; }
  .cta__action .gform_body { flex-basis: 100%; }
}
