/* Profile-only DLC presentation; shared by live profiles and plan demonstrations. */
.dlc-profile { --dlc-profile-cream:#f7f3eb; --dlc-profile-border:#dddcd5; font-size:17px; line-height:1.7; }
.dlc-profile a:not(.dlc-attorney-button) { color:#0B1D3A; text-underline-offset:4px; }
.dlc-profile .dlc-back { display:inline-flex; align-items:center; min-height:44px; margin-bottom:18px; font-size:15px; font-weight:600; }
.dlc-profile .dlc-profile__hero { padding:32px; gap:28px; background:var(--dlc-profile-cream); border:1px solid #e2d9c9; border-top:3px solid #C8A24C; border-radius:10px; margin-bottom:18px; }
.dlc-profile h1 { font-size:clamp(30px,3.5vw,44px); margin:10px 0; line-height:1.16; }
.dlc-profile .dlc-profile__photo { width:152px; flex-basis:152px; }
.dlc-profile .dlc-profile__photo img { display:block; height:auto; aspect-ratio:4/5; border-radius:6px; }
.dlc-profile .dlc-attorneys__eyebrow { color:#65522b; font-size:12px; line-height:1.5; letter-spacing:.09em; font-weight:700; margin:0 0 10px; }
.dlc-profile .dlc-profile__firm { font-size:20px; line-height:1.45; font-weight:600; margin:10px 0 6px; }
.dlc-profile .dlc-profile__location { font-size:15px; line-height:1.6; margin:6px 0 14px; color:#4e5b6b; }
.dlc-profile .dlc-profile__practice-tags { gap:7px; margin-top:14px; }
.dlc-profile .dlc-profile__practice-tags li { padding:4px 11px; font-size:13px; line-height:1.5; border-color:#d8d1c4; background:rgba(255,255,255,.7); border-radius:4px; }
.dlc-profile .dlc-profile__logo { width:110px; flex-basis:110px; }
.dlc-profile .dlc-profile__logo-mark { min-height:90px; font-size:28px; border-width:1px; background:#fff; }
.dlc-profile .dlc-profile-sections { display:flex; gap:6px; flex-wrap:wrap; padding:0 0 16px; background:transparent; border-bottom:1px solid var(--dlc-profile-border); border-radius:0; margin:0 0 28px; }
.dlc-profile .dlc-profile-sections a { color:#0B1D3A!important; display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:8px 16px; text-decoration:none; border:1px solid transparent; border-radius:5px; font:600 15px/1.4 Montserrat,"Segoe UI",sans-serif; }
.dlc-profile .dlc-profile-sections a:hover { background:var(--dlc-profile-cream); border-color:#ddd3c0; }

/* Profile navigation shows one section at a time when JavaScript is available. */
.dlc-profile .dlc-profile-sections a[aria-selected="true"] { color:#fff!important; background:#081d3a; border-color:#081d3a; }
.dlc-profile .dlc-profile__columns--tabs { display:block; }
.dlc-profile .dlc-profile__columns--tabs [hidden] { display:none!important; }
.dlc-profile .dlc-profile__columns--tabs > .dlc-contact { max-width:760px; }
.dlc-profile .dlc-profile__columns--tabs #dlc-profile-photos,
.dlc-profile .dlc-profile__columns--tabs #dlc-profile-video { padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
.dlc-profile .dlc-profile__columns--tabs #dlc-profile-video video { width:100%; height:auto; }
.dlc-profile .dlc-profile__logo-mark { box-sizing:border-box; text-align:center; overflow-wrap:normal; }
.dlc-demo-profile .dlc-preview-offer { box-sizing:border-box; flex-basis:100%; display:flex; align-items:center; gap:12px 24px; flex-wrap:wrap; padding:16px 18px; border:1px solid #d7c7a4; border-radius:8px; background:#fff; }
.dlc-demo-profile .dlc-preview-offer > div { display:flex; flex-direction:column; flex:1 1 240px; }
.dlc-demo-profile .dlc-preview-offer > div strong { color:#081d3a; }
.dlc-demo-profile .dlc-preview-offer > div span { color:#41536a; font-size:15px; }
.dlc-demo-profile .dlc-preview-offer .dlc-attorney-button { margin:0; }
.dlc-demo-profile .dlc-preview-offer > p { flex-basis:100%; margin:0; color:#52627a; font-size:13px; line-height:1.5; }
.dlc-profile [id^="dlc-profile-"] { scroll-margin-top:32px; }
.dlc-profile .dlc-profile__columns { grid-template-columns:minmax(0,1.8fr) minmax(300px,1fr); gap:28px; }
.dlc-profile .dlc-panel { padding:26px; margin-bottom:24px; border-color:var(--dlc-profile-border); border-radius:8px; box-shadow:none; }
.dlc-profile .dlc-panel h2 { font-size:25px; line-height:1.3; margin-bottom:16px; }
.dlc-profile .dlc-profile__facts dt,.dlc-profile .dlc-profile__facts dd { font-size:16px; line-height:1.65; }
.dlc-profile .dlc-profile__facts dt { color:#33455c; }
.dlc-profile .dlc-profile__facts > div { padding:11px 0; }

/* One clear contact hierarchy: call, consultation, then the office's other routes. */
.dlc-profile .dlc-contact { background:#fbfaf7; border-top:3px solid #C8A24C; padding:24px; }
.dlc-profile .dlc-contact h2 { font-size:24px; }
.dlc-profile .dlc-contact__primary { display:flex; flex-direction:column; gap:12px; min-width:0; }
.dlc-profile .dlc-contact .dlc-contact__call,
.dlc-profile .dlc-contact .dlc-contact__consultation { display:flex; align-items:center; justify-content:center; flex-direction:column; width:100%; max-width:100%; min-height:48px; padding:13px 16px; margin:0; border:1px solid #0B1D3A; border-radius:6px; font:600 16px/1.5 Montserrat,"Segoe UI",sans-serif; letter-spacing:normal; text-align:center; text-transform:none; white-space:normal; overflow-wrap:anywhere; box-shadow:none; text-decoration:none!important; cursor:pointer; }
.dlc-profile .dlc-contact .dlc-contact__call { background:#0B1D3A; color:#fff!important; gap:2px; }
.dlc-profile .dlc-contact .dlc-contact__call span { display:block; font-size:14px; font-weight:500; }
.dlc-profile .dlc-contact .dlc-contact__call strong { display:block; font-size:22px; line-height:1.35; font-weight:700; }
.dlc-profile .dlc-contact .dlc-contact__call:hover { background:#19395e; border-color:#19395e; transform:none; }
.dlc-profile .dlc-contact .dlc-contact__consultation { background:#f7f3eb; color:#0B1D3A!important; border-color:#a9997a; }
.dlc-profile .dlc-contact .dlc-contact__consultation:hover { background:#ede3d2; border-color:#7e6a43; transform:none; }
.dlc-profile .dlc-contact .dlc-contact__route-note { margin:-3px 0 0; font-size:13px; line-height:1.6; color:#52627a; text-align:center; }
.dlc-profile .dlc-contact__links { display:flex; flex-wrap:wrap; align-items:center; gap:2px 18px; margin:12px 0 0; }
.dlc-profile .dlc-contact .dlc-contact__text-link { display:inline-flex; align-items:center; min-height:44px; max-width:100%; padding:8px 0; margin:0; background:transparent; border:0; border-radius:0; box-shadow:none; color:#0B1D3A!important; font:500 15px/1.6 Montserrat,"Segoe UI",sans-serif; letter-spacing:normal; text-align:left; text-transform:none; white-space:normal; overflow-wrap:anywhere; text-decoration:underline!important; text-underline-offset:4px; cursor:pointer; }
.dlc-profile .dlc-contact .dlc-contact__text-link:hover { color:#604b1d!important; background:transparent; text-decoration-thickness:2px!important; transform:none; }
.dlc-profile .dlc-contact > p { font-size:14px; line-height:1.7; color:#4b5d70; margin:18px 0; }
.dlc-profile .dlc-contact > .dlc-profile__account-link { display:flex; align-items:center; min-height:44px; font-size:13px; line-height:1.6; margin:4px 0; padding:7px 0; color:#52627a; }
.dlc-profile .dlc-contact-alternative { margin-top:20px; padding:18px 0; }
.dlc-profile .dlc-contact-alternative a { display:inline-flex; align-items:center; gap:8px; min-height:44px; font-size:15px; }
.dlc-profile :is(a,button,input,textarea,select,summary):focus-visible { outline:3px solid #C8A24C; outline-offset:4px; }

/* Sharing is available without competing with the office's contact actions. */
.dlc-profile .dlc-profile-share { margin-top:26px; border-top:2px solid #C8A24C; padding-top:20px; }
.dlc-profile .dlc-profile-share h3 { font-size:16px; line-height:1.5; margin:0 0 12px; }
.dlc-profile .dlc-profile-share label { font-size:14px; }
.dlc-profile .dlc-profile-share input { box-sizing:border-box; max-width:100%; width:100%; padding:10px; border:1px solid #8798ac; border-radius:5px; background:#fff; color:#0B1D3A; font-size:16px; min-height:44px; }
.dlc-profile-share__buttons { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:12px; }
.dlc-profile .dlc-profile-share__buttons button { min-height:44px; margin:0; font-size:14px; font-weight:600; padding:8px 12px; cursor:pointer; background:#fff; border:1px solid #99a4b2; color:#0B1D3A!important; letter-spacing:normal; }
.dlc-profile .dlc-profile-share__buttons button:hover { background:#f1f3f6; transform:none; }
.dlc-profile .dlc-profile-share__buttons a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; }
.dlc-profile-share__buttons [hidden] { display:none!important; }
.dlc-profile-share [role="status"] { font-size:16px; }
.dlc-profile-gallery__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.dlc-profile-gallery__grid a { display:block; border:1px solid #d8d1c4; border-radius:6px; overflow:hidden; color:#0B1D3A; background:#f7f3eb; text-decoration:none; }
.dlc-profile-gallery__grid a:hover { border-color:#8a733e; }
.dlc-profile-gallery__grid img { display:block; width:100%; aspect-ratio:4/3; object-fit:contain; background:#f7f4ed; }
.dlc-profile-gallery__grid span { display:block; padding:8px 12px; font-size:16px; }
.dlc-profile .dlc-profile-gallery--demo > p { font-size:14px; line-height:1.7; color:#52627a; }
.dlc-profile .dlc-photo-dialog { box-sizing:border-box; max-width:calc(100vw - 32px); width:900px; max-height:90vh; padding:16px; background:#0B1D3A; border:2px solid #C8A24C; border-radius:10px; }
.dlc-photo-dialog:not([open]) { display:none!important; }
.dlc-photo-dialog::backdrop { background:rgba(11,29,58,.85); }
.dlc-photo-dialog form { display:flex; justify-content:flex-end; margin:0 0 12px; }
.dlc-photo-dialog img { display:block; max-width:100%; max-height:70vh; object-fit:contain; margin:auto; }
.dlc-profile .dlc-profile-reviews h3 { margin:0 0 8px; font-size:22px; line-height:1.4; }
.dlc-profile-review { padding:22px 0; border-top:1px solid #d9e1ec; }
.dlc-profile-review__byline { color:#52627a; font-size:15px; }
.dlc-profile-review__rating { color:#0B1D3A; font-weight:700; }
.dlc-profile-review__reply { border-left:3px solid #C8A24C; background:#f7f3eb; padding:14px 18px; margin-top:18px; }
.dlc-profile-review-pages { display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; margin:18px 0; }
.dlc-review-compose { margin-top:24px; }
.dlc-review-compose summary { cursor:pointer; padding:12px 16px; border:1px solid #C8A24C; border-radius:6px; background:#EDE3D2; color:#0B1D3A; font-weight:700; }
.dlc-review-compose .dlc-provider-form { padding:18px; }
.dlc-review-compose .dlc-provider-form > p { font-size:16px; }
.dlc-profile .dlc-profile-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Demo navigation identifies the preview without becoming a second page hero. */
.dlc-profile .dlc-profile-preview-bar { gap:6px 18px; }
.dlc-profile .dlc-profile-preview-bar > a { display:inline-flex; align-items:center; min-height:44px; font-size:15px; }
.dlc-profile .dlc-profile-preview-bar > p { font-size:14px; line-height:1.6; }
.dlc-profile .dlc-demo-profile__tabs a { font-size:14px; min-height:44px; padding:8px 14px; }
.dlc-profile .dlc-demo-profile__tabs a[aria-current="page"] { color:#fff!important; }

@media(max-width:900px) {
 .dlc-profile .dlc-profile__hero { gap:22px; padding:26px; }
 .dlc-profile .dlc-profile__logo { width:90px; flex-basis:90px; }
 .dlc-profile .dlc-profile__columns { grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr); gap:20px; }
 .dlc-profile .dlc-panel { padding:22px; }
}
@media(max-width:760px) {
 .dlc-profile { padding-top:24px; }
 .dlc-profile .dlc-profile__hero { padding:22px; gap:18px; }
 .dlc-profile .dlc-profile__photo { width:110px; flex-basis:110px; }
 .dlc-profile .dlc-profile__identity { flex:1 1 200px; }
 .dlc-profile .dlc-profile__columns { grid-template-columns:minmax(0,1fr); grid-template-areas:"contact" "content"; gap:0; }
 .dlc-profile .dlc-panel { margin-bottom:22px; }
 .dlc-profile .dlc-contact { padding:22px; }
 .dlc-profile .dlc-profile__firm { font-size:18px; }
 .dlc-profile .dlc-profile-sections { margin-bottom:22px; }
}
@media(max-width:480px) {
 .dlc-profile { font-size:16px; }
 .dlc-profile .dlc-profile__hero { display:grid; grid-template-columns:80px minmax(0,1fr); align-items:start; gap:12px 14px; padding:18px; }
 .dlc-profile .dlc-profile__photo { grid-column:1; grid-row:1; width:80px; margin:0; }
 .dlc-profile .dlc-profile__identity { grid-column:2; grid-row:1 / span 2; min-width:0; }
 .dlc-profile .dlc-profile__identity:only-child { grid-column:1 / -1; grid-row:auto; }
 .dlc-profile .dlc-profile__logo { grid-column:1; grid-row:1; width:80px; margin:0; }
 .dlc-profile .dlc-profile__photo ~ .dlc-profile__logo { grid-row:2; }
 .dlc-profile .dlc-profile__logo-mark { min-height:62px; font-size:14px; line-height:1.35; padding:8px; }
 .dlc-profile .dlc-profile__hero h1 { font-size:clamp(24px,7vw,29px); margin:7px 0; line-height:1.18; }
 .dlc-profile .dlc-profile__hero .dlc-attorneys__eyebrow { font-size:11px; letter-spacing:.05em; margin-bottom:6px; }
 .dlc-profile .dlc-profile__firm { font-size:16px; margin:7px 0 5px; }
 .dlc-profile .dlc-profile__location { font-size:13px; line-height:1.55; margin:5px 0 10px; }
 .dlc-profile .dlc-profile__practice-tags { gap:5px; margin-top:10px; }
 .dlc-profile .dlc-profile__practice-tags li { padding:3px 8px; font-size:12px; }
 .dlc-profile .dlc-panel { padding:20px; }
 .dlc-profile .dlc-panel h2 { font-size:23px; }
 .dlc-profile-gallery__grid { grid-template-columns:minmax(0,1fr); }
 .dlc-profile .dlc-profile-sections { gap:2px; }
 .dlc-profile .dlc-profile-sections a { padding:8px 10px; font-size:14px; }
 .dlc-review-compose .dlc-provider-form { padding:12px; }
}
@media(prefers-reduced-motion:reduce) {
 .dlc-profile .dlc-attorney-button { transition:none; transform:none; }
}

/* Keep the existing office call action beside the identity on a touch/narrow screen. */
.dlc-profile .dlc-profile__hero.dlc-profile__hero--mobile-contact{flex-wrap:wrap}
.dlc-profile .dlc-profile__hero > a.dlc-profile__mobile-call,
body.dlc-clean-shell #dlc-page #dlc-main .dlc-profile .dlc-profile__hero > a.dlc-profile__mobile-call {
 box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:1 0 100%;grid-column:1 / -1;width:100%;max-width:100%;min-height:52px;margin:0;padding:12px 16px;
 background:#c8a24c!important;color:#081d3a!important;border:1px solid #9b772d;border-radius:7px;font:600 16px/1.5 Montserrat,Arial,sans-serif;text-align:center;white-space:normal;overflow-wrap:anywhere;text-decoration:none!important;
}
.dlc-profile .dlc-profile__hero > a.dlc-profile__mobile-call span{font-size:16px}
.dlc-profile .dlc-profile__hero > a.dlc-profile__mobile-call strong{font-size:22px;line-height:1.35}
.dlc-profile .dlc-profile__hero > a.dlc-profile__mobile-call:hover{background:#d8b967!important}
.dlc-profile .dlc-profile__hero > a.dlc-profile__mobile-call:focus-visible{outline:3px solid #fff;outline-offset:3px;box-shadow:0 0 0 6px #477fa7}


/* The callback link stays beside Call office while the visitor changes profile tabs. */
.dlc-profile .dlc-profile__hero a.dlc-contact__callback,
body.dlc-clean-shell #dlc-page #dlc-main .dlc-profile .dlc-profile__hero a.dlc-contact__callback{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:fit-content;max-width:100%;min-height:48px;margin:12px 0 0;padding:12px 18px;border:2px solid #c8a24c;border-radius:7px;background:transparent!important;color:#fff!important;font:600 16px/1.4 Montserrat,Arial,sans-serif;text-decoration:none!important;white-space:normal;text-align:center}
.dlc-profile .dlc-profile__hero a.dlc-contact__callback:focus-visible{outline:3px solid #fff;outline-offset:3px}
.dlc-profile .dlc-profile__hero a.dlc-contact__callback:hover{background:#163657!important}
.dlc-profile .dlc-profile__hero>a.dlc-profile__mobile-callback,
body.dlc-clean-shell #dlc-page #dlc-main .dlc-profile .dlc-profile__hero>a.dlc-profile__mobile-callback{flex:1 0 100%;grid-column:1 / -1;width:100%;margin:0}
