/* Ingra's responsive fixes — Oct 10, 2026 - LOCKED two-line headline */

/* Hero headline: two lines via <br>, responsive size — shrinks on phones, never wraps */
.pp-primary-title {
  font-size: clamp(1.1rem, 6.5vw, 3rem) !important;
  line-height: 1.3 !important;
}
/* Hero buttons */
/* Hero buttons: vertical stack, teal */
.fl-module-button {
  display: block !important;
  width: 100% !important;
  max-width: 320px !important;
  margin-bottom: 12px !important;
}
a.fl-button {
  background: #0B4F5C !important;
  border: 2px solid #0B4F5C !important;
  color: #ffffff !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 16px 24px !important;
  font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
  border-radius: 999px !important;
  text-decoration: none !important;
}
a.fl-button:hover { background: #083C47 !important; border-color: #083C47 !important; }
a.fl-button .fl-button-text { color: #ffffff !important; white-space: nowrap !important; }

/* Fluid type, no jumping */
h1 { font-size: clamp(1.6rem, 3.5vw, 2.8rem) !important; }
h2 { font-size: clamp(1.3rem, 2.8vw, 2rem) !important; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem) !important; }
p, li { font-size: clamp(0.95rem, 1vw, 1.05rem) !important; line-height: 1.6 !important; }
.fl-menu a { font-size: clamp(0.75rem, 1vw, 0.95rem) !important; white-space: nowrap !important; }

body { overflow-x: hidden !important; }
img { max-width: 100%; height: auto; }

/* === Mobile polish + purple lock (Oct 10) === */
/* Change purple sections to brand teal */
.fl-builder-content [style*="3F3A75"],
.fl-builder-content [style*="3f3a75"],
.fl-builder-content .fl-row-bg-color[style*="63, 58, 117"] {
  background-color: #0B4F5C !important;
}

/* Mobile: comfortable tap targets and spacing */
@media (max-width: 768px) {
  .fl-builder-content .fl-module-button a.fl-button {
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.05rem !important;
    padding: 14px 24px !important;
  }
  
  /* Comfortable text sizing on mobile */
  .fl-builder-content h1 {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
    line-height: 1.25 !important;
  }
  .fl-builder-content h2 {
    font-size: clamp(1.4rem, 6vw, 1.8rem) !important;
  }
  
  /* Better spacing */
  .fl-builder-content .fl-row-content {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* === Header fixes (Oct 10) === */
/* Keep header buttons from going off edge on mobile */
@media (max-width: 768px) {
  .fl-builder-content .fl-module-button {
    max-width: 100% !important;
  }
  .fl-builder-content .fl-module-button a.fl-button {
    white-space: normal !important;
    word-wrap: break-word !important;
    max-width: 100% !important;
  }
  /* Header button container */
  .fl-page-header .fl-module-button,
  header .fl-module-button {
    max-width: calc(100vw - 40px) !important;
  }
}

/* Ensure mobile menu toggle is visible */
.fl-menu .fl-menu-mobile-toggle,
.fl-menu-mobile-toggle {
  display: block !important;
  visibility: visible !important;
}
@media (max-width: 768px) {
  .fl-menu ul.menu {
    display: none !important;
  }
  .fl-menu .fl-menu-mobile-toggle {
    display: block !important;
  }
}

/* Footer: collapse empty separators and blank gap above copyright */
.uabb-row-separator:not(.uabb-has-svg) {
  display: none !important;
}
.footer-copyright .fl-row-content-wrap {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
.fl-node-d879avoufph3 > .fl-row-content-wrap {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
/* Copyright row: no room for strays */
.footer-copyright .fl-col:empty,
.footer-copyright .fl-module:empty {
  display: none !important;
}
/* Who We Serve on teal: light text for contrast */
.precision-teal h2, .precision-teal h3,
.fl-row.precision-teal h2, .fl-row.precision-teal h3 {
  color: #ffffff !important;
}

/* Precision section: brand teal to match everything else (Ingra: "fixed to match everything else") */
.fl-node-btgwpyj0nrec > .fl-row-content-wrap {
  background-color: #0B4F5C !important;
  background-image: none !important;
}
.fl-node-btgwpyj0nrec .fl-row-bg-photo,
.fl-node-btgwpyj0nrec .fl-row-bg-video {
  display: none !important;
}
/* Who We Serve row: teal, not gray */
.precision-teal > .fl-row-content-wrap,
.fl-row.precision-teal {
  background-color: #0B4F5C !important;
}

/* === Header mobile fixes === */
@media (max-width: 768px) {
  /* Stack header buttons vertically on mobile */
  header .fl-col-group,
  .fl-page-header .fl-col-group {
    display: block !important;
  }
  header .fl-col,
  .fl-page-header .fl-col {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 8px !important;
  }
  header .fl-module-button a.fl-button,
  .fl-page-header .fl-module-button a.fl-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Ensure mobile menu is visible */
.fl-menu-mobile-toggle {
  display: none;
}
@media (max-width: 768px) {
  .fl-menu-mobile-toggle {
    display: block !important;
  }
  .fl-menu ul.menu {
    display: none;
  }
  .fl-menu.fl-menu-mobile-open ul.menu {
    display: block !important;
  }
}

/* Header buttons: stack on mobile so they don't overflow */
@media (max-width: 768px) {
  header .fl-module-button,
  .fl-page-header .fl-module-button {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px !important;
  }
  header .fl-col-group {
    display: block !important;
  }
  header .fl-col {
    width: 100% !important;
    max-width: 100% !important;
  }
}
