/* Brand lockup. The font-size sits on the row so the mark can be sized in em
   and track the wordmark by itself. */
.mhic-brand { font-size: clamp(15px, 4.4vw, 20px); font-weight: 700; color: #1f2b7b; text-decoration: none; line-height: 1.2; display: inline-flex; align-items: center; gap: 0.35em; }

.mhic-brand > span { white-space: nowrap; }

/* From lg up the header gives the logo a narrow column beside the menu, so the
   name wraps to two lines next to the mark. 8.2em clears "Insurance Care"
   (7.9em) without fitting the whole name, which keeps it at two. */
@media (min-width: 992px) {
  .mhic-brand { font-size: 20px; }
  /* The logo column is narrower than the lockup at lg, and flex would shrink the
     name into a third line, so hold it at the wrap width. It reaches into the
     gutter and still clears the menu. */
  .mhic-brand > span { white-space: normal; flex: 0 0 auto; max-width: 8.2em; }
}

@media (min-width: 1200px) {
.mhic-brand { font-size: 22px; }
}

.mhic-logo { flex: 0 0 auto; width: 1.5em; height: 1.5em; --mhic-mark-body: #006cff; --mhic-mark-face: #1f2b7b; }

@media (max-width: 991.98px) {
body.directory-page #sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
}

body.directory-page #sticky-header .row.align-items-center {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

body.directory-page #sticky-header .row.align-items-center > [class*="col-xl"],
body.directory-page #sticky-header .row.align-items-center > [class*="col-lg"]:not(.col-12) {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
}

body.directory-page #sticky-header .row.align-items-center > .col-xl-3,
body.directory-page #sticky-header .row.align-items-center > .col-lg-2 {
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 56px);
}

body.directory-page #sticky-header .row.align-items-center > .col-xl-6,
body.directory-page #sticky-header .row.align-items-center > .col-lg-7,
body.directory-page #sticky-header .row.align-items-center > .col-xl-3.col-lg-3 {
  display: none !important;
}

body.directory-page #sticky-header .row.align-items-center > .col-12 {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  padding: 0;
}

body.directory-page .mobile_menu {
  display: block !important;
}

body.directory-page .mobile_menu .slicknav_menu {
  position: relative;
  background: transparent;
  padding: 0;
}

body.directory-page .mobile_menu .slicknav_btn {
  float: none;
  margin: 0;
  padding: 10px;
  background: transparent;
  color: #1f2b7b;
}

body.directory-page .mobile_menu .slicknav_menutxt {
  display: none;
}

body.directory-page .mobile_menu .slicknav_icon-bar {
  background-color: #1f2b7b;
}

body.directory-page .slicknav_nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 1000001;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

body.directory-page .mhic-brand > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
}

.mhic-brand--footer { color: #fff; font-size: 1em; }

/* The footer sits on #1f1f1f, where the indigo face would sink into it. */
.footer_logo .mhic-logo { --mhic-mark-face: #0d4ecc; }

.footer_logo a { display: inline-flex; align-items: center; gap: 0.35em; font-size: 22px; text-decoration: none; }

.mobile-call-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999; align-items: center; justify-content: center; min-height: 48px; background: #1f2b7b; color: #fff; text-align: center; padding: 12px 16px; padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); font-weight: 700; font-size: clamp(14px, 3.8vw, 16px); text-decoration: none; box-shadow: 0 -4px 20px rgba(0,0,0,.15); }

.mobile-call-bar:hover { color: #fff; background: #006cff; }

@media (max-width: 991px) {
.mobile-call-bar { display: flex; }

body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}

.short_contact_list a { color: inherit; text-decoration: none; }

.short_contact_list a:hover { color: #006cff; }

/* Minimal mobile sticky call bar */
.mobile-call-bar {
  position: fixed;
  z-index: 99999;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  color: #ffffff;
  background: #02b615;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  font-size: clamp(14px, 3.8vw, 16px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-call-bar:hover {
  color: #ffffff;
  background: #029a12;
}

@media (max-width: 991px) {
body {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

.mobile-call-bar {
    display: flex;
  }
}

.site-footer {
  padding: 85px 0 28px;
  color: #ffffff;
  background: #17332c;
}

.footer-about > p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.58);
}

/* Sticky mobile call button: one shared green across every site. */
.mobile-call-bar, .mobile-call-banner { background: #02b615 !important; color: #ffffff !important; }

.mobile-call-bar:hover, .mobile-call-bar:focus, .mobile-call-banner:hover, .mobile-call-banner:focus { background: #029a12 !important; color: #ffffff !important; }

.mobile-call-bar span, .mobile-call-bar strong, .mobile-call-bar i, .mobile-call-bar svg,
.mobile-call-banner span, .mobile-call-banner strong, .mobile-call-banner i, .mobile-call-banner svg { color: #ffffff !important; }

.footer-brand .brand-logo {
  height: 36px;
  max-width: min(110px, 34vw);
}

@media (max-width: 1080px) {
.footer-brand .brand-logo {
    height: 32px;
    max-width: min(92px, 32vw);
  }
}

/* Site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--header-bar-border, rgba(16, 46, 68, 0.08));
  background: var(--header-bar-bg, rgba(255, 255, 255, 0.96));
  color: var(--header-bar-text, inherit);
  backdrop-filter: var(--header-bar-backdrop, blur(14px));
}

.site-header .brand-name,
.site-header .brand-copy strong,
.site-header .brand-text strong,
.site-header .primary-nav > a,
.site-header .main-nav > a,
.site-header .nav-menu > a,
.site-header .desktop-nav > a {
  color: var(--header-bar-link, inherit);
}

.site-header .brand-copy small,
.site-header .brand-text small {
  color: var(--header-bar-link-muted, inherit);
}

.site-header .menu-toggle {
  color: var(--header-bar-link, inherit);
}

.site-header .header-inner,
.site-header .nav-wrap,
.site-header .container.nav-wrap,
.header-inner.shell,
.header-inner.page-shell,
.page-shell.header-inner,
.shell.header-inner {
  width: min(var(--content-max, 2400px), calc(100% - 40px));
  max-width: none;
  min-height: 64px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: none;
  width: auto;
  margin-right: 0;
}

.logo-placeholder,
.brand-mark,
.logo-mark {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  padding: 0;
  box-shadow: none;
}

.brand-logo,
.brand .brand-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: min(120px, 38vw);
  flex: 0 0 auto;
  object-fit: contain;
  background: var(--header-logo-bg, transparent);
  border: 0;
  border-radius: var(--header-logo-radius, 0);
  padding: var(--header-logo-pad, 0);
  box-shadow: none;
  overflow: visible;
  box-sizing: content-box;
}

.footer-brand .brand-logo {
  height: 36px;
  max-width: min(110px, 34vw);
  background: var(--footer-logo-bg, var(--header-logo-bg, transparent));
  padding: var(--footer-logo-pad, var(--header-logo-pad, 0));
  border-radius: var(--footer-logo-radius, var(--header-logo-radius, 0));
}

.logo-placeholder svg,
.brand-mark svg,
.logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo-placeholder:has(svg) {
  font-size: 0;
  line-height: 0;
  color: transparent;
}

.brand-copy,
.brand-text {
  display: grid;
  line-height: 1.05;
  min-width: 0;
}

.brand-copy strong,
.brand-text strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-copy small,
.brand-text small {
  margin-top: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.footer-brand.brand,
.brand.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.primary-nav,
.main-nav,
.nav-menu,
.desktop-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 1.8vw, 24px);
  white-space: nowrap;
  margin-left: auto;
}

.primary-nav > a,
.main-nav > a,
.nav-menu > a,
.desktop-nav > a {
  position: relative;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.primary-nav > a:not(.nav-call)::after,
.main-nav > a:not(.nav-call)::after,
.nav-menu > a:not(.nav-call)::after,
.desktop-nav > a:not(.nav-call)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav > a:not(.nav-call):hover::after,
.primary-nav > a:not(.nav-call):focus-visible::after,
.primary-nav > a.active::after,
.main-nav > a:not(.nav-call):hover::after,
.main-nav > a:not(.nav-call):focus-visible::after,
.main-nav > a.active::after,
.nav-menu > a:not(.nav-call):hover::after,
.nav-menu > a:not(.nav-call):focus-visible::after,
.nav-menu > a.active::after,
.desktop-nav > a:not(.nav-call):hover::after,
.desktop-nav > a:not(.nav-call):focus-visible::after,
.desktop-nav > a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav .nav-call,
.main-nav .nav-call,
.nav-menu .nav-call,
.desktop-nav .nav-call {
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 800;
}

.primary-nav .nav-call::after,
.main-nav .nav-call::after,
.nav-menu .nav-call::after,
.desktop-nav .nav-call::after {
  display: none;
}

.header-phone,
.header-call,
.header-cta,
.header-quote {
  display: none !important;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav,
  .main-nav,
  .nav-menu,
  .desktop-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 18px 20px 24px;
    margin-left: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 180ms ease, visibility 180ms ease;
  }

  .primary-nav.open,
  .main-nav.open,
  .nav-menu.open,
  .desktop-nav.open {
    transform: translateY(0);
    visibility: visible;
  }

  .primary-nav > a,
  .main-nav > a,
  .nav-menu > a,
  .desktop-nav > a {
    padding: 15px 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    font-size: 1rem;
  }

  .primary-nav .nav-call,
  .main-nav .nav-call,
  .nav-menu .nav-call,
  .desktop-nav .nav-call {
    margin-top: 8px;
    width: fit-content;
  }

  .logo-placeholder,
  .brand-mark,
  .logo-mark {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }

  .brand-logo {
    height: 34px;
    max-width: min(100px, 34vw);
  }

  .footer-brand .brand-logo {
    height: 32px;
    max-width: min(92px, 32vw);
  }
}