/* Navigation additions, separate from the preserved theme CSS. */
.brand-emblem{display:block;flex:0 0 auto;width:50px;height:30px;overflow:visible;color:var(--ink)}
.brand-emblem path{fill:none;stroke-linecap:round;stroke-linejoin:round}
.brand-emblem .brand-emblem-o{fill:currentColor;transition:fill .18s ease}
.brand-emblem-letters{stroke:currentColor;stroke-width:3.2}
.brand-emblem-signal{stroke:var(--accent);stroke-width:3}
.brand-link:is(:hover,:focus-visible) .brand-emblem-o{fill:var(--accent)}
@media(max-width:899px){.brand-emblem{width:44px;height:27px}}
.menu-language{
  --language-accent:#45c6dc;--language-muted:#a7b9bd;
  display:inline-flex;align-items:center;gap:2px;flex-shrink:0;
  width:max-content;padding:3px;margin:0;border:1px solid #ffffff24;border-radius:6px;
  background:#ffffff03;font:600 .75rem/1 Arial,sans-serif;letter-spacing:.08em;
}
.menu-language a{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  box-sizing:border-box;min-width:44px;min-height:44px;padding:10px;
  border:0;border-radius:3px;color:var(--language-muted);background:transparent;
  text-decoration:none;white-space:nowrap;transition:color .16s ease,background-color .16s ease;
}
.menu-language a::after{
  content:"";position:absolute;bottom:5px;left:calc(50% - 7px);
  width:14px;height:2px;background:transparent;border-radius:2px;
}
.menu-language a[aria-current=true]{color:#e5f7fa;background:#ffffff0a}
.menu-language a[aria-current=true]::after{background:var(--language-accent)}
.menu-language a:hover{color:#fff;background:#ffffff0d;text-decoration:none}
.menu-language a:focus-visible{outline:2px solid var(--language-accent);outline-offset:3px}
.original-menu-language{margin-inline-end:16px}
.modern-menu-language{margin-block:20px 4px;--language-accent:#a1d6df}
.menu-utilities{display:flex;align-items:center;flex-wrap:nowrap;gap:6px;margin:20px 0 4px}
.menu-utilities .modern-menu-language{margin:0}
.menu-utilities .menu-language{
  box-sizing:border-box;flex:0 1 74px;width:74px;min-width:58px;height:44px;
  font-size:.6875rem;letter-spacing:.02em;
}
.menu-utilities .menu-language a{flex:1 1 0;min-width:0;min-height:36px;padding:6px 3px}
.menu-utilities .theme-swatch-colour{width:18px;height:18px;border-radius:3px}
.site-menu .menu-login{
  display:inline-flex;align-items:center;justify-content:center;position:relative;
  box-sizing:border-box;flex:0 1 80px;width:80px;min-width:68px;height:44px;padding:6px;
  margin-inline-start:auto;white-space:nowrap;
  border:1px solid #ffffff24;border-radius:6px;background:#ffffff03;
  color:#a7b9bd;font:600 .6875rem/1 Arial,sans-serif;letter-spacing:.02em;
  text-decoration:none;text-transform:none;
  transition:color .16s ease,background-color .16s ease;
}
.site-menu .menu-login::after{
  content:"";position:absolute;bottom:5px;left:calc(50% - 7px);width:14px;height:2px;
  background:#a1d6df;border-radius:2px;opacity:0;transition:opacity .16s ease;
}
.site-menu .menu-login:hover{color:#e5f7fa;background:#ffffff0a;text-decoration:none}
.site-menu .menu-login:is(:hover,:focus-visible)::after{opacity:1}
.site-menu .menu-login:focus-visible{outline:2px solid #a1d6df;outline-offset:3px}
.template-midnight .site-menu .menu-login{color:#a2b1bc;border-color:#35434e}
.template-midnight .site-menu .menu-login:hover{color:#edf1f3}
.template-midnight .site-menu .menu-login::after{background:#8ce1f4}
.template-midnight .site-menu .menu-login:focus-visible{outline-color:#8ce1f4}
.menu-swatches{height:52px;box-sizing:border-box;--language-accent:#8ce1f4}
.menu-swatches .theme-swatch{padding:10px;min-width:44px;min-height:44px}
.theme-swatch-colour{display:block;width:24px;height:24px;border:1px solid #ffffff50;border-radius:4px;box-shadow:inset 0 -3px #8ce1f4}
.swatch-modern{background:#f4f3ee;border-color:#cbd2cf;box-shadow:inset 0 -3px #0a9cbc}
.swatch-midnight{background:#0b1117}
.menu-swatches a[aria-current=true]{background:#ffffff0a}
.template-original .region--secondary-menu .menu-swatches{margin-inline-end:12px}
.template-original{--menu-control-height:52px;--menu-control-width:112px;--menu-control-accent:#45c6dc}
.template-original .menu-language{height:var(--menu-control-height);box-sizing:border-box}
.template-original .mobile-nav-button,
.template-original .site-header .secondary-nav__menu-link{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  box-sizing:border-box;width:var(--menu-control-width);min-width:var(--menu-control-width);
  height:var(--menu-control-height);min-height:var(--menu-control-height);
  position:relative;margin:0;padding:10px 12px;
  border:1px solid #ffffff24;border-radius:6px;background:#ffffff03;
  color:#a7b9bd;font:600 .75rem/1 Arial,sans-serif;letter-spacing:.02em;
  text-decoration:none;text-transform:none;box-shadow:none;
  transition:color .16s ease,background-color .16s ease,border-color .16s ease;
}
.template-original .mobile-nav-button__label{
  position:static;display:block;overflow:visible;clip:auto;
  width:auto;height:auto;margin:0;color:inherit;font:inherit;letter-spacing:inherit;
}
.template-original .mobile-nav-button__icon{
  flex:0 0 18px;position:relative;width:18px;height:16px;border:0;box-shadow:none;
  background:linear-gradient(currentColor,currentColor) center / 18px 1.5px no-repeat;
}
.template-original .mobile-nav-button__icon::before,
.template-original .mobile-nav-button__icon::after{
  position:absolute;inset:7px 0 auto;width:18px;height:1.5px;border:0;
  background:currentColor;transform:translateY(-5px);transition:transform .16s ease;
}
.template-original .mobile-nav-button__icon::after{transform:translateY(5px)}
.template-original .mobile-nav-button[aria-expanded=true] .mobile-nav-button__icon{background:none}
.template-original .mobile-nav-button[aria-expanded=true] .mobile-nav-button__icon::before{transform:rotate(-45deg)}
.template-original .mobile-nav-button[aria-expanded=true] .mobile-nav-button__icon::after{transform:rotate(45deg)}
.template-original .mobile-nav-button::after,
.template-original .site-header .secondary-nav__menu-link::after{
  content:"";position:absolute;bottom:5px;left:calc(50% - 7px);width:14px;height:2px;
  background:var(--menu-control-accent);border:0;border-radius:2px;
  opacity:0;transform:none;transition:opacity .16s ease;
}
.template-original .mobile-nav-button:hover,
.template-original .site-header .secondary-nav__menu-link:hover,
.template-original .mobile-nav-button[aria-expanded=true]{color:#e5f7fa;background:#ffffff0a;text-decoration:none}
.template-original .mobile-nav-button:is(:hover,:focus-visible,[aria-expanded=true])::after,
.template-original .site-header .secondary-nav__menu-link:is(:hover,:focus-visible)::after{opacity:1}
.template-original .mobile-nav-button:focus{box-shadow:none}
.template-original .site-header .secondary-nav__menu-link:focus::before{content:none}
.template-original .site-header .mobile-nav-button:focus-visible,
.template-original .site-header .secondary-nav__menu-link:focus-visible{outline:2px solid var(--menu-control-accent);outline-offset:3px}
@media(min-width:75rem){.original-menu-language{margin-inline-end:12px}}
@media(max-width:74.999rem){
  .template-original .header-nav .region--secondary-menu{
    display:flex;flex-flow:row wrap;align-items:center;justify-content:space-between;
    gap:18px;width:100%;padding-block-start:22px;margin-block-start:22px;
    border-block-start:1px solid #ffffff24;
  }
  .original-menu-language{margin:0}
  .template-original .region--secondary-menu .menu-swatches{margin:0}
  .template-original .header-nav .secondary-nav{margin:0;padding:0;flex:0 0 auto}
  .template-original .header-nav .secondary-nav{margin-inline-start:auto}
  .template-original .header-nav .secondary-nav__menu{margin:0;padding:0}
  .template-original .header-nav .secondary-nav__menu-item{margin:0;padding:0}
}
@media(prefers-reduced-motion:reduce){
  .brand-emblem-o{transition:none}
  .site-menu .menu-login,.site-menu .menu-login::after{transition:none}
  .menu-language a,.template-original .mobile-nav-button,.template-original .secondary-nav__menu-link,
  .template-original .mobile-nav-button::after,.template-original .secondary-nav__menu-link::after,
  .template-original .mobile-nav-button__icon::before,.template-original .mobile-nav-button__icon::after{transition:none}
}
@media(forced-colors:active){.menu-language{border-color:ButtonText}.menu-language a[aria-current=true]{outline:1px solid Highlight;outline-offset:-3px}.theme-swatch-colour{forced-color-adjust:none}}
.template-original .original-footer-credit{display:flex;justify-content:center;margin-block-start:20px}
.template-original .original-footer-credit a{display:inline-flex;align-items:center;padding:10px 4px;background:#edf1f3}
.template-original .original-footer-credit img{display:block;width:84px;height:15px}
.template-original .original-footer-credit a:focus-visible{outline:2px solid #8ce1f4;outline-offset:4px}
/* Give the modern copyright its own quiet, full-width closing row. */
:is(.template-modern,.template-midnight) .footer-bottom{display:block;width:100%;margin-top:36px;text-align:center}
:is(.template-modern,.template-midnight) .footer-bottom p{text-align:center}
@media(max-width:899px){
  :is(.template-modern,.template-midnight) .mobile-identity{width:150px;max-width:100%;height:auto;margin:0 auto;padding:12px}
  :is(.template-modern,.template-midnight) .footer-bottom{margin-top:24px}
}
/* At extreme zoom, retain readable controls instead of clipping the row. */
@media(max-width:299px){.menu-utilities{flex-wrap:wrap}}
@media print{.menu-language{display:none}}
