:root .medical-home .mp-promotion-hero {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;min-height:450px;overflow:hidden;border-radius:16px;background:var(--light,#f5f4f4);margin:0}
:root .medical-home .mp-promotion-profile-copy {min-width:0;align-self:start;padding:44px;margin:0;box-sizing:border-box}
:root .medical-home .mp-promotion-profile-discount {font-size:64px;font-weight:600;line-height:1.05;letter-spacing:-.04em;color:var(--mp-brown);margin:0}
:root .medical-home .mp-promotion-profile-date {font-size:14px;line-height:1.4;font-weight:400;color:var(--mp-brown);margin:10px 0 0}
:root .medical-home .mp-promotion-profile-title {width:100%;max-width:none;min-width:0;box-sizing:border-box;font-family:Raleway,sans-serif;font-size:40px;font-weight:500;line-height:1.15;letter-spacing:-.025em;margin:24px 0 0;text-wrap:wrap;word-break:normal;overflow-wrap:break-word}
:root .medical-home .mp-promotion-profile-description {font-size:16px;line-height:1.5;color:var(--mp-ink);margin-top:24px;overflow-wrap:anywhere}
:root .medical-home .mp-promotion-profile-description :is(p,ul,ol,blockquote) {color:inherit;margin:0 0 16px}
.mp-promotion-profile-description :last-child {margin-bottom:0!important}
.mp-promotion-profile-description :is(img,video,iframe) {max-width:100%;height:auto}
:root .medical-home .mp-promotion-profile-actions {display:flex;margin:32px 0 0}
:root .medical-home .mp-promotion-profile-actions .wp-block-button__link {display:flex;align-items:center;justify-content:center;min-height:46px;min-width:190px;padding:12px 24px;border:1px solid var(--mp-brown);border-radius:999px;box-sizing:border-box;background:var(--mp-brown);color:#fff;font:500 14px/1.3 Raleway,sans-serif;text-decoration:none;transition:background .2s,color .2s}
:root .medical-home .mp-promotion-profile-actions .wp-block-button__link:is(:hover,:focus-visible) {background:transparent;color:var(--mp-brown)}
.mp-promotion-profile-actions a:focus-visible {outline:2px solid var(--mp-brown);outline-offset:3px}
:root .medical-home .mp-promotion-details,:root .medical-home .mp-promotion-related {margin-top:var(--mp-profile-block-gap)}
:root .mp-promotion-profile-page .mp-promotion-related .mp-physicians {padding:0}
:root .mp-promotion-profile-page .mp-picker-scope .mp-picker {padding-block:var(--mp-profile-block-gap) 0}
:root .medical-home .mp-promotion-profile-photo {position:relative;width:100%;min-width:0;align-self:stretch;margin:0}
.mp-promotion-profile-photo picture {display:block;width:100%;height:100%}
:root .medical-home .mp-promotion-profile-photo-mobile-only {display:none}
.mp-promotion-profile-photo img {position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
:root .medical-home .mp-promotion-hero-no-image {grid-template-columns:1fr;min-height:450px}
@media(min-width:761px) and (max-width:1000px){:root .medical-home .mp-promotion-profile-copy {padding:32px}:root .medical-home .mp-promotion-profile-discount {font-size:56px}}
@media(max-width:760px){
 :root .medical-home .mp-promotion-hero {display:flex;flex-direction:column;min-height:0}
 :root .medical-home .mp-promotion-profile-photo {display:block;order:-1;flex:none;width:100%;aspect-ratio:3/2}
 :root .medical-home .mp-promotion-profile-copy {align-self:stretch;padding:28px 24px}
 :root .medical-home .mp-promotion-profile-discount {font-size:54px}
 :root .medical-home .mp-promotion-profile-title {font-size:30px}
 :root .medical-home .mp-promotion-profile-actions {margin-top:28px}
}
@media(prefers-reduced-motion:reduce){.mp-promotion-profile-actions a {transition:none!important}}

/* Native template blocks keep the same layout while respecting editor styling. */
:root .medical-home .mp-promotion-profile-title:not(.has-text-color) {color:var(--mp-ink)}
:root .medical-home .mp-promotion-hero {gap:0}
:root .medical-home .mp-promotion-profile-copy > * {margin-block-start:0}
:root .medical-home .mp-promotion-profile-copy > .mp-promotion-profile-date {margin-top:10px}
:root .medical-home .mp-promotion-profile-copy > .mp-promotion-profile-title,
:root .medical-home .mp-promotion-profile-copy > .mp-promotion-profile-description {margin-top:24px}
:root .medical-home .mp-promotion-profile-copy > .mp-promotion-profile-actions {margin-top:32px}
:root .mp-promotion-profile-page .has-text-color.mp-profile-prose :is(p,h2,h3,li),
:root .mp-promotion-profile-page .has-text-color.mp-promotion-profile-description :is(p,h2,h3,li) {color:inherit}
@media(max-width:760px){:root .medical-home .mp-promotion-profile-copy > .mp-promotion-profile-actions {margin-top:28px}}

/* Server previews add wrappers that do not exist on the public page. */
.editor-styles-wrapper .wp-block-medicalpro-promotion-photo {position:relative;align-self:stretch;min-height:450px}
.editor-styles-wrapper .wp-block-medicalpro-promotion-photo > div,
.editor-styles-wrapper .wp-block-medicalpro-promotion-photo > div > div {height:100%}
.editor-styles-wrapper .wp-block-medicalpro-promotion-photo .mp-promotion-profile-photo {height:100%;min-height:450px}
@media(max-width:760px){
 .editor-styles-wrapper .wp-block-medicalpro-promotion-photo {order:-1;width:100%;min-height:0;aspect-ratio:3/2}
 .editor-styles-wrapper .wp-block-medicalpro-promotion-photo .mp-promotion-profile-photo {min-height:0}
}
