/* custom overrides (loaded last) */
/* eyebrow info bar — matches the MSI template's secondary nav formatting */
.secondaryNav {
  background-color: white;
  padding: 12px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(194,216,240,0.5);
}
.secondaryNavContent {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 3em;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: 4%;
  padding-right: 4%;
}
.secondaryNav .eyebrowItem {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.secondaryNav a {
  color: #27251f;
  text-decoration: none;
  transition: 150ms;
}
.secondaryNav .eyebrowItem a:hover { text-decoration: underline; }
.secondaryNav .eyebrowItem { color: #27251f; }
/* template eyebrow icons (hosted locally) */
.secondaryNav .ebIcon {
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
  margin-right: 8px;
  flex-shrink: 0;
}
.ebIcon--loc   { width: 13px; height: 16px; background-image: url(/assets/eyebrow-location.png); }
.ebIcon--phone { width: 16px; height: 16px; background-image: url(/assets/eyebrow-phone.png); }
.ebIcon--hours { width: 16px; height: 16px; background-image: url(/assets/eyebrow-hours.png); }

@media (max-width: 767px) {
  .headerAndNavContainer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
  }
  /* template stacks the eyebrow items vertically on small screens */
  .secondaryNavContent {
    flex-direction: column;
    gap: 0.5em;
    margin-left: 4%;
    margin-right: 4%;
    padding-left: 0;
    padding-right: 0;
  }
  .secondaryNav { font-size: 14px; }
  /* eyebrow (secondary nav) collapses on scroll to reclaim space */
  .secondaryNav {
    overflow: hidden;
    max-height: 300px;
    transition: max-height 0.25s ease, opacity 0.2s ease;
  }
  .secondaryNav.eyebrow-collapsed {
    max-height: 0 !important;
    opacity: 0 !important;
  }
}

/* Newsletter: hide the Lumistry embed's own H3 title + P subtitle (keep our H2) */
[data-lumistry-capture] .lk-head,
[data-lumistry-capture] .lk-title,
[data-lumistry-capture] .lk-sub {
  display: none !important;
}

/* Contact "How to Reach Us" card: use text labels (Phone:/Fax:/Email:) instead of icons */
.block_c062eb4946984873b6dea948148f63ab .contactPhone:before,
.block_c062eb4946984873b6dea948148f63ab .contactEmail:before {
  display: none;
}

/* "Everything you need to feel your best" service grid:
   icon badges instead of photos. Circle uses the brand blue (#003e7e) with a
   light-blue hover (#6caddf) to echo the theme's button styling. */
.svcIconItem .itemImg {
  text-align: center;
  padding-bottom: 1em;
}
.svcIconLink {
  display: inline-block;
  text-decoration: none;
  border: 0;
}
.svcIconCircle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  margin: 10px auto 0;
  border-radius: 50%;
  background: #003e7e;
  transition: transform 200ms ease, background-color 200ms ease;
}
.svcIconLink:hover .svcIconCircle,
.svcIconLink:focus .svcIconCircle {
  transform: scale(1.05);
  background: #6caddf;
}
.svcIconSvg {
  width: 58px;
  height: 58px;
  color: #fff;
}
@media (max-width: 767px) {
  .svcIconCircle { width: 108px; height: 108px; }
  .svcIconSvg { width: 48px; height: 48px; }
}
