/* Consistent navigation geometry across page templates. */
.unified .site-nav,
.unified .nav {display:flex;justify-content:space-between;align-items:center;min-height:80px;padding:24px 0;gap:24px;}
.unified .primary-navigation {display:flex;align-items:center;flex-wrap:wrap;gap:22px;min-width:0;font:400 12px/1.5 'Geist',sans-serif;letter-spacing:0;text-transform:none;}
.unified .primary-navigation > a {font:inherit;padding:8px 0;text-decoration:none;white-space:nowrap;}
.unified .primary-navigation > a:hover {text-decoration:underline;text-underline-offset:4px;}
.unified .primary-navigation > a[aria-current] {font-weight:400;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;}
.unified-home .site-nav .primary-navigation > a {color:var(--ink-800);}
@media(max-width:900px){
 .unified .nav,.unified-home .site-nav {flex-wrap:wrap;gap:12px;}
 .unified .primary-navigation {width:100%;gap:6px 20px;justify-content:flex-start;}
 .unified .primary-navigation > a:last-child {display:inline;}
}
@media(max-width:700px){
 .unified .nav,.unified-home .site-nav {padding:16px 0;min-height:72px;}
 .unified .primary-navigation {font-size:11px;}
}

/* Shared footer has three navigation groups. */
.site-footer .footer-navigation {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 700px) {
  .site-footer .footer-navigation {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Light headers share one link colour, including visited and hover states. */
.unified-home .site-nav .primary-navigation > a:is(:link,:visited,:hover,:active),
.unified-resources .resources-header .nav .primary-navigation > a:is(:link,:visited,:hover,:active),
.institutional-page .institutional-header .nav .primary-navigation > a:is(:link,:visited,:hover,:active) {
  color: #3A4141;
}

/* Homepage body uses antialiasing; match navigation rendering to other pages. */
.unified .primary-navigation {
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

/* Compact mobile disclosure; links remain visible if JavaScript is unavailable. */
.mobile-menu-toggle {display:none;}
@media(max-width:900px){
 .unified .nav,.unified-home .site-nav {flex-wrap:wrap;}
 .unified .mobile-menu-toggle {display:inline-flex;align-items:center;gap:9px;margin-left:auto;padding:8px 0 8px 12px;border:0;background:transparent;color:inherit;font:400 12px/1.5 'Geist',sans-serif;cursor:pointer;-webkit-font-smoothing:auto;}
 .mobile-menu-toggle svg {width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;}
 .mobile-menu-toggle[aria-expanded="true"] svg path {d:path('M4 4L16 16M4 16L16 4');}
 .unified .primary-navigation {flex-basis:100%;flex-direction:column;align-items:stretch;gap:0;padding-top:12px;border-top:1px solid currentColor;}
 .unified .primary-navigation > a {padding:12px 0;font-size:14px;}
 .unified .primary-navigation[data-mobile-menu][hidden] {display:none;}
 .unified-platform .mobile-menu-toggle {color:#E1E1E1;}
 .unified-tactical .hero .mobile-menu-toggle {color:#303636;}
 .unified-home .mobile-menu-toggle,.unified-resources .mobile-menu-toggle,.institutional-page .mobile-menu-toggle {color:#3A4141;}
}
@media(max-width:700px){.unified-tactical .hero .mobile-menu-toggle {color:#E1E1E1;}}

/* Footer icons must not inherit page-specific SVG defaults. */
.site-footer .footer-navigation .arrow {
  display:inline-block;
  width:13px;
  height:13px;
  max-width:13px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.3;
  stroke-linecap:round;
  stroke-linejoin:round;
  vertical-align:-2px;
  margin-left:4px;
}

.footer-bottom-right,.footer-socials {display:flex;align-items:center;gap:20px;}
.footer-socials {gap:14px;}
.site-footer .footer-socials a {display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;color:inherit;}
.site-footer .footer-socials svg {display:block;width:17px;height:17px;fill:currentColor;stroke:none;}
.site-footer .footer-socials a:hover {color:var(--paper-0);}

.article-page .article-site-header .nav .primary-navigation > a:is(:link,:visited,:hover,:active),
.article-page .article-site-header .nav .primary-navigation > a[aria-current] {
  color:#3A4141;
}
