/* LawHub Exams 10.13.13 — Unified Public System
   One public visual language for Home, Tests, Lawyers and Public Lawyer Profile.
   Refines 10.13.12 without changing public functionality. */

:root{
  --lh13-navy:#182c49;
  --lh13-navy-2:#223d5d;
  --lh13-blue:#315b7d;
  --lh13-blue-soft:#eaf0f5;
  --lh13-teal:#4f8580;
  --lh13-teal-soft:#edf5f4;
  --lh13-ink:#17212c;
  --lh13-copy:#596878;
  --lh13-muted:#7d8995;
  --lh13-bg:#f5f7f9;
  --lh13-paper:#fff;
  --lh13-soft:#f9fafb;
  --lh13-line:#dde4ea;
  --lh13-line-2:#ccd6df;
  --lh13-radius:12px;
  --lh13-radius-sm:8px;
  --lh13-shadow:0 10px 30px rgba(18,42,66,.055);
  --lh13-shadow-lg:0 24px 64px rgba(18,42,66,.12);
}

body.lhp-public-page{
  background:linear-gradient(180deg,#fafbfd 0,#f5f7f9 260px,#f5f7f9 100%)!important;
  color:var(--lh13-ink)!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* Shared shell */
.lhp-site-header,
body.lh137-directory-page .lh137-topbar{
  min-height:72px!important;
  background:rgba(24,44,73,.985)!important;
  border-bottom:1px solid rgba(255,255,255,.09)!important;
  box-shadow:0 10px 30px rgba(17,35,56,.10)!important;
  backdrop-filter:saturate(130%) blur(12px);
}
.lhp-header-inner,
body.lh137-directory-page .lh137-topbar-inner{
  width:min(1360px,calc(100% - 48px))!important;
  min-height:72px!important;
  grid-template-columns:238px minmax(0,1fr) 238px!important;
  gap:28px!important;
}
.lhp-brand strong,.lh137-brand strong{
  font-size:21px!important;
  font-weight:900!important;
  letter-spacing:.11em!important;
}
.lhp-brand span,.lh137-brand span{
  margin-top:4px!important;
  color:#aebbc8!important;
  font-size:8px!important;
  letter-spacing:.045em!important;
}
.lhp-nav,.lh137-public-nav{gap:31px!important}
.lhp-nav a,.lh137-public-nav a{
  position:relative;
  min-height:72px!important;
  display:inline-flex!important;
  align-items:center!important;
  color:#b8c4cf!important;
  font-size:11px!important;
  font-weight:730!important;
  letter-spacing:.01em!important;
}
.lhp-nav a:hover,.lhp-nav a.is-active,.lh137-public-nav a:hover,.lh137-public-nav a.is-active{color:#fff!important}
.lhp-nav a.is-active:after,.lh137-public-nav a.is-active:after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:2px!important;
  background:#8ca7bd!important;
  border-radius:2px 2px 0 0;
}
.lhp-auth-actions,.lh137-top-actions{gap:8px!important}
.lhp-auth-actions a,.lh137-top-actions a{
  min-height:39px!important;
  padding:0 14px!important;
  border-radius:8px!important;
  border:1px solid transparent!important;
  color:#dfe6ec!important;
  font-size:10px!important;
  font-weight:780!important;
}
.lhp-auth-actions a:hover,.lh137-top-actions a:hover{background:#223d5d!important;border-color:#3f5873!important}
.lhp-auth-actions a.primary,.lh137-top-actions a.primary{
  background:#fff!important;
  border-color:#fff!important;
  color:var(--lh13-navy)!important;
  box-shadow:0 5px 15px rgba(0,0,0,.10)!important;
}
.lhp-auth-actions a.primary:hover,.lh137-top-actions a.primary:hover{background:#f0f4f7!important;border-color:#f0f4f7!important}

body.lhp-guest-page .lhg-wrap,
body.lh137-directory-page .lh137-wrap,
.lhp-profile-page .lh-public-wrap,
.lhp-footer,
body.lh137-directory-page .lh137-footer{
  width:min(1360px,calc(100% - 48px))!important;
}
.lhp-footer,body.lh137-directory-page .lh137-footer{
  padding:20px 0!important;
  border-top:1px solid var(--lh13-line)!important;
  color:#7c8792!important;
  font-size:9px!important;
}

/* Common section language */
.lhp-home-page .lhg136-section-head>span,
.lhp-section-heading>div>span,
.lh137-results-head small,
.lh137-search-heading small,
.lhp-profile-page .lh-public-section-title small{
  color:#6b859c!important;
  font-size:8px!important;
  font-weight:850!important;
  letter-spacing:.11em!important;
  text-transform:uppercase!important;
}
.lhp-home-page .lhg136-section-head h2,
.lhp-section-heading h2,
.lh137-results-head h2,
.lhp-profile-page .lh-public-section-title h2{
  color:#1a3148!important;
  font-weight:760!important;
  letter-spacing:-.035em!important;
}

/* Home hero — same product identity, quieter and more premium */
.lhp-home-page .lhg136-hero{
  min-height:525px!important;
  grid-template-columns:minmax(0,1.04fr) minmax(490px,.96fr)!important;
  gap:58px!important;
  padding:58px 60px!important;
  border:1px solid #314b68!important;
  border-radius:14px!important;
  background:
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px) 0 0/64px 64px,
    radial-gradient(circle at 90% 9%,rgba(91,130,166,.18),transparent 30%),
    linear-gradient(135deg,#182c49 0%,#203b5a 66%,#294b69 100%)!important;
  box-shadow:0 24px 62px rgba(18,42,66,.15)!important;
}
.lhp-home-page .lhg136-hero:before{left:60px!important;width:72px!important;height:3px!important;background:#88a4ba!important}
.lhp-home-page .lhg136-eyebrow{color:#b8c9d6!important;font-size:9px!important;letter-spacing:.11em!important}
.lhp-home-page .lhg136-hero h1{
  margin:16px 0 18px!important;
  max-width:720px!important;
  color:#fff!important;
  font-size:clamp(44px,4.35vw,62px)!important;
  font-weight:770!important;
  line-height:1.04!important;
  letter-spacing:-.04em!important;
}
.lhp-home-page .lhg136-hero h1 em{color:#cfdae4!important;font-weight:600!important}
.lhp-home-page .lhg136-hero-copy>p{max-width:620px!important;color:#c3ced8!important;font-size:13.5px!important;line-height:1.76!important}
.lhp-home-page .lhg136-actions{gap:9px!important;margin-top:27px!important}
.lhp-home-page .lhg136-actions a{
  min-height:43px!important;
  padding:0 18px!important;
  border:1px solid #587088!important;
  border-radius:8px!important;
  color:#eef3f7!important;
  font-size:10px!important;
  font-weight:790!important;
}
.lhp-home-page .lhg136-actions a:hover{background:#294764!important;border-color:#71879b!important}
.lhp-home-page .lhg136-actions a.is-primary{background:#fff!important;border-color:#fff!important;color:#182c49!important;box-shadow:0 8px 22px rgba(0,0,0,.11)!important}
.lhp-home-page .lhg136-trust{margin-top:25px!important;color:#adbdca!important;font-size:9px!important}

.lhp-home-page .lhg136-product{
  border:1px solid #ced7df!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 28px 66px rgba(7,19,33,.25)!important;
  overflow:hidden!important;
}
.lhp-home-page .lhg136-product-top{height:49px!important;background:#f7f9fa!important;border-bottom:1px solid #e1e6ea!important}
.lhp-home-page .lhg136-product-body{grid-template-columns:94px 1fr!important;min-height:370px!important}
.lhp-home-page .lhg136-product-side{background:#f7f9fb!important;border-right:1px solid #e2e7eb!important}
.lhp-home-page .lhg136-product-side span{border-radius:7px!important}
.lhp-home-page .lhg136-product-side span.is-on{background:#e8eef3!important;color:#254968!important}
.lhp-home-page .lhg136-question{padding:25px 27px 22px!important}
.lhp-home-page .lhg136-options span{border-radius:8px!important;background:#fbfcfd!important;border-color:#dfe5ea!important}
.lhp-home-page .lhg136-options span:first-child{background:#f0f6f5!important;border-color:#bcd4d1!important}

/* Compact public capability strip */
.lhp-home-page .lhg136-proof{
  margin-top:18px!important;
  border:1px solid var(--lh13-line)!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:var(--lh13-shadow)!important;
}
.lhp-home-page .lhg136-proof article{min-height:104px!important;padding:19px 21px!important;border-right:1px solid var(--lh13-line)!important}
.lhp-home-page .lhg136-proof b{color:#263c52!important}
.lhp-home-page .lhg136-proof span{color:#3e6687!important;font-size:11px!important;font-weight:780!important}
.lhp-home-page .lhg136-proof p{color:#78838e!important;line-height:1.55!important}

.lhp-home-page .lhg136-newsline{
  margin-top:16px!important;
  min-height:48px!important;
  border:1px solid var(--lh13-line)!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(18,42,66,.035)!important;
}
.lhp-home-page .lhg136-newsline>span{background:#edf2f6!important;color:#315b7d!important;border-right-color:#dce4ea!important}

/* Main public function on the homepage: lawyer directory */
.lhp-home-lawyers-feature{
  display:grid;
  grid-template-columns:minmax(330px,.78fr) minmax(0,1.22fr);
  gap:0;
  margin-top:24px;
  border:1px solid #d8e1e8;
  border-radius:14px;
  background:#fff;
  box-shadow:0 16px 42px rgba(18,42,66,.065);
  overflow:hidden;
}
.lhp-home-lawyers-intro{
  position:relative;
  padding:42px 40px;
  background:
    radial-gradient(circle at 12% 5%,rgba(105,142,173,.15),transparent 30%),
    linear-gradient(145deg,#182c49,#223f5f 72%,#294c6c);
  color:#fff;
}
.lhp-home-lawyers-intro:after{
  content:"";
  position:absolute;
  left:40px;top:0;
  width:60px;height:3px;
  background:#87a6bc;
}
.lhp-home-lawyers-kicker{display:block;color:#abc0d0;font-size:8px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}
.lhp-home-lawyers-intro h2{max-width:480px;margin:13px 0 14px;color:#fff;font-size:37px;font-weight:760;line-height:1.08;letter-spacing:-.04em}
.lhp-home-lawyers-intro h2 em{color:#cedae3;font-style:normal;font-weight:590}
.lhp-home-lawyers-intro>p{max-width:510px;margin:0;color:#bdcad4;font-size:11.5px;line-height:1.72}
.lhp-home-lawyer-search{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:24px}
.lhp-home-lawyer-search label{display:flex;align-items:center;gap:8px;min-width:0;height:44px;padding:0 12px;border:1px solid #506b83;border-radius:8px;background:rgba(255,255,255,.075)}
.lhp-home-lawyer-search label:focus-within{border-color:#91a9bb;background:rgba(255,255,255,.10)}
.lhp-home-lawyer-search svg{width:16px;height:16px;fill:none;stroke:#aebfcb;stroke-width:1.8}
.lhp-home-lawyer-search input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:#fff!important;font:inherit;font-size:10px!important;box-shadow:none!important}
.lhp-home-lawyer-search input::placeholder{color:#9fb0be}
.lhp-home-lawyer-search button{height:44px;padding:0 16px;border:0;border-radius:8px;background:#fff;color:#182c49;font-size:9.5px;font-weight:820;cursor:pointer}
.lhp-home-lawyer-search button:hover{background:#edf2f6}
.lhp-home-lawyer-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:21px;border:1px solid #48637c;border-radius:8px;overflow:hidden;background:#48637c}
.lhp-home-lawyer-meta span{display:flex;flex-direction:column;justify-content:center;min-height:62px;padding:10px 12px;background:#203a58}
.lhp-home-lawyer-meta strong{color:#fff;font-size:19px;line-height:1}
.lhp-home-lawyer-meta small{margin-top:5px;color:#aebdca;font-size:7.5px;font-weight:700}
.lhp-home-lawyer-directory-link{display:inline-flex;align-items:center;gap:9px;margin-top:20px;color:#e4ebf0!important;font-size:9.5px;font-weight:760;text-decoration:none!important}
.lhp-home-lawyer-directory-link b{color:#91aabd;font-size:14px}

.lhp-home-lawyer-preview{padding:29px 30px 30px;background:linear-gradient(180deg,#fff,#fbfcfd)}
.lhp-home-lawyer-preview>header{display:flex;align-items:center;justify-content:space-between;gap:14px;padding-bottom:14px;border-bottom:1px solid #e5e9ed}
.lhp-home-lawyer-preview>header span{color:#334f68;font-size:9px;font-weight:820;letter-spacing:.035em}
.lhp-home-lawyer-preview>header a{color:#54758f!important;font-size:8.5px;font-weight:750;text-decoration:none!important}
.lhp-home-lawyer-cards{display:grid;gap:0}
.lhp-home-lawyer-card{
  display:grid;
  grid-template-columns:74px minmax(0,1fr) 26px;
  align-items:center;
  gap:14px;
  min-height:118px;
  padding:17px 3px;
  border-bottom:1px solid #e7ebee;
  color:inherit!important;
  text-decoration:none!important;
  transition:background .15s ease,padding .15s ease;
}
.lhp-home-lawyer-card:last-child{border-bottom:0}
.lhp-home-lawyer-card:hover{padding-left:9px;padding-right:9px;background:#f7f9fb}
.lhp-home-lawyer-card img{width:74px;height:74px;object-fit:cover;border:1px solid #d5dde4;border-radius:9px;background:#eef2f5}
.lhp-home-lawyer-card small{display:block;color:#71899c;font-size:7.5px;font-weight:820;letter-spacing:.04em;text-transform:uppercase}
.lhp-home-lawyer-card h3{margin:4px 0 3px;color:#19324a;font-size:16px;font-weight:770;letter-spacing:-.025em}
.lhp-home-lawyer-card p{margin:0;color:#657788;font-size:9.5px;font-weight:650}
.lhp-home-lawyer-card div div{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.lhp-home-lawyer-card div div span{padding:4px 7px;border:1px solid #dfe5e9;border-radius:6px;background:#f7f9fa;color:#5d7488;font-size:7px;font-weight:700}
.lhp-home-lawyer-card>b{display:grid;place-items:center;width:26px;height:26px;border:1px solid #dce3e8;border-radius:7px;color:#55758f;font-size:12px}
.lhp-home-lawyer-card:hover>b{background:#182c49;border-color:#182c49;color:#fff}
.lhp-home-lawyer-empty{padding:28px 4px}.lhp-home-lawyer-empty strong{color:#1c354d}.lhp-home-lawyer-empty p{color:#71808d;font-size:10px}.lhp-home-lawyer-empty a{color:#315b7d!important;font-size:9px;font-weight:760}

/* Remaining home sections — one density and one card vocabulary */
.lhp-home-page .lhg136-paths,.lhp-home-page .lhg136-demos,.lhp-home-page .lhg136-community{padding-top:62px!important}
.lhp-home-page .lhg136-path-list{gap:12px!important}
.lhp-home-page .lhg136-path-list>a,.lhp-home-page .lhg136-path-list>button{
  border:1px solid var(--lh13-line)!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 8px 26px rgba(18,42,66,.035)!important;
}
.lhp-home-page .lhg136-path-list>a:hover,.lhp-home-page .lhg136-path-list>button:hover{border-color:#c4d0da!important;box-shadow:0 15px 34px rgba(18,42,66,.07)!important}
.lhp-home-page .lhg136-demo-list{border:1px solid var(--lh13-line)!important;border-radius:11px!important;background:#fff!important;box-shadow:var(--lh13-shadow)!important;overflow:hidden!important}
.lhp-home-page .lhg136-demo-list>a{background:#fff!important}
.lhp-home-page .lhg136-demo-list>a:hover{background:#f7f9fb!important}
.lhp-home-page .lhg136-dark{
  border:1px solid #314a67!important;
  border-radius:13px!important;
  background:linear-gradient(145deg,#182c49,#203b5a)!important;
  box-shadow:0 20px 52px rgba(18,42,66,.12)!important;
}
.lhp-home-page .lhg136-dark-grid article{background:rgba(255,255,255,.035)!important;border-color:#40576f!important;border-radius:9px!important}
.lhp-home-page .lhg136-community-grid article{border:1px solid var(--lh13-line)!important;border-radius:11px!important;background:#fff!important;box-shadow:0 9px 28px rgba(18,42,66,.035)!important}
.lhp-home-page .lhg136-final{border-radius:12px!important;border:1px solid #d6e0e7!important;background:linear-gradient(125deg,#edf3f7,#f8fafb)!important;box-shadow:0 14px 40px rgba(18,42,66,.05)!important}

/* Tests: catalog feels like the same product, not a separate microsite */
.lhp-tests-page .lhg-wrap{margin-top:28px!important}
.lhp-tests-hero{
  padding:48px 52px!important;
  border:1px solid #314b68!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#182c49,#203b5a 68%,#294b69)!important;
  box-shadow:0 22px 56px rgba(18,42,66,.13)!important;
}
.lhp-tests-hero h1{color:#fff!important;font-size:47px!important;font-weight:770!important;letter-spacing:-.04em!important}
.lhp-tests-hero h1 em{color:#cfdae4!important;font-weight:600!important}
.lhp-tests-hero-copy>p{color:#c3ced8!important;line-height:1.72!important}
.lhp-tests-hero-actions a{min-height:42px!important;border-radius:8px!important;border-color:#577087!important;color:#edf3f7!important}
.lhp-tests-hero-actions a.is-primary{background:#fff!important;border-color:#fff!important;color:#182c49!important}
.lhp-tests-overview{border:1px solid #d2dbe2!important;border-radius:11px!important;background:#fff!important;box-shadow:0 22px 52px rgba(5,16,30,.20)!important}
.lhp-tests-metrics>div{background:#fff!important}
.lhp-tests-value-strip{margin-top:16px!important;border:1px solid var(--lh13-line)!important;border-radius:11px!important;background:#fff!important;box-shadow:var(--lh13-shadow)!important}
.lhp-tests-value-strip article{border-color:var(--lh13-line)!important}
.lhp-tests-section{padding-top:58px!important}
.lhp-demo-test-card,.lhp-catalog-card,.lhp-test-toolbar,.lhp-tests-account{
  border-color:var(--lh13-line)!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 9px 28px rgba(18,42,66,.04)!important;
}
.lhp-demo-test-card:hover,.lhp-catalog-card:hover{border-color:#c3d0da!important;box-shadow:0 15px 34px rgba(18,42,66,.075)!important}
.lhp-test-filters button{border-radius:7px!important;background:#f7f9fb!important;border-color:#dce3e8!important;color:#60758a!important}
.lhp-test-filters button.is-active{background:#182c49!important;border-color:#182c49!important;color:#fff!important}
.lhp-test-search{border-radius:8px!important;background:#f9fafb!important;border-color:#dce3e8!important}
.lhp-tests-account{background:linear-gradient(135deg,#182c49,#223f5e)!important;border-color:#314b68!important;color:#fff!important}
.lhp-tests-account h2{color:#fff!important}.lhp-tests-account p,.lhp-tests-account li{color:#bdcad5!important}.lhp-tests-account>a{border-radius:8px!important;background:#fff!important;color:#182c49!important}

/* Lawyers directory: cleaner professional directory, same public shell */
body.lh137-directory-page{background:linear-gradient(180deg,#fafbfd 0,#f5f7f9 300px,#f5f7f9 100%)!important}
body.lh137-directory-page .lh137-wrap{margin-top:28px!important}
.lh137-directory-hero{
  padding:46px 50px!important;
  border:1px solid #314b68!important;
  border-radius:14px!important;
  background:linear-gradient(135deg,#182c49,#203b5a 68%,#294b69)!important;
  box-shadow:0 22px 56px rgba(18,42,66,.13)!important;
}
.lh137-directory-hero:before{opacity:.12!important}
.lh137-eyebrow{color:#b5c8d7!important}.lh137-hero-copy h1{color:#fff!important;font-size:47px!important;font-weight:770!important;letter-spacing:-.04em!important}.lh137-hero-copy h1 em{color:#cedae4!important;font-weight:600!important}.lh137-hero-copy>p{color:#c2cdd7!important;line-height:1.72!important}
.lh137-hero-features span{border-color:#4f6880!important;background:rgba(255,255,255,.055)!important;color:#d5e0e8!important;border-radius:7px!important}
.lh137-hero-panel{border:1px solid #d1dae1!important;border-radius:11px!important;background:#fff!important;box-shadow:0 22px 52px rgba(5,16,30,.20)!important}
.lh137-panel-head{border-bottom-color:#e4e8ec!important}.lh137-panel-head span{color:#36536d!important}.lh137-panel-stats{border-bottom-color:#e4e8ec!important}.lh137-panel-stats div{border-right-color:#e4e8ec!important}.lh137-panel-stats strong{color:#19334b!important}.lh137-panel-search-preview{background:#f7f9fb!important;border-color:#e0e5e9!important;border-radius:8px!important}
.lh137-search-shell{margin-top:15px!important;padding:18px 20px!important;border:1px solid var(--lh13-line)!important;border-radius:11px!important;background:#fff!important;box-shadow:var(--lh13-shadow)!important}
.lh137-filters select,.lh137-search-field>div{border-color:#dbe2e7!important;border-radius:8px!important;background:#f9fafb!important}
.lh137-search-button{border-radius:8px!important;background:#182c49!important;box-shadow:none!important}.lh137-search-button:hover{background:#294b69!important}
.lh137-directory-layout{grid-template-columns:minmax(0,1fr) 300px!important;gap:16px!important;margin-top:22px!important}
body.lh137-directory-page .lh137-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.lh137-directory-page .lh137-lawyer-card{
  min-height:274px!important;
  padding:20px!important;
  border:1px solid var(--lh13-line)!important;
  border-radius:11px!important;
  background:#fff!important;
  box-shadow:0 9px 28px rgba(18,42,66,.04)!important;
}
body.lh137-directory-page .lh137-lawyer-card:before{width:3px!important;background:#315b7d!important}
body.lh137-directory-page .lh137-lawyer-card:hover{transform:translateY(-2px)!important;border-color:#c4d0da!important;box-shadow:0 16px 36px rgba(18,42,66,.075)!important}
.lh137-avatar{border-radius:9px!important}.lh137-card-arrow{border-radius:7px!important}.lh137-chips span{border-radius:6px!important}
.lh137-guide-card{border:1px solid #314b68!important;border-radius:11px!important;background:linear-gradient(145deg,#182c49,#223f5e)!important;box-shadow:0 15px 38px rgba(18,42,66,.10)!important}
.lh137-quick-card{border:1px solid var(--lh13-line)!important;border-radius:11px!important;background:#fff!important;box-shadow:0 8px 24px rgba(18,42,66,.035)!important}
.lh137-city-links a{border-radius:6px!important}

/* Public lawyer profile */
.lhp-profile-page .lh-public-wrap{margin-top:26px!important}
.lhp-profile-page .lh-public-hero{
  padding:30px!important;
  border:1px solid var(--lh13-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:var(--lh13-shadow)!important;
}
.lhp-profile-page .lh-public-hero:before{background:#315b7d!important}
.lhp-profile-page .lh-public-avatar{border-radius:9px!important}
.lhp-profile-page .lh-public-btn{border-radius:8px!important}
.lhp-profile-page .lh-public-btn.primary{background:#182c49!important;border-color:#182c49!important}
.lhp-profile-page .lh-public-card{border:1px solid var(--lh13-line)!important;border-radius:11px!important;background:#fff!important;box-shadow:0 9px 28px rgba(18,42,66,.04)!important}
.lhp-profile-page .lh-public-cta-card{border-radius:11px!important;background:linear-gradient(145deg,#182c49,#223f5e)!important;box-shadow:0 16px 40px rgba(18,42,66,.11)!important}

/* Demo and modal consistency */
.lhp-demo-page .lhg-demo-shell,.lhp-demo-page .lhg-demo-app{border-radius:11px!important}
.lhp-public-page .lhg-auth-modal>section{border-radius:11px!important;border-color:#dce3e8!important}
.lhp-public-page .lhg-auth-mark{border-radius:8px!important;background:#182c49!important}
.lhp-public-page .lhg-auth-modal section>div a{border-radius:8px!important}

@media(max-width:1100px){
  .lhp-header-inner,body.lh137-directory-page .lh137-topbar-inner,body.lhp-guest-page .lhg-wrap,body.lh137-directory-page .lh137-wrap,.lhp-profile-page .lh-public-wrap,.lhp-footer,body.lh137-directory-page .lh137-footer{width:min(100% - 36px,1360px)!important}
  .lhp-home-page .lhg136-hero{grid-template-columns:1fr 440px!important;padding:48px!important;gap:40px!important}.lhp-home-page .lhg136-hero:before{left:48px!important}.lhp-home-page .lhg136-hero h1{font-size:50px!important}
  .lhp-home-lawyers-feature{grid-template-columns:minmax(310px,.8fr) minmax(0,1.2fr)}.lhp-home-lawyers-intro{padding:36px 32px}.lhp-home-lawyers-intro:after{left:32px}.lhp-home-lawyers-intro h2{font-size:33px}
  .lh137-directory-hero{grid-template-columns:1fr 350px!important;padding:40px!important}.lh137-directory-layout{grid-template-columns:minmax(0,1fr) 270px!important}
}

@media(max-width:900px){
  .lhp-home-page .lhg136-hero{grid-template-columns:1fr!important}.lhp-home-page .lhg136-product{max-width:720px!important}
  .lhp-home-lawyers-feature{grid-template-columns:1fr}.lhp-home-lawyers-intro{padding:34px}.lhp-home-lawyers-intro:after{left:34px}.lhp-home-lawyer-preview{padding:24px 28px}
  .lh137-directory-hero{grid-template-columns:1fr!important}.lh137-hero-panel{max-width:650px!important}.lh137-directory-layout{grid-template-columns:1fr!important}.lh137-directory-aside{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}.lh137-guide-card{grid-row:span 2}
}

@media(max-width:680px){
  .lhp-header-inner,body.lh137-directory-page .lh137-topbar-inner,body.lhp-guest-page .lhg-wrap,body.lh137-directory-page .lh137-wrap,.lhp-profile-page .lh-public-wrap,.lhp-footer,body.lh137-directory-page .lh137-footer{width:calc(100% - 24px)!important}
  .lhp-site-header,body.lh137-directory-page .lh137-topbar{min-height:62px!important}.lhp-header-inner,body.lh137-directory-page .lh137-topbar-inner{min-height:62px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important}.lhp-nav,.lh137-public-nav{display:none!important}.lhp-brand strong,.lh137-brand strong{font-size:18px!important}.lhp-brand span,.lh137-brand span{font-size:7px!important}.lhp-auth-actions a,.lh137-top-actions a{min-height:35px!important;padding:0 9px!important;font-size:8px!important}
  body.lhp-guest-page .lhg-wrap,body.lh137-directory-page .lh137-wrap{margin-top:14px!important}
  .lhp-home-page .lhg136-hero{padding:28px 21px 22px!important;border-radius:11px!important;gap:25px!important}.lhp-home-page .lhg136-hero:before{left:21px!important;width:52px!important}.lhp-home-page .lhg136-hero h1{font-size:35px!important}.lhp-home-page .lhg136-actions{display:grid!important;grid-template-columns:1fr!important}.lhp-home-page .lhg136-actions a{width:100%!important}.lhp-home-page .lhg136-trust{display:grid!important;gap:7px!important}.lhp-home-page .lhg136-trust span{padding:0!important;border:0!important}.lhp-home-page .lhg136-product-body{grid-template-columns:70px 1fr!important}.lhp-home-page .lhg136-question{padding:17px!important}.lhp-home-page .lhg136-question h3{font-size:15.5px!important}
  .lhp-home-lawyers-feature{margin-top:14px;border-radius:11px}.lhp-home-lawyers-intro{padding:27px 20px}.lhp-home-lawyers-intro:after{left:20px;width:50px}.lhp-home-lawyers-intro h2{font-size:29px}.lhp-home-lawyers-intro>p{font-size:10.5px}.lhp-home-lawyer-search{grid-template-columns:1fr}.lhp-home-lawyer-search button{width:100%}.lhp-home-lawyer-meta span{min-height:56px;padding:8px}.lhp-home-lawyer-meta strong{font-size:17px}.lhp-home-lawyer-meta small{font-size:6.5px}.lhp-home-lawyer-preview{padding:18px}.lhp-home-lawyer-card{grid-template-columns:58px 1fr 24px;gap:11px;min-height:96px;padding:13px 0}.lhp-home-lawyer-card img{width:58px;height:58px;border-radius:8px}.lhp-home-lawyer-card h3{font-size:13px}.lhp-home-lawyer-card p{font-size:8.5px}.lhp-home-lawyer-card div div{display:none}.lhp-home-lawyer-card>b{width:24px;height:24px}
  .lhp-home-page .lhg136-paths,.lhp-home-page .lhg136-demos,.lhp-home-page .lhg136-community{padding-top:48px!important}
  .lhp-tests-hero,.lh137-directory-hero{padding:28px 21px 23px!important;border-radius:11px!important}.lhp-tests-hero h1,.lh137-hero-copy h1{font-size:35px!important}.lhp-tests-section{padding-top:48px!important}.lhp-test-toolbar,.lhp-demo-test-card,.lhp-catalog-card,.lhp-tests-account,.lh137-search-shell,.lh137-lawyer-card,.lh137-guide-card,.lh137-quick-card{border-radius:10px!important}
  body.lh137-directory-page .lh137-directory-grid{grid-template-columns:1fr!important}.lh137-directory-aside{grid-template-columns:1fr!important}.lh137-guide-card{grid-row:auto}
  .lhp-profile-page .lh-public-hero{border-radius:10px!important}.lhp-profile-page .lh-public-card,.lhp-profile-page .lh-public-cta-card{border-radius:10px!important}
}

@media(prefers-reduced-motion:reduce){
  .lhp-home-lawyer-card,.lhp-home-page .lhg136-path-list>a,.lhp-home-page .lhg136-path-list>button,.lhp-demo-test-card,.lhp-catalog-card,.lh137-lawyer-card{transition:none!important}
}

/* Home-only LawHub.ge news ribbon: same restrained shell */
.lhp-home-page + .lhg-news-ticker,
.lhg-news-ticker{
  border-bottom:1px solid #dfe5ea!important;
  background:#fff!important;
  box-shadow:none!important;
}
.lhg-news-ticker-inner{width:min(1360px,calc(100% - 48px))!important;min-height:38px!important}
.lhg-news-label{color:#315b7d!important;font-size:7.5px!important;font-weight:850!important;letter-spacing:.09em!important}
.lhg-news-track a{color:#657687!important;font-size:8.5px!important}.lhg-news-track a i{color:#6d8ba4!important}.lhg-news-all{color:#315b7d!important;font-size:8px!important;font-weight:760!important}

@media(max-width:680px){.lhg-news-ticker-inner{width:calc(100% - 24px)!important}.lhg-news-all{display:none!important}}
