/* LawHub Exams 10.13.17 — Header Parity + Hero Slider Rebuild
   Canonical public shell for Home / Tests / Demo / Lawyers / Public Lawyer Profile.
   This layer intentionally loads last and neutralizes legacy home-only header overrides. */
:root{
  --lh17-navy:#182c49;
  --lh17-navy-2:#274668;
  --lh17-line:#e2e5ea;
  --lh17-soft:#edf1f5;
  --lh17-white:#fff;
  --lh17-muted:#aebdca;
}

/* ===== CANONICAL PUBLIC HEADER ===== */
body.lhp-public-page .lhp-site-header,
body.lhg-home-v139 .lhg-site-header.lhp-site-header,
body.lh137-directory-page .lh137-topbar.lhp-site-header{
  position:sticky!important;
  top:0!important;
  z-index:999!important;
  min-height:72px!important;
  background:var(--lh17-navy)!important;
  border:0!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 8px 24px rgba(14,31,49,.11)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.lhp-public-page .lhp-header-inner,
body.lhg-home-v139 .lhg-header-inner.lhp-header-inner,
body.lh137-directory-page .lh137-topbar-inner.lhp-header-inner{
  width:min(1360px,calc(100% - 48px))!important;
  min-height:72px!important;
  margin:0 auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:238px minmax(0,1fr) 238px!important;
  align-items:center!important;
  gap:28px!important;
}
body.lhp-public-page .lhp-brand,
body.lhg-home-v139 .lhg-brand.lhp-brand,
body.lh137-directory-page .lh137-brand.lhp-brand{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  gap:1px!important;
  margin:0!important;
  padding:0!important;
  justify-self:start!important;
  text-decoration:none!important;
}
body.lhp-public-page .lhp-brand strong,
body.lhg-home-v139 .lhg-brand.lhp-brand strong,
body.lh137-directory-page .lh137-brand.lhp-brand strong{
  color:#fff!important;
  font-size:21px!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:.105em!important;
}
body.lhp-public-page .lhp-brand span,
body.lhg-home-v139 .lhg-brand.lhp-brand span,
body.lh137-directory-page .lh137-brand.lhp-brand span{
  display:block!important;
  margin-top:4px!important;
  color:#aebdca!important;
  font-size:8px!important;
  line-height:1.15!important;
  font-weight:650!important;
  letter-spacing:.04em!important;
}
body.lhp-public-page .lhp-nav,
body.lhg-home-v139 .lhg-nav.lhp-nav,
body.lh137-directory-page .lh137-public-nav.lhp-nav{
  display:flex!important;
  align-items:stretch!important;
  justify-content:center!important;
  align-self:stretch!important;
  gap:30px!important;
  margin:0!important;
  padding:0!important;
}
body.lhp-public-page .lhp-nav a,
body.lhg-home-v139 .lhg-nav.lhp-nav a,
body.lh137-directory-page .lh137-public-nav.lhp-nav a{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:72px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  color:#b9c6d0!important;
  font-size:11px!important;
  line-height:1!important;
  font-weight:740!important;
  text-decoration:none!important;
  box-shadow:none!important;
}
body.lhp-public-page .lhp-nav a:after,
body.lhg-home-v139 .lhg-nav.lhp-nav a:after,
body.lh137-directory-page .lh137-public-nav.lhp-nav a:after{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  height:2px!important;
  border-radius:2px 2px 0 0!important;
  background:transparent!important;
}
body.lhp-public-page .lhp-nav a:hover,
body.lhp-public-page .lhp-nav a.is-active,
body.lhg-home-v139 .lhg-nav.lhp-nav a:hover,
body.lhg-home-v139 .lhg-nav.lhp-nav a.is-active,
body.lh137-directory-page .lh137-public-nav.lhp-nav a:hover,
body.lh137-directory-page .lh137-public-nav.lhp-nav a.is-active{color:#fff!important}
body.lhp-public-page .lhp-nav a.is-active:after,
body.lhg-home-v139 .lhg-nav.lhp-nav a.is-active:after,
body.lh137-directory-page .lh137-public-nav.lhp-nav a.is-active:after{background:#91a9bd!important}
body.lhp-public-page .lhp-auth-actions,
body.lhg-home-v139 .lhg-auth-actions.lhp-auth-actions,
body.lh137-directory-page .lh137-top-actions.lhp-auth-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  justify-self:end!important;
  gap:8px!important;
  margin:0!important;
  padding:0!important;
}
body.lhp-public-page .lhp-auth-actions a,
body.lhg-home-v139 .lhg-auth-actions.lhp-auth-actions a,
body.lh137-directory-page .lh137-top-actions.lhp-auth-actions a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:39px!important;
  padding:0 14px!important;
  border:1px solid #4a6078!important;
  border-radius:8px!important;
  background:transparent!important;
  color:#e5ebf0!important;
  font-size:10px!important;
  line-height:1!important;
  font-weight:780!important;
  text-decoration:none!important;
  box-shadow:none!important;
  transform:none!important;
}
body.lhp-public-page .lhp-auth-actions a:hover,
body.lhg-home-v139 .lhg-auth-actions.lhp-auth-actions a:hover,
body.lh137-directory-page .lh137-top-actions.lhp-auth-actions a:hover{
  background:#274668!important;border-color:#60758b!important;color:#fff!important;
}
body.lhp-public-page .lhp-auth-actions a.primary,
body.lhg-home-v139 .lhg-auth-actions.lhp-auth-actions a.primary,
body.lh137-directory-page .lh137-top-actions.lhp-auth-actions a.primary{
  padding:0 14px!important;
  background:#fff!important;
  border-color:#fff!important;
  color:var(--lh17-navy)!important;
}

/* same logo-only scroll state on every public route */
body.lhp-public-page .lhp-site-header.is-logo-only,
body.lhg-home-v139 .lhg-site-header.lhp-site-header.is-logo-only,
body.lh137-directory-page .lh137-topbar.lhp-site-header.is-logo-only{
  min-height:50px!important;
  background:rgba(24,44,73,.965)!important;
  box-shadow:0 7px 22px rgba(17,30,49,.13)!important;
  backdrop-filter:blur(16px)!important;
  -webkit-backdrop-filter:blur(16px)!important;
}
body.lhp-public-page .lhp-site-header.is-logo-only .lhp-header-inner,
body.lhg-home-v139 .lhg-site-header.lhp-site-header.is-logo-only .lhg-header-inner.lhp-header-inner,
body.lh137-directory-page .lh137-topbar.lhp-site-header.is-logo-only .lh137-topbar-inner.lhp-header-inner{
  width:100%!important;min-height:50px!important;grid-template-columns:1fr!important;justify-items:center!important;gap:0!important;
}
body.lhp-public-page .lhp-site-header.is-logo-only .lhp-brand,
body.lhg-home-v139 .lhg-site-header.lhp-site-header.is-logo-only .lhp-brand,
body.lh137-directory-page .lh137-topbar.lhp-site-header.is-logo-only .lhp-brand{justify-self:center!important;align-items:center!important}
body.lhp-public-page .lhp-site-header.is-logo-only .lhp-brand strong,
body.lhg-home-v139 .lhg-site-header.lhp-site-header.is-logo-only .lhp-brand strong,
body.lh137-directory-page .lh137-topbar.lhp-site-header.is-logo-only .lhp-brand strong{font-size:17px!important;letter-spacing:.14em!important}
body.lhp-public-page .lhp-site-header.is-logo-only .lhp-brand span,
body.lhg-home-v139 .lhg-site-header.lhp-site-header.is-logo-only .lhp-brand span,
body.lh137-directory-page .lh137-topbar.lhp-site-header.is-logo-only .lhp-brand span,
body.lhp-public-page .lhp-site-header.is-logo-only .lhp-nav,
body.lhp-public-page .lhp-site-header.is-logo-only .lhp-auth-actions,
body.lhp-public-page .lhp-site-header.is-logo-only .lh16-menu-toggle,
body.lhp-public-page .lhp-site-header.is-logo-only .lh16-mobile-menu,
body.lhg-home-v139 .lhg-site-header.lhp-site-header.is-logo-only .lhp-nav,
body.lhg-home-v139 .lhg-site-header.lhp-site-header.is-logo-only .lhp-auth-actions,
body.lhg-home-v139 .lhg-site-header.lhp-site-header.is-logo-only .lh16-menu-toggle,
body.lhg-home-v139 .lhg-site-header.lhp-site-header.is-logo-only .lh16-mobile-menu,
body.lh137-directory-page .lh137-topbar.lhp-site-header.is-logo-only .lhp-nav,
body.lh137-directory-page .lh137-topbar.lhp-site-header.is-logo-only .lhp-auth-actions,
body.lh137-directory-page .lh137-topbar.lhp-site-header.is-logo-only .lh16-menu-toggle,
body.lh137-directory-page .lh137-topbar.lhp-site-header.is-logo-only .lh16-mobile-menu{display:none!important}

/* ===== HOME HERO / SLIDER COMPOSITION ===== */
body.lhp-home-page .lh15-showcase{
  height:574px!important;
  border:1px solid #314b68!important;
  border-radius:16px!important;
  background:radial-gradient(circle at 92% 8%,rgba(100,142,177,.17),transparent 31%),linear-gradient(135deg,#182c49 0%,#203a58 65%,#294a68 100%)!important;
  box-shadow:0 22px 56px rgba(18,42,66,.14)!important;
}
body.lhp-home-page .lh15-slide.lhg-showcase-slide{
  grid-template-columns:minmax(0,1.02fr) minmax(410px,.98fr)!important;
  gap:54px!important;
  padding:48px 52px 72px!important;
  align-items:center!important;
}
body.lhp-home-page .lh15-slide-copy{max-width:670px!important;align-self:center!important}
body.lhp-home-page .lh15-slide-copy h1{
  max-width:640px!important;
  margin:14px 0 15px!important;
  font-size:clamp(42px,4vw,58px)!important;
  line-height:1.025!important;
  letter-spacing:-.048em!important;
}
body.lhp-home-page .lh15-slide-copy>p{max-width:610px!important;font-size:12.5px!important;line-height:1.72!important}
body.lhp-home-page .lh15-actions{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin:22px 0 18px!important;
}
body.lhp-home-page .lh15-actions a,
body.lhp-home-page .lh15-actions button{
  min-width:166px!important;
  min-height:44px!important;
  padding:0 18px!important;
  border:1px solid rgba(206,219,229,.34)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.035)!important;
  color:#eef3f7!important;
  font-size:9.7px!important;
  font-weight:800!important;
  letter-spacing:.005em!important;
  box-shadow:none!important;
}
body.lhp-home-page .lh15-actions .is-primary{
  background:#fff!important;border-color:#fff!important;color:#182c49!important;
}
body.lhp-home-page .lh15-actions a:hover,
body.lhp-home-page .lh15-actions button:hover{background:rgba(255,255,255,.09)!important;border-color:rgba(255,255,255,.55)!important;transform:translateY(-1px)!important}
body.lhp-home-page .lh15-actions .is-primary:hover{background:#f3f6f8!important;border-color:#f3f6f8!important}
body.lhp-home-page .lh15-slide-points{margin:0!important;border-top:1px solid rgba(255,255,255,.10)!important}
body.lhp-home-page .lh15-slide-points li{min-height:49px!important}
body.lhp-home-page .lh15-visual{border-radius:14px!important;box-shadow:0 30px 70px rgba(8,20,35,.20)!important}

/* Dedicated slider navigation rail: no CTA buttons mixed into the rail. */
body.lhp-home-page .lh15-slider-bar{
  left:52px!important;right:52px!important;bottom:17px!important;
  min-height:40px!important;padding-top:10px!important;
  display:grid!important;grid-template-columns:1fr auto 1fr!important;align-items:center!important;gap:18px!important;
  border-top:1px solid rgba(255,255,255,.10)!important;
}
body.lhp-home-page .lh15-slider-dots{display:flex!important;align-items:center!important;gap:7px!important}
body.lhp-home-page .lh15-slider-dots button{
  width:8px!important;height:8px!important;padding:0!important;border:0!important;border-radius:999px!important;background:rgba(255,255,255,.22)!important;overflow:hidden!important;transition:.2s ease!important;
}
body.lhp-home-page .lh15-slider-dots button.is-active{width:28px!important;background:#fff!important}
body.lhp-home-page .lh15-slider-dots button i{display:none!important}
body.lhp-home-page .lh15-slider-count{color:#aebdca!important;font-size:8px!important;font-weight:800!important;letter-spacing:.08em!important}
body.lhp-home-page .lh15-slider-count span{color:#fff!important}
body.lhp-home-page .lh15-slider-arrows{display:flex!important;justify-self:end!important;gap:7px!important}
body.lhp-home-page .lh15-slider-arrows button{
  width:36px!important;height:36px!important;padding:0!important;border:1px solid rgba(255,255,255,.20)!important;border-radius:8px!important;background:rgba(255,255,255,.035)!important;color:#e8eef3!important;font-size:16px!important;box-shadow:none!important;
}
body.lhp-home-page .lh15-slider-arrows button:hover{background:#fff!important;border-color:#fff!important;color:#182c49!important}

/* ===== TABLET / MOBILE: same header geometry everywhere ===== */
@media(max-width:980px){
  body.lhp-public-page .lhp-header-inner,
  body.lhg-home-v139 .lhg-header-inner.lhp-header-inner,
  body.lh137-directory-page .lh137-topbar-inner.lhp-header-inner{
    width:min(100% - 28px,1360px)!important;
    min-height:68px!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:12px!important;
  }
  body.lhp-public-page .lhp-site-header,
  body.lhg-home-v139 .lhg-site-header.lhp-site-header,
  body.lh137-directory-page .lh137-topbar.lhp-site-header{min-height:68px!important}
  body.lhp-public-page .lhp-nav,body.lhp-public-page .lhp-auth-actions,
  body.lhg-home-v139 .lhg-nav.lhp-nav,body.lhg-home-v139 .lhg-auth-actions.lhp-auth-actions,
  body.lh137-directory-page .lh137-public-nav.lhp-nav,body.lh137-directory-page .lh137-top-actions.lhp-auth-actions{display:none!important}
  body.lhp-public-page .lh16-menu-toggle,body.lhg-home-v139 .lh16-menu-toggle,body.lh137-directory-page .lh16-menu-toggle{display:flex!important;justify-self:end!important}
  body.lhp-home-page .lh15-showcase{height:676px!important}
  body.lhp-home-page .lh15-slide.lhg-showcase-slide{grid-template-columns:1fr!important;grid-template-rows:auto 1fr!important;gap:20px!important;padding:34px 30px 62px!important}
  body.lhp-home-page .lh15-actions{margin:18px 0 16px!important}
  body.lhp-home-page .lh15-slider-bar{left:30px!important;right:30px!important}
}
@media(max-width:680px){
  body.lhp-public-page .lhp-site-header,
  body.lhg-home-v139 .lhg-site-header.lhp-site-header,
  body.lh137-directory-page .lh137-topbar.lhp-site-header{min-height:62px!important}
  body.lhp-public-page .lhp-header-inner,
  body.lhg-home-v139 .lhg-header-inner.lhp-header-inner,
  body.lh137-directory-page .lh137-topbar-inner.lhp-header-inner{
    width:calc(100% - 20px)!important;min-height:62px!important;grid-template-columns:1fr auto!important;gap:10px!important;
  }
  body.lhp-public-page .lhp-brand strong,
  body.lhg-home-v139 .lhg-brand.lhp-brand strong,
  body.lh137-directory-page .lh137-brand.lhp-brand strong{font-size:18px!important}
  body.lhp-public-page .lhp-brand span,
  body.lhg-home-v139 .lhg-brand.lhp-brand span,
  body.lh137-directory-page .lh137-brand.lhp-brand span{display:none!important}
  body.lhp-home-page .lh15-showcase{height:596px!important;border-radius:13px!important}
  body.lhp-home-page .lh15-slide.lhg-showcase-slide{display:block!important;padding:28px 20px 60px!important}
  body.lhp-home-page .lh15-slide-copy h1{font-size:32px!important;line-height:1.05!important}
  body.lhp-home-page .lh15-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:16px 0 14px!important}
  body.lhp-home-page .lh15-actions a,body.lhp-home-page .lh15-actions button{min-width:0!important;width:100%!important;min-height:40px!important;padding:0 10px!important;font-size:8px!important}
  body.lhp-home-page .lh15-slide-points li{min-height:43px!important}
  body.lhp-home-page .lh15-slider-bar{left:20px!important;right:20px!important;bottom:12px!important}
  body.lhp-home-page .lh15-slider-arrows button{width:32px!important;height:32px!important}
}
@media(max-width:390px){
  body.lhp-home-page .lh15-showcase{height:625px!important}
  body.lhp-home-page .lh15-actions{grid-template-columns:1fr!important}
}
