/*
 * WordPress-only compatibility for the custom Siar homepage.
 * Keep existing WPForms data/security and TranslatePress settings untouched.
 * The header is the single visible language control.
 */
body.wp-theme-siar-global .trp-floating-switcher,
body.wp-theme-siar-global #trp-floater-ls {
  display: none !important;
}

/*
 * Form 29 uses .wpforms-render-modern rather than .wpforms-container-full.
 * Scope to its real ID so legacy/full and modern renderers receive the same
 * approved design. Do not change display/position/visibility on fields: WPForms
 * owns the hidden honeypot, validation, CAPTCHA, AJAX and submission state.
 */
body.home.wp-theme-siar-global #iletisim .wpforms-shell #wpforms-29,
body.home.wp-theme-siar-global #iletisim #wpforms-form-29,
body.home.wp-theme-siar-global #iletisim #wpforms-form-29 .wpforms-field-container {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  font-family: var(--font, Manrope, Arial, sans-serif) !important;
  line-height: 1.65 !important;
}

body.home.wp-theme-siar-global #iletisim #wpforms-form-29 .wpforms-field {
  margin: 0 0 20px !important;
  padding: 0 !important;
}

body.home.wp-theme-siar-global #iletisim #wpforms-form-29 .wpforms-field-label {
  display: block !important;
  margin: 0 0 9px !important;
  padding: 0 !important;
  color: #aebba7 !important;
  font-family: var(--font, Manrope, Arial, sans-serif) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
}

body.home.wp-theme-siar-global #iletisim #wpforms-form-29 .wpforms-required-label {
  color: inherit !important;
  font: inherit !important;
}

/* Only the four existing public controls; hidden/antispam inputs stay owned by WPForms. */
body.home.wp-theme-siar-global #iletisim #wpforms-29-field_1,
body.home.wp-theme-siar-global #iletisim #wpforms-29-field_2,
body.home.wp-theme-siar-global #iletisim #wpforms-29-field_3,
body.home.wp-theme-siar-global #iletisim #wpforms-29-field_4 {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 5px 0 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #65715d !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff !important;
  font-family: var(--font, Manrope, Arial, sans-serif) !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
  text-indent: 0 !important;
  outline-offset: 3px !important;
  -webkit-appearance: none;
  appearance: none;
}

body.home.wp-theme-siar-global #iletisim #wpforms-29-field_4 {
  height: 107.0625px !important;
  min-height: 107.0625px !important;
  max-height: none !important;
  resize: vertical !important;
}

body.home.wp-theme-siar-global #iletisim #wpforms-form-29 :is(input, textarea):focus {
  border-bottom-color: #d4e3ca !important;
  outline: 2px solid #9aab99 !important;
  outline-offset: 3px !important;
  box-shadow: none !important;
}

body.home.wp-theme-siar-global #iletisim #wpforms-form-29 :is(input, textarea).wpforms-error {
  border-bottom-color: #f3b6ae !important;
}

body.home.wp-theme-siar-global #iletisim #wpforms-form-29 label.wpforms-error {
  display: block;
  margin-top: 8px !important;
  color: #f3b6ae !important;
  font-family: var(--font, Manrope, Arial, sans-serif) !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
}

body.home.wp-theme-siar-global #iletisim #wpforms-form-29 .wpforms-submit-container {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body.home.wp-theme-siar-global #iletisim #wpforms-submit-29 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 38px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 58px !important;
  height: auto !important;
  margin: 8px 0 0 !important;
  padding: 16px 23px !important;
  border: 0 !important;
  border-radius: 3px !important;
  background: var(--paper, #f3f4ef) !important;
  box-shadow: none !important;
  color: var(--ink, #202422) !important;
  font-family: var(--font, Manrope, Arial, sans-serif) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.65 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  cursor: pointer;
  transition: background .3s, transform .5s var(--ease), box-shadow .3s;
}

body.home.wp-theme-siar-global #iletisim #wpforms-submit-29:hover:not(:disabled) {
  background: #dce4d8 !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px #00000014 !important;
}

body.home.wp-theme-siar-global #iletisim #wpforms-submit-29:focus-visible {
  outline: 2px solid #9aab99 !important;
  outline-offset: 6px !important;
}

body.home.wp-theme-siar-global #iletisim #wpforms-submit-29:disabled {
  cursor: default;
  opacity: .65;
}

body.home.wp-theme-siar-global #iletisim #wpforms-submit-29::after {
  content: "";
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19 19 5M5 5h14v14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 19 19 5M5 5h14v14'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 680px) {
  body.home.wp-theme-siar-global #iletisim #wpforms-form-29 .wpforms-field {
    margin-bottom: 22px !important;
  }
}
