/* NABWORK approved wordmark restoration, 2026-10-23.
   Earlier owner-approved typography: BLUE NAB / BLACK WORK.
   The standalone, two-tone N icon is used only by favicon links.
   Layout, click handlers, images and existing fallback markup stay intact. */

/* Preserve global-brand-v15 fallback <img> hiding, accessible header button. */
.nab-header .nab30-leading > button:first-child::before,
.nw-footer .nw-footer-logo::before,
.nw-doc-brand::before { content:none!important; }

.nab-header .nab30-leading > button:first-child::after,
.nw-footer .nw-footer-logo::after,
.nw-doc-brand::after {
  content:"NABWORK"!important;
  display:block!important;
  width:auto!important;
  max-width:none!important;
  height:auto!important;
  aspect-ratio:auto!important;
  flex:0 0 auto!important;
  font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  font-weight:950!important;
  letter-spacing:-.065em!important;
  line-height:1.12!important;
  white-space:nowrap!important;
  font-size:clamp(23px,2.1vw,32px)!important;
  color:transparent!important;
  background:linear-gradient(90deg,#067cea 0%,#0c76d8 42.1%,#101318 42.5%,#101318 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  -webkit-text-fill-color:transparent!important;
}
.nw-footer .nw-footer-logo::after {
  font-size:27px!important;
}
.nw-doc-brand::after {
  font-size:clamp(22px,2.2vw,29px)!important;
}
.nw-doc-brand > img,
.nw-doc-brand > .nw-native-brand {
  display:none!important;
}
/* Avoid dark-theme backgrounds reducing contrast of the two-tone letters. */
body.dark-mode .nab-header .nab30-leading > button:first-child {
  background:#fff!important;
  padding:4px 7px!important;
  border-radius:7px;
}
@media (max-width:820px) {
  .nab-header .nab30-leading > button:first-child::after {font-size:25px!important;}
}
@media (max-width:600px) {
  .nab-header .nab30-leading > button:first-child::after {font-size:clamp(21px,6.3vw,26px)!important;}
  .nw-footer .nw-footer-logo::after {font-size:23px!important;}
  .nw-doc-brand::after {font-size:clamp(20px,5.7vw,25px)!important;}
}
@media (max-width:365px) {
  .nab-header .nab30-leading > button:first-child::after {font-size:20px!important;}
  .nw-doc-brand::after {font-size:20px!important;}
}
