/* NEXWIN shared header/footer visual refinement R2 — additive, visual only.
   No @import, no network assets, no SEO, text, URL or JS changes.
   Preserves the official opaque PNG brand artwork; multiply blending removes
   the visible white rectangles on the soft-metal badge in the dark footer. */
:root {--nx-header-ink:#1d2930;--nx-orange:#E88920;--nx-footer:#17242c;--nx-footer-text:#d6e1e4}

/* Same restrained logo sizes on the homepage and all interior pages. */
body.premium-r7[data-page] .header .head-inner{
  grid-template-columns:168px minmax(0,1fr) max-content!important;
  column-gap:clamp(38px,3.3vw,54px)!important;
  min-height:82px!important;height:82px!important;
  padding-top:9px!important;padding-bottom:9px!important;align-items:center!important;
}
body.premium-r7[data-page] .header .head-inner>.brand{
  grid-column:1!important;grid-row:1!important;max-width:168px!important;
  width:168px!important;min-width:0!important;justify-self:start!important;
}
body.premium-r7[data-page] .header .head-inner>.brand .official-brand-wordmark{
  display:flex!important;direction:ltr!important;align-items:center!important;
  justify-content:center!important;gap:6px!important;
  width:166px!important;max-width:166px!important;min-width:0!important;
  padding:0!important;background:transparent!important;line-height:0;
}
body.premium-r7[data-page] .header .head-inner .brand-mark-r7{
  width:auto!important;max-width:44px!important;height:38px!important;
  max-height:38px!important;object-fit:contain!important;
}
body.premium-r7[data-page] .header .head-inner .brand-type-r7{
  width:auto!important;max-width:116px!important;height:34px!important;
  max-height:34px!important;object-fit:contain!important;
}
body.premium-r7[data-page] .header .head-inner>.nav{
  grid-column:2!important;grid-row:1!important;justify-self:stretch!important;
  justify-content:center!important;min-width:0!important;width:100%!important;
  margin:0!important;transform:none!important;
  gap:clamp(12px,1.0vw,17px)!important;
}
body.premium-r7[data-page] .header .head-inner>.nav>a{
  font-size:clamp(11.5px,.78vw,12.7px)!important;
  font-weight:750!important;white-space:nowrap!important;
}
body.premium-r7[data-page] .header .head-inner>.header-portal{
  grid-column:3!important;grid-row:1!important;justify-self:end!important;margin:0!important;
}

/* Unified, optically balanced footer grid on all pages. */
body.premium-r7[data-page] .footer{
  background:var(--nx-footer)!important;color:var(--nx-footer-text)!important;
  padding:54px 0 24px!important;
}
body.premium-r7[data-page] .footer .footer-grid-v8{
  display:grid!important;grid-template-columns:minmax(0,1.16fr) minmax(0,.83fr) minmax(0,.9fr) minmax(0,1.05fr)!important;
  gap:clamp(28px,3vw,45px)!important;align-items:start!important;
}
body.premium-r7[data-page] .footer .footer-grid-v8>*{
  min-width:0!important;text-align:right!important;
}
body.premium-r7[data-page] .footer .footer-brand-col{max-width:300px!important}
body.premium-r7[data-page] .footer .footer-brand-col .footer-brand-link{
  display:inline-flex!important;width:max-content!important;max-width:100%!important;
  margin:0 0 14px!important;padding:0!important;
}
body.premium-r7[data-page] .footer .footer-brand-col .official-brand-wordmark{
  display:flex!important;align-items:center!important;justify-content:center!important;
  direction:ltr!important;gap:5px!important;
  width:164px!important;max-width:164px!important;min-width:0!important;
  border:1px solid #b8c5c6!important;border-radius:11px!important;
  padding:9px 10px!important;background:#dce6e6!important;
  box-shadow:0 7px 22px rgba(0,0,0,.13)!important;
  line-height:0!important;overflow:hidden!important;
}
body.premium-r7[data-page] .footer .footer-brand-col .official-brand-wordmark img{
  mix-blend-mode:multiply!important;max-height:36px!important;
  object-fit:contain!important;flex:0 0 auto!important;
}
body.premium-r7[data-page] .footer .footer-brand-col .brand-mark-r7{
  width:auto!important;max-width:38px!important;height:33px!important;
}
body.premium-r7[data-page] .footer .footer-brand-col .brand-type-r7{
  width:auto!important;max-width:99px!important;height:29px!important;
}
body.premium-r7[data-page] .footer .footer-intro{
  max-width:295px!important;color:#c5d3d8!important;
  font-size:12.5px!important;line-height:2.05!important;margin:4px 0 0!important;
}
body.premium-r7[data-page] .footer .footer-col h2{
  font-size:15px!important;margin:3px 0 17px!important;color:#fff!important;
}
body.premium-r7[data-page] .footer .footer-col>a:not(.footer-phone){
  font-size:12.5px!important;line-height:1.75!important;margin:0 0 10px!important;
}
body.premium-r7[data-page] .footer .footer-contact-item{
  gap:2px!important;padding-bottom:9px!important;margin-bottom:9px!important;
}
body.premium-r7[data-page] .footer .footer-contact-item .footer-phone{
  font-size:16px!important;
}
body.premium-r7[data-page] .footer .footer-lower-v8{
  margin-top:37px!important;padding-top:18px!important;align-items:center!important;
  gap:14px!important;
}

@media (max-width:1280px){
  body.premium-r7[data-page] .header .head-inner{
    grid-template-columns:minmax(0,1fr) auto auto!important;
    min-height:76px!important;height:76px!important;
    padding-block:8px!important;gap:14px!important;
  }
  body.premium-r7[data-page] .header .head-inner>.brand{
    grid-column:1!important;justify-self:start!important;
  }
  body.premium-r7[data-page] .header .head-inner>.nav{
    display:none!important;position:fixed!important;top:76px!important;right:0!important;left:0!important;
    width:100%!important;max-height:calc(100dvh - 76px)!important;overflow-y:auto!important;
    background:#fff!important;box-shadow:0 18px 34px rgba(20,37,42,.14)!important;
    flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;padding:18px max(24px,5vw) 25px!important;gap:0!important;
    border-bottom:1px solid #e1e6e8!important;z-index:120!important;
  }
  body.premium-r7[data-page] .header .head-inner>.nav.open{display:flex!important}
  body.premium-r7[data-page] .header .head-inner>.nav>a{
    font-size:14px!important;padding:11px 0!important;border-bottom:1px solid #edf0f1!important;
  }
  body.premium-r7[data-page] .header .head-inner>.header-portal{grid-column:2!important}
  body.premium-r7[data-page] .header .head-inner>.mobile-menu{
    display:flex!important;grid-column:3!important;grid-row:1!important;
  }
  body.premium-r7[data-page] .footer .footer-grid-v8{
    grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)!important;gap:30px 28px!important;
  }
  body.premium-r7[data-page] .footer .footer-brand-col{max-width:none!important}
}
@media (max-width:700px){
  body.premium-r7[data-page] .header .head-inner{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;height:68px!important;min-height:68px!important;
    padding-block:8px!important;
  }
  body.premium-r7[data-page] .header .head-inner>.brand{width:152px!important;max-width:152px!important}
  body.premium-r7[data-page] .header .head-inner>.brand .official-brand-wordmark{width:150px!important;max-width:150px!important}
  body.premium-r7[data-page] .header .head-inner .brand-mark-r7{max-width:37px!important;height:33px!important}
  body.premium-r7[data-page] .header .head-inner .brand-type-r7{max-width:105px!important;height:31px!important}
  body.premium-r7[data-page] .header .head-inner>.header-portal{display:none!important}
  body.premium-r7[data-page] .header .head-inner>.mobile-menu{grid-column:2!important}
  body.premium-r7[data-page] .header .head-inner>.nav{top:68px!important;max-height:calc(100dvh - 68px)!important}
}
@media (max-width:600px){
  body.premium-r7[data-page] .footer{padding-top:43px!important}
  body.premium-r7[data-page] .footer .footer-grid-v8{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:25px 20px!important;
  }
  body.premium-r7[data-page] .footer .footer-brand-col,
  body.premium-r7[data-page] .footer .footer-contact{grid-column:1/-1!important}
  body.premium-r7[data-page] .footer .footer-contact{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 20px!important;
  }
  body.premium-r7[data-page] .footer .footer-contact h2,
  body.premium-r7[data-page] .footer .footer-contact-all{grid-column:1/-1!important}
  body.premium-r7[data-page] .footer .footer-brand-col .official-brand-wordmark{width:157px!important;max-width:157px!important}
  body.premium-r7[data-page] .footer .footer-lower-v8{
    align-items:flex-start!important;flex-direction:column!important;gap:12px!important;
  }
}
@media (max-width:360px){
  body.premium-r7[data-page] .footer .footer-contact{grid-template-columns:1fr!important}
  body.premium-r7[data-page] .header .head-inner>.brand{max-width:138px!important;width:138px!important}
  body.premium-r7[data-page] .header .head-inner>.brand .official-brand-wordmark{max-width:136px!important;width:136px!important}
}
