/* Style the live Gravity Forms quote form (ID 1) to match the navy/gold site. */
.gform-host,
.quote-form.gform-host {
  background: #fff;
  padding: 2rem 2rem 2.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  border-radius: 0 1.25rem 0 1.25rem;
}

.gform-host .gform_wrapper,
.gform-host .gform_legacy_markup_wrapper,
.gform-host .gform-theme {
  margin: 0;
  max-width: none;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #4A4A4A;
}

.gform-host .gform_heading,
.gform-host .gform_required_legend {
  margin-bottom: 1rem;
}

.gform-host .gsection,
.gform-host .gfield--type-section {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}

.gform-host .gsection_title,
.gform-host .gfield--type-section h2,
.gform-host .gfield--type-section h3,
.gform-host legend.gsection_title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  font-style: italic;
  color: #B8893A;
  border-bottom: 1px solid rgba(12, 24, 44, 0.12);
  padding-bottom: 0.5rem;
  margin: 1.25rem 0 1rem;
  background: none;
}

.gform-host .gfield {
  margin-bottom: 1rem;
  padding: 0;
}

.gform-host .gfield_label,
.gform-host .gform-field-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0C182C;
  letter-spacing: 0;
}

.gform-host .gfield_required,
.gform-host .gfield_required_asterisk,
.gform-host .gfield_required_text {
  color: #9A3B16;
}

.gform-host .gfield_description,
.gform-host .gform-field-label--type-sub,
.gform-host .ginput_counter {
  font-size: 0.78rem;
  color: #6B6B6B;
}

.gform-host input[type="text"],
.gform-host input[type="email"],
.gform-host input[type="tel"],
.gform-host input[type="number"],
.gform-host input[type="url"],
.gform-host input[type="date"],
.gform-host select,
.gform-host textarea,
.gform-host .ginput_container input,
.gform-host .ginput_container select,
.gform-host .ginput_container textarea {
  font: inherit;
  padding: 0.65rem 0.7rem;
  border: 1px solid #C9C4BA;
  border-radius: 0.2rem;
  background: #fff;
  color: #0C182C;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.gform-host input:focus,
.gform-host select:focus,
.gform-host textarea:focus {
  outline: 2px solid #E3B873;
  border-color: #B8893A;
}

.gform-host .ginput_complex {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.gform-host .ginput_complex .name_first,
.gform-host .ginput_complex .name_last,
.gform-host .ginput_complex span {
  flex: 1 1 8rem;
}

.gform-host .gfield--type-time .ginput_container,
.gform-host .gfield--input-type-time .ginput_container {
  display: flex;
  gap: 0.5rem;
  align-items: end;
}

.gform-host .gform_footer,
.gform-host .gform-footer,
.gform-host .gform_page_footer {
  padding: 0.5rem 0 0;
  margin: 0;
}

.gform-host .gform_button,
.gform-host .gform_button.button,
.gform-host input[type="submit"],
.gform-host button[type="submit"],
.gform-host .button.gform_button_select_files {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.8rem 1.35rem;
  border: 2px solid #0C182C;
  background: #0C182C;
  color: #fff;
  cursor: pointer;
  line-height: 1.1;
  box-shadow: none;
  text-shadow: none;
}
.gform-host .gform_button:hover,
.gform-host input[type="submit"]:hover,
.gform-host button[type="submit"]:hover {
  background: #1E3C4E;
  border-color: #1E3C4E;
  color: #fff;
}

.gform-host .gform_validation_errors,
.gform-host .gfield_validation_message,
.gform-host .validation_message,
.gform-host .gform_submission_error {
  color: #9A3B16;
}

.gform-host .gform_confirmation_message,
.gform-host .gform-confirmation-message {
  font-size: 1.05rem;
  color: #0C182C;
}

@media (max-width: 980px) {
  .gform-host,
  .quote-form.gform-host {
    padding: 1.25rem 1rem 1.5rem;
  }
  .gform-host .gf_left_half,
  .gform-host .gf_right_half {
    width: 100% !important;
  }
}
