/* =========================
   HEADER OVERRIDE
   ========================= */

header.custom-header-override {
  width: 100% !important;
  background: #fff !important;
  border-bottom: 1px solid #e5e5e5 !important;
  position: relative !important;
  z-index: 999 !important;
  box-sizing: border-box !important;
}

header.custom-header-override *,
header.custom-header-override *::before,
header.custom-header-override *::after {
  box-sizing: border-box !important;
}

header.custom-header-override .custom-header-inner {
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding: 16px 24px !important;
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 20px !important;
  min-height: 110px !important;
}

/* LEFT */
header.custom-header-override .custom-header-left {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
}

header.custom-header-override .custom-header-left-text {
  font-size: 15px !important;
  line-height: 1.4 !important;
  color: #222 !important;
  text-align: left !important;
}
.custom-header-left-text .tagLine {
  display: block !important;
  line-height: 1.4 !important;
  letter-spacing: 0.3px !important;
}

/* First line (main statement) */
.custom-header-left-text .tagLine:first-child {
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #111 !important;
  margin-bottom: 6px !important;
}

/* Second line (brand / support line) */
.custom-header-left-text .tagLine:last-child {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #444 !important;
  letter-spacing: 0.5px !important;
}
/* CENTER LOGO */
header.custom-header-override .custom-header-logo {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

header.custom-header-override .custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

header.custom-header-override .custom-logo-img {
  display: block !important;
  max-width: 320px !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* RIGHT */
header.custom-header-override .custom-header-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 12px !important;
  min-width: 0 !important;
}

header.custom-header-override .custom-header-flags {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}

header.custom-header-override .custom-flag-link {
  display: inline-flex !important;
  width: 28px !important;
  height: 28px !important;
  text-decoration: none !important;
}

header.custom-header-override .custom-flag-link img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

header.custom-header-override .custom-header-contact {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 6px !important;
}

header.custom-header-override .custom-contact-link {
  color: #222 !important;
  text-decoration: none !important;
  font-size: 15px !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}

header.custom-header-override .custom-contact-link:hover {
  text-decoration: none !important;
}
.custom-contact-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #222 !important;
  text-decoration: none !important;
  font-size: 15px !important;
}

.custom-contact-link i {
  font-size: 14px !important;
  color: #666 !important;
  min-width: 16px !important;
  text-align: center !important;
}

.custom-contact-link:hover i {
  color: #000 !important;
}
/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
  header.custom-header-override .custom-header-inner {
    grid-template-columns: 1fr auto 1fr !important;
    gap: 16px !important;
    padding: 14px 18px !important;
  }

  header.custom-header-override .custom-logo-img {
    max-width: 180px !important;
  }

  header.custom-header-override .custom-header-left-text,
  header.custom-header-override .custom-contact-link {
    font-size: 14px !important;
  }
}

@media (max-width: 767px) {
  header.custom-header-override .custom-header-inner {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  header.custom-header-override .custom-header-left,
  header.custom-header-override .custom-header-logo,
  header.custom-header-override .custom-header-right {
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
  }

  header.custom-header-override .custom-header-right {
    gap: 10px !important;
  }

  header.custom-header-override .custom-header-contact {
    align-items: center !important;
  }

  header.custom-header-override .custom-header-flags {
    justify-content: center !important;
  }

  header.custom-header-override .custom-contact-link {
    white-space: normal !important;
  }

  header.custom-header-override .custom-logo-img {
    max-width: 170px !important;
  }
 .custom-header-left-text {
    text-align: center !important;
  }
  .custom-header-left-text .tagLine {
    text-align: center !important;
  }
 .custom-header-left-text .tagLine:last-child {
    display: none !important;
  }
}