/* AUWait V7 canonical header - presentation-only compatibility for SPA + static sections.
   Matches homepage masthead. Does not change routes, content, or nav event handlers. */
header.topbar.site-header {
  box-sizing:border-box;
  background:#f5f2e9;
  border-bottom:1px solid #d7dcd1;
  box-shadow:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
  position:sticky;top:0;
  min-height:92px;
  height:92px;
  padding-inline:max(clamp(20px,4.3vw,64px),calc((100vw - 1340px)/2 + clamp(20px,4.3vw,64px)));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:45px;
  color:#193d31;
}
header.topbar.site-header > a.brand {
  display:inline-flex;align-items:center;justify-content:flex-start;
  flex:0 0 auto;min-width:max-content;gap:13px;
  margin:0;color:#193d31;
}
header.topbar.site-header > a.brand::before {
  content:"";display:block;flex:none;width:40px;height:40px;
  background:url('/assets/auwait-v7-header-mark-20261109.svg') center/contain no-repeat;
}
header.topbar.site-header > a.brand > span {display:flex;flex-direction:column;gap:4px;min-width:0}
header.topbar.site-header > a.brand strong {
  font:800 23px/1.1 'Noto Serif CJK SC','Noto Serif SC','Source Han Serif SC',serif;
  letter-spacing:-.055em;white-space:nowrap;color:#193d31;
}
header.topbar.site-header > a.brand strong em {
  font:inherit!important;font-style:normal!important;letter-spacing:inherit!important;
  margin:0!important;color:inherit!important;
}
header.topbar.site-header > a.brand small {font-size:0;line-height:0;letter-spacing:0;display:block}
header.topbar.site-header > a.brand small::after {
  content:'AUSTRALIA / LIFE';display:block;
  font:400 10px/1.15 'IBM Plex Mono',ui-monospace,monospace;
  letter-spacing:.1em;color:#657c6d;
}
header.topbar.site-header > nav.site-nav {
  display:flex;align-items:center;justify-content:flex-end;
  flex:0 1 auto;min-width:0;
  gap:clamp(14px,1.85vw,29px);margin:0 0 0 auto;
  padding:0;background:transparent;border:0;box-shadow:none;
}
header.topbar.site-header > nav.site-nav > a {
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  background:transparent;border:0;border-radius:0;box-shadow:none;
  padding:12px 0;margin:0;white-space:nowrap;
  color:#193d31;font:650 12px/1.5 'Noto Sans CJK SC','PingFang SC','Microsoft YaHei',system-ui,sans-serif;
}
header.topbar.site-header > nav.site-nav > a > svg {display:none!important}
header.topbar.site-header > nav.site-nav > a::after {
  content:'';position:absolute;bottom:5px;left:0;right:100%;height:1px;
  width:auto;transform:none;border:0;background:#173a30;transition:right .22s;
}
header.topbar.site-header > nav.site-nav > a:hover::after,
header.topbar.site-header > nav.site-nav > a.is-active::after,
header.topbar.site-header > nav.site-nav > a[aria-current='page']::after {right:0}
header.topbar.site-header > nav.site-nav > a.is-active,
header.topbar.site-header > nav.site-nav > a[aria-current='page'] {color:#193d31;font-weight:700}
header.topbar.site-header > .site-header-actions:empty {display:none!important}
header.topbar.site-header > button.site-menu-toggle {display:none}
@media(max-width:1100px) {
 header.topbar.site-header {gap:20px}
 header.topbar.site-header > nav.site-nav {gap:13px}
 header.topbar.site-header > nav.site-nav > a {font-size:11px}
}
/* Homepage V7 switches to a menu below 911px. Match its threshold. */
@media(min-width:911px) and (max-width:1120px) {
 header.topbar.site-header > nav.site-nav {display:flex!important}
 header.topbar.site-header > button.site-menu-toggle {display:none!important}
}
@media(max-width:910px) {
 header.topbar.site-header {min-height:76px;height:76px;gap:14px;position:sticky;top:0}
 header.topbar.site-header > a.brand {min-width:0;gap:10px}
 header.topbar.site-header > nav.site-nav {display:none!important}
 header.topbar.site-header > nav.site-nav.is-open {
   display:grid!important;position:absolute;top:100%;left:0;right:0;z-index:70;
   width:100%;max-height:70vh;overflow-y:auto;margin:0;
   background:#f5f2e9;border-top:1px solid #d7dcd1;border-bottom:1px solid #d7dcd1;
   padding:15px clamp(20px,4.3vw,64px);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
   box-shadow:0 18px 24px #172e2817;
 }
 header.topbar.site-header > nav.site-nav.is-open > a {
   padding:12px;justify-content:flex-start;min-height:44px;
   font-size:13px;background:#fffdf9;border:1px solid #ddd8cc;
 }
 header.topbar.site-header > button.site-menu-toggle {
   display:inline-flex!important;align-items:center;justify-content:center;
   margin-left:auto;flex:none;width:auto;min-width:79px;min-height:40px;height:40px;
   background:transparent;border:1px solid #a2b4a5;border-radius:3px;
   color:#193d31;font:650 12px/1.3 'Noto Sans CJK SC',system-ui,sans-serif;
 }
}
@media(max-width:680px) {
 header.topbar.site-header {height:70px;min-height:70px;padding-inline:16px}
 header.topbar.site-header > a.brand::before {width:35px;height:35px}
 header.topbar.site-header > a.brand strong {font-size:19px}
 header.topbar.site-header > a.brand small::after {font-size:9px}
 header.topbar.site-header > nav.site-nav.is-open {padding:12px 16px}
}
@media(max-width:370px) {
 header.topbar.site-header > a.brand strong {font-size:17px}
}
