/* Shared header and professional profile, using the admin's theme variables. */
.theme-reference .site-header,.theme-reference.home-page .site-header{position:sticky;top:0;background:var(--header-bg);color:var(--header-text);border-bottom:1px solid var(--line);box-shadow:0 4px 24px #102b4606;z-index:50}
.theme-reference[data-header-sticky="0"] .site-header,.theme-reference.juris-home[data-header-sticky="0"] .site-header{position:relative}
.theme-reference .site-header.is-scrolled{box-shadow:0 6px 28px #102b4610}
.theme-reference.header-inline .header-inner,.theme-reference.juris-home.header-inline .header-inner,.theme-reference.juris-home.header-inline .site-header.is-scrolled .header-inner{min-height:88px;height:auto;gap:24px;padding:12px 0;align-items:center}
.theme-reference .site-header .brand{background:transparent;padding:0;margin:0 auto 0 0;border:0}
.theme-reference .site-header .brand.brand-signature small{font-size:9px!important;line-height:1.5!important;letter-spacing:.07em!important}
.theme-reference .site-header .brand-mark{width:42px;flex-basis:42px;height:50px}
.theme-reference .header-actions{gap:10px;flex-shrink:0}
.theme-reference .header-actions .icon-button{min-width:44px;min-height:44px;color:var(--header-text);border-radius:8px}
.theme-reference .header-actions .icon-button:hover{background:color-mix(in srgb,var(--action) 7%,var(--header-bg))}
.theme-reference .header-contact{border:1px solid var(--action);background:var(--action);color:var(--button-text);border-radius:min(var(--radius),8px);padding:12px 16px;gap:10px;min-height:44px;font-weight:600}
.theme-reference .header-payment{min-height:44px;border:1px solid var(--line);border-radius:min(var(--radius),8px);padding:10px 14px;background:transparent;color:var(--header-text)}
.theme-reference .main-nav>.nav-item>a{position:relative;color:var(--header-text);font-weight:600;line-height:1.5;padding:14px 0}
.theme-reference .main-nav>.nav-item>a[aria-current="page"]{color:var(--action)}
.theme-reference .main-nav>.nav-item>a::after{height:2px;bottom:6px;background:var(--action);border-radius:2px}
.theme-reference .nav-submenu{background:var(--header-bg);border:1px solid var(--line);border-radius:8px;padding:8px;box-shadow:0 16px 40px #102b4614}
.theme-reference .nav-submenu a{color:var(--header-text);min-height:44px;padding:12px 14px;border-radius:4px}
.theme-reference .nav-submenu a:hover{background:color-mix(in srgb,var(--action) 7%,var(--header-bg));color:var(--action)}
.theme-reference .site-header :focus-visible{outline:2px solid var(--action);outline-offset:4px}
.theme-reference .topbar-inner{min-height:36px;font-size:11px;line-height:1.5;gap:16px}
.theme-reference .topbar-inner>div{gap:22px}
.theme-reference .topbar .icon{width:14px;height:14px}
.theme-reference.menu-open{overflow:hidden}

.theme-reference.juris-home .home-lawyer-section{background:var(--background);border-block:1px solid var(--line)}
.theme-reference.juris-home .home-lawyer-inner{display:block}
.theme-reference.juris-home .home-lawyer-section .lawyer-tile{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(0,1.2fr);align-items:stretch;gap:0;max-width:1040px;margin:0 auto;min-height:0;text-align:left;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 16px 48px #102b4608;overflow:hidden;transition:box-shadow .2s ease}
.theme-reference.juris-home .home-lawyer-section .lawyer-tile:hover{transform:none;box-shadow:0 18px 48px #102b4612}
.theme-reference.juris-home .home-lawyer-section .lawyer-tile-photo{display:grid;place-items:center;width:100%;height:auto;min-height:320px;aspect-ratio:1;margin:0;transform:none;padding:24px;background:color-mix(in srgb,var(--action) 5%,var(--background));border:0;border-radius:0;box-shadow:none;align-self:stretch}
.theme-reference.juris-home .home-lawyer-section .lawyer-tile-photo img{display:block;width:100%;height:100%;max-height:380px;object-fit:contain;object-position:center;border-radius:min(var(--radius),6px)}
.theme-reference.juris-home .home-lawyer-section .lawyer-monogram{min-height:240px;background:transparent;color:var(--action);font-family:Georgia,serif;font-size:96px}
.theme-reference.juris-home .home-lawyer-section .lawyer-tile-copy{padding:clamp(28px,4vw,56px);align-items:flex-start;justify-content:center;max-width:none;margin:0;min-width:0}
.theme-reference.juris-home .home-lawyer-section .home-profile-role{display:inline-flex;align-items:center;gap:10px;color:var(--action);font:600 12px/1.5 var(--sans);letter-spacing:.1em;text-transform:uppercase;margin-bottom:18px}
.home-profile-role::before{content:"";width:28px;height:2px;background:var(--gold)}
.theme-reference.juris-home .home-lawyer-section .home-profile-name{font:500 clamp(28px,3vw,40px)/1.2 var(--heading);letter-spacing:-.025em;margin:0;max-width:18ch;color:var(--ink);text-wrap:balance}
.theme-reference.juris-home .home-lawyer-section .home-profile-summary{margin:20px 0 0;font-size:var(--body-font-size);line-height:1.85;max-width:54ch;color:var(--muted);text-wrap:pretty}
.home-profile-facts{display:flex;flex-wrap:wrap;gap:12px 20px;margin-top:22px;padding-top:20px;border-top:1px solid var(--line);width:100%}
.home-profile-facts>span{display:inline-flex;align-items:center;gap:8px;color:var(--muted);font:500 13px/1.6 var(--sans)}
.home-profile-facts .icon{color:var(--action);width:17px;height:17px;flex-shrink:0}
.theme-reference.juris-home .home-lawyer-section .home-profile-about{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;margin-top:28px;padding:12px 0;min-height:44px;border:0;border-bottom:1px solid var(--gold);border-radius:0;background:transparent;color:var(--action);font:600 14px/1.5 var(--sans)}
.theme-reference.juris-home .home-lawyer-section .lawyer-tile:hover .home-profile-about{background:transparent;border-color:var(--action)}
.theme-reference.juris-home .home-lawyer-section .lawyer-tile:hover .home-profile-name{text-decoration:none}
.theme-reference.juris-home .home-lawyer-section .lawyer-tile-no-photo{grid-template-columns:minmax(0,1fr);max-width:800px}
.post-layout-no-side{grid-template-columns:minmax(0,1fr)!important;max-width:920px;margin-inline:auto}
.post-layout-no-side:not(.post-layout-no-toc){grid-template-columns:220px minmax(0,1fr)!important;max-width:1100px}
@media(min-width:1201px){
  .theme-reference.header-centered .header-inner{padding:24px 0 14px;gap:18px}
  .theme-reference.header-centered .header-inner>.brand{margin:0 auto}
  .theme-reference.header-centered .main-nav{padding-top:12px;border-top:1px solid var(--line)}
}
@media(max-width:1200px){
  .theme-reference .header-inner,.theme-reference.header-inline .header-inner,.theme-reference.juris-home.header-inline .header-inner,.theme-reference.juris-home.header-inline .site-header.is-scrolled .header-inner{min-height:80px;padding:10px 0;gap:12px}
  .theme-reference .main-nav>.nav-item>a{min-height:48px;font-size:16px}
  .theme-reference .nav-submenu{border:0;box-shadow:none;flex-basis:100%;border-radius:0}
}
@media(max-width:700px){
  .theme-reference .header-inner,.theme-reference.header-inline .header-inner,.theme-reference.juris-home.header-inline .header-inner,.theme-reference.juris-home.header-inline .site-header.is-scrolled .header-inner{min-height:76px;padding:10px 0;gap:8px}
  .theme-reference .site-header .brand{flex:1 1 auto;width:auto;min-width:0}
  .theme-reference .site-header .brand.brand-signature small{font-size:7px!important;letter-spacing:.025em!important}
  .theme-reference .header-actions{gap:4px}
  .theme-reference .header-payment{padding:8px 10px;min-height:44px}
  .theme-reference .main-nav,.theme-reference.home-page .main-nav{max-height:calc(100dvh - 110px);padding-bottom:calc(24px + env(safe-area-inset-bottom));border-bottom:1px solid var(--line)}
  .theme-reference.juris-home .home-lawyer-section .lawyer-tile{grid-template-columns:minmax(0,1fr);max-width:480px;text-align:left;gap:0}
  .theme-reference.juris-home .home-lawyer-section .lawyer-tile-photo{width:100%;max-width:none;height:280px;min-height:0;aspect-ratio:auto;padding:20px;margin:0;transform:none}
  .theme-reference.juris-home .home-lawyer-section .lawyer-tile-photo img{height:240px;max-height:240px;min-height:0;aspect-ratio:auto;object-fit:contain}
  .theme-reference.juris-home .home-lawyer-section .lawyer-tile-copy{padding:28px 24px;align-items:flex-start;margin:0}
  .theme-reference.juris-home .home-lawyer-section .home-profile-role{margin-bottom:14px;font-size:11px}
  .theme-reference.juris-home .home-lawyer-section .home-profile-name{font-size:30px;line-height:1.25}
  .theme-reference.juris-home .home-lawyer-section .home-profile-summary{font-size:15px;margin-top:16px}
  .theme-reference.juris-home .home-lawyer-section .home-profile-about{margin-top:20px;font-size:13px;gap:14px}
  .home-profile-facts{gap:10px;margin-top:18px;padding-top:16px}
  .post-layout-no-side,.post-layout-no-side:not(.post-layout-no-toc){grid-template-columns:minmax(0,1fr)!important}
}
@media(prefers-reduced-motion:reduce){.theme-reference .site-header,.theme-reference .lawyer-tile{transition:none}}
@media print{.theme-reference .site-header{display:none}}
