/* LegalPractice360 R55 — enterprise product navigation refinement.
   Scoped CSS only; leaves global website header and other products unchanged. */
.lp54 .lp54-sectionnav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid #edf0f5;
  border-bottom: 1px solid #dfe5ee;
  box-shadow: 0 10px 30px rgba(15, 32, 56, .09);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  isolation: isolate;
}
.lp54 .lp54-sectionnav-inner {
  min-height: 78px;
  gap: 22px;
}
.lp54 .lp54-sectionnav-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 11px;
  color: #162840;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -.03em;
  text-decoration: none;
}
.lp54 .lp54-sectionnav-brand svg {
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(140deg, #13283f, #213e58);
  color: #f8d3e2;
  stroke-width: 1.9;
  box-shadow: 0 3px 9px rgba(11, 27, 48, .13);
}
.lp54 .lp54-sectionnav-links {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 3px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  padding: 5px;
  min-height: 51px;
  border: 1px solid #e5eaf1;
  border-radius: 14px;
  background: #f3f5f8;
}
.lp54 .lp54-sectionnav-links::-webkit-scrollbar { display: none; }
.lp54 .lp54-sectionnav-links a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 39px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #55677e;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  transition: background .17s ease, color .17s ease, box-shadow .17s ease;
}
.lp54 .lp54-sectionnav-links a:hover {
  color: #a62558;
  background: rgba(255,255,255,.84);
}
.lp54 .lp54-sectionnav-links a[aria-current="location"] {
  color: #a61f59;
  background: #fff;
  border-color: #ead5df;
  box-shadow: 0 2px 9px rgba(49, 26, 46, .08);
}
.lp54 .lp54-sectionnav-links a[aria-current="location"]::after {
  display: none;
}
.lp54 .lp54-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: none;
  min-height: 46px;
  padding: 10px 17px;
  border: 1px solid #c82c65;
  border-radius: 11px;
  background: #d52566;
  color: #fff!important;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -.005em;
  box-shadow: 0 6px 14px rgba(213,37,102,.14);
  transition: background .17s ease, box-shadow .17s ease, transform .17s ease;
}
.lp54 .lp54-nav-cta svg { width: 16px; height: 16px; }
.lp54 .lp54-nav-cta:hover {
  background: #b92058;
  box-shadow: 0 9px 18px rgba(213,37,102,.2);
  transform: translateY(-1px);
}
.lp54 .lp54-nav-cta:focus-visible,
.lp54 .lp54-sectionnav-links a:focus-visible,
.lp54 .lp54-sectionnav-brand:focus-visible {
  outline: 3px solid #e56c9c;
  outline-offset: 3px;
}
/* Keep anchor headings visible beneath the actual sticky bar. */
.lp54 section[id], .lp54 .lp54-section[id] {
  scroll-margin-top: 96px;
}
@media (max-width: 1200px) {
  .lp54 .lp54-sectionnav-inner { gap: 14px; }
  .lp54 .lp54-sectionnav-brand { font-size: 13px; gap: 8px; }
  .lp54 .lp54-sectionnav-brand svg { width: 36px; height: 36px; padding: 9px; }
  .lp54 .lp54-sectionnav-links a { padding-inline: 10px; font-size: 11px; }
}
@media (max-width: 980px) {
  .lp54 .lp54-sectionnav-brand { display: none; }
  .lp54 .lp54-sectionnav-inner { min-height: 70px; gap: 13px; }
  .lp54 .lp54-sectionnav-links {
    justify-content: flex-start;
    gap: 2px;
    min-height: 49px;
  }
  .lp54 .lp54-sectionnav-links a {
    min-height: 38px;
    padding: 9px 13px;
    font-size: 12px;
  }
  .lp54 .lp54-nav-cta { min-height: 44px; }
}
@media (max-width: 720px) {
  .lp54 .lp54-sectionnav { top: 0; }
  .lp54 .lp54-sectionnav-inner {
    width: calc(100% - 22px);
    min-height: 62px;
    gap: 10px;
  }
  .lp54 .lp54-sectionnav-links {
    min-height: 45px;
    border-radius: 11px;
    padding: 3px;
    scroll-snap-type: x proximity;
  }
  .lp54 .lp54-sectionnav-links a {
    min-height: 36px;
    padding: 9px 11px;
    font-size: 11px;
    scroll-snap-align: start;
  }
  .lp54 .lp54-nav-cta {
    min-height: 43px;
    padding: 9px 12px;
    border-radius: 10px;
    font-size: 11px;
  }
  .lp54 .lp54-nav-cta svg { display: none; }
  .lp54 section[id], .lp54 .lp54-section[id] { scroll-margin-top: 78px; }
}
@media (max-width: 380px) {
  .lp54 .lp54-sectionnav-inner { gap: 7px; }
  .lp54 .lp54-nav-cta { min-width: 88px; padding-inline: 9px; }
  .lp54 .lp54-sectionnav-links a { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp54 .lp54-sectionnav * {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}
