/* Reference-inspired shared profile card; approved/scoped image selection is unchanged. */
.bdl-profile .bdl-hero.bdl-hero-unified {
 --hero-avatar:clamp(176px,20vw,244px);
 position:relative; isolation:isolate; display:block; padding:0 !important; overflow:hidden;
 border:1px solid #304860; border-radius:22px;
 background:linear-gradient(125deg,#142b46,#081b2d); color:#fff;
 box-shadow:0 10px 30px rgba(13,27,46,.13);
}
.bdl-profile .bdl-hero.bdl-hero-unified::before { content:none; }
.bdl-hero-unified .bdl-hero-stage { position:relative; isolation:isolate; }
.bdl-hero-unified .bdl-hero-banner { position:absolute; inset:0; height:auto; overflow:hidden; background:#0d2138 url(../images/bdl-profile-cover-default-60a5526b10ee.jpg) center/cover no-repeat; }
.bdl-hero-unified .bdl-hero-banner::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(90deg,rgba(5,19,33,.88),rgba(5,19,33,.68) 65%,rgba(5,19,33,.58)); }
.bdl-profile .bdl-hero-unified .bdl-profile-cover { position:absolute; inset:0; width:100%; height:100%; margin:0; border:0; border-radius:0; aspect-ratio:auto; }
.bdl-hero-unified .bdl-hero-content { position:relative; z-index:1; display:grid; grid-template-columns:var(--hero-avatar) minmax(0,1fr); align-items:center; gap:28px; min-height:340px; padding:38px 30px; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-photo { position:relative; z-index:1; flex:none; width:var(--hero-avatar); height:var(--hero-avatar); margin:0; border:4px solid #fff; border-radius:50%; overflow:visible; background:#24364a; box-shadow:0 0 0 2px #d2ad4d,0 8px 26px rgba(0,0,0,.28); }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-photo img { width:100%; height:100%; border-radius:50%; object-fit:cover; object-position:50% 22%; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-firm-logo img { object-fit:contain; object-position:center; padding:18px; background:#fff; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-photo .bdl-initial { font-size:4rem; color:#e8cc92; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-avatar-status { width:24px; height:24px; bottom:20px; right:20px; border:3px solid #fff; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-body { flex:0 1 auto; width:100%; min-width:0; padding:0; text-align:left; }
.bdl-hero-unified .bdl-hero-identity-badges { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:12px; }
.bdl-hero-unified .bdl-hero-identity-badges:empty { display:none; }
.bdl-hero-unified .bdl-hero-verified-chip { display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:99px; background:linear-gradient(115deg,#c6f6d6,#9de7cb); color:#0c5843; font-size:13px; font-weight:700; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-verified-chip .bdl-badge { background:transparent; border:0; padding:0; color:#0b7b5c; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-tier-banner { display:inline-flex; flex-wrap:wrap; max-width:100%; margin:0; border:1px solid #e8c766; border-radius:99px; padding:7px 12px; background:linear-gradient(115deg,#e6bb42,#f1d178); }
.bdl-hero-unified .bdl-owner-pill { font-size:12px; color:#523704; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-name { display:block; margin:0 0 12px; padding-bottom:12px; border-bottom:1px solid rgba(221,185,94,.4); color:#fff; font-size:clamp(28px,3.3vw,46px); font-weight:800; line-height:1.3; overflow-wrap:anywhere; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-sub { justify-content:flex-start; margin:0 0 20px; font-size:16px; line-height:1.7; color:#eff3f8; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-sub a { color:#eff3f8; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-sub .bdl-i { display:inline-block; }
.bdl-hero-unified .bdl-hero-why { color:#dbe4ed; line-height:1.7; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin:0; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-actions .bdl-btn { display:inline-flex; align-items:center; justify-content:center; gap:7px; flex:0 1 auto; min-height:46px; min-width:0; max-width:100%; padding:10px 15px; border:1px solid rgba(255,255,255,.6); border-radius:10px; background:rgba(255,255,255,.05); color:#fff !important; font:inherit; font-size:14px; font-weight:600; line-height:1.5; white-space:normal; overflow-wrap:anywhere; text-decoration:none; cursor:pointer; transition:background .18s,border-color .18s; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-actions .bdl-btn-gold,
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-actions .bdl-btn-go { border-color:#e8c766; background:linear-gradient(110deg,#e3b536,#f2d279); color:#142336 !important; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-actions .bdl-btn:hover { border-color:#f1dcaa; background-color:rgba(255,255,255,.14); }
.bdl-hero-unified .bdl-hero-actions .bdl-btn:focus-visible { outline:3px solid #f1dcaa; outline-offset:3px; }
.bdl-hero-unified .bdl-hero-footer { display:flow-root; border-top:1px solid rgba(255,255,255,.12); }
.bdl-hero-unified .bdl-hero-facts { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr)); margin:18px 26px 0; padding:6px 0; border:1px solid rgba(228,238,249,.35); border-radius:14px; background:linear-gradient(115deg,rgba(255,255,255,.08),rgba(255,255,255,.03)); }
.bdl-hero-unified .bdl-hero-fact { position:relative; min-width:0; margin:10px 0; padding:2px 16px 2px 54px; border-right:1px solid rgba(255,255,255,.2); overflow-wrap:anywhere; }
.bdl-hero-unified .bdl-hero-fact:last-child { border-right:0; }
.bdl-hero-unified .bdl-hero-fact dt { font-size:13px; font-weight:600; line-height:1.6; color:#f4f7fb; }
.bdl-hero-unified .bdl-hero-fact dt .bdl-i { position:absolute; left:16px; top:7px; width:26px; height:26px; color:#e9bd50; }
.bdl-hero-unified .bdl-hero-fact dd { margin:3px 0 0; font-size:14px; font-weight:500; line-height:1.6; color:#e1e9f4; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-areas { display:flex; flex-wrap:wrap; justify-content:flex-start; align-items:center; gap:9px; margin:22px 26px 0; }
.bdl-hero-unified .bdl-hero-areas-label { display:inline-flex; align-items:center; gap:8px; margin-right:6px; font-weight:700; font-size:16px; }
.bdl-hero-unified .bdl-hero-areas-label .bdl-i { width:24px; height:24px; color:#e9bd50; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-areas a { max-width:100%; padding:7px 13px; border:1px solid rgba(236,242,250,.35); border-radius:99px; background:rgba(255,255,255,.07); color:#f0f4f9; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-areas a:hover { border-color:#e8c766; color:#f1dcaa; background:rgba(255,255,255,.12); }
.bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-assist { margin:22px 26px 0; padding:13px 16px; border:1px solid rgba(255,255,255,.2); border-radius:12px; background:rgba(255,255,255,.08); color:#e8eff8; font-size:14px; line-height:1.7; }
.bdl-hero-unified .bdl-hero-footer > :last-child { margin-bottom:26px; }
@media screen and (max-width:768px) {
 .bdl-profile .bdl-hero.bdl-hero-unified { --hero-avatar:128px; border-radius:18px; }
 .bdl-hero-unified .bdl-hero-content { display:flex; flex-direction:column; align-items:center; gap:20px; min-height:0; padding:28px 18px 24px; }
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-body { padding:0; text-align:center; }
 .bdl-hero-unified .bdl-hero-identity-badges { justify-content:center; }
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-name { font-size:clamp(24px,5vw,32px); line-height:1.4; }
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-sub { justify-content:center; font-size:14px; }
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-actions .bdl-btn { width:100%; padding:10px 8px; font-size:13px; grid-column:auto; }
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-actions .bdl-btn-go,
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-actions .bdl-btn-gold { grid-column:1/-1; }
 .bdl-hero-unified .bdl-hero-facts { grid-template-columns:repeat(2,minmax(0,1fr)); margin:16px 16px 0; }
 .bdl-hero-unified .bdl-hero-fact { padding:0 10px; }
 .bdl-hero-unified .bdl-hero-fact:nth-child(2n) { border-right:0; }
 .bdl-hero-unified .bdl-hero-fact dt { display:flex; align-items:center; gap:6px; font-size:12px; }
 .bdl-hero-unified .bdl-hero-fact dt .bdl-i { position:static; flex:none; width:18px; height:18px; }
 .bdl-hero-unified .bdl-hero-fact dd { font-size:13px; }
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-areas { margin:18px 16px 0; gap:8px; }
 .bdl-hero-unified .bdl-hero-areas-label { flex-basis:100%; font-size:14px; }
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-assist { margin:18px 16px 0; font-size:13px; padding:12px; }
 .bdl-hero-unified .bdl-hero-footer > :last-child { margin-bottom:20px; }
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-avatar-status { width:18px; height:18px; right:7px; bottom:7px; }
}
@media print {
 .bdl-profile .bdl-hero.bdl-hero-unified { background:#fff; color:#0d1b2e; box-shadow:none; overflow:visible; }
 .bdl-hero-unified .bdl-hero-banner { display:none; }
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-name,
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-sub,
 .bdl-hero-unified .bdl-hero-fact dt,
 .bdl-hero-unified .bdl-hero-fact dd { color:#0d1b2e; }
 .bdl-profile .bdl-hero.bdl-hero-unified .bdl-hero-actions { display:none; }
}
/* Full-page reference treatment, scoped exclusively to Lawyer and Firm profiles. */
.page-wrap-profile:has(.bdl-profile-reference),.page-wrap-firm:has(.bdl-profile-reference) { background:#f8fbff; border-radius:16px; }
.bdl-profile-reference { padding:0; color:#14283b; }
.bdl-profile-reference .bdl-hero.bdl-hero-unified { --hero-avatar:200px; border-radius:16px; margin-bottom:18px; }
.bdl-profile-reference .bdl-hero-content { min-height:278px; padding:28px 26px; gap:26px; }
.bdl-profile-reference .bdl-hero.bdl-hero-unified .bdl-hero-name { border:0; padding:0; margin-bottom:12px; font-size:clamp(28px,3vw,42px); }
.bdl-profile-reference .bdl-hero.bdl-hero-unified .bdl-hero-sub { margin-bottom:18px; }
.bdl-profile-reference .bdl-profile-tabs { display:flex; flex-wrap:wrap; gap:6px; padding:0; margin:0 0 20px; }
.bdl-profile-tabs a { display:flex; flex:1 1 auto; align-items:center; justify-content:center; gap:8px; min-height:52px; padding:11px 15px; border:1px solid #e2e9f1; border-radius:9px; background:linear-gradient(#fff,#f7faff); box-shadow:0 3px 8px #122c4510; color:#102d48; font-size:15px; font-weight:700; text-decoration:none; line-height:1.5; transition:background .18s,border-color .18s,box-shadow .18s; }
.bdl-profile-tabs a[aria-current] { background:linear-gradient(115deg,#1d425b,#08283d); border-color:#183b52; color:#f0c348; box-shadow:inset 0 -4px #e8b537,0 3px 8px #122c4518; }
.bdl-profile-tabs a:hover { border-color:#cfad59; box-shadow:0 4px 12px #142b431a; }
.bdl-profile-tabs .bdl-i { width:23px; height:23px; flex:none; }
.bdl-profile-reference .bdl-profile-grid { display:grid; grid-template-columns:minmax(0,1fr) 308px; align-items:start; gap:22px; }
.bdl-profile-reference .bdl-profile-main,.bdl-profile-reference .bdl-profile-side { min-width:0; max-width:100%; }
.bdl-profile-reference .bdl-profile-side { position:static; display:flex; flex-direction:column; gap:16px; }
.bdl-profile-reference .bdl-sec,.bdl-profile-reference .bdl-side-card { background:#fff; border:1px solid #e3eaf2; border-radius:12px; box-shadow:0 3px 12px #0e2e4b0d; padding:18px; margin:0 0 18px; overflow-wrap:anywhere; }
.bdl-profile-reference .bdl-profile-side > * { margin:0; }
.bdl-profile-reference .bdl-sec > h2,.bdl-profile-reference .bdl-sec-head > h2 { display:flex; align-items:center; gap:12px; border:0; margin:0 0 17px; padding:0; min-height:40px; background:linear-gradient(90deg,#f5f7fa,#edf1f5); border-radius:6px; color:#102638; font-size:22px; line-height:1.5; }
.bdl-profile-reference .bdl-sec > h2 > .bdl-i { width:44px; height:40px; padding:8px 9px; border-radius:7px; background:linear-gradient(110deg,#163e58,#08263a); color:#fff; flex:none; }
.bdl-profile-reference .bdl-prose { font-size:17px; line-height:1.9; color:#203044; }
.bdl-profile-reference .bdl-h3 { font-size:15px; color:#526779; margin:14px 0 10px; }
.bdl-profile-reference #sec-practice .bdl-termlist,.bdl-profile-reference #sec-practice .bdl-chips { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.bdl-profile-reference #sec-practice .bdl-termlist a,.bdl-profile-reference #sec-practice .bdl-chips a { display:flex; align-items:center; justify-content:flex-start; gap:9px; min-height:52px; padding:10px 12px; border:1px solid #dce5ef; border-radius:9px; background:linear-gradient(140deg,#fafcff,#edf2f7); color:#17344e; font-size:15px; font-weight:600; line-height:1.6; text-decoration:none; }
.bdl-profile-reference #sec-practice a:hover { border-color:#bf9b40; background:#fffaf0; }
.bdl-profile-reference #sec-practice .bdl-i { width:24px; height:24px; flex:none; }
.bdl-profile-reference #sec-practice > h2 > .bdl-i { width:44px; height:40px; }
.bdl-profile-qualification-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.bdl-profile-qualification-grid:empty { display:none; }
.bdl-profile-qualification-grid > :only-child { grid-column:1/-1; }
.bdl-profile-reference .bdl-profile-qualification { border-left:2px solid #cfdae5; padding-left:15px; margin:5px 4px; }
.bdl-profile-reference .bdl-profile-side .bdl-sec,.bdl-profile-reference .bdl-profile-side .bdl-side-card { padding:0 14px 12px; }
.bdl-profile-reference .bdl-profile-side h2,.bdl-profile-reference .bdl-profile-side h3 { display:flex; width:calc(100% + 28px); max-width:none; align-items:center; gap:9px; padding:7px 12px; min-height:38px; margin:0 -14px 10px; border:0; border-radius:10px 10px 4px 4px; background:linear-gradient(110deg,#163e58,#09283d); color:#fff; font-size:18px; font-weight:700; line-height:1.5; }
.bdl-profile-reference .bdl-profile-side h2 .bdl-i,.bdl-profile-reference .bdl-profile-side h3 .bdl-i { width:21px; height:21px; padding:0; background:none; flex:none; }
.bdl-profile-verification ul { list-style:none; padding:0; margin:0; }
.bdl-profile-verification li { display:flex; gap:8px; align-items:flex-start; margin:8px 0; font-size:14px; line-height:1.7; }
.bdl-profile-verification li .bdl-i { width:20px; height:20px; flex:none; margin-top:2px; color:#00884c; }
.bdl-profile-reference .bdl-profile-side .bdl-table { width:100%; font-size:13px; border:0; }
.bdl-profile-reference .bdl-profile-side .bdl-table th { padding:7px 3px; width:44%; color:#455b70; font-weight:500; background:none; }
.bdl-profile-reference .bdl-profile-side .bdl-table td { padding:7px 3px; color:#142b41; font-weight:600; overflow-wrap:anywhere; }
.bdl-profile-reference .bdl-profile-side .bdl-fact { display:grid; grid-template-columns:22px minmax(0,1fr); gap:10px; padding:9px 0; border-bottom:1px solid #e9eff5; }
.bdl-profile-reference .bdl-profile-side .bdl-fact dt { font-size:0; line-height:0; }
.bdl-profile-reference .bdl-profile-side .bdl-fact dt .bdl-i { font-size:16px; width:22px; height:22px; color:#183d57; }
.bdl-profile-reference .bdl-profile-side .bdl-fact dd { margin:0; font-size:14px; font-weight:600; line-height:1.7; min-width:0; }
.bdl-profile-reference .bdl-profile-side .bdl-fact:last-child { border:0; }
.bdl-profile-reference .bdl-profile-side .bdl-facts { margin:0; }
.bdl-profile-reference .bdl-profile-side a { color:#173f5a; }
.bdl-profile-reference a.bdl-profile-booking-link { display:flex; align-items:center; justify-content:center; gap:9px; min-height:48px; padding:12px; border:1px solid #f0bc36; border-radius:10px; background:linear-gradient(110deg,#f2d170,#ffc02d); color:#132c40; font-size:17px; font-weight:700; text-decoration:none; }
.bdl-profile-reference .bdl-profile-booking-link:hover { filter:brightness(1.04); }
.bdl-profile-booking-link .bdl-i { width:24px; height:24px; flex:none; }
.bdl-profile-reference .bdl-profile-rating { display:flex; align-items:center; flex-wrap:wrap; gap:8px; padding:13px; background:#fff; border:1px solid #e3eaf2; border-radius:10px; box-shadow:0 3px 12px #0e2e4b0d; font-size:15px; font-weight:600; text-decoration:none; }
.bdl-profile-rating .bdl-i { color:#c6941c; width:23px; height:23px; }
.bdl-profile-rating strong { margin-left:auto; color:#a77609; }
.bdl-profile-reference .bdl-profile-side .bdl-side-promo { padding:15px; }
.bdl-profile-reference .bdl-profile-side .bdl-side-promo h3 { margin:-15px -15px 12px; }
.bdl-profile-reference [id] { scroll-margin-top:110px; }
.bdl-profile-reference a:focus-visible,.bdl-profile-reference button:focus-visible { outline:3px solid #c3972b; outline-offset:3px; }
@media (min-width:1400px) { .bdl-profile-reference .bdl-profile-grid { grid-template-columns:minmax(0,1fr) 340px; } .bdl-profile-reference #sec-practice .bdl-termlist,.bdl-profile-reference #sec-practice .bdl-chips { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:1000px) { .bdl-profile-reference .bdl-profile-grid { grid-template-columns:minmax(0,1fr) 270px; gap:16px; } .bdl-profile-qualification-grid { grid-template-columns:1fr; gap:0; } .bdl-profile-reference #sec-practice .bdl-termlist,.bdl-profile-reference #sec-practice .bdl-chips { grid-template-columns:repeat(2,minmax(0,1fr)); } .bdl-profile-reference .bdl-sec > h2 { font-size:19px; } }
@media (max-width:768px) { .bdl-profile-reference .bdl-hero.bdl-hero-unified { --hero-avatar:128px; border-radius:12px; } .bdl-profile-reference .bdl-hero-content { min-height:0; padding:25px 18px; gap:18px; } .bdl-profile-reference .bdl-profile-grid { grid-template-columns:minmax(0,1fr); gap:4px; } .bdl-profile-reference .bdl-profile-side { margin-bottom:20px; } .bdl-profile-reference .bdl-profile-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-bottom:16px; } .bdl-profile-tabs a { flex-direction:column; gap:5px; padding:9px 6px; font-size:12px; min-height:64px; text-align:center; } .bdl-profile-tabs .bdl-i { width:21px; height:21px; } .bdl-profile-reference .bdl-sec { padding:14px; } .bdl-profile-reference .bdl-prose { font-size:16px; } .bdl-profile-reference .bdl-profile-side .bdl-sec { padding:0 14px 12px; } .bdl-profile-reference .bdl-profile-side .bdl-table { font-size:14px; } }
@media (max-width:360px) { .bdl-profile-reference .bdl-profile-tabs { grid-template-columns:repeat(2,minmax(0,1fr)); } .bdl-profile-reference #sec-practice .bdl-termlist a,.bdl-profile-reference #sec-practice .bdl-chips a { font-size:13px; padding:8px; gap:6px; } }
@media (prefers-reduced-motion:reduce) { .bdl-profile-reference * { transition:none !important; scroll-behavior:auto !important; } }
@media print { .bdl-profile-reference .bdl-profile-grid { grid-template-columns:1fr; } .bdl-profile-tabs,.bdl-profile-booking-link { display:none !important; } .bdl-profile-reference .bdl-profile-side h2,.bdl-profile-reference .bdl-profile-side h3 { color:#14283b; background:#fff; } }
