/* RCD release 20261004-rc23: high-contrast controls and clearer member category labels. */
:root{--shared-header-height:78px}
html{-webkit-text-size-adjust:100%}
body{padding-top:var(--shared-header-height)!important;font-family:"Microsoft JhengHei UI","Microsoft JhengHei","Noto Sans TC",system-ui,sans-serif!important;-webkit-font-smoothing:auto!important;text-rendering:auto!important;font-synthesis:none!important}
button,input,select,textarea{font:inherit;font-synthesis:none!important}
.site-header{position:fixed!important;inset:0 0 auto!important;z-index:1000!important;height:var(--shared-header-height)!important;overflow:visible!important;background:linear-gradient(110deg,rgba(255,255,255,.02),transparent 36%),linear-gradient(180deg,#08271b 0%,#05170f 100%)!important;border-bottom:0!important;box-shadow:0 10px 28px rgba(0,0,0,.14)!important;-webkit-font-smoothing:auto!important;text-rendering:auto!important}
.site-header:after{content:""!important;position:absolute!important;z-index:3!important;left:0!important;right:0!important;bottom:0!important;height:3px!important;background:linear-gradient(90deg,#079b4d 0 58%,#ed1c2e 58% 80%,#f5a11a 80%)!important}
.site-header .hd-wrap{position:relative!important;z-index:4!important;width:min(1680px,calc(100% - 56px))!important;height:var(--shared-header-height)!important;min-height:var(--shared-header-height)!important;margin:auto!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:30px!important}
.site-header .brand{display:flex!important;align-items:center!important;gap:12px!important;min-width:315px!important;text-decoration:none!important}
.site-header .logo-shell{display:grid!important;place-items:center!important;width:48px!important;height:48px!important;flex:0 0 48px!important;padding:4px!important;border-radius:11px!important;background:#fff!important;box-shadow:0 8px 20px rgba(0,0,0,.18)!important}
.site-header .logo-shell img{width:100%!important;height:100%!important;object-fit:contain!important}
.site-header .brand-cn{display:block!important;color:#fff!important;opacity:1!important;font-family:"Microsoft JhengHei UI","Microsoft JhengHei","Noto Sans TC",sans-serif!important;font-size:19px!important;font-weight:700!important;font-style:normal!important;line-height:1.3!important;letter-spacing:0!important;text-shadow:none!important;text-rendering:auto!important;-webkit-font-smoothing:auto!important;font-synthesis:none!important;white-space:nowrap!important}
.site-header .brand-en{display:block!important;margin-top:3px!important;color:#99aa9f!important;font:800 8px/1.2 Arial,sans-serif!important;letter-spacing:.16em!important;white-space:nowrap!important}
.site-header .hd-nav{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:2px!important;white-space:nowrap!important}
.site-header .hd-nav a{position:relative!important;display:inline-flex!important;height:var(--shared-header-height)!important;align-items:center!important;padding:0 11px!important;border-radius:0!important;background:transparent!important;color:#fff!important;opacity:1!important;font-family:"Microsoft JhengHei UI","Microsoft JhengHei","Noto Sans TC",sans-serif!important;font-size:18px!important;font-weight:700!important;font-style:normal!important;line-height:1.2!important;letter-spacing:0!important;text-shadow:none!important;text-decoration:none!important;transition:background .18s ease,color .18s ease!important}
.site-header .hd-nav a:after{content:""!important;position:absolute!important;left:12px!important;right:12px!important;bottom:17px!important;height:2px!important;border-radius:999px!important;background:linear-gradient(90deg,#079b4d 0 58%,#ed1c2e 58% 80%,#f5a11a 80%)!important;transform:scaleX(0)!important;transition:transform .2s ease!important}
.site-header .hd-nav a:hover,.site-header .hd-nav a.active{background:rgba(255,255,255,.06)!important;color:#fff!important}

/* One public button system for every page. Page-specific layouts may change width,
   but not hierarchy, typography, shape, focus behaviour or brand colours. */
main :is(.btn,.button,.card-btn,.search-btn,.search-box button){
  min-height:48px!important;height:auto!important;padding:11px 21px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
  border:1px solid transparent!important;border-radius:12px 3px 12px 3px!important;
  font-family:"Microsoft JhengHei UI","Microsoft JhengHei","Noto Sans TC",sans-serif!important;
  font-size:16px!important;font-weight:800!important;line-height:1.25!important;letter-spacing:.01em!important;
  text-decoration:none!important;cursor:pointer!important;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease,border-color .18s ease!important;
}
main :is(.btn-primary,.button.primary,.card-btn-primary,.search-btn,.search-box button){
  color:#fff!important;-webkit-text-fill-color:#fff!important;background:#079b4d!important;border-color:#079b4d!important;
  box-shadow:0 10px 24px rgba(7,155,77,.20)!important;
}
main :is(.btn-secondary,.button.secondary,.button.outline,.card-btn-secondary){
  color:#075239!important;background:#fff!important;border-color:#079b4d!important;box-shadow:none!important;
}
main :is(.btn-accent,.button.accent){
  color:#fff!important;background:#e99516!important;border-color:#e99516!important;
  box-shadow:0 10px 24px rgba(233,149,22,.18)!important;
}
main :is(.btn,.button,.card-btn,.search-btn,.search-box button):hover{transform:translateY(-2px)!important;box-shadow:0 12px 28px rgba(5,55,38,.18)!important}
main :is(.btn-primary,.button.primary,.card-btn-primary,.search-btn,.search-box button):hover{background:#067d3f!important;border-color:#067d3f!important}
main :is(.btn-secondary,.button.secondary,.button.outline,.card-btn-secondary):hover{background:#eff9f3!important;border-color:#067d3f!important}
main :is(.btn-accent,.button.accent):hover{background:#d9850b!important;border-color:#d9850b!important}
main :is(.btn,.button,.card-btn,.search-btn,.search-box button):focus-visible{outline:3px solid #f5a11a!important;outline-offset:3px!important}

/* Filter and category controls are one secondary control family. They stay visually
   quieter than action buttons while sharing the same type, focus and active states. */
main :is(.event-cats,.news-cats,.filter-tabs,.quick-alpha,.subnav,.quick) :is(button,a){
  font-family:"Microsoft JhengHei UI","Microsoft JhengHei","Noto Sans TC",sans-serif!important;
  font-weight:700!important;color:#263c32!important;cursor:pointer!important;text-shadow:none!important;
  transition:color .18s ease,background-color .18s ease,border-color .18s ease!important;
}
main :is(.event-cats,.news-cats,.filter-tabs,.quick-alpha,.subnav,.quick) :is(button,a):hover{color:#067d3f!important;background:#eff9f3!important;border-color:#079b4d!important}
main :is(.event-cats,.news-cats,.filter-tabs,.quick-alpha,.subnav) :is(button,a).active,
main :is(.event-cats,.news-cats,.filter-tabs,.quick-alpha,.subnav) :is(button,a)[aria-selected="true"]{
  color:#fff!important;-webkit-text-fill-color:#fff!important;background:#079b4d!important;
  border-color:#079b4d!important;box-shadow:0 7px 16px rgba(7,155,77,.2)!important;
}
main :is(.event-cats,.news-cats,.filter-tabs,.quick-alpha,.subnav,.quick) :is(button,a):focus-visible{outline:3px solid #f5a11a!important;outline-offset:3px!important}

/* Section headings use one brand signature only. Some legacy pages rendered both
   a top rule and an eyebrow rule, which looked like two unrelated rows. */
main .section-head > div:first-child{padding-top:0!important}
main .section-head > div:first-child::before{display:none!important;content:none!important}
main .section-head .eyebrow::before{
  display:inline-block!important;content:""!important;width:62px!important;height:3px!important;
  flex:0 0 62px!important;border-radius:999px!important;
  background:linear-gradient(90deg,#079b4d 0 58%,#ed1c2e 58% 80%,#f5a11a 80%)!important;
}
.site-header .hd-nav a:hover:after,.site-header .hd-nav a.active:after{transform:scaleX(1)!important}
.site-header .hd-nav a:last-child{height:46px!important;margin-left:12px!important;padding:0 22px!important;border-radius:15px!important;background:#efad2c!important;color:#fff!important;box-shadow:0 8px 20px rgba(0,0,0,.12)!important}
.site-header .hd-nav a:last-child:after{display:none!important}
.site-header .hd-nav a:last-child:hover,.site-header .hd-nav a:last-child.active{background:#ffc34d!important;color:#fff!important;transform:translateY(-1px)!important}
.site-header .mobile-btn{display:none!important;width:44px!important;height:44px!important;flex:0 0 44px!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:12px!important;background:rgba(255,255,255,.06)!important;color:#fff!important;font-size:22px!important;cursor:pointer!important}
.site-header .hd-mobile-nav{display:none!important;position:absolute!important;z-index:2!important;left:0!important;right:0!important;top:var(--shared-header-height)!important;padding:14px 20px 20px!important;border-top:1px solid rgba(255,255,255,.1)!important;background:#05170f!important;box-shadow:0 18px 30px rgba(0,0,0,.22)!important}
.site-header .hd-mobile-nav.open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
.site-header .hd-mobile-nav a{padding:12px!important;border:1px solid rgba(255,255,255,.1)!important;border-radius:9px!important;background:rgba(255,255,255,.05)!important;color:#fff!important;font-size:14px!important;font-weight:800!important;text-decoration:none!important}
.site-header .hd-mobile-nav a.active{border-color:rgba(7,155,77,.7)!important;background:rgba(7,155,77,.18)!important;color:#fff!important}
.site-header .hd-mobile-nav a:last-child{border-color:#efad2c!important;background:#efad2c!important;color:#fff!important}
@media(max-width:1179px){
  .site-header .hd-wrap{width:min(100% - 36px,1680px)!important}
  .site-header .brand{min-width:0!important}
  .site-header .hd-nav{display:none!important}
  .site-header .mobile-btn{display:flex!important}
}
@media(max-width:560px){
  :root{--shared-header-height:72px}
  .site-header .hd-wrap{width:calc(100% - 28px)!important}
  .site-header .logo-shell{width:44px!important;height:44px!important;flex-basis:44px!important}
  .site-header .brand-cn{font-size:16px!important}
  .site-header .brand-en{display:none!important}
  .site-header .hd-mobile-nav{grid-template-columns:1fr!important}
}
