/* GLOBAL-HEADER-1116 r1: self-contained shared header; no page-content selectors. */
#top.yb-home-contact-header,#top.yb-home-contact-header *{box-sizing:border-box}
#top.yb-home-contact-header{display:block;position:relative;z-index:1500;isolation:isolate;padding:0;text-align:left;background:#173f32!important;border-bottom:1px solid #31584a!important;color:#f6f2e8;font-family:-apple-system,BlinkMacSystemFont,'Microsoft JhengHei',sans-serif;line-height:1.5}
#top.yb-home-contact-header .yb-global-inner{width:100%;max-width:1220px;margin:0 auto;padding:12px 28px!important;background:#173f32!important}
#top.yb-home-contact-header .yb-global-brand{display:flex;align-items:center;gap:16px;text-decoration:none!important;color:#f6f2e8!important}
#top.yb-home-contact-header .yb-global-brand img{display:block;width:125px!important;height:45px!important;max-width:125px!important;max-height:45px!important;object-fit:contain;filter:brightness(0) invert(.96)!important;background:transparent!important;padding:0!important}
#top.yb-home-contact-header .yb-global-brand strong{display:block;font-size:18px!important;font-weight:600!important;letter-spacing:.04em;line-height:1.5;color:#f6f2e8!important;white-space:nowrap}
#top.yb-home-contact-header .yb-global-brand small{display:block;font-size:11px!important;letter-spacing:.04em;line-height:1.5;color:#f6f2e8!important}
#top.yb-home-contact-header .yb-global-brand:focus-visible{outline:3px solid #dfbb75!important;outline-offset:3px}
@media(max-width:1000px){#top.yb-home-contact-header .yb-global-brand img{width:122px!important;height:41px!important;max-width:122px!important;max-height:41px!important}#top.yb-home-contact-header .yb-global-brand strong{font-size:17px!important}#top.yb-home-contact-header .yb-global-brand small{display:none!important}}
@media(max-width:900px){#top.yb-home-contact-header .yb-global-brand img{width:96px!important;max-width:96px!important}#top.yb-home-contact-header .yb-global-brand strong{font-size:16px!important}}
#top.yb-home-contact-header .yb-global-inner{display:flex!important;align-items:center;justify-content:space-between;gap:20px;min-height:88px}
#top.yb-home-contact-header .yb-global-brand{min-width:0;flex:0 1 auto}
#top.yb-home-contact-header .yb-home-contact-nav{display:flex;align-items:center;gap:10px;margin-left:auto;flex:none}
#top.yb-home-contact-header .yb-header-contact{display:inline-flex;align-items:center;justify-content:center;gap:7px;flex:none;box-sizing:border-box;min-height:44px;padding:10px 16px;border:1px solid #f5f1e8;border-radius:6px;text-decoration:none!important;white-space:nowrap;font:600 15px/22px 'Noto Sans TC','Microsoft JhengHei',sans-serif!important}
#top.yb-home-contact-header .yb-header-contact svg{display:block;flex:none;width:17px;height:17px}
#top.yb-home-contact-header .yb-header-call,#top.yb-home-contact-header .yb-header-call span{color:#173f32!important;background:#f5f1e8!important}
#top.yb-home-contact-header .yb-header-line,#top.yb-home-contact-header .yb-header-line span{background:transparent!important;color:#fff9e9!important;border-color:#bbc8be}
#top.yb-home-contact-header .yb-header-contact:focus-visible{outline:3px solid #dfbb75!important;outline-offset:3px}
#top.yb-home-contact-header .yb-header-contact:hover{filter:brightness(.94)}
@media(max-width:760px){
#top.yb-home-contact-header .yb-global-inner{gap:8px;min-height:67px;padding:10px 12px!important}
#top.yb-home-contact-header .yb-global-brand{gap:6px}
#top.yb-home-contact-header .yb-global-brand img{width:54px!important;height:20px!important;max-width:54px!important;max-height:20px!important}
#top.yb-home-contact-header .yb-global-brand strong{font-size:16px!important;letter-spacing:0;line-height:1.4}
#top.yb-home-contact-header .yb-global-brand small{display:none!important}
#top.yb-home-contact-header .yb-home-contact-nav{gap:5px}
#top.yb-home-contact-header .yb-header-contact{gap:4px;min-height:44px;padding:9px 6px;font-size:13px!important;line-height:24px!important}
#top.yb-home-contact-header .yb-header-contact svg{width:14px;height:14px}
}
@media(max-width:374px){
#top.yb-home-contact-header .yb-global-inner{gap:6px;padding-left:10px!important;padding-right:10px!important}
#top.yb-home-contact-header .yb-global-brand{gap:5px}
#top.yb-home-contact-header .yb-global-brand img{width:36px!important;height:16px!important;max-width:36px!important;max-height:16px!important}
#top.yb-home-contact-header .yb-global-brand strong{font-size:16px!important}
#top.yb-home-contact-header .yb-home-contact-nav{gap:4px}
#top.yb-home-contact-header .yb-header-contact{font-size:13px!important;padding-left:5px;padding-right:5px}
#top.yb-home-contact-header .yb-header-contact svg{width:12px;height:12px}
}
@media(max-width:339px){
#top.yb-home-contact-header .yb-global-inner{padding-left:8px!important;padding-right:8px!important}
#top.yb-home-contact-header .yb-global-brand{gap:4px}
#top.yb-home-contact-header .yb-global-brand img{width:30px!important;height:13px!important;max-width:30px!important;max-height:13px!important}
#top.yb-home-contact-header .yb-global-brand strong{font-size:16px!important}
}

@media(max-width:360px){#top.yb-home-contact-header .yb-global-brand img{display:none!important}}

/* Keep only the new 404 header full-width; retain the original main/body spacing. */
body.atlas-error #top.yb-home-contact-header{width:calc(100% + 16px);margin:-8px -8px 0}
