/* Shared navigation; selectors deliberately exclude legacy content and banners. */
nav.cc-header{box-sizing:border-box;position:fixed;inset:0 0 auto;width:100%;height:85px;padding:0 22px;background:#e8bfd9;z-index:999;box-shadow:0 2px 12px rgba(80,59,72,.1);font-family:'Microsoft JhengHei','PingFang TC',Arial,sans-serif;line-height:1.5}
nav.cc-header.cc-scrolled{background:#d291bc}
.cc-header *{box-sizing:border-box}
.cc-header .cc-nav-wrap{max-width:1400px;height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:22px}
.cc-header .cc-brand{display:flex;align-items:center;gap:7px;min-width:0;color:#fff;text-decoration:none;font-size:30px;font-weight:400;line-height:1.3}
.cc-header .cc-brand img{width:51px;height:45px;object-fit:contain;flex-shrink:0;position:relative;top:-6px}
.cc-header .cc-brand span{display:block;color:#fff}
.cc-header .cc-menu,.cc-header .cc-submenu{list-style:none;padding:0;margin:0}
.cc-header .cc-menu{display:flex;align-items:center;gap:4px;flex-shrink:0}
.cc-header .cc-menu>li{position:relative;margin:0;padding:0;display:flex;align-items:center}
.cc-header .cc-menu a{display:block;padding:12px 10px;color:#493140;font-size:16px;font-weight:600;text-decoration:none;white-space:nowrap;border-radius:8px}
.cc-header .cc-menu a:hover,.cc-header .cc-menu a[aria-current='page'],.cc-header .cc-menu a.cc-active{background:rgba(255,255,255,.55);color:#633252}
.cc-header button{font:inherit;color:#493140;cursor:pointer;border:0;background:transparent;border-radius:8px}
.cc-header .cc-area-toggle{width:36px;height:44px;padding:0;font-size:14px}
.cc-header .cc-area-toggle[aria-expanded='true']{background:rgba(255,255,255,.6)}
.cc-header .cc-submenu{position:absolute;top:100%;left:0;min-width:230px;padding:8px;background:#fff;border:1px solid #ecdbe6;border-radius:12px;box-shadow:0 12px 30px rgba(80,59,72,.15)}
.cc-header .cc-submenu li{padding:0;margin:0;display:block}
.cc-header .cc-submenu a{font-size:16px;padding:12px}
.cc-header .cc-submenu a:hover{background:#f8e9f0}
.cc-header .cc-menu-toggle{display:none;width:46px;height:44px;font-size:25px;flex-shrink:0}
.cc-header [hidden]{display:none}
.cc-header a:focus-visible,.cc-header button:focus-visible{outline:3px solid #633252;outline-offset:2px}
/* Give the restored full-size brand its original single-line space on wide screens. */
@media(min-width:1600px){.cc-header .cc-nav-wrap{max-width:none}}
@media(max-width:1000px){.cc-header .cc-brand{font-size:20px}}
@media(max-width:1100px){
 nav.cc-header{padding:0 16px}
 .cc-header .cc-menu-toggle{display:block}
 .cc-header .cc-menu{position:absolute;top:100%;left:0;right:0;display:block;padding:12px 16px 20px;max-height:calc(100dvh - 85px);overflow-y:auto;background:#f8e9f0;box-shadow:0 10px 20px rgba(80,59,72,.12)}
 .cc-header .cc-menu>li{display:flex;flex-wrap:wrap}
 .cc-header .cc-menu>li>a{flex:1;padding:12px}
 .cc-header .cc-submenu{position:static;flex:0 0 100%;box-shadow:none;margin:2px 0 8px;min-width:0}
 .cc-header .cc-submenu a{white-space:normal}
 .cc-header [hidden]{display:none}
}
@media(max-width:768px){
 nav.cc-header{height:60px}
 .cc-header .cc-brand{font-size:17px;gap:7px;max-width:calc(100% - 55px)}
 .cc-header .cc-brand img{width:auto;height:35px;top:-2px}
 .cc-header .cc-nav-wrap{gap:8px}
 .cc-header .cc-menu{max-height:calc(100dvh - 60px)}
}
