/* Specialist profiles share controls and lower-page sections with the detail design. */
.profile-page { --profile-soft:#f4f0f7; }
.profile-page [id] { scroll-margin-top:32px; }
.profile-hero { background:linear-gradient(145deg,#f6f3f9,#efebf4); padding:28px 0 0; }
.profile-hero-card { display:grid; grid-template-columns:360px minmax(0,1fr); gap:62px; align-items:center; padding-bottom:40px; }
.profile-portrait { position:relative; height:472px; background:#e3dbe9; border:6px solid white; border-radius:24px; overflow:hidden; box-shadow:0 12px 40px #42205d0b; }
.profile-portrait>img { width:100%; height:100%; object-fit:cover; object-position:center 18%; display:block; }
.profile-portrait-placeholder { display:grid; place-items:center; height:100%; font-size:100px; color:#b9a4cd; }
.profile-experience { position:absolute; left:18px; right:18px; bottom:18px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:17px 20px; background:#fffef9f2; backdrop-filter:blur(12px); border-radius:14px; }
.profile-experience>span { font-size:11px; color:#817189; }
.profile-experience strong { color:#502382; font-size:15px; font-weight:650; }
.profile-identity { min-width:0; padding:10px 0; }
.profile-page h1 { font-size:clamp(34px,3.2vw,46px); line-height:1.12; font-weight:650; letter-spacing:-.04em; color:#2c2335; margin:0 0 22px; max-width:670px; text-wrap:balance; overflow-wrap:anywhere; }
.profile-role { max-width:650px; font:19px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; color:#694d7d; margin-bottom:24px; }
.profile-role p:last-child { margin-bottom:0; }
.profile-summary { font:15px/1.75 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; color:#73677c; max-width:650px; padding-left:18px; border-left:2px solid #c1aacd; margin-bottom:28px; }
.profile-actions { display:flex; align-items:center; flex-wrap:wrap; gap:18px 24px; }
.profile-actions .detail-button { min-height:54px; font-size:13px; }
.profile-video-link { display:inline-flex; gap:9px; align-items:center; color:#62447b!important; font-size:12px; font-weight:600; }
.profile-video-link>span { display:grid; place-items:center; width:34px; height:34px; border:1px solid #d1bfdc; border-radius:50%; font-size:22px; padding-left:2px; }
.profile-video-link:hover>span { background:white; }
.profile-location { display:flex; gap:12px; align-items:center; padding-top:26px; margin-top:26px; border-top:1px solid #ded5e5; }
.profile-location>span { font-size:28px; color:#9674af; }
.profile-location strong { display:block; font-size:12px; font-weight:600; color:#5d4e68; margin-bottom:5px; }
.profile-location div>span { font-size:11px; color:#8a7a95; }
.profile-jump-links { display:flex; align-items:center; gap:28px; border-top:1px solid #dcd2e5; padding-block:23px; font-size:12px; font-weight:600; overflow-x:auto; white-space:nowrap; scrollbar-width:thin; }
.profile-jump-links :is(a, button) { padding-block:4px; }
.profile-jump-links button { border:0; background:transparent; padding-inline:0; color:#502382; font:inherit; text-align:left; }
.profile-jump-links :is(a, button):last-child { margin-left:auto; color:#502382; }
.profile-jump-links :is(a, button):hover { color:#502382; text-decoration:underline; text-underline-offset:6px; }
.profile-reading-layout { display:grid; grid-template-columns:minmax(0,1fr) 270px; gap:72px; padding-block:72px; }
.profile-reading { min-width:0; }
.profile-section-intro>.detail-eyebrow { margin-bottom:20px; }
.profile-section-intro>h2 { font-size:30px; margin-bottom:30px; }
.profile-sidebar { align-self:stretch; min-width:0; }
.profile-sidebar .detail-toc { padding-top:0; margin-bottom:28px; }
.profile-appointment-card { border-radius:18px; background:#f7f4fa; border:1px solid #e5daee; padding:24px; }
.profile-appointment-card .detail-eyebrow { font-size:10px; margin-bottom:14px; }
.profile-appointment-card h2 { font-size:22px; line-height:1.3; margin-bottom:14px; }
.profile-appointment-card p { font:14px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; color:#7d6c88; margin-bottom:22px; }
.profile-appointment-card .detail-button { width:100%; padding:12px; min-height:48px; font-size:12px; gap:15px; }
.profile-sidebar-phone { display:block; text-align:center; margin-top:18px; color:#644b77!important; font-size:13px; font-weight:600; }
.profile-page .bn-article { display:block; overflow-wrap:break-word; }
.profile-page .bn-article .profile-text-section { margin:0 0 44px; padding:0 0 24px; border-bottom:1px solid #e9e2ee; }
.profile-page .bn-article .profile-text-section:last-child { border-bottom:0; margin-bottom:0; padding-bottom:0; }
.profile-page .bn-article h2.wp-block-heading { font-size:29px; line-height:1.3; margin:0 0 26px; text-wrap:balance; }
.profile-page .bn-article h3.wp-block-heading { font-size:21px; line-height:1.4; margin:32px 0 20px; }
.profile-page .bn-article :is(p.wp-block-paragraph,ul.wp-block-list,ol.wp-block-list) { font-size:17px; line-height:1.8; }
.profile-page .bn-article .bn-article-intro { font-size:19px; }
.profile-page .bn-article ul.wp-block-list { list-style:none; padding-left:0; }
.profile-page .bn-article ul.wp-block-list>li { position:relative; padding-left:26px; margin-bottom:14px; }
.profile-page .bn-article ul.wp-block-list>li:before { content:""; position:absolute; left:2px; top:12px; width:6px; height:6px; border-radius:50%; background:#9e7db7; }
.profile-page .bn-article .profile-education ul.wp-block-list { padding:0; border-left:1px solid #dfd1ea; margin-left:5px; }
.profile-page .bn-article .profile-education ul.wp-block-list>li { padding:0 0 24px 25px; margin:0; }
.profile-page .bn-article .profile-education ul.wp-block-list>li:last-child { padding-bottom:0; }
.profile-page .bn-article .profile-education ul.wp-block-list>li:before { left:-5px; top:9px; width:9px; height:9px; background:#fff; border:2px solid #9e7db7; }
.profile-page .bn-article .wp-block-image { max-width:100%; }
.profile-page .bn-article .wp-block-image img { max-height:600px; object-fit:contain; }
.profile-page .bn-article :is(.wp-block-video,.wp-block-embed) { max-width:100%; }
.profile-page .bn-article .wp-block-video video { height:auto; }
.profile-documents .detail-section-heading p { margin:0; font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; color:#8a7994; }
.profile-document { display:flex; flex-direction:column; border:0; background:transparent; border-radius:0; box-shadow:none; overflow:hidden; }
.profile-document>div { height:245px; padding:0; display:flex; align-items:center; justify-content:center; }
.profile-document img { display:block; max-width:100%; width:100%; height:100%; object-fit:contain; transition:transform .2s; }
.profile-document:hover img { transform:scale(1.035); }
.profile-featured-video { display:block; position:relative; width:100%; height:440px; overflow:hidden; border-radius:22px; background:#372248; margin-bottom:26px; }
.profile-featured-video>img { width:100%; height:100%; object-fit:cover; object-position:center; opacity:.9; }
.profile-video-overlay { display:flex; align-items:center; gap:22px; position:absolute; inset:0; padding:38px; background:linear-gradient(0deg,#21132ecc,transparent 65%); align-items:flex-end; color:white; }
.profile-play { flex:0 0 60px; display:grid; place-items:center; width:60px; height:60px; border:1px solid #ffffff99; border-radius:50%; font-size:22px; padding-left:3px; background:#ffffff22; align-self:flex-end; }
.profile-video-overlay strong { display:block; color:white; font-size:24px; line-height:1.3; margin-bottom:8px; }
.profile-video-overlay span>span { font-size:13px; color:#e7dceb; }
.profile-practice-photo { position:relative; display:block; height:270px; border-radius:16px; overflow:hidden; background:#eee7f3; }
.profile-practice-photo img { display:block; width:100%; height:100%; object-fit:cover; }
.profile-practice-photo>span { display:grid; place-items:center; position:absolute; right:14px; bottom:14px; width:34px; height:34px; background:#fffffff0; border-radius:50%; color:#6c4288; font-size:20px; }
.profile-page .profile-consultation { padding-top:40px; }
.profile-page .profile-consultation .detail-inline-cta { margin:0; }
.profile-page .profile-consultation+.profile-booking { padding-top:40px; }
.profile-general-offer { display:grid; grid-template-columns:1fr 1fr; gap:48px; padding:36px; border:1px solid #e3d9ec; border-radius:20px; background:#f7f3fa; align-items:center; }
.profile-general-offer h2 { font-size:28px; margin-bottom:26px; }
.profile-general-offer .detail-booking-offer { margin:0; background:white; border-color:#e2d8eb; }
.profile-general-offer .detail-booking-offer>strong { color:#3d2a4d; }
.profile-general-offer .detail-booking-offer>p,.profile-general-offer .detail-booking-offer>small { color:#7b6888; }
.profile-selected { display:flex; align-items:center; gap:20px; margin:30px 0; padding:24px 0; border-block:1px solid #ffffff24; }
.profile-selected>img { width:74px; height:90px; flex:0 0 74px; object-fit:cover; object-position:top; border-radius:12px; }
.profile-selected div>span { display:block; font-size:10px; letter-spacing:.04em; color:#cbb4df; margin-bottom:7px; }
.profile-selected strong { color:white; font-size:18px; font-weight:600; line-height:1.4; display:block; }
.profile-selected p { color:#ceb9df; font:13px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; margin:8px 0 0; }
@media(max-width:1100px) {
 .profile-hero-card { grid-template-columns:320px minmax(0,1fr); gap:38px; }
 .profile-portrait { height:450px; }
 .profile-reading-layout { grid-template-columns:minmax(0,1fr) 250px; gap:36px; }
 .profile-jump-links { gap:24px; }
}
@media(max-width:900px) {
 .profile-hero-card { grid-template-columns:280px minmax(0,1fr); gap:30px; }
 .profile-portrait { height:410px; }
 .profile-page h1 { font-size:34px; }
 .profile-role { font-size:17px; }
 .profile-summary { font-size:14px; }
 .profile-reading-layout { display:flex; flex-direction:column; gap:28px; padding-block:40px 48px; }
 .profile-sidebar { order:-1; }
 .profile-appointment-card { display:none; }
 .profile-sidebar .detail-toc { padding:18px 22px; margin:0; }
 .profile-page .detail-sidebar-sticky { max-height:none; overflow:visible; }
}
@media(max-width:767px) {
 .profile-page [id] { scroll-margin-top:90px; }
 .profile-hero { padding-top:20px; }
 .profile-hero-card { grid-template-columns:130px minmax(0,1fr); gap:20px; padding-bottom:28px; align-items:center; }
 .profile-portrait { grid-column:1; grid-row:1; width:130px; margin:0; height:180px; border-width:3px; border-radius:16px; }
 .profile-portrait>img { object-position:center 15%; }
 .profile-experience { display:none; }
 .profile-identity { display:contents; }
 .profile-nameplate { grid-column:2; grid-row:1; min-width:0; }
 .profile-page h1 { font-size:25px; line-height:1.18; text-wrap:initial; margin-bottom:0; hyphens:auto; }
 .profile-role { grid-column:1/-1; grid-row:2; font-size:18px; line-height:1.5; margin:0; }
 .profile-summary { grid-column:1/-1; grid-row:4; font-size:15px; line-height:1.65; margin:2px 0 0; }
 .profile-actions { grid-column:1/-1; grid-row:3; gap:16px; }
 .profile-actions .detail-button { width:100%; font-size:13px; justify-content:space-between; }
 .profile-video-link { font-size:12px; }
 .profile-location { grid-column:1/-1; grid-row:5; margin-top:2px; padding-top:20px; }
 .profile-location div>span { line-height:1.6; display:block; }
 .profile-jump-links { padding-block:18px; gap:26px; font-size:12px; }
 .profile-jump-links :is(a, button):last-child { margin-left:0; }
 .profile-page .bn-article h2.wp-block-heading { font-size:25px; line-height:1.32; margin-bottom:22px; }
 .profile-page .bn-article h3.wp-block-heading { font-size:20px; }
 .profile-page .bn-article .profile-text-section { padding-bottom:16px; margin-bottom:32px; }
 .profile-page .bn-article :is(p.wp-block-paragraph,ul.wp-block-list,ol.wp-block-list) { font-size:17px; line-height:1.75; }
 .profile-page .bn-article .bn-article-intro { font-size:18px; }
 .profile-page .profile-consultation { padding-top:28px; }
 .profile-document>div { height:280px; padding:0; }
 .profile-featured-video { height:280px; border-radius:16px; }
 .profile-video-overlay { padding:22px; gap:14px; }
 .profile-video-overlay strong { font-size:18px; }
 .profile-play { flex-basis:44px; width:44px; height:44px; font-size:18px; }
 .profile-practice-photo { height:280px; }
 .profile-selected { gap:14px; }
 .profile-selected>img { width:62px; height:82px; flex-basis:62px; }
 .profile-selected strong { font-size:16px; }
 .profile-selected p { font-size:12px; }
 .profile-booking .detail-booking h2 { font-size:29px; }
 .profile-general-offer { grid-template-columns:1fr; gap:24px; padding:24px; }
}
@media print { .profile-jump-links,.profile-actions,.profile-sidebar { display:none!important; }.profile-reading-layout{display:block}.profile-hero-card{grid-template-columns:200px 1fr}.profile-portrait{height:260px} }
