/* 心安診所｜分頁共用外觀 */
body.page:not(.home){background:#112c39}
body.page:not(.home) #page{background:#faf7f0}
body.page:not(.home) #masthead{display:grid;grid-template-columns:1fr auto;align-items:center;background:#faf7f0;border-top:5px solid #b19154;max-width:100%;width:100%;box-sizing:border-box;padding:0;margin:0}
body.page:not(.home) #masthead .site-branding{margin:0;padding:16px clamp(16px,4vw,50px);text-align:left;width:auto}
body.page:not(.home) #masthead .site-logo,body.page:not(.home) #masthead .site-description{display:none}
body.page:not(.home) #masthead .site-title{position:static!important;clip:auto!important;clip-path:none!important;overflow:visible!important;width:auto!important;height:auto!important;margin:0!important;display:block!important;font:700 24px/1.4 'Noto Serif TC','PMingLiU',serif;letter-spacing:.13em}
body.page:not(.home) #masthead .site-title a{color:#173a47;text-decoration:none}
body.page:not(.home) #masthead .social-navigation{grid-column:2;grid-row:1;margin:0 20px 0 0;width:auto}
body.page:not(.home) #site-navigation{grid-column:1/-1;grid-row:2;width:100%;margin:0;background:#153742;border-bottom:1px solid #b9995a;z-index:5}
body.page:not(.home) #site-navigation .main-menu>li>a{color:#fff9ea}
body.page:not(.home) #site-navigation .main-menu>li:after{color:#d5bd87}
body.page:not(.home) #main{padding-top:0}
body.page:not(.home) #colophon{border-top:1px solid #ccb98d}
body.page:not(.home) #masthead:before,body.page:not(.home) #masthead:after{content:none}
body.page:not(.home) #masthead .site-branding{grid-row:1;grid-column:1}
body.page:not(.home) #masthead .social-navigation a{background-color:#31515b}
body.page:not(.home) #site-navigation .main-menu>li.current-menu-item>a{background-color:#315561}

body.page:not(.home) { --xa-ink:#173a47; --xa-navy:#153742; --xa-gold:#b19154; --xa-rule:#d9caad; --xa-ivory:#faf7f0; --xa-serif:'Noto Serif TC','Songti TC','PMingLiU',serif; }
body.page:not(.home) #site-navigation .sub-menu { background:#183b47; border-color:var(--xa-gold); }
body.page:not(.home) #site-navigation .sub-menu a { color:#fff9eb; background:#183b47; }
body.page:not(.home) #site-navigation .sub-menu a:is(:hover,:focus), body.page:not(.home) #site-navigation .main-menu>li>a:is(:hover,:focus) { background:#365964; color:white; }
body.page:not(.home) #main > article.page > .entry-header { box-sizing:border-box; position:relative; isolation:isolate; overflow:hidden; width:100%; max-width:none; padding:clamp(28px,4.2vw,58px) clamp(24px,6vw,76px); margin:0 auto clamp(22px,3vw,38px); background:radial-gradient(ellipse at 88% 80%,#315763,transparent 53%),linear-gradient(115deg,#102d39,#173e48); text-align:left; }
body.page:not(.home) #main > article.page > .entry-header::before { content:''; position:absolute; inset:10px; border:1px solid #bda27380; pointer-events:none;z-index:-1; }
body.page:not(.home) #main > article.page > .entry-header::after { content:''; position:absolute; width:240px; height:240px; right:-70px; top:-110px; border:1px solid #d5bd873b; border-radius:50%; box-shadow:0 0 0 15px #c2a5690b,0 0 0 35px #c2a56909;pointer-events:none;z-index:-1; }
body.page:not(.home) #main > article.page > .entry-header .entry-title { margin:0; color:#f3deb2; font:600 clamp(28px,4vw,46px)/1.4 var(--xa-serif); letter-spacing:.075em; overflow-wrap:anywhere; }
body.page:not(.home) #main > article.page > .entry-content { color:var(--xa-ink);font-family:'Microsoft JhengHei',system-ui,sans-serif; }
body.page:not(.home) #main .entry-content :is(h2,h3).wp-block-heading:not(.has-text-color) { color:var(--xa-ink);font-family:var(--xa-serif);line-height:1.5; }
body.page:not(.home) #main .entry-content > h2.wp-block-heading { padding-bottom:9px;border-bottom:1px solid var(--xa-rule); }
body.page:not(.home) #main .entry-content :is(.wp-block-button__link,button[type=submit],.wp-block-search__button):not(.has-background){ background:var(--xa-navy);color:#fff7e6;border:1px solid #a88b52;border-radius:3px; }
body.page:not(.home) #main .entry-content :is(p,li,figcaption) a:not(.wp-block-button__link):not(.has-text-color){ color:#215962;text-underline-offset:.17em; }
body.page:not(.home) #main .entry-content > .wp-block-columns, body.page:not(.home) #main .entry-content > .wp-block-media-text:not(.has-background), body.page:not(.home) #main .entry-content > .wp-block-quote, body.page:not(.home) #main .entry-content > details.wp-block-details { box-sizing:border-box;background:#fffdf8;border:1px solid var(--xa-rule);border-top:2px solid var(--xa-gold);padding:clamp(13px,2.2vw,27px); }
body.page:not(.home) #main .entry-content .wp-block-columns > .wp-block-column{min-width:0}
body.page:not(.home) #main .entry-content > .wp-block-quote { border-left:4px solid var(--xa-gold); }
body.page:not(.home) #main .entry-content .wp-block-table{overflow-x:auto}
body.page:not(.home) #main .entry-content .wp-block-table th:not(.has-background){background:var(--xa-navy);color:#fff8e9}
body.page:not(.home) #main .entry-content .wp-block-separator{color:var(--xa-gold);border-color:var(--xa-rule)}
body.page:not(.home) #main .entry-content > .wp-block-image img { max-width:100%;height:auto;box-sizing:border-box;border:1px solid var(--xa-rule); }
body.page:not(.home) #main .entry-content .wp-block-gallery, body.page:not(.home) #main .entry-content > .wp-block-jetpack-tiled-gallery{background:#fffdf8;box-sizing:border-box;padding:6px;border:1px solid var(--xa-rule)}
body.page:not(.home) #page a:focus-visible, body.page:not(.home) #page summary:focus-visible {outline:3px solid #b37824;outline-offset:2px}
body:is(.page-id-1204,.page-id-8829) #main .entry-content > p.has-background {background:#f4ead4!important;border-left:4px solid #b19154;color:#183e48!important}
body:is(.page-id-1204,.page-id-8829) #main .entry-content > figure.wp-block-image {padding:clamp(5px,.8vw,10px);box-sizing:border-box;border:1px solid #d8c8a6;background:#fffefa}
body.page-id-213 #main .wpnbha article{background:#fffdf8;padding:clamp(12px,1.8vw,20px);box-sizing:border-box;border:1px solid #d9caad;border-top:2px solid #b19154}
body.page-id-213 #main .wpnbha article h2 a{color:#183b47;font-family:var(--xa-serif)}
body.page-id-8 #main .contact-form input:not([type=submit]):not([type=checkbox]):not([type=radio]),body.page-id-8 #main .contact-form textarea {max-width:100%;box-sizing:border-box;border-color:#ac9d82}
body.page-id-697 #main #xinan-video-hub {--navy:#173a47;--teal:#315761;--line:#ddcfb5}
body.page-id-697 #main #xinan-video-hub .xv-hero {background:linear-gradient(115deg,#112f3b,#305663);border:1px solid #ac905b;color:#fff6de}
body.page-id-697 #main #xinan-video-hub .xv-hero :is(h2,h3,p,.xv-eyebrow){color:#fff3d9}
body.page-id-697 #main #xinan-video-hub .xv-meta {color:#f0d6a0}
body.page-id-697 #main #xinan-video-hub .xv-card {background:#fffdf8;border-color:#d9caad}
body.page-id-697 #main #xinan-video-hub .xv-nav a {background:#f5efdf;border-color:#d9caad;color:#173a47}
body.page-id-697 #main #xinan-video-hub .xv-section-head h2{font-family:var(--xa-serif)}
body.page #main :is(.xa-h,.xl-h){--ink:#173a47;--teal:#345b64;--gold:#aa8749;--gold2:#ebcf95}
body.page #main :is(.xa-hero,.xl-hero){background:linear-gradient(120deg,#102e3b,#2c535d);border:1px solid #b19154}
@media(max-width:780px){body.page:not(.home) #masthead .social-navigation{margin:0 8px 0 0}body.page:not(.home) #masthead .social-navigation a{padding:4px}}
@media(max-width:620px){body.page:not(.home) #masthead .site-branding{padding:12px 16px}body.page:not(.home) #masthead .site-title{font-size:18px;letter-spacing:.04em}body.page:not(.home) #masthead .social-navigation ul{margin:0;gap:0;flex-wrap:wrap}body.page:not(.home) #masthead .social-navigation li{margin:0 1px}body.page:not(.home) #masthead .social-navigation a{width:24px;height:28px;display:grid;place-items:center}body.page:not(.home) #masthead .social-navigation svg{width:15px;height:15px}body.page:not(.home) #site-navigation #toggle-menu{color:white;background:#1c414e}body.page:not(.home) #main > article.page > .entry-header::before{inset:6px}body.page:not(.home) #main .entry-content .wp-block-media-text__content{padding:12px 4px}body.page:not(.home) #main .entry-content{overflow-wrap:break-word}}

/* 維持影片摘要標籤的明暗對比 */
body.page-id-697 #main #xinan-video-hub .xv-meta span {background:#edddb9;color:#173a47;border-color:#d2b982}