/* One responsive column gutter shared by every MedicalPro pattern scope. */
:root {--mp-grid-gap:24px}
@media(min-width:1440px){:root {--mp-grid-gap:32px}}
@media(max-width:1100px){:root {--mp-grid-gap:20px}}
@media(max-width:600px){:root {--mp-grid-gap:16px}}
/* Shared homepage styling: front end and Gutenberg. Header/footer retain their styles. */
/* Home owns headings; synced patterns contain only live catalog content. */
:root .medical-home .mp-directions-section {margin:0 calc(-1 * var(--gutter));padding:44px var(--gutter) 64px;scroll-margin-top:144px;background:#fff}
:root .medical-home .mp-catalog-section {margin:0;padding:36px 0 64px;scroll-margin-top:144px}
:root .medical-home .mp-directions.mp-directions-body,:root .medical-home .mp-catalog.mp-catalog-body {margin:0;padding:0}
:root .medical-home .mp-directions-without-centers .mp-directions-grid {margin-top:0}
@media(max-width:560px){:root .medical-home .mp-directions-section {padding-block:32px 48px}:root .medical-home .mp-catalog-section {padding-block:24px 48px}}
/* Dynamic center cards from Главная → Направления. */
:root .medical-home .mp-centers-design-test {padding:44px 0 12px}
:root .medical-home .mp-centers-design-test>h2 {font:500 clamp(28px,2.7vw,38px)/1.2 Raleway,sans-serif;letter-spacing:-.025em;margin:0 0 28px;color:var(--mp-ink)}
:root .medical-home .mp-direction-center-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--mp-gap)}
:root .medical-home .mp-direction-center-grid:has(>.mp-direction-center-card:nth-child(3)) {grid-template-columns:repeat(3,minmax(0,1fr))}
:root .medical-home .mp-direction-center-card {position:relative;display:block;min-height:216px;overflow:hidden;border-radius:20px;background:#f5f4f4;isolation:isolate}
:root .medical-home .mp-direction-center-card::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,#f5f4f4 0%,#f1eded 35%,#dfd3d2 72%,#c6b4b5 100%);clip-path:inset(0 0 0 100%);opacity:0;transition:clip-path .65s cubic-bezier(.2,.65,.3,1),opacity .65s ease;pointer-events:none}
:root .medical-home .mp-direction-center-card:is(:hover,:focus-within)::before {clip-path:inset(0);opacity:1}
:root .medical-home .mp-direction-center-copy {position:relative;box-sizing:border-box;display:flex;flex-direction:column;align-items:flex-start;min-width:0;width:64%;min-height:216px;padding:24px 12px 24px 30px;z-index:1}
:root .medical-home .mp-direction-center-copy h3 {font:600 24px/1.2 Raleway,sans-serif;letter-spacing:-.025em;color:var(--mp-ink);margin:0 0 14px;text-wrap:balance}
:root .medical-home .mp-direction-center-copy .mp-direction-center-description {font:400 15px/1.5 Raleway,sans-serif;color:var(--mp-ink);margin:0 0 18px}
:root .medical-home .mp-direction-center-actions {display:flex;align-items:center;gap:12px;margin-top:auto}
:root .medical-home .mp-direction-center-actions p {margin:0;font:500 14px/1.4 Raleway,sans-serif;color:var(--mp-brown)}
:root .medical-home .mp-direction-center-actions .wp-block-buttons {display:flex;align-items:center;margin:0;line-height:0}
:root .medical-home .mp-direction-center-card .mp-direction-center-link .wp-block-button__link {background:transparent;color:var(--mp-brown)}
:root .medical-home .mp-direction-center-card:is(:hover,:focus-within) .mp-direction-center-link .wp-block-button__link {background:var(--mp-brown);color:#fff}
:root .medical-home .mp-direction-center-photo {aspect-ratio:1;min-width:0;position:absolute;right:0;bottom:0;width:min(40%,216px);margin:0;overflow:visible;border-radius:0;pointer-events:none}
:root .medical-home .mp-direction-center-photo img {position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:right bottom;transform-origin:right bottom;transition:transform .65s cubic-bezier(.2,.65,.3,1)}
:root .medical-home .mp-direction-center-card:is(:hover,:focus-within) .mp-direction-center-photo img {transform:scale(1.08)}
.editor-styles-wrapper .mp-direction-center-grid>.block-editor-inner-blocks>.block-editor-block-list__layout {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--mp-gap)}
.editor-styles-wrapper .mp-direction-center-card>.block-editor-inner-blocks>.block-editor-block-list__layout {display:block;min-height:216px}
.editor-styles-wrapper .mp-direction-center-grid>.block-editor-inner-blocks>.block-editor-block-list__layout:has(>.mp-direction-center-card:nth-child(3)) {grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:1001px){
 :root .medical-home .mp-direction-center-grid:has(.mp-direction-center-card:nth-child(3)) .mp-direction-center-card {min-height:240px;container-type:inline-size}
 :root .medical-home .mp-direction-center-grid:has(.mp-direction-center-card:nth-child(3)) .mp-direction-center-copy {min-height:240px;width:100%;padding:24px 20px 22px}
 :root .medical-home .mp-direction-center-grid:has(.mp-direction-center-card:nth-child(3)) .mp-direction-center-copy h3 {font-size:22px}
 :root .medical-home .mp-direction-center-grid:has(.mp-direction-center-card:nth-child(3)) .mp-direction-center-description {margin-bottom:18px;width:68%;font-size:14px}
 :root .medical-home .mp-direction-center-grid:has(.mp-direction-center-card:nth-child(3)) .mp-direction-center-photo {right:0;bottom:0;width:min(35%,150px);margin:0}
 .editor-styles-wrapper .mp-direction-center-grid:has(.mp-direction-center-card:nth-child(3)) .mp-direction-center-card>.block-editor-inner-blocks>.block-editor-block-list__layout {display:block;min-height:0}
}
@media(max-width:1000px){:root .medical-home .mp-direction-center-grid,:root .medical-home .mp-direction-center-grid:has(>.mp-direction-center-card:nth-child(3)) {grid-template-columns:1fr}}
@media(max-width:560px){
 :root .medical-home .mp-centers-design-test {padding-top:32px}
 :root .medical-home .mp-direction-center-card {display:block;min-height:0;container-type:inline-size;border-radius:16px}
 :root .medical-home .mp-direction-center-copy {min-height:0;box-sizing:border-box;width:100%;padding:24px 20px 22px}
 :root .medical-home .mp-direction-center-copy h3 {font-size:22px;line-height:1.2}
 :root .medical-home .mp-direction-center-copy .mp-direction-center-description {font-size:14px;margin-bottom:calc(min(40cqw,150px) - 28px);width:100%}
 :root .medical-home .mp-direction-center-photo {position:absolute;right:0;bottom:0;width:min(40%,150px);margin:0}
 .editor-styles-wrapper .mp-direction-center-card>.block-editor-inner-blocks>.block-editor-block-list__layout {display:block;min-height:0}
}
@media(prefers-reduced-motion:reduce){:root .medical-home .mp-direction-center-photo img,:root .medical-home .mp-direction-center-card::before {transition:none}}
/* About page: native editable blocks, shared page grid and responsive section gaps. */
:root .medical-home .mp-about-page-hero {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-height:450px;background:var(--light);border-radius:var(--mp-card-radius);overflow:hidden}
:root .medical-home .mp-about-page-copy {padding:40px 44px;min-width:0}
:root .medical-home .mp-about-page-copy h1 {font:500 40px/1.15 Raleway,sans-serif;letter-spacing:-.025em;color:var(--mp-ink);margin-bottom:24px}
:root .medical-home .mp-about-page-copy p {font:400 16px/1.55 Raleway,sans-serif;color:var(--mp-ink);margin-top:20px}
:root .medical-home .mp-about-page-copy .mp-about-page-lead {font-size:18px;line-height:1.45;font-weight:500;margin-top:0}
:root .medical-home .mp-about-page-actions {margin-top:28px}
:root .medical-home .mp-about-page-actions .wp-block-button__link {display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:190px;box-sizing:border-box;padding:12px 26px;border:1px solid var(--mp-brown);background:var(--mp-brown);color:#fff;font:500 15px/1.3 Raleway,sans-serif;text-decoration:none;transition:color .2s,background .2s}
:root .medical-home .mp-about-page-actions .wp-block-button__link:is(:hover,:focus-visible) {background:transparent;color:var(--mp-brown)}
:root .medical-home .mp-about-page-photo {position:relative;align-self:stretch;margin:0;min-width:0}
.mp-about-page-photo img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
:root .medical-home .mp-about-page-detail {padding:40px 44px;background:var(--light);border-radius:var(--mp-card-radius);margin-top:var(--mp-profile-block-gap)}
:root .medical-home .mp-about-page-detail h2 {font-size:clamp(28px,2.7vw,38px);line-height:1.2;font-weight:500;text-wrap:initial;margin:0 0 24px;color:var(--mp-ink)}
:root .medical-home .mp-about-page-detail p {font:400 16px/1.65 Raleway,sans-serif;color:var(--mp-ink)}
:root .medical-home .mp-about-page-detail p+p {margin-top:20px}
:root .medical-home .mp-about-page-facts {margin-top:var(--mp-profile-block-gap);padding:36px 44px;border-radius:var(--mp-card-radius);background:linear-gradient(90deg,#f5f4f4 0%,#f5f4f4 10%,#e3dada 72%,#c6b4b5 100%)}
:root .medical-home .mp-about-page-facts .mp-screen-stats {border:0;padding:0;margin:0}
:root .mp-about-page .mp-about-page-story .mp-about {margin-top:var(--mp-profile-block-gap);padding:0}
:root .mp-about-page .mp-partners-scope .mp-partners {margin-top:var(--mp-profile-block-gap);padding:0}
:root .mp-about-page .mp-picker-scope .mp-picker {padding-block:var(--mp-profile-block-gap) 0}
:root .mp-inpatient-page .mp-physicians-scope .mp-physicians {margin-top:var(--mp-profile-block-gap);padding:0}
:root .mp-inpatient-page .mp-partners-scope .mp-partners {margin-top:var(--mp-profile-block-gap);padding:0}
:root .medical-home.mp-inpatient-page .mp-picker-scope .mp-picker {padding-block:var(--mp-profile-block-gap) 0}
@media(max-width:900px){
 :root .medical-home .mp-about-page-hero {grid-template-columns:1fr}
 :root .medical-home .mp-about-page-photo {aspect-ratio:3/2}
}
@media(max-width:760px){
 :root .medical-home .mp-about-page-photo {grid-row:1}
 :root .medical-home .mp-about-page-copy,:root .medical-home .mp-about-page-detail {padding:24px 20px}
 :root .medical-home .mp-about-page-copy h1 {font-size:30px;margin-bottom:20px}
 :root .medical-home .mp-about-page-facts {padding:24px 20px}
 :root .medical-home .mp-about-page-facts .mp-screen-stat:first-child {padding-top:0}
}
:root .medical-home .mp-first-screen-scope {padding-block:20px;margin:0;--mp-screen-offset:180px}
body.admin-bar .mp-first-screen-scope {--mp-screen-admin:32px}
:root .medical-home .mp-first-screen {box-sizing:border-box;min-height:calc(100svh - var(--mp-screen-offset,180px) - var(--mp-screen-admin,0px));display:flex;flex-direction:column;padding:clamp(28px,3vw,44px);border-radius:20px;background:linear-gradient(90deg,#f5f4f4 0%,#f5f4f4 10%,#e3dada 72%,#c6b4b5 100%);isolation:isolate;position:relative;overflow:hidden}
.mp-first-screen::before {content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle,rgba(255,255,255,.26) 0 3px,transparent 4px) right top/26px 26px;mask-image:linear-gradient(90deg,transparent 48%,#000 100%);pointer-events:none}
:root .medical-home .mp-screen-main {display:grid;grid-template-columns:1.25fr .85fr;gap:clamp(32px,5vw,80px);flex:1;align-items:center;min-height:300px}
:root .medical-home .mp-screen-copy {min-width:0;padding-block:4px 28px}
:root .medical-home .mp-screen-title {font:500 clamp(36px,3.4vw,52px)/1.08 Raleway,sans-serif;letter-spacing:-.035em;color:var(--mp-ink);text-wrap:initial}
:root .medical-home .mp-screen-subtitle {font:400 clamp(18px,1.7vw,24px)/1.35 Raleway,sans-serif;color:var(--mp-ink);margin-top:20px;max-width:510px}
:root .medical-home .mp-screen-description {font:400 16px/1.5 Raleway,sans-serif;color:var(--mp-ink);margin-top:16px;max-width:470px}
:root .medical-home .mp-screen-actions {display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
:root .medical-home .mp-screen-actions .wp-block-button__link {font:500 14px/1.2 Raleway,sans-serif;box-sizing:border-box;display:flex;justify-content:center;align-items:center;min-height:46px;padding:12px 30px;border:1px solid var(--mp-brown);border-radius:999px;transition:background .2s,color .2s}
:root .medical-home .mp-screen-actions .mp-primary .wp-block-button__link {background:var(--mp-brown);color:#fff;min-width:190px}
:root .medical-home .mp-screen-secondary .wp-block-button__link {background:transparent;color:var(--mp-brown);min-width:146px}
:root .medical-home .mp-screen-actions .mp-primary .wp-block-button__link:is(:hover,:focus-visible) {background:transparent;color:var(--mp-brown);border-color:var(--mp-brown)}
:root .medical-home .mp-screen-actions .mp-screen-secondary .wp-block-button__link:is(:hover,:focus-visible) {background:var(--mp-brown);color:#fff;border-color:var(--mp-brown)}
:root .medical-home .mp-screen-visual {align-self:stretch;position:relative;min-height:310px;max-height:560px;overflow:hidden;border-radius:0 120px 0 120px;background:var(--mp-brown)}
:root .medical-home .mp-screen-doctor {position:absolute;inset:16px 0 0;margin:0;display:flex;align-items:flex-end;justify-content:center}
.mp-screen-doctor img {display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
@media(min-width:1025px){:root .medical-home .mp-screen-visual {scale:.9;transform-origin:center right}}
:root .medical-home .mp-screen-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;border-top:1px solid #6b4e5233;padding-top:22px;margin-top:28px;scroll-margin-top:160px}
:root .medical-home .mp-screen-stat {min-width:0;position:relative;padding-right:24px}
:root .medical-home .mp-screen-stat+.mp-screen-stat {border-left:1px solid #6b4e5226;padding-left:30px}
:root .medical-home .mp-screen-number {font:500 clamp(34px,3.2vw,46px)/1 Raleway,sans-serif;color:var(--mp-brown);letter-spacing:-.04em;font-variant-numeric:lining-nums}
:root .medical-home .mp-screen-stat-title {font:500 18px/1.3 Raleway,sans-serif;color:var(--mp-ink);margin-top:8px}
:root .medical-home .mp-screen-stat-description {font:400 14px/1.45 Raleway,sans-serif;color:var(--mp-ink);margin-top:6px;max-width:320px}
/* The editor canvas does not include the public site header. */
.editor-styles-wrapper .mp-first-screen {min-height:620px}
@media(min-width:1025px) and (max-height:800px){
 :root .medical-home .mp-first-screen {padding:28px 36px}
 :root .medical-home .mp-screen-title {font-size:40px}
 :root .medical-home .mp-screen-subtitle {margin-top:16px;font-size:20px}
 :root .medical-home .mp-screen-description {margin-top:12px}
 :root .medical-home .mp-screen-actions {margin-top:18px}
 :root .medical-home .mp-screen-main {min-height:290px}
 :root .medical-home .mp-screen-visual {min-height:290px}
 :root .medical-home .mp-screen-stats {margin-top:20px;padding-top:18px}
 :root .medical-home .mp-screen-number {font-size:36px}
}
@media(max-width:1024px){
 :root .medical-home .mp-first-screen {min-height:0;padding:30px}
 :root .medical-home .mp-screen-main {gap:24px;grid-template-columns:1.2fr 1fr}
 :root .medical-home .mp-screen-title {font-size:36px}
 :root .medical-home .mp-screen-visual {border-radius:0 90px 0 90px}
 :root .medical-home .mp-screen-stats {gap:20px}
 :root .medical-home .mp-screen-stat+.mp-screen-stat {padding-left:20px}
}
@media(max-width:700px){
 :root .medical-home .mp-first-screen-scope {padding-block:16px}
 :root .medical-home .mp-first-screen {padding:26px 22px;border-radius:16px;--mp-screen-mobile-gap:22px}
 :root .medical-home .mp-screen-main {grid-template-columns:1fr;gap:var(--mp-screen-mobile-gap)}
 :root .medical-home .mp-screen-title {font-size:32px;line-height:1.12}
 :root .medical-home .mp-screen-copy {padding:0}
 :root .medical-home .mp-screen-subtitle {font-size:19px;margin-top:18px}
 :root .medical-home .mp-screen-description {font-size:15px;margin-top:14px}
 :root .medical-home .mp-screen-actions {gap:10px;margin-top:var(--mp-screen-mobile-gap)}
 :root .medical-home .mp-screen-actions .wp-block-button {flex:1;min-width:0}
 :root .medical-home .mp-screen-actions .mp-primary {flex:1.4}
 :root .medical-home .mp-screen-actions .mp-primary .wp-block-button__link,:root .medical-home .mp-screen-actions .mp-screen-secondary .wp-block-button__link {min-width:0;width:100%;padding:12px 8px;min-height:48px;font-size:15px;white-space:nowrap}
 :root .medical-home .mp-screen-visual {min-height:270px;width:90%;max-width:324px;justify-self:center;border-radius:0 90px 0 90px}
 :root .medical-home .mp-screen-stats {grid-template-columns:1fr;margin-top:24px;padding-top:0;gap:0;border-top:0}
 :root .medical-home .mp-screen-stat,:root .medical-home .mp-screen-stat+.mp-screen-stat {border-left:0;padding:20px 0;display:block;text-align:left}
 :root .medical-home .mp-screen-stat+.mp-screen-stat {border-top:1px solid #6b4e5226}
 :root .medical-home .mp-screen-stat:last-child {padding-bottom:0}
 :root .medical-home .mp-screen-number {font-size:36px}
 :root .medical-home .mp-screen-stat-title {font-size:18px;margin-top:10px}
 :root .medical-home .mp-screen-stat-description {margin-top:6px;font-size:14px}
}
@media(max-width:360px){:root .medical-home .mp-screen-actions .wp-block-button {flex-basis:100%}}
:root .site-page.medical-home.mp-index-page {padding-block:32px 64px}
:root .mp-index-page h1 {font:500 clamp(30px,2.7vw,40px)/1.15 Raleway,sans-serif;letter-spacing:-.025em;color:var(--mp-ink)}
:root .site-page .mp-profile-breadcrumbs {font:400 14px/1.6 Raleway,sans-serif;color:var(--mp-brown);margin-bottom:28px}
:root .site-page.medical-home {--mp-profile-block-gap:48px}
@media(max-width:760px){:root .site-page.medical-home {--mp-profile-block-gap:36px}}
/* Inline flow allows long titles to wrap; the nonbreaking space keeps / with the preceding item. */
.mp-profile-breadcrumbs ol {display:block;list-style:none;margin:0;padding:0;white-space:normal;overflow-wrap:break-word}
.mp-profile-breadcrumbs li {display:inline;margin:0;padding:0}
.mp-profile-breadcrumbs li:not(:last-child)::after {content:"\00a0/ ";color:var(--mp-brown)}
.mp-profile-breadcrumbs a {color:var(--mp-ink);text-decoration:none;transition:color .2s ease}
.mp-profile-breadcrumbs a:is(:hover,:focus-visible) {color:var(--mp-rose);text-decoration:none}
@media(max-width:600px){:root .site-page.medical-home.mp-index-page {padding-block:24px 48px}}
:root .mp-index-page .mp-picker-scope .mp-picker {padding-block:64px 0}
@media(max-width:600px){:root .mp-index-page .mp-picker-scope .mp-picker {padding-block:48px 0}}
:root .site-page.medical-home, :root .mp-contacts-scope, :root .mp-first-screen-scope, :root .mp-intro-scope, :root .mp-physicians-scope, :root .mp-reviews-scope, :root .mp-promotions-scope {
 --ink:#322527; --muted:#6b4e52; --light:#f5f4f4; --white:#ffffff;
 --mp-rose:#cba8a4; --mp-brown:#6b4e52; --mp-ink:#322527;
 --page-width:1440px; --gutter:clamp(20px,5.55vw,80px);
 --mp-gap:var(--mp-grid-gap,24px); --mp-card-radius:16px; --button-radius:999px;
 --letter-space:-.025em; --letter-secondary:-.015em;
 font-family:"Raleway",sans-serif; font-weight:400; color:var(--mp-ink);
}
:root .site-page.medical-home :where(p,h1,h2,h3,h4,a,button), :root .mp-contacts-scope :where(p,h1,h2,h3,h4,a,button), :root .mp-intro-scope :where(p,h1,h2,h3,h4,a,button), :root .mp-physicians-scope :where(p,h1,h2,h3,h4,a,button), :root .mp-reviews-scope :where(p,h1,h2,h3,h4,a,button) {font-family:"Raleway",sans-serif}
.medical-home :where(h1,h2) {font-weight:500}
.medical-home :where(h3,h4,.item-title) {font-weight:600}
.medical-home .wp-block-button__link {border-radius:999px}
:root .medical-home .mp-intro {padding-block:28px 32px; margin:0}
:root .medical-home .mp-top-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--mp-gap);align-items:stretch}
:root .medical-home .mp-banner {
 position:relative;isolation:isolate;overflow:hidden;min-height:500px;grid-column:span 2;
 border-radius:var(--mp-card-radius);padding:44px;
 background:linear-gradient(112deg,#ececec 0%,#b4a0a1 48%,#977c7f 100%);
}
.medical-home .mp-banner::before {content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle,rgba(255,255,255,.12) 0 5px,transparent 6px);background-size:32px 32px;mask-image:linear-gradient(120deg,transparent 20%,#000 100%);pointer-events:none}
.medical-home .mp-banner::after {content:"";position:absolute;right:28px;bottom:62px;width:272px;height:272px;aspect-ratio:1;border-radius:0 100px 0 100px;background:var(--mp-brown);z-index:-1;pointer-events:none}
:root .medical-home .mp-copy {position:relative;z-index:2;max-width:min(65%,calc(100% - 300px));overflow-wrap:anywhere}
:root .medical-home .mp-title {font-size:clamp(30px,2.7vw,40px);font-weight:500;line-height:1.15;letter-spacing:-.025em;text-wrap:initial;color:var(--mp-ink)}
:root .medical-home .mp-subtitle {font-size:21px;line-height:1.35;color:var(--mp-ink);margin-top:24px;font-weight:400}
:root .medical-home .mp-description {font-size:16px;line-height:1.45;color:var(--mp-ink);margin-top:18px;max-width:385px}
:root .medical-home .mp-actions {display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
:root .medical-home .mp-primary .wp-block-button__link,:root .medical-home .mp-secondary .wp-block-button__link {
 display:inline-flex;align-items:center;justify-content:center;min-height:46px;
 padding:12px 28px;border:1px solid var(--mp-brown);border-radius:999px;
 font-family:"Raleway",sans-serif;font-size:14px;line-height:1.25;font-weight:500;
 color:#fff;background:var(--mp-brown);text-decoration:none;
 transition:background .2s ease,color .2s ease,transform .2s ease;
}
:root .medical-home .mp-primary .wp-block-button__link {min-width:190px}
:root .medical-home .mp-secondary .wp-block-button__link {min-width:146px;color:#fff;border-color:#fff;background:transparent}
:root .medical-home .mp-primary .wp-block-button__link:hover,:root .medical-home .mp-primary .wp-block-button__link:focus-visible {background:#fff;border-color:#fff;color:var(--mp-brown)}
:root .medical-home .mp-secondary .wp-block-button__link:hover,:root .medical-home .mp-secondary .wp-block-button__link:focus-visible {background:var(--mp-brown);border-color:var(--mp-brown);color:#fff}
.medical-home :where(a,.wp-block-button__link):focus-visible {outline:3px solid var(--mp-ink);outline-offset:4px}
:root .medical-home .mp-doctor {position:absolute;z-index:1;right:0;bottom:0;width:39%;height:83%;margin:0;pointer-events:none}
.medical-home .mp-doctor img {display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
:root .medical-home .mp-stats {display:grid;grid-template-rows:1fr 1fr;gap:var(--mp-gap)}
:root .medical-home .mp-stat {position:relative;isolation:isolate;overflow:hidden;padding:30px;border-radius:var(--mp-card-radius);background:linear-gradient(to top,#e8dedb 0%,var(--light) 50%);min-width:0}
.medical-home .mp-stat::before {content:"";position:absolute;z-index:-1;right:24px;top:50%;transform:translateY(-50%);width:145px;height:145px;aspect-ratio:1;background:var(--mp-rose);border-radius:0 60px 0 60px;pointer-events:none}
.medical-home .mp-stat:nth-child(2)::before {border-radius:60px 0 60px 0}
:root .medical-home .mp-stat-number {font-size:54px;line-height:1;letter-spacing:-.04em;font-weight:600;font-variant-numeric:lining-nums proportional-nums;font-feature-settings:"lnum" 1,"onum" 0;color:var(--mp-brown)}
:root .medical-home .mp-stat-title {font-size:21px;line-height:1.25;font-weight:600;letter-spacing:-.02em;color:var(--mp-ink);margin-top:6px}
:root .medical-home .mp-stat-description {font-size:15px;line-height:1.4;color:var(--mp-ink);margin-top:10px;max-width:265px}
:root .medical-home .mp-services {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--mp-gap);margin-top:var(--mp-gap)}
:root .medical-home .mp-service {position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;min-height:176px;padding:24px;border-radius:var(--mp-card-radius);background:#f5f4f4;transition:background .2s ease}
:root .medical-home .mp-service-title {position:relative;z-index:2;max-width:65%;font-size:21px;line-height:1.2;font-weight:600;letter-spacing:-.02em;overflow-wrap:anywhere;color:var(--mp-ink)}
:root .medical-home .mp-service .wp-block-buttons {position:static;margin:0;margin-top:auto;padding-top:24px}
:root .medical-home .mp-card-link {position:static}
:root .medical-home .mp-card-link .wp-block-button__link {position:static;width:32px;height:32px;min-height:32px;display:flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--mp-brown);border-radius:999px;background:var(--mp-brown);color:#fff;font-size:0;text-decoration:none;transition:background .2s ease,color .2s ease}
/* Thin vector arrow uses currentColor in both the front end and the editable button. */
.medical-home .mp-card-link .wp-block-button__link::after {content:"";width:13px;height:13px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M8 3l5 5-5 5' fill='none' stroke='black' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}
:root .medical-home .mp-card-link .wp-block-button__link:hover,:root .medical-home .mp-card-link .wp-block-button__link:focus-visible {background:transparent;color:var(--mp-brown);transform:none}
/* Stretch the native link across the card; editable Gutenberg controls have no overlay. */
.medical-home .mp-card-link a.wp-block-button__link::before {content:"";position:absolute;inset:0;z-index:3;border-radius:var(--mp-card-radius)}
:root .medical-home .mp-service:hover,:root .medical-home .mp-service:focus-within {background:#ebe8e8}
:root .medical-home .mp-service:hover .mp-card-link .wp-block-button__link,:root .medical-home .mp-service:focus-within .mp-card-link .wp-block-button__link {background:transparent;color:var(--mp-brown)}
.medical-home .mp-card-link .mp-link-label {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:root .medical-home .mp-service-image {position:absolute;right:0;bottom:0;width:40%;height:94%;max-height:164px;margin:0;pointer-events:none;z-index:1}
.medical-home .mp-service-image img {display:block;width:100%;height:100%;object-fit:contain;object-position:right bottom}
:root .medical-home .mp-ambulance {width:47%;height:77%;right:-10px}
@media(min-width:1440px) {:root .medical-home {--mp-gap:var(--mp-grid-gap,24px)}}
@media(max-width:1100px) {
 :root .medical-home {--gutter:32px;--mp-gap:var(--mp-grid-gap,24px)}
 :root .medical-home .mp-banner {padding:30px;min-height:480px}
 :root .medical-home .mp-copy {max-width:calc(100% - 280px)}
 :root .medical-home .mp-title {font-size:32px}
 :root .medical-home .mp-doctor {width:252px;height:70%;max-height:420px;right:0}
 :root .medical-home .mp-actions {max-width:190px}
 :root .medical-home .mp-stat {padding:24px}
 :root .medical-home .mp-service {padding:20px}
 :root .medical-home .mp-service .wp-block-buttons {left:20px;bottom:20px}
 :root .medical-home .mp-service-title {font-size:18px;max-width:70%}
}
@media(max-width:900px) {
 :root .medical-home .mp-top-grid {grid-template-columns:1fr}
 :root .medical-home .mp-banner {grid-column:auto;min-height:440px;padding:36px}
 :root .medical-home .mp-copy {max-width:calc(100% - 300px)}
 :root .medical-home .mp-doctor {height:88%;width:272px;right:12px}
 :root .medical-home .mp-actions {max-width:none}
 :root .medical-home .mp-stats {grid-template-columns:1fr 1fr;grid-template-rows:auto}
 :root .medical-home .mp-stat {min-height:210px}
 :root .medical-home .mp-services {grid-template-columns:1fr}
 :root .medical-home .mp-service {min-height:156px;padding:24px}
 :root .medical-home .mp-service .wp-block-buttons {left:24px;bottom:24px}
 :root .medical-home .mp-service-title {font-size:22px;max-width:65%}
 :root .medical-home .mp-service-image {width:30%}
 :root .medical-home .mp-ambulance {width:35%}
}
@media(max-width:700px) {
 :root .medical-home {--gutter:20px;--mp-gap:var(--mp-grid-gap,24px)}
 :root .medical-home .mp-intro {padding-top:16px}
 :root .medical-home .mp-banner {padding:26px 24px 340px;min-height:0}
 :root .medical-home .mp-copy {max-width:100%}
 :root .medical-home .mp-title {font-size:30px}
 :root .medical-home .mp-subtitle {font-size:19px;margin-top:18px}
 :root .medical-home .mp-description {font-size:15px;margin-top:14px}
 :root .medical-home .mp-actions {flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:10px;margin-top:20px}
 :root .medical-home .mp-actions .wp-block-button {flex:1;min-width:0;width:auto}
 :root .medical-home .mp-actions .mp-primary {flex:1.35}
 :root .medical-home .mp-primary .wp-block-button__link,:root .medical-home .mp-secondary .wp-block-button__link {width:100%;min-width:0;min-height:50px;padding-inline:8px;font-size:clamp(12px,3.4vw,15px);box-sizing:border-box}
 :root .medical-home .mp-doctor {height:300px;max-height:none;width:100%;right:0}
 .medical-home .mp-banner::after {right:50%;transform:translateX(50%);bottom:32px}
 :root .medical-home .mp-stats {grid-template-columns:1fr}
 :root .medical-home .mp-stat {min-height:190px}
 :root .medical-home .mp-stat-number {font-size:48px}
 :root .medical-home .mp-service-title {font-size:20px;max-width:68%}
 /* All service photos share the same right-hand clipping boundary. */
 :root .medical-home .mp-service-image,:root .medical-home .mp-ambulance {width:32%;right:0;overflow:hidden}
 .medical-home .mp-service-image img {width:auto;min-width:100%;max-width:none;height:100%;object-fit:contain;object-position:left bottom}
}
/* Editable directions section with the same gray cards as Services. */
:root .medical-home .mp-directions {margin:0 calc(-1 * var(--gutter));padding:44px var(--gutter) 64px;scroll-margin-top:144px;background:#fff}
:root .medical-home .mp-directions-heading {font-size:clamp(28px,2.7vw,38px);line-height:1.2;font-weight:500;letter-spacing:-.025em;margin-bottom:28px}
:root .medical-home .mp-directions-featured {display:grid;grid-template-columns:repeat(var(--mp-center-columns,2),minmax(0,1fr));gap:var(--mp-gap)}
:root .medical-home .mp-directions-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px var(--mp-gap);margin-top:32px}
:root .medical-home .mp-directions .mp-service {background:#f5f4f4;min-width:0}
:root .medical-home .mp-directions .mp-service:hover,:root .medical-home .mp-directions .mp-service:focus-within {background:#ebe8e8}
:root .medical-home .mp-directions .mp-dir-title {font-size:18px;font-weight:600;line-height:1.35;letter-spacing:-.015em}
:root .medical-home .mp-dir-feature {min-height:320px;padding:32px;background:#6b4e52}
:root .medical-home .mp-dir-feature .mp-dir-title,:root .medical-home .mp-dir-description {max-width:68%}
:root .medical-home .mp-dir-feature .mp-dir-title {font-size:22px;color:#fff}
:root .medical-home .mp-dir-feature .mp-dir-description {color:#fff}
:root .medical-home .mp-dir-description {font-size:15px;line-height:1.4;font-weight:400;color:var(--mp-ink);margin-top:8px;overflow-wrap:anywhere}
.medical-home .mp-dir-feature::before {content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,#50373bea 0%,#6b4e52c9 47%,#6b4e5238 100%);pointer-events:none}
:root .medical-home .mp-dir-image {position:absolute;z-index:-2;inset:0;width:100%;height:100%;margin:0;overflow:hidden;pointer-events:none}
:root .medical-home .mp-dir-image img {display:block;width:100%;height:100%;object-fit:cover;object-position:65% center;transition:transform .6s cubic-bezier(.2,.65,.3,1),filter .6s ease}
.medical-home .mp-dir-feature:hover .mp-dir-image img,.medical-home .mp-dir-feature:focus-within .mp-dir-image img {transform:scale(1.06);filter:saturate(1.1)}
:root .medical-home .mp-dir-feature .mp-card-link .wp-block-button__link {background:transparent;border-color:#fff;color:#fff}
:root .medical-home .mp-dir-feature .mp-card-link .wp-block-button__link,:root .medical-home .mp-dir-feature:hover .mp-card-link .wp-block-button__link,:root .medical-home .mp-dir-feature .mp-card-link .wp-block-button__link:hover {display:flex;align-items:center;justify-content:center;font-size:0;line-height:0;letter-spacing:0;gap:0;padding:0;transform:none}
:root .medical-home .mp-dir-feature .mp-card-link .wp-block-button__link::after,:root .medical-home .mp-dir-feature:hover .mp-card-link .wp-block-button__link::after,:root .medical-home .mp-dir-feature .mp-card-link .wp-block-button__link:hover::after {position:static;flex:0 0 13px;width:13px;height:13px;margin:0;transform:none;transition:none}
:root .medical-home .mp-dir-feature:hover .mp-card-link .wp-block-button__link,:root .medical-home .mp-dir-feature:focus-within .mp-card-link .wp-block-button__link {background:#fff;color:#6b4e52;border-color:#fff}
:root .medical-home .mp-dir-item {display:flex;flex-direction:row;align-items:center;gap:18px;min-height:72px;padding:20px 24px}
:root .medical-home .mp-dir-item .mp-dir-title {flex:1;max-width:none;min-width:0}
:root .medical-home .mp-dir-item .wp-block-buttons {flex:none;margin:0;padding:0}
:root .medical-home .mp-dir-item .mp-card-link .wp-block-button__link {background:transparent;color:var(--mp-brown)}
:root .medical-home .mp-dir-item:hover .mp-card-link .wp-block-button__link,:root .medical-home .mp-dir-item:focus-within .mp-card-link .wp-block-button__link {background:var(--mp-brown);color:#fff}
@media(max-width:1000px) {:root .medical-home .mp-directions-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px) {:root .medical-home .mp-directions-featured {grid-template-columns:1fr}}
@media(max-width:560px) {
 :root .medical-home .mp-directions {padding-block:32px 48px}
 :root .medical-home .mp-directions-grid {grid-template-columns:1fr;gap:16px;margin-top:24px}
 :root .medical-home .mp-dir-feature {padding:24px;min-height:280px}
 :root .medical-home .mp-dir-feature .mp-dir-title,:root .medical-home .mp-dir-description {max-width:85%}
 :root .medical-home .mp-dir-item {padding:20px;min-height:72px}
 :root .medical-home .mp-directions .mp-dir-title {font-size:17px}
}
/* Services catalogue: native blocks remain visible and editable in Gutenberg. */
:root .medical-home .mp-catalog {margin:0;padding:36px 0 64px;background:#fff;scroll-margin-top:144px}
:root :is(.medical-home,.mp-about-scope) .mp-catalog-header {display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}
:root :is(.medical-home,.mp-about-scope) .mp-catalog-heading {font-size:clamp(28px,2.7vw,38px);font-weight:500;line-height:1.2;letter-spacing:-.025em}
:root :is(.medical-home,.mp-about-scope) .mp-catalog-all {flex:none;margin:0;font-size:16px;font-weight:500}
:root :is(.medical-home,.mp-about-scope) .mp-catalog-all a {display:inline-flex;align-items:center;min-height:44px;color:var(--mp-rose);text-decoration:none;transition:color .2s ease}
:root :is(.medical-home,.mp-about-scope) .mp-catalog-all a:hover,:root :is(.medical-home,.mp-about-scope) .mp-catalog-all a:focus-visible {color:var(--mp-ink)}
:root .medical-home .mp-catalog-tabs {display:flex;flex-wrap:nowrap;gap:10px;width:fit-content;max-width:100%;padding:10px;background:var(--light);border-radius:12px;overflow-x:auto;scrollbar-width:none;margin:0 0 20px;box-sizing:border-box}
.medical-home .mp-catalog-tabs::-webkit-scrollbar {display:none}
@media(min-width:561px) {:root .medical-home .mp-catalog-tabs {flex-wrap:wrap}}
:root .medical-home .mp-category-tab {flex:0 0 auto;margin:0}
:root .medical-home .mp-category-tab .wp-block-button__link {display:flex;align-items:center;justify-content:center;min-height:44px;min-width:194px;padding:10px 24px;border:1px solid var(--mp-brown);border-radius:999px;background:transparent;color:var(--mp-brown);font-size:14px;font-weight:500;line-height:1.3;text-decoration:none;transition:background .2s ease,color .2s ease;box-sizing:border-box}
:root .medical-home .mp-category-tab .wp-block-button__link:hover {background:var(--mp-brown);color:#fff}
:root .medical-home .mp-category-tab .wp-block-button__link[aria-selected="true"] {background:var(--mp-brown);color:#fff}
:root .medical-home .mp-catalog-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px var(--mp-gap);margin:0}
:root .medical-home .mp-catalog-card {min-height:56px;padding:14px 20px;min-width:0}
:root .medical-home .mp-catalog-title {flex:1;min-width:0;max-width:none;font-size:16px;font-weight:600;line-height:1.35;letter-spacing:-.015em;overflow-wrap:anywhere}
:root .medical-home .mp-catalog-card .mp-card-link .wp-block-button__link,:root .medical-home .mp-catalog-card:is(:hover,:focus-within) .mp-card-link .wp-block-button__link {width:16px;height:16px;min-height:16px;border:0;background:transparent;color:var(--mp-brown)}
:root .medical-home .mp-catalog-card .wp-block-buttons {display:flex;align-items:center;line-height:0}
:root .medical-home .mp-catalog-card .wp-block-button {display:flex;align-items:center}
:root .medical-home .mp-panel-label {font-size:21px;font-weight:500;margin:24px 0 16px}
:root .medical-home .mp-tabs-ready .mp-panel-label {display:none}
:root .medical-home .mp-catalog-panel[hidden] {display:none!important}
@media(max-width:1000px) {:root .medical-home .mp-catalog-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px) {
 :root .medical-home .mp-catalog {padding-block:24px 48px}
 :root :is(.medical-home,.mp-about-scope) .mp-catalog-header {gap:12px;margin-bottom:20px}
 :root :is(.medical-home,.mp-about-scope) .mp-catalog-all {font-size:14px}
 :root .medical-home .mp-catalog-tabs {width:100%;gap:8px;padding:8px;scroll-padding-inline:8px}
 :root .medical-home .mp-category-tab .wp-block-button__link {min-width:150px;padding-inline:20px}
 :root .medical-home .mp-catalog-grid {grid-template-columns:1fr;gap:16px}
 :root .medical-home .mp-catalog-card {padding:14px 20px;min-height:56px}
 :root .medical-home .mp-catalog-title {font-size:16px}
}
/* Three editable doctor cards; native touch scrolling is limited to mobile. */
:root .medical-home .mp-physicians {margin:0;padding:16px 0 64px;background:#fff;scroll-margin-top:144px}
:root .medical-home .mp-physicians-grid {display:flex;gap:var(--mp-gap);margin:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.medical-home .mp-physicians-grid::-webkit-scrollbar {display:none}
:root .medical-home .mp-physicians-grid>.mp-physician-card {flex:0 0 calc((100% - 2 * var(--mp-gap)) / 3);scroll-snap-align:start;scroll-snap-stop:always}
:root .medical-home .mp-physician-card {position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:var(--mp-card-radius);background:var(--light)}
.medical-home .mp-physician-card-link {position:absolute;inset:0;z-index:1;border-radius:inherit}
.medical-home .mp-physician-card-link:focus-visible {outline:2px solid var(--mp-brown);outline-offset:-3px}
.medical-home .mp-physician-actions {position:relative;z-index:2}
:root .medical-home .mp-physician-photo {position:relative;isolation:isolate;aspect-ratio:16 / 9;overflow:hidden;background:linear-gradient(125deg,#eee5df 0%,#cba8a4 48%,#6b4e52 100%);margin:0}
:root .medical-home .mp-physician-image {position:absolute;inset:0;display:flex;justify-content:center;align-items:center;margin:0;pointer-events:none}
.medical-home .mp-physician-image img {display:block;width:100%;max-width:none;height:100%;object-fit:contain;object-position:center bottom}
:root .medical-home .mp-physician-rating {position:absolute;z-index:2;left:20px;top:20px;margin:0;display:flex;align-items:center;justify-content:center;gap:4px;padding:6px 12px;min-height:32px;box-sizing:border-box;border-radius:999px;background:#fff;color:var(--mp-brown);font-family:Arial,sans-serif;font-size:15px;font-weight:600;line-height:20px;white-space:nowrap;font-variant-numeric:lining-nums tabular-nums;font-feature-settings:"lnum" 1,"onum" 0;box-shadow:0 2px 12px #3225270d}
.medical-home .mp-physician-rating::after {content:"";flex:none;width:15px;height:15px;background:var(--mp-brown);mask:url("assets/icons/rating-star.svg") center/contain no-repeat}
.medical-home .mp-physician-rating .mp-link-label {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:root .medical-home .mp-physician-body {display:flex;flex:1;flex-direction:column;align-items:stretch;padding:26px 24px;gap:0;margin:0}
:root .medical-home .mp-physician-name {font-size:22px;line-height:1.3;font-weight:600;letter-spacing:-.015em;overflow-wrap:anywhere;margin:0;color:var(--mp-ink)}
:root .medical-home .mp-physician-specialty {font-size:15px;line-height:1.45;font-weight:400;color:var(--mp-brown);margin:10px 0 0;overflow-wrap:anywhere}
:root .medical-home .mp-physician-experience {font-size:16px;line-height:1.4;font-weight:400;color:var(--mp-ink);margin:0;margin-top:auto;padding-top:30px}
:root .medical-home .mp-physician-experience strong {font-weight:600}
:root .medical-home .mp-physician-facts {display:flex;flex-wrap:wrap;align-items:baseline;gap:8px 24px;margin-top:auto;padding-top:30px}
:root .medical-home .mp-physician-facts :is(.mp-physician-experience,.mp-physician-review-count) {font-size:16px;line-height:1.4;font-weight:400;color:var(--mp-ink);margin:0;padding:0}
:root .medical-home .mp-physician-review-count strong {font-weight:600}
:root .medical-home .mp-physician-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:24px}
:root .medical-home .mp-physician-actions .wp-block-button {min-width:0;width:100%}
:root .medical-home .mp-physician-actions .wp-block-button__link {display:flex;align-items:center;justify-content:center;width:100%;min-width:0;min-height:46px;padding:12px 10px;font-size:14px;line-height:1.25;font-weight:500;border:1px solid var(--mp-brown);border-radius:999px;box-sizing:border-box;text-decoration:none;transition:background .2s ease,color .2s ease}
:root .medical-home .mp-physician-details .wp-block-button__link {background:transparent;color:var(--mp-brown)}
:root .medical-home .mp-physician-actions .mp-primary .wp-block-button__link:hover,:root .medical-home .mp-physician-actions .mp-primary .wp-block-button__link:focus-visible {background:transparent;border-color:var(--mp-brown);color:var(--mp-brown)}
:root .medical-home .mp-physician-details .wp-block-button__link:hover,:root .medical-home .mp-physician-details .wp-block-button__link:focus-visible {background:var(--mp-brown);color:#fff}
@media(min-width:761px) and (max-width:1000px) {
 :root .medical-home .mp-physician-body {padding:22px 18px}
 :root .medical-home .mp-physician-name {font-size:20px}
 :root .medical-home .mp-physician-actions {grid-template-columns:1fr;gap:10px}
}
@media(max-width:760px) {
 :root .medical-home .mp-physicians {padding-block:16px 48px}
 :root .medical-home .mp-physicians-grid {display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px;overscroll-behavior-x:contain}
 .medical-home .mp-physicians-grid::-webkit-scrollbar {display:none}
 :root .medical-home .mp-physicians-grid>.mp-physician-card {flex:0 0 88%;scroll-snap-align:start;scroll-snap-stop:always}
 :root .medical-home .mp-physician-body {padding:24px 20px}
 :root .medical-home .mp-physician-name {font-size:21px}
 :root .medical-home .mp-physician-rating {left:16px;top:16px}
}
/* Hospitalization: native text, image and buttons, shared with the editor. */
:root .mp-hospital-scope {--light:#f5f4f4;--mp-brown:#6b4e52;--mp-ink:#322527;--mp-card-radius:16px;color:var(--mp-ink);font-family:Raleway,sans-serif;margin:0}
.mp-hospital-scope :where(p,h2,h3,a,button,span) {font-family:Raleway,sans-serif}
:root .medical-home .mp-hospital {margin:0;padding:16px 0 64px;background:#fff;scroll-margin-top:144px}
:root .medical-home .mp-hospital-card {position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);align-items:stretch;gap:32px;padding:36px 44px;border-radius:var(--mp-card-radius);background:var(--light);margin:0}
:root .medical-home .mp-hospital-copy {min-width:0;margin:0}
:root .medical-home .mp-hospital-title {font-size:clamp(28px,2.5vw,36px);line-height:1.15;font-weight:500;letter-spacing:-.025em;color:var(--mp-ink);margin:0;overflow-wrap:anywhere}
.medical-home .mp-hospital-accent {color:var(--mp-brown)}
:root .medical-home .mp-hospital-description {font-size:20px;line-height:1.3;color:var(--mp-ink);margin-top:20px}
:root .medical-home .mp-hospital-timing {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:480px;margin-top:24px}
:root .medical-home .mp-hospital-stat {min-width:0;margin:0}
:root .medical-home .mp-hospital-stat+.mp-hospital-stat {border-left:1px solid #6b4e5226;padding-left:28px}
:root .medical-home .mp-hospital-stat-number {font:500 48px/1 Raleway,sans-serif;color:var(--mp-brown);letter-spacing:-1.5px;margin:0;font-variant-numeric:lining-nums}
:root .medical-home .mp-hospital-stat-unit {font:500 18px/1.3 Raleway,sans-serif;margin:8px 0 0;color:var(--mp-ink)}
:root .medical-home .mp-hospital-stat-label {font:400 14px/1.45 Raleway,sans-serif;margin:6px 0 0;color:var(--mp-ink)}
:root .medical-home .mp-hospital-time {display:flex;align-items:center;gap:16px;font-size:20px;line-height:1.35;color:var(--mp-ink);margin:0}
.medical-home .mp-hospital-time::before {content:"";flex:none;width:28px;height:28px;background:var(--mp-brown);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M11 1h6v2h-6zM22 4l3 3-1.5 1.5-3-3z'/%3E%3Cpath fill-rule='evenodd' d='M14 4a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1 5h2v7h5v2h-7z'/%3E%3C/svg%3E") center/contain no-repeat}
:root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions {display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
:root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions .wp-block-button__link {min-height:44px;padding:10px 20px;font-size:14px;line-height:1.3;box-sizing:border-box}
:root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions .mp-primary .wp-block-button__link {min-width:190px}
:root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions .mp-primary .wp-block-button__link:hover,:root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions .mp-primary .wp-block-button__link:focus-visible {background:transparent;border-color:var(--mp-brown);color:var(--mp-brown)}
:root :is(.medical-home,.mp-picker-scope) .mp-messenger .wp-block-button__link {display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid var(--mp-brown);border-radius:999px;background:transparent;color:var(--mp-brown);text-decoration:none;font-weight:500;transition:background .2s ease,color .2s ease}
:is(.medical-home,.mp-picker-scope) .mp-messenger .wp-block-button__link::before {content:"";width:18px;height:18px;flex:none;background:currentColor;mask:center/contain no-repeat}
:is(.medical-home,.mp-picker-scope) .mp-messenger-max .wp-block-button__link::before {mask-image:url("assets/icons/max.svg")}
:is(.medical-home,.mp-picker-scope) .mp-messenger-telegram .wp-block-button__link::before {mask-image:url("assets/icons/telegram.svg")}
:root :is(.medical-home,.mp-picker-scope) .mp-messenger .wp-block-button__link:hover,:root :is(.medical-home,.mp-picker-scope) .mp-messenger .wp-block-button__link:focus-visible {background:var(--mp-brown);color:#fff}
:root .medical-home .mp-hospital-visual {position:relative;isolation:isolate;display:grid;place-items:center;min-width:0;min-height:300px;margin:0}
.medical-home .mp-hospital-visual::before {content:"";position:absolute;z-index:-1;right:-110px;bottom:-100px;width:430px;height:430px;border-radius:0 150px 0 150px;background:var(--mp-brown)}
:root .medical-home .mp-hospital-image {width:115%;max-width:560px;margin:0;justify-self:center}
.medical-home .mp-hospital-image img {display:block;width:100%;height:auto}
@media(max-width:1100px) {
 :root .medical-home .mp-hospital-card {padding:30px;gap:24px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
 :root .medical-home .mp-hospital-title {font-size:30px}
 :root .medical-home .mp-hospital-description,:root .medical-home .mp-hospital-time {font-size:18px}
}
@media(max-width:760px) {
 :root .medical-home .mp-hospital {padding-block:16px 48px}
 :root .medical-home .mp-hospital-card {grid-template-columns:1fr;padding:28px 24px;gap:44px}
 :root .medical-home .mp-hospital-title {font-size:28px}
 :root .medical-home .mp-hospital-description {font-size:18px}
 :root .medical-home .mp-hospital-time {font-size:17px;gap:12px}
 :root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:16px;margin-top:28px}
 :root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions .mp-primary {grid-column:1/-1}
 :root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions .wp-block-button {width:100%;min-width:0}
 :root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions .wp-block-button__link {width:100%;min-width:0;min-height:50px;padding:12px 10px;font-size:16px}
 :root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions .mp-primary .wp-block-button__link {min-width:0}
 :root .medical-home .mp-hospital-timing {gap:16px}
 :root .medical-home .mp-hospital-stat+.mp-hospital-stat {padding-left:20px}
 :root .medical-home .mp-hospital-stat-number {font-size:42px}
 :root .medical-home .mp-hospital-stat-unit {font-size:16px}
 :root .medical-home .mp-hospital-visual {max-width:440px;width:100%;min-height:235px;justify-self:center}
 :root .medical-home .mp-hospital-image {width:110%;max-width:400px}
 .medical-home .mp-hospital-visual::before {width:285px;height:285px;right:-80px;bottom:-80px;border-radius:0 100px 0 100px}
}
@media(max-width:360px) {
 :root .medical-home .mp-hospital .mp-catalog-heading {font-size:25px}
 :root .medical-home .mp-hospital-card {padding:24px 20px}
 :root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions {gap:12px}
 :root :is(.medical-home,.mp-picker-scope) .mp-hospital-actions .wp-block-button__link {font-size:14px;padding-inline:8px}
}
/* About: editable panels, with a permanent row of benefits below the tabs. */
:root .mp-about-scope {--light:#f5f4f4;--mp-rose:#cba8a4;--mp-brown:#6b4e52;--mp-ink:#322527;--mp-gap:var(--mp-grid-gap,24px);--mp-card-radius:16px;font-family:"Raleway",sans-serif;color:var(--mp-ink);margin:0}
.mp-about-scope :where(h2,h3,p,a,span) {font-family:"Raleway",sans-serif}
.mp-about-scope .mp-catalog-heading {margin:0;color:var(--mp-ink)}
.mp-about-scope a:focus-visible {outline:3px solid var(--mp-ink);outline-offset:4px}
:root :is(.medical-home,.mp-about-scope) .mp-about {margin:0;padding:16px 0 64px;scroll-margin-top:144px}
:root :is(.medical-home,.mp-about-scope) .mp-about-layout {display:grid;grid-template-columns:minmax(220px,.38fr) minmax(0,1fr);gap:0;border-radius:var(--mp-card-radius);overflow:hidden;background:var(--light);margin:0}
:root :is(.medical-home,.mp-about-scope) .mp-about-tabs {display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:0;margin:0}
:root :is(.medical-home,.mp-about-scope) .mp-about-tab {display:flex;flex:1;width:100%;margin:0}
:root :is(.medical-home,.mp-about-scope) .mp-about-tab .wp-block-button__link {display:flex;flex:1;flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;width:100%;min-width:0;min-height:112px;padding:24px;border:0;border-radius:0;text-align:left;background:transparent;color:var(--mp-ink);line-height:1.3;box-sizing:border-box;transition:background .2s,color .2s}
:is(.medical-home,.mp-about-scope) .mp-about-tab-title {font-size:20px;font-weight:600}
:is(.medical-home,.mp-about-scope) .mp-about-tab-description {font-size:15px;font-weight:400}
:root :is(.medical-home,.mp-about-scope) .mp-about-tab .wp-block-button__link:hover {background:#e9e1e1}
:root :is(.medical-home,.mp-about-scope) .mp-about-tab .wp-block-button__link[aria-selected="true"] {background:linear-gradient(90deg,#866569,#bba8aa 55%,#f5f4f4);color:#fff}
:root :is(.medical-home,.mp-about-scope) .mp-about-tab .wp-block-button__link:focus-visible {outline-offset:-5px}
.editor-styles-wrapper :is(.medical-home,.mp-about-scope) .mp-about-tabs {align-self:start;width:100%}
.editor-styles-wrapper :is(.medical-home,.mp-about-scope) .mp-about-tab {flex:none}
:root :is(.medical-home,.mp-about-scope) .mp-about-panels {margin:0;min-width:0}
:root :is(.medical-home,.mp-about-scope) .mp-about-panel {position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:20px;min-height:420px;padding:32px 24px 0 32px;box-sizing:border-box;margin:0;overflow:hidden;background:linear-gradient(90deg,#f5f4f4 0%,#f5f4f4 5%,#d3c5c5 48%,#977c7f)}
:is(.medical-home,.mp-about-scope) .mp-about-panel::before {content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle,#ffffff28 0 4px,transparent 5px);background-size:28px 28px;mask-image:linear-gradient(90deg,transparent,#000);pointer-events:none}
:root :is(.medical-home,.mp-about-scope) .mp-about-panel[hidden] {display:none!important}
:root :is(.medical-home,.mp-about-scope) .mp-about-copy {min-width:0;padding-bottom:32px;margin:0}
:root :is(.medical-home,.mp-about-scope) .mp-about-title {font-size:clamp(28px,2.5vw,36px);font-weight:500;line-height:1.2;letter-spacing:-.025em;margin:0;color:var(--mp-ink);overflow-wrap:anywhere}
:root :is(.medical-home,.mp-about-scope) .mp-about-text {font-size:16px;line-height:1.4;color:var(--mp-ink);margin-top:20px;overflow-wrap:anywhere}
:root :is(.medical-home,.mp-about-scope) .mp-about-text strong {font-weight:600}
:root :is(.medical-home,.mp-about-scope) .mp-about-actions {margin-top:24px}
:root :is(.medical-home,.mp-about-scope) .mp-about-actions .wp-block-button {width:190px;max-width:100%}
:root :is(.medical-home,.mp-about-scope) .mp-about-actions .wp-block-button__link {display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:12px 28px;border:1px solid var(--mp-brown);border-radius:999px;background:var(--mp-brown);color:#fff;font-size:14px;line-height:1.25;font-weight:500;text-decoration:none;box-sizing:border-box;transition:background .2s,color .2s}
:root :is(.medical-home,.mp-about-scope) .mp-about-actions .wp-block-button__link:hover,:root :is(.medical-home,.mp-about-scope) .mp-about-actions .wp-block-button__link:focus-visible {background:transparent;border-color:var(--mp-brown);color:var(--mp-brown)}
:root :is(.medical-home,.mp-about-scope) .mp-about-visual {position:relative;isolation:isolate;align-self:end;min-width:0;height:350px;margin:0}
:is(.medical-home,.mp-about-scope) .mp-about-visual::before {content:"";position:absolute;z-index:-1;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;max-width:245px;aspect-ratio:1;border-radius:0 80px 0 80px;background:var(--mp-brown)}
:root :is(.medical-home,.mp-about-scope) .mp-about-image {width:100%;height:100%;margin:0}
:is(.medical-home,.mp-about-scope) .mp-about-image img {display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
:root :is(.medical-home,.mp-about-scope) .mp-about-benefits {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--mp-gap);margin-top:32px}
:root :is(.medical-home,.mp-about-scope) .mp-about-benefit {position:relative;min-width:0;min-height:150px;padding:28px 106px 28px 26px;border:0;border-radius:var(--mp-card-radius);background:linear-gradient(110deg,#f5f4f4 0%,#f1eded 35%,#dfd3d2 72%,#c6b4b5 100%);margin:0;box-sizing:border-box}
:root :is(.medical-home,.mp-about-scope) .mp-about-benefit-title {font-size:20px;font-weight:600;line-height:1.3;letter-spacing:-.015em;margin:0;overflow-wrap:anywhere;color:var(--mp-ink)}
:root :is(.medical-home,.mp-about-scope) .mp-about-benefit-description {font-size:16px;line-height:1.45;margin-top:8px;color:var(--mp-ink);max-width:340px}
:is(.medical-home,.mp-about-scope) .mp-about-benefit::before {content:"";position:absolute;right:26px;top:50%;transform:translateY(-50%);width:56px;height:56px;border-radius:0 20px 0 20px;background:#f5f0ed}
:is(.medical-home,.mp-about-scope) .mp-about-benefit::after {content:"";position:absolute;right:38px;top:50%;transform:translateY(-50%);width:32px;height:32px;background:var(--mp-brown);mask:center/contain no-repeat}
:is(.medical-home,.mp-about-scope) .mp-about-benefit-experts::after {mask-image:url("assets/icons/about-experts.svg")}
:is(.medical-home,.mp-about-scope) .mp-about-benefit-care::after {mask-image:url("assets/icons/about-care.svg")}
:is(.medical-home,.mp-about-scope) .mp-about-benefit-near::after {mask-image:url("assets/icons/about-near.svg")}
.medical-home .mp-inpatient-benefit-equipment::after {mask-image:url("assets/icons/inpatient-equipment.svg?v=2")}
.medical-home .mp-inpatient-benefit-meals::after {mask-image:url("assets/icons/inpatient-meals.svg?v=2")}
.medical-home .mp-inpatient-benefit-comfort::after {mask-image:url("assets/icons/inpatient-comfort.svg?v=2")}
@media(max-width:1100px) {
 :root :is(.medical-home,.mp-about-scope) .mp-about-layout {grid-template-columns:220px minmax(0,1fr)}
 :root :is(.medical-home,.mp-about-scope) .mp-about-panel {padding-left:24px;gap:16px;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}
 :root :is(.medical-home,.mp-about-scope) .mp-about-benefit {padding-right:94px;padding-left:22px}
 :is(.medical-home,.mp-about-scope) .mp-about-benefit::before {right:22px}
 :is(.medical-home,.mp-about-scope) .mp-about-benefit::after {right:34px}
 :root :is(.medical-home,.mp-about-scope) .mp-about-benefit-title {font-size:18px}
}
@media(max-width:900px) {
 :root :is(.medical-home,.mp-about-scope) .mp-about-layout {display:flex;flex-direction:column;gap:24px;background:transparent;border-radius:0;overflow:visible}
 :root :is(.medical-home,.mp-about-scope) .mp-about-tabs {border-radius:var(--mp-card-radius);overflow:hidden;background:var(--light)}
 :root :is(.medical-home,.mp-about-scope) .mp-about-tab .wp-block-button__link {min-height:84px;padding:16px 24px;gap:4px}
 :is(.medical-home,.mp-about-scope) .mp-about-tab-title {font-size:18px}
 :is(.medical-home,.mp-about-scope) .mp-about-tab-description {font-size:14px}
 :root :is(.medical-home,.mp-about-scope) .mp-about-panel {grid-template-columns:1fr;min-height:0;gap:24px;padding:24px 24px 0;border-radius:var(--mp-card-radius)}
 :root :is(.medical-home,.mp-about-scope) .mp-about-copy {padding-bottom:0}
 :root :is(.medical-home,.mp-about-scope) .mp-about-title {font-size:28px}
 :root :is(.medical-home,.mp-about-scope) .mp-about-visual {height:280px;width:100%;max-width:280px;justify-self:center}
 :is(.medical-home,.mp-about-scope) .mp-about-visual::before {max-width:210px}
 :root :is(.medical-home,.mp-about-scope) .mp-about-benefits {grid-template-columns:1fr;gap:16px;margin-top:24px}
 :root :is(.medical-home,.mp-about-scope) .mp-about-benefit {min-height:138px;padding:24px 102px 24px 22px}
 :is(.medical-home,.mp-about-scope) .mp-about-benefit::before {right:22px}
 :is(.medical-home,.mp-about-scope) .mp-about-benefit::after {right:34px;width:32px;height:32px}
 :root :is(.medical-home,.mp-about-scope) .mp-about-benefit-description {font-size:15px}
}
@media(max-width:760px) {:root :is(.medical-home,.mp-about-scope) .mp-about-actions .wp-block-button__link {min-height:46px;font-size:14px;line-height:1.25;padding:12px 10px}}
@media(max-width:560px) {:root :is(.medical-home,.mp-about-scope) .mp-about {padding-bottom:48px}}
/* Editable promotion carousel on a white field. */
:root .medical-home .mp-promotions {margin:0 calc(-1 * var(--gutter));padding:44px var(--gutter) 64px;scroll-margin-top:144px;background:#fff}
:root .medical-home .mp-promotions-grid {display:flex;gap:var(--mp-gap);margin:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.medical-home .mp-promotions-grid::-webkit-scrollbar {display:none}
:root .medical-home .mp-promotions-grid>.mp-promotion-card {flex:0 0 calc((100% - 2 * var(--mp-gap)) / 3);scroll-snap-align:start;scroll-snap-stop:always}
:root .medical-home .mp-promotion-card {position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;border-radius:var(--mp-card-radius);background:var(--mp-promotion-card,#f5f4f4);margin:0;transition:background .2s ease}
:root .medical-home .mp-promotion-card:hover,:root .medical-home .mp-promotion-card:focus-within {background:#ebe8e8}
:root .medical-home .mp-promotion-copy {flex:1;min-width:0;padding:24px;margin:0}
:root .medical-home .mp-promotion-discount {font-size:54px;line-height:1.1;font-weight:600;letter-spacing:-.04em;color:var(--mp-promotion-discount,var(--mp-brown));margin:0}
:root .medical-home .mp-promotion-date {font-size:14px;line-height:1.4;font-weight:500;color:var(--mp-brown);margin:8px 0 0}
:root .medical-home .mp-promotion-title {font-size:20px;font-weight:600;line-height:1.35;letter-spacing:-.015em;min-height:4.05em;margin:18px 0 0;overflow-wrap:anywhere;color:var(--mp-promotion-title,var(--mp-ink))}
.medical-home .mp-promotion-title a {color:inherit;text-decoration:none}
.medical-home .mp-promotion-title a::after {content:"";position:absolute;inset:0;z-index:1}
.medical-home .mp-promotion-title a:focus-visible {outline:none}
.medical-home .mp-promotion-title a:focus-visible::after {outline:3px solid var(--mp-brown);outline-offset:-4px;border-radius:var(--mp-card-radius)}
:root .medical-home .mp-promotion-image {position:relative;margin:0;aspect-ratio:1.5;overflow:hidden;border-radius:var(--mp-card-radius)}
.medical-home .mp-promotion-image::after {content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(125deg,#eee5df 0%,#cba8a4 48%,#6b4e52 100%);opacity:.45;transition:opacity .35s ease}
.medical-home .mp-promotion-card:is(:hover,:focus-within) .mp-promotion-image::after {opacity:0}
:root .medical-home .mp-promotion-actions {position:absolute;left:24px;bottom:24px;z-index:2;margin:0;padding:0}
:root .medical-home .mp-promotion-actions .mp-card-link .wp-block-button__link {background:transparent;border-color:#fff;color:#fff;box-sizing:border-box;line-height:0}
:root .medical-home .mp-promotion-card:is(:hover,:focus-within) .mp-promotion-actions .wp-block-button__link {background:#fff;border-color:#fff;color:var(--mp-brown)}
.medical-home .mp-promotion-actions .mp-card-link a.wp-block-button__link::before {content:none}
.medical-home .mp-promotion-actions .wp-block-button__link:focus-visible {outline:2px solid var(--mp-brown);outline-offset:3px}
.medical-home .mp-promotion-image img {display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:900px) and (min-width:561px) {
 :root .medical-home .mp-promotions-grid {gap:16px}
 :root .medical-home .mp-promotion-copy {padding:20px 16px}
 :root .medical-home .mp-promotion-title {font-size:18px}
 :root .medical-home .mp-promotion-discount {font-size:48px}
}
@media(max-width:560px) {
 :root .medical-home .mp-promotions {padding-block:32px 48px}
 :root .medical-home .mp-promotion-title {font-size:20px}
 :root .medical-home .mp-promotion-discount {font-size:48px}
}
@media(max-width:760px) {
 :root .medical-home .mp-promotions-grid {display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px;overscroll-behavior-x:contain}
 .medical-home .mp-promotions-grid::-webkit-scrollbar {display:none}
 :root .medical-home .mp-promotions-grid>.mp-promotion-card {flex:0 0 88%}
 .medical-home .mp-promotions-nav {display:none}
}
/* Shared selection CTA, independent of homepage classes. */
:root .mp-picker-scope {--mp-brown:#6b4e52;--mp-ink:#322527;--mp-card-radius:16px;margin:0;color:var(--mp-ink);font-family:"Raleway",sans-serif}
.mp-picker-scope :where(h2,p,a,span) {font-family:"Raleway",sans-serif}
:root .mp-picker-scope .mp-picker {margin:0;padding:16px 0 64px;background:#fff;scroll-margin-top:144px}
:root .mp-picker-scope .mp-picker-card {position:relative;isolation:isolate;overflow:hidden;min-height:360px;padding:36px 44px;border-radius:var(--mp-card-radius);background:linear-gradient(100deg,#ece9e9,#bba8aa 54%,#977c7f);box-sizing:border-box;margin:0}
.mp-picker-scope .mp-picker-card::before {content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle,#ffffff28 0 4px,transparent 5px);background-size:28px 28px;mask-image:linear-gradient(90deg,transparent 48%,#000);pointer-events:none}
:root .mp-picker-scope .mp-picker-copy {position:relative;z-index:1;min-width:0;max-width:calc(100% - 300px);margin:0}
:root .mp-picker-scope .mp-picker-title {font-size:clamp(28px,2.6vw,36px);font-weight:500;line-height:1.15;letter-spacing:-.025em;color:var(--mp-ink);margin:0;overflow-wrap:anywhere}
.mp-picker-scope .mp-picker-accent {color:var(--mp-brown)}
:root .mp-picker-scope .mp-picker-description {font-size:20px;line-height:1.3;margin:20px 0 0;color:var(--mp-ink)}
.mp-picker-scope .mp-primary .wp-block-button__link {display:flex;align-items:center;justify-content:center;border:1px solid var(--mp-brown);border-radius:999px;background:var(--mp-brown);color:#fff;font-weight:500;text-decoration:none;transition:background .2s,color .2s}
.mp-picker-scope a:focus-visible {outline:3px solid var(--mp-ink);outline-offset:4px}
:root .mp-picker-scope .mp-picker-visual {position:absolute;right:24px;bottom:0;isolation:isolate;width:28%;height:90%;margin:0;pointer-events:none}
.mp-picker-scope .mp-picker-visual::before {content:"";position:absolute;z-index:-1;left:50%;top:50%;transform:translate(-50%,-50%);width:245px;max-width:100%;aspect-ratio:1;border-radius:0 85px 0 85px;background:var(--mp-brown)}
:root .mp-picker-scope .mp-picker-image {width:100%;height:100%;margin:0}
.mp-picker-scope .mp-picker-image img {display:block;width:100%;height:100%;object-fit:contain;object-position:center bottom}
.mp-inpatient-picker-scope .mp-picker-image img {object-position:center}
@media(max-width:1100px) {
 :root .mp-picker-scope .mp-picker-card {padding:30px;min-height:360px}
 :root .mp-picker-scope .mp-picker-copy {max-width:calc(100% - 240px)}
 :root .mp-picker-scope .mp-picker-visual {width:240px;right:16px;height:85%}
 :root .mp-picker-scope .mp-picker-description {font-size:18px}
}
@media(max-width:760px) {
 :root .mp-picker-scope .mp-picker {padding-bottom:48px}
 :root .mp-picker-scope .mp-picker-card {min-height:0;padding:28px 24px 0}
 :root .mp-picker-scope .mp-picker-copy {max-width:none}
 :root .mp-picker-scope .mp-picker-title {font-size:28px}
 :root .mp-picker-scope .mp-picker-visual {position:relative;right:auto;bottom:auto;width:100%;max-width:280px;height:300px;margin:32px auto 0}
 .mp-picker-scope .mp-picker-visual::before {width:210px}
}
@media(max-width:360px) {
 :root .mp-picker-scope .mp-picker-card {padding:24px 20px 0}
 :root .mp-picker-scope .mp-picker-title {font-size:26px}
}
/* Three reviews: a static desktop row and native mobile touch scrolling. */
:root .medical-home .mp-reviews {margin:0;padding:16px 0 64px;background:#fff;scroll-margin-top:144px}
:root .medical-home .mp-reviews-grid {display:flex;align-items:flex-start;gap:var(--mp-gap);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;margin:0;padding-bottom:4px}
.medical-home .mp-reviews-grid::-webkit-scrollbar {display:none}
:root .medical-home .mp-reviews-grid .mp-review-card {flex:0 0 calc((100% - 2 * var(--mp-gap)) / 3);scroll-snap-align:start;scroll-snap-stop:always}
.medical-home .mp-reviews-nav {display:flex;justify-content:flex-end;gap:12px;margin-top:16px}
.medical-home .mp-reviews-arrow {display:flex;align-items:center;justify-content:center;width:32px;height:32px;min-height:32px;padding:0;border:1px solid #6b4e52;border-radius:50%;background:#6b4e52;color:#fff;cursor:pointer;transition:background .2s ease,color .2s ease}
.medical-home .mp-reviews-prev svg {transform:rotate(180deg)}
.medical-home .mp-reviews-arrow:hover:not(:disabled) {background:transparent;color:#6b4e52}
.medical-home .mp-reviews-arrow:focus-visible {outline:2px solid #6b4e52;outline-offset:3px}
.medical-home .mp-reviews-arrow:disabled {background:#d6d3d3;border-color:#d6d3d3;color:#fff;cursor:default}
:root .medical-home .mp-review-card {display:flex;flex-direction:column;min-width:0;min-height:292px;padding:28px 24px;border-radius:var(--mp-card-radius);background:var(--light);margin:0;box-sizing:border-box}
:root .medical-home .mp-review-top {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:0}
:root .medical-home .mp-review-source {display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.4;margin:0;color:var(--mp-ink)}
.medical-home .mp-review-source::before {content:"";display:block;flex:none;width:20px;height:20px;background:var(--mp-rose);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 17s-8-4.8-8-9.9c0-4.2 5.3-5.5 8-1.6 2.7-3.9 8-2.6 8 1.6 0 5.1-8 9.9-8 9.9z'/%3E%3C/svg%3E") center/contain no-repeat}
:root .medical-home .mp-review-rating {position:relative;flex:none;display:flex;height:20px;margin:0}
.medical-home .mp-review-star {display:block;width:20px;height:20px;background:var(--mp-brown);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 2 3.1 6.3 7 .9-5.1 5 1.2 7-6.2-3.3-6.2 3.3 1.2-7-5.1-5 7-.9z'/%3E%3C/svg%3E") center/20px 20px no-repeat}
.medical-home .mp-review-rating-label {position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
:root .medical-home .mp-review-text {font-size:16px;line-height:1.45;font-weight:400;color:#756a6b;margin:22px 0 0;overflow-wrap:anywhere}
.medical-home .mp-review-body {position:relative;overflow:hidden;margin-top:22px;flex:none}
:root .medical-home .mp-review-body .mp-review-text {margin:0}
.medical-home .mp-review-more {position:absolute;bottom:0;right:0;border:0;padding:0 0 0 5px;background:#f5f4f4;box-shadow:-10px 0 8px #f5f4f4;color:#6b4e52;font:500 16px/1.45 Raleway,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.medical-home .mp-review-more[hidden] {display:none!important}
.medical-home .mp-review-more:hover {color:#322527}
.medical-home .mp-review-more:focus-visible {outline:2px solid #6b4e52;outline-offset:-2px}
.medical-home .mp-review-card[data-expanded="true"] .mp-review-more {position:static;display:block;margin-top:8px;padding:0;box-shadow:none}
:root .medical-home .mp-review-font-custom :is(.mp-review-text,.mp-review-source,.mp-review-name,.mp-review-date,.mp-review-more) {font-size:inherit}
:root .medical-home .mp-review-color-custom :is(.mp-review-text,.mp-review-source,.mp-review-name,.mp-review-date,.mp-review-rating,.mp-review-more) {color:inherit}
.mp-review-color-custom .mp-review-star {background:currentColor}
:root .medical-home .mp-reviews-scope .mp-catalog-all {color:var(--mp-rose)}
:root .medical-home .mp-reviews-scope .mp-catalog-all a {color:inherit;font-size:inherit}
:root .medical-home .mp-review-author {margin:0;margin-top:auto;padding-top:24px}
:root .medical-home .mp-review-name {font-size:16px;line-height:1.35;font-weight:500;margin:0;color:var(--mp-ink)}
:root .medical-home .mp-review-date {font-size:14px;line-height:1.4;color:#756a6b;margin:2px 0 0}
@media(max-width:1000px) and (min-width:761px) {
 :root .medical-home .mp-review-card {padding:24px 20px}
 :root .medical-home .mp-review-top {gap:10px}
}
@media(max-width:760px) {
 :root .medical-home .mp-reviews {padding-bottom:48px}
 :root .medical-home .mp-reviews-grid {display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding-bottom:4px;overscroll-behavior-x:contain}
 .medical-home .mp-reviews-grid::-webkit-scrollbar {display:none}
 :root .medical-home .mp-reviews-grid .mp-review-card {flex:0 0 88%;padding:24px 20px;scroll-snap-align:start;scroll-snap-stop:always}
 .medical-home .mp-reviews-nav {display:none}
}
:root .mp-faq-scope {--mp-brown:#6b4e52;--mp-ink:#322527;--mp-rose:#cba8a4;--light:#f5f4f4;--mp-gap:var(--mp-grid-gap,24px);--mp-card-radius:16px;font-family:Raleway,sans-serif;color:#322527}
:root .mp-faq-scope :where(p,h2,h3,a,button) {font-family:Raleway,sans-serif}
:root .medical-home .mp-faq {margin:0;padding:16px 0 64px;background:#fff;scroll-margin-top:144px}
:root .medical-home .mp-faq>.mp-catalog-heading {margin:0 0 32px}
.mp-faq-list {display:grid;gap:24px;font-family:Raleway,sans-serif;color:#322527}
.mp-faq-item {margin:0;border:0;border-radius:16px;background:#f5f4f4;overflow:hidden}
.mp-faq-question {display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 30px;cursor:pointer;list-style:none;font-size:20px;line-height:1.4;font-weight:500}
.mp-faq-question::-webkit-details-marker {display:none}
.mp-faq-question:focus-visible {outline:2px solid #6b4e52;outline-offset:-4px;border-radius:16px}
.mp-faq-toggle {position:relative;display:block;flex:none;width:32px;height:32px;border-radius:50%;background:#6b4e52}
.mp-faq-toggle::before,.mp-faq-toggle::after {content:"";position:absolute;background:#fff;top:15.5px;left:8px;width:16px;height:1px;transition:transform .2s ease}
.mp-faq-toggle::after {transform:rotate(90deg)}
.mp-faq-item[open]:not([data-expanded="false"]) .mp-faq-toggle::before {transform:rotate(45deg)}
.mp-faq-item[open]:not([data-expanded="false"]) .mp-faq-toggle::after {transform:rotate(135deg)}
.mp-faq-answer {padding:0 30px 30px;font-size:16px;line-height:1.55;font-weight:400}
:root .medical-home .mp-faq-answer p {margin:0 0 16px;color:#322527;font-size:16px;line-height:1.55}
.mp-faq-answer p:last-child {margin-bottom:0}
@media(max-width:760px) {
 :root .medical-home .mp-faq {padding-bottom:48px}
 :root .medical-home .mp-faq>.mp-catalog-heading {margin-bottom:24px}
 .mp-faq-list {gap:16px}
 .mp-faq-question {padding:20px;gap:16px;font-size:18px}
 .mp-faq-answer {padding:0 20px 24px}
}
:root .medical-home .mp-faq-contact {position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:157px;padding:28px 44px;margin:40px 0 0;border-radius:16px;background:linear-gradient(100deg,#ece9e9,#bba8aa 54%,#977c7f);box-sizing:border-box}
.medical-home .mp-faq-contact::before {content:"";position:absolute;inset:0;z-index:-1;background-image:radial-gradient(circle,#ffffff28 0 4px,transparent 5px);background-size:28px 28px;mask-image:linear-gradient(90deg,transparent 40%,#000);pointer-events:none}
:root .medical-home .mp-faq-contact-copy {margin:0;min-width:0}
:root .medical-home .mp-faq-contact-title {font-size:clamp(28px,3vw,40px);line-height:1.1;font-weight:500;color:#322527;margin:0 0 16px}
:root .medical-home .mp-faq-contact-description {font-size:20px;line-height:1.25;font-weight:400;color:#322527;margin:0}
:root .medical-home .mp-faq-contact-actions {flex:none;margin:0}
:root .medical-home .mp-faq-contact-actions .wp-block-button {margin:0}
:root .medical-home .mp-faq-contact-actions .wp-block-button__link {display:flex;align-items:center;justify-content:center;min-width:208px;min-height:46px;padding:12px 28px;border:1px solid #fff;border-radius:999px;background:#fff;color:#6b4e52;font-size:14px;font-weight:500;line-height:1.25;text-decoration:none;box-sizing:border-box;transition:background .2s,color .2s,border-color .2s}
:root .medical-home .mp-faq-contact-actions .wp-block-button__link:hover,:root .medical-home .mp-faq-contact-actions .wp-block-button__link:focus-visible {background:#6b4e52;border-color:#6b4e52;color:#fff}
@media(max-width:760px) {
 :root .medical-home .mp-faq-contact {flex-direction:column;align-items:flex-start;gap:24px;padding:28px 24px;margin-top:24px}
 :root .medical-home .mp-faq-contact-description {font-size:18px}
 :root .medical-home .mp-faq-contact-actions,:root .medical-home .mp-faq-contact-actions .wp-block-button {width:100%}
 :root .medical-home .mp-faq-contact-actions .wp-block-button__link {width:100%;min-width:0}
}
:root .medical-home .mp-medical-contacts {padding:16px 0 64px;margin:0;background:#fff;scroll-margin-top:144px}
:root .medical-home.mp-contacts-page .mp-contacts-for-page {padding:32px 0 0}
:root .medical-home .mp-contact-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--mp-gap);margin:0}
:root .medical-home .mp-contact-card {min-width:0;padding:32px;border-radius:16px;background:#f5f4f4;box-sizing:border-box;margin:0}
:root .medical-home .mp-contact-details {display:flex;flex-direction:column;gap:24px}
:root .medical-home .mp-contact-item {margin:0}
:root .medical-home .mp-contact-label {font-size:20px;line-height:1.3;font-weight:500;color:#322527;margin:0 0 10px}
:root .medical-home .mp-contact-highlight {font-size:clamp(24px,2.4vw,36px);line-height:1.2;font-weight:500;margin:0;overflow-wrap:anywhere}
:root .medical-home .mp-contact-highlight a {color:#cba8a4;text-decoration:none;transition:color .2s}
:root .medical-home .mp-contact-highlight a:hover,:root .medical-home .mp-contact-highlight a:focus-visible {color:#322527}
:root .medical-home .mp-contact-value,:root .medical-home .mp-contact-intro {font-size:16px;line-height:1.5;font-weight:400;color:#322527;margin:0}
:root .medical-home .mp-contact-intro {max-width:430px;margin-top:16px}
:root .medical-home .mp-contact-messengers {display:flex;flex-wrap:wrap;gap:16px;margin:24px 0 0}
:root .medical-home .mp-contact-messengers .wp-block-button__link {min-height:44px;padding:10px 20px;font-size:14px;line-height:1.3;box-sizing:border-box}
:root .medical-home .mp-contact-social {position:relative;min-height:400px;overflow:hidden;padding-bottom:0}
:root .medical-home .mp-contact-visual {--mp-contact-photo-height:245px;position:absolute;isolation:isolate;right:16px;bottom:0;width:220px;height:var(--mp-contact-photo-height);margin:0;display:grid;place-items:center}
.medical-home .mp-contact-visual::before {content:"";position:absolute;z-index:-1;top:50%;left:50%;transform:translate(-50%,-50%);width:180px;height:180px;border-radius:0 65px 0 65px;background:#6b4e52}
:root .medical-home .mp-contact-doctor {width:100%;height:var(--mp-contact-photo-height);min-height:0;max-height:100%;margin:0}
:root .medical-home .mp-contact-doctor img {display:block;max-width:100%;width:100%;height:100%;max-height:100%;object-fit:contain}
@media(max-width:1100px) {
 :root .medical-home .mp-contact-visual {position:relative;right:auto;bottom:auto;margin:24px 0 0 auto}
}
@media(max-width:760px) {
 :root .medical-home .mp-medical-contacts {padding-bottom:48px}
 :root .medical-home .mp-contact-grid {grid-template-columns:minmax(0,1fr);gap:16px}
 :root .medical-home .mp-contact-card {padding:28px 24px}
 :root .medical-home .mp-contact-messengers {flex-wrap:nowrap;gap:12px}
 :root .medical-home .mp-contact-messengers .wp-block-button {flex:1;min-width:0}
 :root .medical-home .mp-contact-messengers .wp-block-button__link {width:100%;padding-inline:10px}
 :root .medical-home .mp-contact-social {padding-bottom:0}
 :root .medical-home .mp-contact-visual {--mp-contact-photo-height:300px;margin:28px auto 0;width:240px}
 .medical-home .mp-contact-visual::before {width:200px;height:200px}
}
.mp-partners-scope {--mp-partner-gap:var(--mp-grid-gap,24px);--mp-partner-width:260px;font-family:Raleway,sans-serif;color:#322527;margin:0}
:root .mp-partners-scope .mp-partners {margin:0;padding:44px 0 64px;background:#fff;scroll-margin-top:144px}
:root .mp-partners-scope .mp-partners-heading {font:500 38px/1.2 Raleway,sans-serif;letter-spacing:-1px;color:#322527;margin:0 0 32px}
:root .mp-partners-scope .mp-partners-marquee {overflow:hidden;margin:0;mask-image:linear-gradient(to right,transparent,#000 8%,#000 92%,transparent)}
.mp-partners-loop {display:flex;width:max-content;animation:mp-partners-run 36s linear infinite}
.mp-partners-marquee:hover .mp-partners-loop,.mp-partners-marquee:focus-within .mp-partners-loop {animation-play-state:paused}
:root .mp-partners-scope .mp-partners-track {display:flex;gap:var(--mp-partner-gap);padding-right:var(--mp-partner-gap);margin:0;width:max-content}
.mp-partners-repeat {flex:none}
.mp-partners-static .mp-partners-loop {animation:none}
:root .mp-partners-scope .mp-partners-static {overflow-x:auto;mask-image:none}
:root .mp-partners-scope .mp-partner-card {display:flex;align-items:center;justify-content:center;flex:0 0 var(--mp-partner-width);width:var(--mp-partner-width);height:132px;padding:24px;box-sizing:border-box;border-radius:16px;background:#f5f4f4;margin:0}
:root .mp-partners-scope .mp-partner-logo {display:flex;align-items:center;justify-content:center;margin:0;width:100%;height:100%;min-width:0;min-height:0}
:root .mp-partners-scope .mp-partner-logo img {display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;margin:0}
@keyframes mp-partners-run {to {transform:translateX(-50%)}}
/* The editor presents the original six cards without animation or hidden edges. */
.editor-styles-wrapper .mp-partners-marquee {mask-image:none;overflow-x:auto}
.editor-styles-wrapper .mp-partners-loop {animation:none}
.editor-styles-wrapper .mp-partners-repeat {display:none}
@media(max-width:760px) {
 .mp-partners-scope {--mp-partner-gap:16px;--mp-partner-width:220px}
 :root .mp-partners-scope .mp-partners {padding-block:32px 48px}
 :root .mp-partners-scope .mp-partner-card {height:120px}
 :root .mp-partners-scope .mp-partners-heading {margin-bottom:24px}
}
@media(prefers-reduced-motion:reduce) {
 :is(.medical-home,.mp-about-scope,.mp-picker-scope) * {transition:none!important;scroll-behavior:auto!important}
 .mp-partners-loop {animation:none}
 .mp-partners-repeat {display:none}
 :root .mp-partners-scope .mp-partners-marquee {overflow-x:auto}
}



/* Top services: proportional square artwork flush with the card edges. */
:root .medical-home .mp-intro .mp-services .mp-service-image {width:min(44%,160px);height:auto;aspect-ratio:1;max-height:none;right:0;bottom:0;margin:0;overflow:hidden}
:root .medical-home .mp-intro .mp-services .mp-service-image img {display:block;width:100%;height:100%;min-width:0;max-width:100%;object-fit:contain;object-position:right bottom}
@media(max-width:560px) {:root .medical-home .mp-intro .mp-services .mp-service-image {width:min(42%,144px)}}
/* Review index: three rows per page, with native vertical flow on phones. */
:root .medical-home .mp-reviews-directory {margin-top:32px}
:root .medical-home .mp-reviews-directory .mp-reviews-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:var(--mp-gap);overflow:visible;scroll-snap-type:none;padding:0;margin:0}
:root .medical-home .mp-reviews-directory .mp-review-card {scroll-snap-align:none;scroll-snap-stop:normal}
:root .medical-home .mp-reviews-directory-controls {display:flex;align-items:center;justify-content:flex-end;gap:16px;margin-top:20px;flex-wrap:wrap}
:root .medical-home .mp-reviews-leave-review {display:inline-flex;align-items:center;justify-content:center;min-width:170px;min-height:44px;padding:11px 20px;box-sizing:border-box;white-space:nowrap;border:1px solid var(--mp-brown);border-radius:999px;background:var(--mp-brown);color:#fff;font:500 14px/1.3 Raleway,sans-serif;cursor:pointer;transition:color .2s,background .2s}
:root .medical-home .mp-reviews-leave-review:is(:hover,:focus-visible) {background:transparent;color:var(--mp-brown)}
:root .medical-home .mp-reviews-directory .mp-reviews-pagination {display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:0}
@media(max-width:760px){:root .medical-home .mp-reviews-directory-controls {justify-content:space-between;flex-wrap:nowrap;gap:12px}}
.mp-reviews-directory [hidden] {display:none!important}
.mp-reviews-directory[aria-busy="true"] .mp-reviews-grid {opacity:.6;transition:opacity .15s}
:root .medical-home .mp-reviews-directory-empty {padding:24px;background:var(--light);border-radius:16px;color:var(--mp-ink)}
:root .medical-home .mp-reviews-directory-error {margin-top:16px;color:var(--mp-brown)}
@media(min-width:761px) and (max-width:1000px){:root .medical-home .mp-reviews-directory .mp-reviews-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){:root .medical-home .mp-reviews-directory .mp-reviews-grid {grid-template-columns:1fr;gap:20px}}
:root .medical-home .mp-promotions-directory {margin-top:32px}
:root .medical-home .mp-promotions-directory-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--mp-gap);overflow:visible;scroll-snap-type:none;padding:0}
@media(min-width:761px) and (max-width:1000px){:root .medical-home .mp-promotions-directory-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){:root .medical-home .mp-promotions-directory-grid {grid-template-columns:1fr;gap:20px}}

/* Services landing: shared patterns use the same page grid as the home page. */
:root .medical-home.mp-services-index .mp-services-index-directions {margin:32px 0 0;padding:0}
:root .medical-home.mp-services-index .mp-catalog-section > .mp-catalog-heading {margin:0 0 28px}
@media(max-width:760px){:root .medical-home.mp-services-index .mp-catalog-section > .mp-catalog-heading {margin-bottom:20px}}
/* Gutenberg adds inline height:auto to bound pattern images; retain the public hero crop. */
.editor-styles-wrapper .mp-screen-doctor img {height:100%!important;object-fit:contain;object-position:center bottom}

/* Keep a single section gap between the service catalog and doctor picker. */
:root .medical-home.mp-services-index .mp-catalog-section {padding-bottom:0}
:root .medical-home.mp-services-index .mp-picker-scope .mp-picker {padding-top:48px}
@media(max-width:760px){:root .medical-home.mp-services-index .mp-picker-scope .mp-picker {padding-top:32px}}
