/* Shared native dialogs stay outside transformed header containers. */
.em-dialog { box-sizing:border-box; color:#183e31; font-family:'Sora',Arial,sans-serif; padding:0; border:1px solid #dde5d4; background:#f8f6ed; box-shadow:0 25px 90px rgba(1,24,17,.3); overflow:hidden; }
.em-dialog * { box-sizing:border-box; }
.em-dialog::backdrop { background:rgba(5,27,20,.56); backdrop-filter:blur(4px); }
.em-dialog[open] { display:flex; flex-direction:column; }
.em-dialog a { color:inherit; text-decoration:none; }
.em-dialog a:focus-visible,.em-dialog button:focus-visible,.em-dialog input:focus-visible { outline:3px solid #87a477; outline-offset:3px; }
.em-dialog button,.em-dialog input { font-family:inherit; }
.em-dialog button { cursor:pointer; }
.em-dialog-head { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:23px 24px; border-bottom:1px solid #dce3d5; background:linear-gradient(120deg,#fffef8,#edf2e5); flex-shrink:0; }
.em-dialog-head h2 { margin:0; color:#173f32; font-family:'Playfair Display',Georgia,serif; font-size:32px; font-weight:400; line-height:1.2; }
.em-close { display:flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; height:44px; border:1px solid #cfdbc4; border-radius:50%; color:#234a36; background:#fffdf7; }
.em-close svg { width:22px; height:22px; }
.em-icon { display:block; width:24px; height:24px; flex:0 0 24px; }
.em-mobile-dialog { width:min(400px,calc(100% - 24px)); max-width:none; height:calc(100dvh - 24px); max-height:none; margin:12px auto 12px 12px; border-radius:24px; opacity:0; transform:translateX(-18px); transition:opacity .22s ease,transform .22s ease; }
.em-mobile-dialog.em-open { opacity:1; transform:none; }
.em-mobile-dialog .em-dialog-head { padding:20px; }
.em-menu-brand { display:flex; align-items:center; gap:12px; min-width:0; }
.em-clinic-mark { display:block; width:52px; height:52px; flex:0 0 52px; border-radius:12px; background:#fff; border:1px solid #dce7d0; object-fit:contain; }
.em-menu-mark { display:flex; flex-direction:column; gap:4px; }
.em-menu-mark strong { font-size:19px; color:#173f32; font-weight:500; }
.em-menu-mark span { font-size:12px; color:#637a5d; letter-spacing:.07em; }
.em-mobile-scroll { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:18px; }
.em-mobile-search { display:flex; width:100%; align-items:center; justify-content:flex-start; gap:12px; min-height:52px; padding:12px 15px; border:1px solid #cfdbc5; border-radius:14px; background:#fffdf7; color:#4f6756; font-size:16px; margin-bottom:15px; }
.em-mobile-links { display:grid; gap:3px; }
.em-mobile-links>a,.em-submenu-button { display:flex; width:100%; min-height:52px; align-items:center; justify-content:space-between; gap:16px; padding:13px 14px; border:0; border-radius:12px; background:transparent; color:#173f32; font-size:17px; line-height:1.6; font-weight:500; text-align:left; }
.em-mobile-links>a:hover,.em-submenu-button:hover,.em-submenu-button[aria-expanded=true] { background:#e8efde; }
.em-submenu-button svg { width:20px; height:20px; transition:transform .25s ease; }
.em-submenu-button[aria-expanded=true] svg { transform:rotate(180deg); }
.em-submenu { display:grid; grid-template-rows:0fr; opacity:0; transition:grid-template-rows .26s ease,opacity .2s ease; }
.em-submenu.em-expanded { grid-template-rows:1fr; opacity:1; }
.em-submenu-inner { min-height:0; overflow:hidden; }
.em-submenu-inner>div { display:grid; gap:3px; margin:4px 0 10px 13px; border-left:1px solid #c9d9be; padding-left:8px; }
.em-submenu a { display:flex; align-items:center; gap:9px; min-height:46px; padding:11px 13px; border-radius:10px; font-size:15px; line-height:1.65; color:#36563f; overflow-wrap:anywhere; }
.em-submenu a:hover,.em-submenu a:focus-visible { background:#e5eddb; }
.em-submenu a:first-child { font-weight:600; }
.em-mobile-foot { flex-shrink:0; padding:18px 20px; border-top:1px solid #d7e0cf; background:#eef2e6; }
.em-mobile-book { display:flex; align-items:center; justify-content:space-between; min-height:52px; padding:13px 20px; border-radius:30px; border:1px solid #e7c875; background:linear-gradient(135deg,#f8e29e 0%,#e1bf6d 100%); color:#0e2d24!important; font-size:16px; font-weight:600; }
.em-mobile-risk { display:flex; width:100%; align-items:center; justify-content:space-between; min-height:48px; margin-top:10px; padding:11px 20px; border-radius:30px; border:1px solid rgba(255,255,255,.25); background:linear-gradient(135deg,#c02626 0%,#991b1b 100%); color:#ffffff!important; font-size:15px; font-weight:600; box-shadow:0 4px 14px rgba(185,28,28,.35); }
.em-mobile-phone { display:block; text-align:center; margin-top:13px; color:#3e5d46!important; font-size:15px; }
/* Keep booking controls reachable on phones and short landscape viewports. */
#elmwoodHotdocModal { box-sizing:border-box; }
#elmwoodHotdocModal .elmwood-hotdoc-panel {
    max-height:calc(100vh - 36px)!important;
    max-height:min(900px,calc(100dvh - 36px))!important;
    overflow-y:auto!important;
}
#elmwoodHotdocModal .elmwood-hotdoc-top,
#elmwoodHotdocModal .elmwood-hotdoc-tabs,
#elmwoodHotdocModal .elmwood-hotdoc-actions { flex-shrink:0!important; }
#elmwoodHotdocModal .elmwood-hotdoc-frame-wrap { flex:1 0 auto!important; }
@media (max-width:767px), (max-height:700px) {
    #elmwoodHotdocModal {
        padding:12px!important;
        padding:calc(12px + env(safe-area-inset-top,0px)) calc(12px + env(safe-area-inset-right,0px)) calc(12px + env(safe-area-inset-bottom,0px)) calc(12px + env(safe-area-inset-left,0px))!important;
    }
    #elmwoodHotdocModal .elmwood-hotdoc-panel {
        max-height:calc(100vh - 24px)!important;
        max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))!important;
    }
    #elmwoodHotdocModal .elmwood-hotdoc-frame-wrap { min-height:240px!important; }
    #elmwoodHotdocModal .elmwood-hotdoc-frame {
        height:48vh!important;
        height:clamp(240px,48dvh,560px)!important;
    }
}
/* Risk quiz drawer (light theme) */
.em-risk-dialog { width:min(760px,100vw); max-width:none; height:100dvh; max-height:none; margin:0 0 0 auto; border:0; border-radius:30px 0 0 30px; background:#faf8f1; color:#173f32; opacity:0; transform:translateX(56px); transition:opacity .28s ease,transform .38s cubic-bezier(.2,.8,.2,1); box-shadow:-24px 0 80px rgba(8,40,30,.22); }
.em-risk-dialog.em-open { opacity:1; transform:none; }
.em-risk-dialog::backdrop { background:rgba(20,42,34,.42); backdrop-filter:blur(4px); }
.em-risk-dialog .rq-close { position:absolute; top:18px; right:18px; z-index:5; width:44px; height:44px; border:1px solid rgba(23,63,50,.14); background:rgba(255,255,255,.88); color:#173f32; backdrop-filter:blur(8px); box-shadow:0 6px 18px rgba(8,40,30,.14); transition:background .2s ease,transform .2s ease; }
.em-risk-dialog .rq-close:hover { background:#fff; transform:rotate(90deg); }
.rq { flex:1; min-height:0; display:flex; flex-direction:column; }
.rq-scroll { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:rgba(23,63,50,.25) transparent; }
.rq-step[hidden] { display:none; }
.rq-step { animation:rq-in .45s cubic-bezier(.2,.8,.2,1); }
.rq-media { position:relative; height:clamp(190px,31vh,330px); overflow:hidden; background:#e9eee1; }
.rq-intro .rq-media { height:clamp(240px,40vh,460px); }
.rq-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.rq-media::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,rgba(250,248,241,0) 50%,#faf8f1 100%); }
.rq-body { padding:6px 52px 40px; display:grid; gap:14px; justify-items:start; }
.rq-eyebrow,.rq-count { color:#8a6a1c; font-size:11px; font-weight:600; letter-spacing:.16em; text-transform:uppercase; }
.rq-title { margin:0; color:#143a2e; font-family:'Playfair Display',Georgia,serif; font-size:clamp(26px,3.4vw,35px); font-weight:400; line-height:1.22; outline:none; }
.rq-intro .rq-title { font-size:clamp(26px,3.2vw,34px); }
.rq-lead { margin:0; color:#3f5a4c; font-size:15px; line-height:1.75; }
.rq-lead strong { color:#143a2e; font-weight:600; }
.rq-note { margin:0; color:#6b8074; font-size:13px; line-height:1.7; }
.rq-start,.rq-book { display:inline-flex; align-items:center; gap:12px; min-height:52px; padding:12px 28px; border:0; border-radius:999px; background:linear-gradient(135deg,#13392e 0%,#1f5444 100%); color:#fffdf7!important; font-size:14px; font-weight:600; letter-spacing:.01em; box-shadow:0 10px 28px rgba(19,57,46,.24); transition:transform .2s ease,box-shadow .2s ease; }
.rq-start { margin-top:8px; }
.rq-start:hover,.rq-book:hover { transform:translateY(-2px); box-shadow:0 16px 34px rgba(19,57,46,.32); }
.rq-options { display:grid; gap:11px; width:100%; margin-top:6px; }
.rq-opt { display:flex; align-items:center; gap:16px; width:100%; padding:16px 18px; border:1px solid #d9e2d0; border-radius:16px; background:#fff; color:#173f32; text-align:left; box-shadow:0 2px 8px rgba(8,40,30,.04); transition:border-color .2s ease,background .2s ease,transform .2s ease,box-shadow .2s ease; }
.rq-opt:hover { border-color:#c9a24a; background:#fffdf4; transform:translateX(4px); box-shadow:0 8px 22px rgba(8,40,30,.08); }
.rq-key { display:flex; align-items:center; justify-content:center; flex:0 0 34px; width:34px; height:34px; border:1px solid #cfd9c4; border-radius:50%; background:#f3f5ec; color:#6f5518; font-size:13px; font-weight:600; transition:all .2s ease; }
.rq-txt { display:grid; gap:3px; min-width:0; }
.em-risk-dialog .rq-txt strong { color:inherit; font-size:16px; font-weight:500; line-height:1.35; }
.rq-txt small { color:#647a6d; font-size:13px; line-height:1.5; }
.rq-opt.is-picked { border-color:#13392e; background:#13392e; color:#fffdf7; }
.rq-opt.is-picked .rq-key { background:linear-gradient(135deg,#f8e29e,#e1bf6d); border-color:transparent; color:#0e2d24; }
.rq-opt.is-picked small { color:#bcd0c5; }
.rq-nav { margin-top:6px; }
.rq-back,.rq-retake { display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:8px 4px; border:0; background:none; color:#5a7459; font-size:13.5px; transition:color .2s ease; }
.rq-back:hover,.rq-retake:hover { color:#143a2e; }
.rq-badge { display:inline-flex; align-items:center; padding:6px 14px; border-radius:999px; background:#f7edcb; border:1px solid #dcc489; color:#6f5518; font-size:11px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; }
.rq-meter { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; width:100%; max-width:420px; }
.rq-meter i { display:block; height:6px; border-radius:6px; background:#dfe6d6; transition:background .4s ease; }
.rq-meter[data-level="1"] i:nth-child(-n+1),.rq-meter[data-level="2"] i:nth-child(-n+2),.rq-meter[data-level="3"] i:nth-child(-n+3),.rq-meter[data-level="4"] i:nth-child(-n+4) { background:linear-gradient(90deg,#e8c96f,#c9a24a); }
.rq-meter[data-level="4"] i:nth-child(-n+4) { background:linear-gradient(90deg,#f1a77f,#d9644a); }
.rq-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; margin-top:6px; }
.rq-fees { display:inline-flex; align-items:center; min-height:52px; padding:10px 22px; border:1px solid #bccbb1; border-radius:999px; background:#fff; color:#173f32!important; font-size:13.5px; transition:border-color .2s ease; }
.rq-fees:hover { border-color:#c9a24a; }
.rq-foot { flex:0 0 auto; padding:14px 52px; border-top:1px solid #e1e7d8; background:#f1f2e6; color:#6b8074; font-size:11.5px; line-height:1.6; }
@keyframes rq-in { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
@media (max-width:600px) { .em-risk-dialog { width:100vw; border-radius:0; } .rq-body { padding:4px 22px 32px; } .rq-media { height:clamp(150px,26vh,230px); } .rq-intro .rq-media { height:clamp(210px,38vh,340px); } .rq-opt { padding:14px; gap:13px; } .rq-foot { padding:12px 22px; } .rq-actions > * { width:100%; justify-content:center; } }
#header #elementor-header-top .elementor-element-8f45fc7 .btn,#header #elementor-header-top-sticky .elementor-element-8f45fc7 .btn,.elmwood-sticky-book-btn { border:1px solid #e7c875!important; background:linear-gradient(135deg,#f8e29e 0%,#e1bf6d 100%)!important; color:#0e2d24!important; font-weight:600!important; box-shadow:0 8px 22px rgba(21,58,47,.16)!important; }
#header #elementor-header-top .elementor-element-8f45fc7 .btn:hover,#header #elementor-header-top-sticky .elementor-element-8f45fc7 .btn:hover,.elmwood-sticky-book-btn:hover { background:linear-gradient(135deg,#fbeab4 0%,#e8c878 100%)!important; color:#09211a!important; transform:translateY(-1px); }
.em-search-dialog { width:min(820px,calc(100% - 32px)); max-height:calc(100dvh - 48px); margin:auto; border-radius:26px; }
.em-search-input-wrap { display:flex; align-items:center; gap:15px; margin:22px 24px 12px; padding:0 18px; border:1px solid #bacfac; border-radius:16px; background:#fffefa; flex-shrink:0; }
.em-search-input-wrap input { width:100%; min-width:0; min-height:62px; border:0; background:transparent; font-size:19px; color:#173e31; padding:16px 0; }
.em-search-input-wrap input::placeholder { color:#61715f; opacity:1; }
.em-search-status { margin:0; padding:0 26px 16px; color:#5d7257; font-size:14px; line-height:1.7; flex-shrink:0; }
.em-search-results { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; padding:0 20px 20px; contain:layout paint; }
.em-search-results ul { list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.em-search-results li { margin:0; }
.em-search-result { display:grid; grid-template-columns:1fr 24px; align-items:center; gap:16px; padding:19px 20px; border:1px solid #d9e2d0; border-radius:17px; background:#fffdf7; transition:background .15s,border-color .15s; }
.em-search-result:hover,.em-search-result:focus-visible { background:#eaf1e1; border-color:#9fb98c; }
.em-search-result small { display:block; color:#647d59; font-size:11px; text-transform:uppercase; letter-spacing:.12em; margin-bottom:7px; }
.em-search-result strong { display:block; font-size:18px; font-weight:500; line-height:1.5; color:#183f2f; }
.em-search-result p { margin:8px 0 0; font-size:14px; line-height:1.8; color:#51664d; }
.em-search-message { padding:28px 20px; border-radius:17px; background:#edf2e4; color:#4b6446; font-size:16px; line-height:1.8; }
.em-search-footer { padding:15px 26px; border-top:1px solid #dae3d1; color:#607457; font-size:12px; line-height:1.7; }
.em-search-results button { padding:10px 18px; border:1px solid #aabc9d; border-radius:30px; background:#fffdf7; color:#173f32; }
/* Explicit brand width keeps the animated logo legible in Safari flex layouts. */
#header .header-brand-row .site-brand {
 box-sizing:border-box;
 flex:0 0 auto!important;
 width:clamp(145px,12vw,178px)!important;
 max-width:100%!important;
}
#header .site-brand .brand-logo-img {
 box-sizing:border-box!important;
 display:block!important;
 width:100%!important;
 max-width:100%!important;
 height:auto!important;
 max-height:none!important;
 padding:0!important;
 background:transparent!important;
 box-shadow:none!important;
 border-radius:0!important;
 object-fit:contain!important;
}
@media (min-width:1025px) { #elementor-header-top-mobile { display:none!important; } body:not(.elementor-editor-active) header .elementor-header-top-transparent { top:0!important; } #header #elementor-header-top .elementor-element-ebbd45a { --width:auto!important; width:auto!important; padding-inline:24px!important; } #header #elementor-header-top .menuzord-menu,#header #elementor-header-top-sticky .menuzord-menu { display:flex!important; flex-wrap:nowrap!important; align-items:center!important; white-space:nowrap!important; } }
@media (min-width:1025px) and (max-width:1600px) {
 #header #elementor-header-top .elementor-element-3c64aa3 > .e-con-inner { align-items:center!important; flex-wrap:nowrap!important; gap:16px!important; }
 #header #elementor-header-top .elementor-element-60e1205,
 #header #elementor-header-top .elementor-element-b4e7d55 { width:auto!important; flex:0 0 auto!important; }
 #header #elementor-header-top .elementor-element-ebbd45a { padding-inline:12px!important; }
 #header #elementor-header-top .menuzord-menu > li.menu-item > a { font-size:13px!important; padding-inline:9px!important; }
 #header #elementor-header-top .elementor-element-8f45fc7 .btn { font-size:13px!important; padding:12px 18px!important; white-space:nowrap; }
 #header #elementor-header-top-sticky .e-con-inner { padding-inline:16px!important; }
 #header #elementor-header-top-sticky .elementor-element-ee3e261 { gap:8px!important; }
 #header #elementor-header-top-sticky .elementor-element-95a0a0c { margin:0!important; }
 #header #elementor-header-top-sticky .menuzord-menu { gap:6px!important; }
 #header #elementor-header-top-sticky .menuzord-menu > li.menu-item > a { font-size:13px!important; letter-spacing:0!important; padding:18px 4px!important; }
 #header #elementor-header-top-sticky .menuzord-menu > li.menu-item-sticky-book { margin-left:6px!important; }
 #header #elementor-header-top-sticky .menuzord-menu > li.menu-item-sticky-book > a.elmwood-sticky-book-btn { padding:10px 14px!important; }
 #header #elementor-header-top-sticky .elementor-element-9ef4e25 .icon-box-title { display:none!important; }
 #header #elementor-header-top-sticky .elementor-element-9ef4e25 .content a { font-size:13px!important; }
}
@media (max-width:1024px) {
 html { scroll-padding-top:82px; }
 body { min-width:0!important; }
 #wrapper { width:100%; max-width:100%; overflow-x:clip; }
 #header { position:relative!important; height:auto!important; padding-top:68px!important; }
 #header #elementor-header-top,#header #elementor-header-top-sticky { display:none!important; }
 #header #elementor-header-top-mobile { display:block!important; position:fixed!important; top:0!important; left:0; right:0; width:100%; height:68px; visibility:visible!important; opacity:1!important; transform:none!important; background:#fffdf9; z-index:99998; box-shadow:0 3px 16px rgba(13,40,29,.1); }
 #header #tm-header-mobile { position:static!important; height:68px; box-shadow:none!important; }
 #header .em-mobile-bar { display:flex!important; align-items:center; justify-content:space-between; gap:8px; padding:10px 13px!important; min-height:68px; }
 #header .em-mobile-bar .header-brand-row { display:flex!important; gap:10px!important; min-width:0; }
 #header .em-mobile-bar .tm-header-branding { min-height:0!important; min-width:0; }
 #header .em-mobile-bar .site-brand { width:128px!important; padding:0!important; margin:0!important; border-radius:11px!important; }
 #header .em-mobile-bar .brand-logo-img { width:100%!important; height:auto!important; max-height:none!important; padding:0!important; background:transparent!important; box-shadow:none!important; border-radius:0!important; object-fit:contain; }
 #header .em-mobile-bar .header-partner-badge { padding:5px 8px!important; gap:5px!important; border-radius:12px!important; }
 #header .em-mobile-bar .header-partner-flag img { width:29px!important; height:24px!important; }
 #header .em-mobile-bar .header-partner-kicker,#header .em-mobile-bar .header-partner-sub { font-size:7px!important; }
 #header .em-mobile-bar .header-partner-title { font-size:13px!important; }
 #header #tm-nav-mobile { position:static!important; transform:none!important; display:flex!important; align-items:center; justify-content:center; width:44px; height:44px; flex:0 0 44px; border:1px solid #d4dfca; border-radius:12px; background:#f1f5e9; color:#173e31; padding:10px; cursor:pointer; }
 #tm-nav-mobile svg { width:24px; height:24px; }
 #elmwoodBrandSwitcher { padding:7px 10px!important; backdrop-filter:none!important; }
 #elmwoodBrandSwitcher .container-fluid { padding:0!important; }
 #elmwoodBrandSwitcher .brand-switcher-inner { justify-content:center; gap:0; }
 #elmwoodBrandSwitcher .brand-switcher-right { display:none!important; }
 #elmwoodBrandSwitcher .brand-pill-link { font-size:11px; padding:5px 12px; }
 #elmwoodBrandSwitcher .brand-switcher-arrow { display:none; }
 .elmwood-hero { margin-top:12px; }
 #footer .elementor-invisible { visibility:visible!important; }
 #footer .elementor-element-00ae94a { padding:0 12px 12px!important; background:#f7f3ed!important; }
 #footer .elementor-element-ecae855 { padding:36px 22px 26px!important; border-radius:24px 24px 0 0!important; }
 #footer .elementor-element-3d66c80 { padding:0!important; }
 #footer .elementor-element-3d66c80>.e-con-inner { display:grid!important; grid-template-columns:minmax(0,1fr); gap:0!important; width:100%!important; max-width:100%!important; padding:0!important; }
 /* The content columns are inside this wrapper, rather than the outer boxed container. */
 #footer .elementor-element-2c0d036 { display:grid!important; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); align-items:start; gap:30px 20px!important; width:100%!important; min-width:0!important; margin:0!important; padding:0!important; }
 #footer .elementor-element-2c0d036>.e-con { --container-widget-width:100%; --container-widget-height:initial; --container-widget-flex-grow:0; width:100%!important; max-width:100%!important; min-width:0!important; margin:0!important; padding:0!important; flex-direction:column!important; align-items:flex-start!important; gap:12px!important; }
 #footer .elementor-element-f34c1e5,#footer .elementor-element-a611891 { grid-column:1/-1; }
 #footer .elementor-element-2c0d036 .elementor-widget { width:100%!important; max-width:100%!important; margin:0!important; }
 #footer .elementor-element-a71fe1f .tm-text-editor { margin:0!important; }
 #footer .elementor-element-e5cd0f0>.elementor-widget-container { margin-top:8px!important; }
 #footer .elementor-element-e5cd0f0 .btn-style1 { width:auto!important; max-width:100%; min-height:52px; }
 #footer .elementor-element-2c0d036>.elementor-element-a611891 { display:grid!important; grid-template-columns:minmax(0,1fr); gap:22px!important; padding-top:26px!important; border-top:1px solid rgba(246,242,233,.14); }
 #footer .elementor-element-a611891>.e-con { width:100%!important; min-width:0!important; margin:0!important; padding:0!important; gap:8px!important; }
 #footer p,#footer li,#footer .tm-text-editor-advanced { font-size:15px!important; line-height:1.85!important; overflow-wrap:anywhere; }
 #footer .elementor-widget-tm-ele-text-editor>.elementor-widget-container>.tm-text-editor>p { margin-bottom:12px; }
 #footer .elementor-element-ec01184 .tm-text-editor { font-family:'Playfair Display',Georgia,serif!important; font-size:27px!important; line-height:1.3!important; }
 #footer .elementor-element-c899cd0 p,#footer .elementor-element-1a24614 p { font-size:17px!important; font-weight:600; line-height:1.5!important; margin:0!important; }
 #footer .elementor-element-cbacf1c p,#footer .elementor-element-ce8b926 p { font-size:13px!important; line-height:1.5!important; letter-spacing:.1em; text-transform:uppercase; margin:0!important; }
 #footer .elementor-element-a611891 .tm-text-editor p,#footer .elementor-element-a611891 .tm-text-editor-advanced p { margin:0!important; }
 #footer .tm-sc-simple-nav-menu ul { margin:0!important; padding:0!important; }
 #footer .tm-sc-simple-nav-menu li { margin:0!important; }
 #footer .tm-sc-simple-nav-menu li a { display:flex; align-items:center; min-height:44px; padding:7px 0!important; font-size:14px; line-height:1.6; }
 /* A full-width newsletter card with a logo/social row and a separate form row. */
 #footer .elementor-element-ee7020b { display:grid!important; grid-template-columns:minmax(0,1fr) auto; align-items:center!important; gap:22px 12px!important; grid-column:1/-1; width:100%!important; max-width:100%!important; padding:22px 18px!important; margin:30px 0 24px!important; border:1px solid rgba(246,242,233,.12)!important; border-radius:20px!important; }
 #footer .elementor-element-ee7020b .e-con { --container-widget-width:100%; --container-widget-height:initial; --container-widget-flex-grow:0; width:100%!important; max-width:100%!important; min-width:0!important; margin:0!important; padding:0!important; }
 #footer .elementor-element-d014617 { grid-column:1; }
 #footer .elementor-element-ee7020b .elementor-element-0cde649 { display:contents!important; }
 #footer .elementor-element-ee7020b .elementor-element-d87b667 { grid-column:2; grid-row:1; width:auto!important; justify-content:flex-end!important; }
 #footer .elementor-element-ee7020b .elementor-element-00cd846 { display:grid!important; grid-column:1/-1; gap:14px!important; align-items:start!important; }
 #footer .elementor-element-00cd846>.elementor-widget,#footer .elementor-element-d014617>.elementor-widget { width:100%!important; max-width:100%!important; min-width:0!important; }
 #footer .elementor-element-4ee05ba>.elementor-widget-container { margin:0!important; }
 #footer .elementor-element-4ee05ba h5 { font-family:'Playfair Display',Georgia,serif!important; font-size:24px!important; font-weight:400; line-height:1.35!important; margin:0!important; }
 #footer .elementor-element-ee7020b .footer-brand-row { display:block; }
 #footer .elementor-element-ee7020b .site-brand { display:block; width:140px!important; max-width:100%!important; margin:0!important; padding:0!important; }
 #footer .elementor-element-ee7020b .site-brand img { display:block; max-width:100%!important; width:100%!important; height:auto!important; max-height:none!important; border-radius:9px!important; padding:5px 8px!important; }
 #footer .tm-sc-social-links { display:flex!important; align-items:center; gap:8px; margin:0!important; padding:0!important; }
 #footer .tm-sc-social-links li { margin:0!important; padding:0!important; }
 #footer .tm-sc-social-links li a { display:flex; align-items:center; justify-content:center; width:40px!important; height:40px!important; line-height:1!important; border:1px solid rgba(246,242,233,.15); }
 #footer .mc4wp-form,#footer .mc4wp-form-fields,#footer .tm-mc4wp-newsletter { width:100%!important; min-width:0!important; max-width:100%!important; }
 #footer .mc4wp-form { margin:0!important; }
 #footer .mc4wp-form-fields { display:grid!important; grid-template-columns:minmax(0,1fr) 48px; gap:8px!important; align-items:center; }
 #footer .mc4wp-form-fields input[type=email] { width:100%!important; max-width:100%!important; min-width:0!important; height:48px!important; padding:11px 13px!important; margin:0!important; border:1px solid rgba(246,242,233,.22)!important; border-radius:12px!important; font-size:14px; background:rgba(255,255,255,.08)!important; color:#fffdf7!important; box-shadow:none!important; }
 #footer .mc4wp-form-fields input[type=email]::placeholder { color:#d2ddd5; opacity:1; }
 #footer .mc4wp-form-fields button { position:static!important; display:flex; align-items:center; justify-content:center; width:48px!important; min-width:48px!important; height:48px!important; padding:0!important; margin:0!important; border:0!important; border-radius:12px!important; background:#e5c574!important; color:#13392f!important; }
 #footer .mc4wp-form-fields button i { font-size:18px; }
 #footer a:focus-visible,#footer input:focus-visible,#footer button:focus-visible { outline:2px solid #e5c574; outline-offset:4px; }
 #footer .elementor-element-0f608cf { width:100%!important; min-width:0!important; padding:20px 0!important; }
 #footer .elementor-element-125cbdf p { font-family:'Playfair Display',Georgia,serif!important; font-size:clamp(48px,16vw,88px)!important; line-height:1.1!important; letter-spacing:-.045em!important; text-align:center; margin:0!important; white-space:normal!important; }
 #footer .elementor-element-e0c3cbc { padding:0 22px 30px!important; }
 #footer .elementor-element-e0c3cbc>.e-con-inner { display:flex!important; flex-direction:column!important; gap:24px!important; padding:0!important; max-width:100%!important; }
 #footer .elementor-element-e0c3cbc .e-con,#footer .crossover-branding-col { width:100%!important; min-width:0!important; margin:0!important; padding:0!important; }
 #footer .elementor-element-ada6ebe { display:flex!important; flex-direction:column!important; align-items:flex-start!important; gap:22px!important; }
 #footer .elementor-element-6d1bdd6 { width:100%!important; max-width:100%!important; margin:0!important; }
 #footer .elementor-element-6d1bdd6 .tm-text-editor { font-size:13px!important; line-height:1.85!important; color:#ccd9d0; }
 #footer .crossover-footer-badge { display:flex!important; flex-direction:column!important; align-items:flex-start!important; gap:12px!important; width:100%; max-width:100%; margin:0!important; padding:22px 0 0!important; border-top:1px solid rgba(246,242,233,.12); }
 #footer .crossover-tag { font-size:10px!important; letter-spacing:.14em!important; }
 #footer .crossover-brand-content { display:flex!important; align-items:center!important; width:100%; max-width:100%; flex-wrap:nowrap; gap:12px!important; }
 #footer .crossover-logo-wrap { flex:0 0 38px; }
 #footer .crossover-logo-img { width:38px!important; height:38px!important; max-height:38px!important; object-fit:contain; }
 #footer .crossover-text-wrap { min-width:0; }
 #footer .crossover-company-name { font-size:12px!important; line-height:1.5!important; letter-spacing:.035em!important; overflow-wrap:anywhere; }
 #footer .crossover-tagline { font-size:8px!important; line-height:1.6!important; letter-spacing:.07em!important; }
 #footer .crossover-email-link { font-size:11px!important; line-height:1.7!important; overflow-wrap:anywhere; }
 #footer .tm-ele-floating-objects { display:none!important; }
 .service-block-style1 .content .service-title { margin-top:20px; }
 .service-block-style1 .service-image .number { font-size:30px; height:44px; line-height:44px; padding:0 10px; left:13px; bottom:13px; backdrop-filter:none; background:rgba(19,57,47,.8); }
 .service-block-style1 .service-image { margin-block:20px; }
 .service-block-style1 .content-2 { max-width:none; }
 .service-block-style1 .content-2 .link-btn { margin-top:20px; }
}
@media (max-width:360px) {
 #footer .elementor-element-ee7020b { grid-template-columns:minmax(0,1fr); }
 #footer .elementor-element-ee7020b .elementor-element-d87b667 { grid-column:1; grid-row:auto; justify-content:flex-start!important; }
}
@media (max-width:380px) { #header .em-mobile-bar .site-brand { width:144px!important; } #header .em-mobile-bar .header-brand-row { gap:6px!important; } #header .em-mobile-bar .header-partner-badge { padding:5px 6px!important; } }
@media (max-width:600px) { .em-search-dialog { width:calc(100% - 20px); max-height:calc(100dvh - 24px); border-radius:22px; } .em-dialog-head { padding:20px; } .em-dialog-head h2 { font-size:28px; } .em-search-input-wrap { margin:18px 18px 12px; padding-inline:13px; } .em-search-input-wrap input { font-size:17px; } .em-search-results { padding:0 14px 14px; } .em-search-result { padding:16px; } .em-search-result strong { font-size:17px; } .em-search-result p { font-size:14px; } }
@media (prefers-reduced-motion:no-preference) { .em-search-dialog[open] { animation:em-search-in .2s ease-out; } @keyframes em-search-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } } .em-reveal-ready { opacity:0; transform:translateY(14px); } .em-reveal-ready.em-in-view { opacity:1; transform:none; transition:opacity .45s ease,transform .45s ease; } }
@media (prefers-reduced-motion:reduce) { .em-dialog,.em-dialog *,.em-dialog::backdrop { animation:none!important; transition:none!important; } }

/* Top practice strip: warm ivory and an angled champagne-gold tab (without 'Our other practice' label). */
#elmwoodBrandSwitcher,
.elmwood-top-brand-switcher {
 position:relative;
 z-index:1!important;
 min-height:54px;
 box-sizing:border-box;
 padding:0!important;
 border:0;
 background:#f7f5ef;
 color:#123a32;
 font-family:'Sora',Arial,sans-serif;
 backdrop-filter:none;
 -webkit-backdrop-filter:none;
}
body:not(.elementor-editor-active) header #elementor-header-top-sticky.visible {
 z-index:99998!important;
}
#elmwoodBrandSwitcher * { box-sizing:border-box; }
#elmwoodBrandSwitcher .em-practice-bar {
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:24px;
 min-height:54px;
 padding-inline:clamp(20px,2.7vw,50px);
}
#elmwoodBrandSwitcher .em-practice-main {
 display:flex;
 align-items:flex-end;
 align-self:stretch;
 gap:28px;
 min-width:0;
}
#elmwoodBrandSwitcher .em-practice-label {
 display:none!important;
}
#elmwoodBrandSwitcher .em-medical-cta {
 position:relative;
 isolation:isolate;
 display:inline-flex;
 align-items:center;
 gap:18px;
 flex:0 1 auto;
 min-height:44px;
 max-width:100%;
 padding:0 23px;
 border:0;
 border-radius:0;
 background:transparent;
 color:#123a32!important;
 text-decoration:none!important;
 box-shadow:none;
 transition:none;
}
#elmwoodBrandSwitcher .em-medical-cta::before {
 content:"";
 position:absolute;
 z-index:-1;
 inset:0;
 border-radius:13px 7px 0 0;
 background:linear-gradient(105deg,#d0b478 0%,#e4cd98 58%,#e9d5a7 100%);
 transform:skewX(24deg);
 pointer-events:none;
}
#elmwoodBrandSwitcher .em-medical-copy { display:flex; align-items:center; gap:17px; min-width:0; }
#elmwoodBrandSwitcher .em-medical-logo {
 display:inline-flex;
 align-items:center;
 justify-content:center;
 height:30px;
 padding:2px 8px;
 border-radius:999px;
 background:rgba(255,255,255,.94);
 box-shadow:0 2px 6px rgba(18,58,50,.12);
 flex:0 0 auto;
}
#elmwoodBrandSwitcher .em-medical-logo img {
 display:block;
 height:24px;
 width:auto;
 object-fit:contain;
}
#elmwoodBrandSwitcher .em-medical-title {
 color:#123a32;
 font-size:12px;
 font-weight:500;
 letter-spacing:-.025em;
 line-height:1.4;
 white-space:nowrap;
}
#elmwoodBrandSwitcher .em-medical-cta .badge-specialist {
 margin:0;
 padding:0 0 0 17px;
 border:0;
 border-left:1px solid rgba(18,58,50,.45);
 border-radius:0;
 background:transparent;
 color:#123a32;
 font-size:10px;
 font-weight:400;
 line-height:1.35;
 letter-spacing:0;
 white-space:nowrap;
}
#elmwoodBrandSwitcher .em-medical-arrow {
 display:flex;
 align-items:center;
 justify-content:center;
 flex:0 0 26px;
 width:26px;
 height:26px;
 border-radius:50%;
 background:linear-gradient(135deg,#12473b,#062e26);
 color:#fff7e3;
 transition:background .2s ease;
}
#elmwoodBrandSwitcher .em-medical-arrow svg { display:block; width:14px; height:14px; transition:transform .2s ease; }
#elmwoodBrandSwitcher .em-medical-cta:hover,
#elmwoodBrandSwitcher .em-medical-cta:focus-visible { background:transparent; transform:none; box-shadow:none; }
#elmwoodBrandSwitcher .em-medical-cta:hover .em-medical-arrow { background:#195947; }
#elmwoodBrandSwitcher .em-practice-actions {
 display:flex;
 align-items:center;
 justify-content:flex-end;
 gap:22px;
 min-width:0;
}
#elmwoodBrandSwitcher .em-practice-address {
 display:inline-flex;
 align-items:center;
 gap:7px;
 min-height:44px;
 color:#23473b;
 font-size:10px;
 font-weight:400;
 line-height:1.5;
 text-decoration:none;
}
#elmwoodBrandSwitcher .em-practice-address svg { flex:0 0 14px; width:14px; height:14px; color:#557451; }
#elmwoodBrandSwitcher .em-practice-address span { white-space:nowrap; }
#elmwoodBrandSwitcher .em-practice-address:hover { color:#08754e; }
#elmwoodBrandSwitcher .em-practice-blog {
 display:none!important;
 display:inline-flex;
 align-items:center;
 justify-content:center;
 flex:0 0 auto;
 gap:9px;
 min-height:36px;
 padding:8px 16px;
 border:1px solid #174b3b;
 border-radius:999px;
 background:#174b3b;
 color:#fffdf5;
 font-size:11px;
 font-weight:500;
 line-height:1.4;
 text-decoration:none;
 white-space:nowrap;
 transition:background .2s ease,border-color .2s ease;
}
#elmwoodBrandSwitcher .em-practice-blog svg { display:block; width:13px; height:13px; }
#elmwoodBrandSwitcher .em-practice-blog:hover { background:#24674e; border-color:#24674e; color:#fffdf5; }
#elmwoodBrandSwitcher .em-medical-visit {
 display:inline-flex;
 align-items:center;
 justify-content:flex-end;
 gap:9px;
 flex-shrink:0;
 min-height:44px;
 color:#123a32;
 font-size:10px;
 font-weight:400;
 line-height:1.5;
 text-decoration:none;
}
#elmwoodBrandSwitcher .em-medical-visit svg { display:block; width:13px; height:13px; transition:transform .2s ease; }
#elmwoodBrandSwitcher .em-medical-cta:hover .em-medical-arrow svg,
#elmwoodBrandSwitcher .em-medical-cta:focus-visible .em-medical-arrow svg,
#elmwoodBrandSwitcher .em-medical-visit:hover svg,
#elmwoodBrandSwitcher .em-medical-visit:focus-visible svg { transform:translate(1px,-1px); }
#elmwoodBrandSwitcher .em-medical-cta:focus-visible,
#elmwoodBrandSwitcher .em-medical-visit:focus-visible,
#elmwoodBrandSwitcher .em-practice-address:focus-visible,
#elmwoodBrandSwitcher .em-practice-blog:focus-visible { outline:2px solid #185342; outline-offset:3px; }
@media (max-width:1300px) {
 #elmwoodBrandSwitcher .em-medical-visit { display:none; }
 #elmwoodBrandSwitcher .em-practice-actions { gap:18px; }
}
@media (max-width:1024px) {
 #elmwoodBrandSwitcher .em-practice-bar { flex-direction:column; align-items:stretch; gap:0; }
 #elmwoodBrandSwitcher .em-practice-main { min-height:54px; }
 #elmwoodBrandSwitcher .em-practice-actions { justify-content:space-between; min-height:54px; border-top:1px solid #e4dfd1; gap:12px; }
 #elmwoodBrandSwitcher .em-practice-address { flex:1; min-width:0; }
 #elmwoodBrandSwitcher .em-practice-address span { white-space:normal; }
 #elmwoodBrandSwitcher .em-practice-blog {
 display:none!important; min-height:44px; }
 #elmwoodBrandSwitcher .em-medical-cta { padding:0 23px; }
}
@media (max-width:600px) {
 #elmwoodBrandSwitcher .em-practice-bar { padding:10px 20px 0; }
 #elmwoodBrandSwitcher .em-practice-main { width:100%; flex-direction:column; align-items:flex-start; gap:7px; }
 #elmwoodBrandSwitcher .em-practice-label { align-self:center; font-size:8px; letter-spacing:.16em; }
 #elmwoodBrandSwitcher .em-medical-cta { justify-content:space-between; width:calc(100% - 16px); max-width:360px; margin-left:8px; padding:0 17px; gap:12px; }
 #elmwoodBrandSwitcher .em-medical-copy { flex-direction:column; align-items:flex-start; gap:1px; }
 #elmwoodBrandSwitcher .em-medical-cta .badge-specialist { padding:0; border:0; font-size:9px; }
 #elmwoodBrandSwitcher .em-medical-title { font-size:11.5px; }
}
@media (prefers-reduced-motion:reduce) {
 #elmwoodBrandSwitcher .em-medical-arrow,
 #elmwoodBrandSwitcher .em-practice-blog,
 #elmwoodBrandSwitcher svg { transition:none!important; transform:none!important; }
}

/* Split-wise centered quiz progress bar below button */
.rq-steps-bar {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:8px;
  width:min(380px,100%);
  margin:10px auto 0;
  justify-self:center;
}
.rq-steps-bar i {
  display:block;
  height:7px;
  border-radius:999px;
  background:#d5ded8;
  overflow:hidden;
}
.rq-steps-bar i b {
  display:block;
  height:100%;
  width:0%;
  border-radius:999px;
  background:#557368;
  transition:width .4s ease;
}
.rq-steps-bar i.is-done b { width:100%; background:#173f32; }
.rq-steps-bar i.is-current b { width:72%; background:#557368; }

/* Centered Complete Veteran Health pill inside #elmwoodBrandSwitcher */
#elmwoodBrandSwitcher .em-practice-bar { position:relative; }
#elmwoodBrandSwitcher .em-practice-veteran {
  display:flex;
  align-items:center;
  justify-content:center;
  flex:1 1 auto;
  padding:4px 12px;
}
#elmwoodBrandSwitcher .em-veteran-pill {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:5px 14px 5px 7px;
  border-radius:999px;
  border:1px solid #d5ccb4;
  background:linear-gradient(145deg,#ffffff 0%,#f3efe2 100%);
  box-shadow:0 4px 14px rgba(18,58,50,.08);
  color:#123a32!important;
  text-decoration:none!important;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
#elmwoodBrandSwitcher .em-veteran-pill:hover {
  transform:translateY(-1px);
  border-color:#0f7a6b;
  box-shadow:0 8px 20px rgba(18,58,50,.14);
}
#elmwoodBrandSwitcher .em-veteran-pill-flag {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:25px;
  border-radius:5px;
  overflow:hidden;
  flex-shrink:0;
}
#elmwoodBrandSwitcher .em-veteran-pill-flag img {
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
#elmwoodBrandSwitcher .em-veteran-pill-copy {
  display:flex;
  align-items:baseline;
  gap:5px;
  line-height:1.2;
}
#elmwoodBrandSwitcher .em-veteran-pill-kicker {
  color:#0f7a6b;
  font-size:9px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
}
#elmwoodBrandSwitcher .em-veteran-pill-title {
  color:#123a32;
  font-size:11.5px;
  font-weight:600;
  white-space:nowrap;
}
#elmwoodBrandSwitcher .em-veteran-pill-arrow {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#0f7a6b;
}
@media (max-width:1024px) {
  #elmwoodBrandSwitcher .em-practice-veteran {
    justify-content:flex-start;
    padding:8px 0;
    border-top:1px solid #e4dfd1;
  }
}

/* Ensure .btn-style2 (More About Us / About Elmwood buttons) text is visible and properly styled */
.btn-style2 {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  width: auto !important;
  max-width: none !important;
  height: 56px !important;
  line-height: 56px !important;
  padding: 0 10px 0 28px !important;
  gap: 14px !important;
  border-radius: 999px !important;
  background: #173f32 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  flex-shrink: 0 !important;
  overflow: visible !important;
}
.btn-style2 .theme-btn {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.btn-style2:hover {
  background: #102e25 !important;
  color: #ffffff !important;
}
.btn-style2:hover .theme-btn {
  color: #ffffff !important;
  transform: none !important;
}
.btn-style2 .theme-btn-arrow-right,
.btn-style2 .theme-btn-arrow-left {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  flex-shrink: 0 !important;
}
.btn-style2 .theme-btn-arrow-left {
  display: none !important;
}
.btn-style2 .theme-btn-arrow-right {
  scale: 1 !important;
}
.btn-style2 .theme-btn-arrow-right svg path {
  stroke: #173f32 !important;
}

/* Premium 404 Not Found Page */
.em-404-page {
  font-family: 'Sora', Arial, sans-serif;
  color: #173f32;
  background: #f7f3ed;
  padding: 20px 20px 72px;
}
.em-404-page * {
  box-sizing: border-box;
}
.em-404-hero {
  position: relative;
  overflow: hidden;
  width: min(1800px, 100%);
  margin: 0 auto;
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 18%, rgba(229, 197, 116, 0.22), transparent 42%),
    radial-gradient(circle at 14% 88%, rgba(129, 150, 110, 0.18), transparent 46%),
    linear-gradient(135deg, #0d2b23 0%, #153e32 54%, #1b4b3d 100%);
  color: #f6f2e9;
  padding: clamp(130px, 14vw, 176px) clamp(24px, 5vw, 72px) clamp(56px, 7vw, 88px);
  box-shadow: 0 28px 80px rgba(8, 34, 26, 0.18);
}
.em-404-hero::before {
  content: "404";
  position: absolute;
  right: clamp(-10px, 3vw, 48px);
  bottom: clamp(-38px, -2vw, -16px);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(150px, 24vw, 340px);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: rgba(246, 242, 233, 0.055);
  pointer-events: none;
  user-select: none;
}
.em-404-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, 100%);
  margin: 0 auto;
}
.em-404-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.em-404-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(246, 242, 233, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: #d6e2da;
}
.em-404-breadcrumb a {
  color: #f6f2e9;
  text-decoration: none;
}
.em-404-breadcrumb a:hover {
  color: #f4dc96;
}
.em-404-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #e5c574;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.em-404-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.em-404-title {
  margin: 0;
  color: #fffdf7;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 4.6vw, 64px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.em-404-title em {
  color: #e9cf86;
  font-style: italic;
}
.em-404-lead {
  margin: 20px 0 0;
  max-width: 590px;
  color: #d2dfd7;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.8;
}
.em-404-path-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(229, 197, 116, 0.34);
  background: rgba(11, 35, 28, 0.52);
  color: #f4dc96;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  word-break: break-all;
}
.em-404-path-pill[hidden] {
  display: none !important;
}
.em-404-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}
.em-404-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 54px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.em-404-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.em-404-btn:hover {
  transform: translateY(-2px);
}
.em-404-btn-gold {
  border: 1px solid #e7c875;
  background: linear-gradient(135deg, #f8e29e 0%, #e1bf6d 100%);
  color: #0e2d24 !important;
  box-shadow: 0 12px 28px rgba(10, 32, 25, 0.28);
}
.em-404-btn-gold:hover {
  background: linear-gradient(135deg, #fbeab4 0%, #e8c878 100%);
  color: #09211a !important;
}
.em-404-btn-ghost {
  border: 1px solid rgba(246, 242, 233, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf7 !important;
  backdrop-filter: blur(10px);
}
.em-404-btn-ghost:hover {
  border-color: #e5c574;
  background: rgba(255, 255, 255, 0.14);
}
.em-404-card {
  position: relative;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid rgba(246, 242, 233, 0.16);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 100%);
  backdrop-filter: blur(14px);
  box-shadow: 0 22px 50px rgba(5, 22, 17, 0.25);
}
.em-404-badge-num {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(229, 197, 116, 0.16);
  border: 1px solid rgba(229, 197, 116, 0.38);
  color: #f4dc96;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.em-404-card h2 {
  margin: 16px 0 10px;
  color: #fffdf7;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.24;
}
.em-404-card p {
  margin: 0 0 20px;
  color: #cfe0d7;
  font-size: 14.5px;
  line-height: 1.75;
}
.em-404-doctor-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(246, 242, 233, 0.16);
  background: rgba(12, 41, 33, 0.55);
  color: #fffdf7 !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.em-404-doctor-pill:hover {
  border-color: #e5c574;
  background: rgba(12, 41, 33, 0.8);
  transform: translateY(-2px);
}
.em-404-doctor-pill img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid rgba(229, 197, 116, 0.45);
  flex-shrink: 0;
}
.em-404-doctor-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.em-404-doctor-meta strong {
  color: #fffdf7;
  font-size: 15.5px;
  font-weight: 600;
}
.em-404-doctor-meta span {
  color: #bfd2c7;
  font-size: 12.5px;
}
.em-404-doctor-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(229, 197, 116, 0.18);
  color: #f4dc96;
  flex-shrink: 0;
}
.em-404-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 242, 233, 0.12);
  font-size: 13px;
  color: #c5d6cd;
}
.em-404-card-foot a {
  color: #f4dc96 !important;
  font-weight: 600;
  text-decoration: none;
}
.em-404-directory {
  width: min(1220px, 100%);
  margin: 48px auto 0;
}
.em-404-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.em-404-section-head h2 {
  margin: 0;
  color: #12372b;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.18;
}
.em-404-section-head p {
  margin: 0;
  color: #4f6758;
  font-size: 15px;
}
.em-404-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.em-404-link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid #dce4d5;
  background: #fffdf8;
  color: #173f32 !important;
  text-decoration: none !important;
  box-shadow: 0 12px 32px rgba(12, 42, 32, 0.05);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.em-404-link-card:hover {
  transform: translateY(-4px);
  border-color: #c9a24a;
  box-shadow: 0 20px 44px rgba(12, 42, 32, 0.1);
}
.em-404-link-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.em-404-link-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  color: #9e7b25;
}
.em-404-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef3e6;
  color: #173f32;
  transition: background 0.2s ease, color 0.2s ease;
}
.em-404-link-card:hover .em-404-link-icon {
  background: #173f32;
  color: #f8e29e;
}
.em-404-link-card h3 {
  margin: 0 0 8px;
  color: #12372b;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 23px;
  font-weight: 400;
}
.em-404-link-card p {
  margin: 0;
  color: #536b5c;
  font-size: 14px;
  line-height: 1.7;
}
@media (max-width: 1024px) {
  .em-404-page {
    padding: 12px 14px 48px;
  }
  .em-404-hero {
    padding: 40px 24px 36px;
    border-radius: 24px;
  }
  .em-404-hero-grid {
    grid-template-columns: 1fr;
  }
  .em-404-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .em-404-grid {
    grid-template-columns: 1fr;
  }
  .em-404-actions .em-404-btn {
    width: 100%;
  }
}
