/*
Theme Name: LEDEA Child
Template: Divi
Version: 1.0.0
*/

/* Compact, accessible phone layout for the Divi Theme Builder header. */
@media (max-width: 980px) {
  .et-l--header .ledea-header-top-section {
    padding: 6px 0 !important;
  }

  .et-l--header .ledea-header-top {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 92% !important;
    padding: 0 !important;
  }

  .et-l--header .ledea-header-top > .et_pb_column {
    width: auto !important;
    margin: 0 !important;
  }

  .et-l--header .ledea-header-phone,
  .et-l--header .ledea-header-email {
    font-size: 13px !important;
    line-height: 1.35em !important;
  }

  .et-l--header .ledea-header-email {
    text-align: right !important;
  }

  .et-l--header .ledea-header-main-section {
    padding: 8px 0 !important;
  }

  .et-l--header .ledea-header-main {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center;
    width: 92% !important;
    padding: 0 !important;
  }

  .et-l--header .ledea-header-main > .et_pb_column {
    margin: 0 !important;
  }

  .et-l--header .ledea-header-logo-col {
    flex: 0 0 125px;
    order: 1;
    width: 125px !important;
  }

  .et-l--header .ledea-header-logo,
  .et-l--header .ledea-header-logo img {
    width: 125px !important;
    max-width: 125px !important;
  }

  .et-l--header .ledea-header-cta-col {
    flex: 1 1 auto;
    order: 2;
    width: auto !important;
  }

  .et-l--header .ledea-header-cta {
    text-align: right !important;
  }

  .et-l--header .ledea-header-cta {
    font-size: 13px !important;
    padding: 10px 12px !important;
  }

  .et-l--header .ledea-header-menu-col {
    flex: 0 0 44px;
    order: 3;
    width: 44px !important;
  }

  .et-l--header .ledea-header-menu,
  .et-l--header .ledea-header-menu .mobile_nav,
  .et-l--header .ledea-header-menu .mobile_menu_bar {
    width: 44px !important;
    min-width: 44px;
    min-height: 44px;
    height: 44px;
  }
}

/* Page 11 inquiry form and local Turnstile integration. */
#ledea-inquiry-form .et_pb_contact_form_label {
  display: block !important;
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  overflow: visible !important;
  margin: 0 0 7px !important;
  color: #252a30 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

#ledea-inquiry-form .et_pb_contact_field {
  margin-bottom: 18px !important;
}

#ledea-inquiry-form .et_pb_contact_form .input {
  min-height: 50px !important;
  padding: 13px 14px !important;
  border: 1px solid #cbdbe4 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #252a30 !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

#ledea-inquiry-form .et_pb_contact_form textarea.input {
  min-height: 132px !important;
  resize: vertical !important;
}

#ledea-inquiry-form .et_pb_contact_form .input:focus {
  border-color: #2689b5 !important;
  outline: 3px solid rgba(38, 137, 181, 0.25) !important;
  outline-offset: 1px !important;
  background: #fff !important;
}

#ledea-inquiry-form .et_pb_contact_submit {
  min-height: 48px;
  margin-top: 6px !important;
  padding: 15px 25px !important;
  border-radius: 3px !important;
  background: #d71920 !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

#ledea-inquiry-form .et_pb_contact_submit:hover,
#ledea-inquiry-form .et_pb_contact_submit:focus-visible {
  background: #b81319 !important;
}

#ledea-inquiry-form .et_contact_error {
  border-color: #d71920 !important;
  background: #fff7f7 !important;
}

#ledea-inquiry-form .ledea-turnstile-wrap {
  clear: both;
  margin: 4px 0 18px;
}

#ledea-inquiry-form .cf-turnstile {
  max-width: 100%;
}

#ledea-inquiry-form .ledea-form-notice,
#ledea-inquiry-form .et-pb-contact-message {
  margin: 0 0 20px;
  padding: 14px 16px;
  border-left: 4px solid #2689b5;
  border-radius: 3px;
  background: #edf6fa;
  color: #22272d;
  font-weight: 700;
}

#ledea-inquiry-form .ledea-form-notice--error {
  border-left-color: #d71920;
  background: #fff2f2;
}

@media (max-width: 767px) {
  #ledea-inquiry-form .et_pb_contact_field_half {
    width: 100% !important;
    margin-right: 0 !important;
  }

  #ledea-inquiry-form .et_pb_contact_form_label {
    font-size: 14px !important;
  }
}

/* Consent-aware Google Maps placeholders on the homepage and Contact page. */
.ledea-consent-map {
  display: flex;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid #d8e3e9;
  border-radius: 8px;
  background: linear-gradient(135deg, #eef5f8 0%, #fff 58%, #f7e9e9 100%);
}

.ledea-consent-map__placeholder {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 24px;
  text-align: center;
}

.ledea-consent-map__placeholder[hidden] {
  display: none !important;
}

.ledea-consent-map__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #d71920;
  color: #fff;
  font-size: 30px;
  line-height: 1;
}

.ledea-consent-map__placeholder h3 {
  margin: 0 0 8px;
  color: #252a30;
  font-size: 24px;
}

.ledea-consent-map__placeholder p {
  margin: 0 0 18px;
  color: #44515a;
  font-size: 16px;
}

.ledea-map-consent-button {
  min-height: 46px;
  padding: 11px 20px;
  border: 2px solid #d71920;
  border-radius: 3px;
  background: #d71920;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.ledea-map-consent-button:hover,
.ledea-map-consent-button:focus-visible {
  border-color: #b81319;
  background: #b81319;
}

.ledea-map-consent-button:focus-visible {
  outline: 3px solid rgba(38, 137, 181, 0.35);
  outline-offset: 3px;
}

.ledea-consent-map iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

/* Shared restrained Divi layout for the two legal pages. */
.ledea-legal-hero {
  background: linear-gradient(135deg, #edf4f7 0%, #fff 60%, #f8ecec 100%);
}

.ledea-legal-page .et_pb_row {
  max-width: 920px;
}

.ledea-legal-page h2 {
  margin-top: 24px;
  color: #252a30;
  font-weight: 700;
}

.ledea-legal-page h3 {
  margin-top: 18px;
  color: #33434d;
  font-weight: 700;
}

.ledea-legal-page p,
.ledea-legal-page li {
  color: #3f4b53;
  line-height: 1.75;
}

.ledea-legal-note {
  padding: 22px;
  border-left: 4px solid #d71920;
  border-radius: 4px;
  background: #f7f9fa;
}

@media (max-width: 767px) {
  .ledea-consent-map,
  .ledea-consent-map iframe {
    min-height: 350px;
  }

  .ledea-legal-page .et_pb_row {
    width: 90%;
  }
}
