/* === SEO-72 START: slim main bright blue header bar (2026-12-02). Navy .top-bar unchanged. Do not Clear Used CSS. === */
/* Applies to homepage Themer header 36955 and inner-page Themer header 32178. */

html body header.fl-builder-content[data-type="header"] .headernew .fl-module-photo > .fl-module-content,
html body header.fl-builder-content[data-type="header"] .headernew .fl-module-pp-image > .fl-module-content,
html body .fl-node-xa31ji6rv0tq > .fl-module-content,
html body .fl-node-xa31ji6rv0tq.fl-module-photo,
html body .fl-node-ljui83k1srpt > .fl-module-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

html body .fl-node-xa31ji6rv0tq .fl-photo-content,
html body .fl-node-ljui83k1srpt .pp-photo-content,
html body .fl-node-ljui83k1srpt .pp-photo-content-inner {
  overflow: hidden !important;
  line-height: 0 !important;
}

@media (min-width: 769px) {
  html body .fl-row.headernew > .fl-row-content-wrap,
  html body .fl-node-436sq8kbgnco > .fl-row-content-wrap,
  html body .fl-node-khgta35sn0xw > .fl-row-content-wrap {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  html body .fl-node-xa31ji6rv0tq .fl-photo-content,
  html body .fl-node-xa31ji6rv0tq .fl-photo-img,
  html body div.fl-node-ljui83k1srpt .pp-photo-container .pp-photo-content .pp-photo-content-inner img,
  html body .fl-node-ljui83k1srpt .pp-photo-content,
  html body .fl-node-ljui83k1srpt .pp-photo-content-inner {
    width: 240px !important;
    max-width: 100% !important;
    height: 64px !important;
    max-height: 64px !important;
    object-fit: cover !important;
    object-position: 50% 38% !important;
  }

  html body .fl-node-xa31ji6rv0tq .fl-photo-img {
    transition: none !important;
  }

  .fl-builder-content[data-type="header"].fl-theme-builder-header-shrink .fl-node-xa31ji6rv0tq .fl-photo-img,
  .fl-builder-content[data-type="header"].fl-theme-builder-header-shrink .fl-node-ljui83k1srpt .pp-photo-img {
    max-height: 64px !important;
    width: 240px !important;
    height: 64px !important;
    object-fit: cover !important;
    object-position: 50% 38% !important;
  }
}

@media (max-width: 768px) {
  html body .fl-row.headernew > .fl-row-content-wrap,
  html body .fl-node-436sq8kbgnco > .fl-row-content-wrap,
  html body .fl-node-khgta35sn0xw > .fl-row-content-wrap {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

  html body .fl-node-xa31ji6rv0tq .fl-photo-content,
  html body .fl-node-xa31ji6rv0tq .fl-photo-img,
  html body div.fl-node-ljui83k1srpt .pp-photo-container .pp-photo-content .pp-photo-content-inner img,
  html body .fl-node-ljui83k1srpt .pp-photo-content,
  html body .fl-node-ljui83k1srpt .pp-photo-content-inner {
    width: 200px !important;
    max-width: 100% !important;
    height: 56px !important;
    max-height: 56px !important;
    object-fit: cover !important;
    object-position: 50% 38% !important;
  }
}
/* === SEO-72 END === */

/* === SEO-79 START: menu category button contrast + uppercase (2026-12-03). Desktop + mobile off-canvas (.bx-v5). Do not undo SEO-72. Do not Clear Used CSS. === */

/* Uppercase labels on top-level service buttons and Services/Company category pills. */
html body .bx-v5 .v5-main a,
html body .bx-v5 .v5-grid a {
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  font-weight: 600 !important;
}

/* Contact keeps the gold identity, with gold text on solid navy (~10.2:1). */
html body .bx-v5 .v5-grid a.p5-contact {
  color: #febf02 !important;
  border-color: #febf02 !important;
  background: #041b44 !important;
  font-weight: 700 !important;
}

/* Hover, focus, and active: navy text on solid gold, matching Free Consultation (~10.2:1). */
html body .bx-v5 .v5-main a:hover,
html body .bx-v5 .v5-main a:focus,
html body .bx-v5 .v5-main a:focus-visible,
html body .bx-v5 .v5-main a:active,
html body .bx-v5 .v5-grid a:hover,
html body .bx-v5 .v5-grid a:focus,
html body .bx-v5 .v5-grid a:focus-visible,
html body .bx-v5 .v5-grid a:active,
html body .bx-v5 .v5-grid a.p5-contact:hover,
html body .bx-v5 .v5-grid a.p5-contact:focus,
html body .bx-v5 .v5-grid a.p5-contact:focus-visible,
html body .bx-v5 .v5-grid a.p5-contact:active {
  color: #041b44 !important;
  background: #febf02 !important;
  border-color: #febf02 !important;
  outline: 0 !important;
}

html body .bx-v5 .v5-main a:hover svg,
html body .bx-v5 .v5-main a:focus svg,
html body .bx-v5 .v5-main a:focus-visible svg,
html body .bx-v5 .v5-main a:active svg {
  color: #041b44 !important;
}

html body .bx-v5 .v5-main a:focus-visible,
html body .bx-v5 .v5-grid a:focus-visible {
  box-shadow: 0 0 0 2px rgba(254, 191, 2, 0.45);
}

/* Category headings (Services, Company) stay uppercase gold on navy (~10.2:1). */
html body .bx-v5 .v5-h {
  text-transform: uppercase !important;
  color: #febf02 !important;
}

/* Slightly tighter tracking on smaller pills so uppercase labels stay on one line. */
@media (max-width: 900px) {
  html body .bx-v5 .v5-main a,
  html body .bx-v5 .v5-grid a {
    letter-spacing: 0.02em !important;
  }
}

/* === SEO-79 END === */

/* === SEO-79b START: fit long uppercase labels in the mobile 3-col pill grid (2026-12-03). Desktop unchanged. Do not Clear Used CSS. === */
@media (max-width: 900px) and (max-height: 760px) {
  html body .bx-v5 .v5-grid a {
    white-space: normal !important;
    overflow: hidden !important;
    line-height: 1.2 !important;
    padding: 6px 5px !important;
    min-height: 48px !important;
    letter-spacing: 0.01em !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    hyphens: none !important;
  }
}
/* === SEO-79b END === */

/* === SEO-79c START: gold border + arrow beside label on the 3 main menu buttons (2026-12-03). Same source as desktop. Do not Clear Used CSS. === */
html body .bx-v5 .v5-main a {
  justify-content: flex-start !important;
  gap: 10px !important;
  border-color: #febf02 !important;
}
html body .bx-v5 .v5-main a svg,
html body .bx-v5 .v5-main a .bx-ar {
  color: #febf02 !important;
  flex: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
html body .bx-v5 .v5-main a:hover,
html body .bx-v5 .v5-main a:focus,
html body .bx-v5 .v5-main a:focus-visible,
html body .bx-v5 .v5-main a:active {
  border-color: #febf02 !important;
}
html body .bx-v5 .v5-main a:hover svg,
html body .bx-v5 .v5-main a:focus svg,
html body .bx-v5 .v5-main a:focus-visible svg,
html body .bx-v5 .v5-main a:active svg,
html body .bx-v5 .v5-main a:hover .bx-ar,
html body .bx-v5 .v5-main a:focus .bx-ar,
html body .bx-v5 .v5-main a:focus-visible .bx-ar,
html body .bx-v5 .v5-main a:active .bx-ar {
  color: #041b44 !important;
}
/* === SEO-79c END === */
