/* NABWORK 16.4 — final micro-spacing calibration without dead space to reveal REAL platform metrics.
   Scope: Home at desktop widths only; do not change DOM, DB counts, auth,
   banking, existing hero photograph, its graphics, navbar or routes.
   The statistics remain their actual live values, never mock numbers. */
@media (min-width:821px) {
  /* The old minimum height + oversized top whitespace hid the entire stats row
     below the fold on the owner's common desktop viewport. Let content size the
     hero naturally; add a little breathing room responsive to the viewport. */
  #homeView .nw-v6-hero .nw-v6-hero-grid {
    min-height:clamp(490px,calc(100dvh - 180px),790px)!important;
    padding:clamp(33px,4.3vh,43px) 0 17px!important;
  }
  /* Better distribute content through the existing desktop hero without
     changing the photo's height or pushing live counters below the fold. */
  #homeView .nw-v6-hero .nw-v6-hero-copy {
    padding-top:clamp(14px,2.7vh,26px)!important;
  }
  #homeView .nw-v6-hero #heroTitle {
    font-size:clamp(37px,3.43vw,55px)!important;
    line-height:1.21!important;
    margin-bottom:clamp(15px,1.45vw,22px)!important;
  }
  /* Keep the previous Georgian descender/baseline repair intact. */
  #homeView .nw-v6-hero #heroTitle > .nw-v6-gradient {
    line-height:1.29!important;
  }
  #homeView .nw-v6-hero #heroSubtitle {
    font-size:clamp(13px,.97vw,16px)!important;
    line-height:1.62!important;
    margin-bottom:23px!important;
  }
  #homeView .nw-v6-hero .nab-premium-search {
    min-height:54px!important;
  }
  #homeView .nw-v6-hero .nw-v6-hero-actions {
    margin-top:17px!important;
  }
  #homeView .nw-v6-hero .nw-v6-hero-actions button {
    min-height:44px!important;
  }
  #homeView .nw-v6-hero .nw-v6-chips {
    margin-top:20px!important;
  }
  #homeView .nw-v6-hero .nw-v6-chips button {
    min-height:27px!important;
    padding:5px 10px!important;
  }
  /* The same four existing real-data counters, just less vertical padding. */
  #homeView .nw-v6-metrics-grid {
    padding:10px 0!important;
  }
  #homeView .nw-v6-metric {
    padding:5px 14px!important;
    gap:10px!important;
  }
  #homeView .nw-v6-metric p {
    margin-top:2px!important;
    line-height:1.4!important;
  }
  /* Tighten the remaining blank space between the live counters and the
     following category section, preserving its existing normal flow. */
  #homeView .nab-premium-categories {
    padding-top:8px!important;
  }
  /* Preserve the current portrait's visible face and hair while displaying
     more of the original laptop, now that the hero can use the spare height. */
  #homeView .nw-v6-hero .nw-v6-hero-art.nab82-photo-hero::before {
    background-position:52% top,52% top!important;
  }
}
/* Laptops have less column width: reduce padding further, not font legibility. */
@media (min-width:821px) and (max-width:1180px) {
  #homeView .nw-v6-hero .nw-v6-hero-grid {
    min-height:clamp(490px,calc(100dvh - 180px),730px)!important;
    padding:32px 0 16px!important;
  }
  #homeView .nw-v6-hero #heroTitle {
    font-size:clamp(35px,3.8vw,43px)!important;
  }
}
/* On short desktop browser windows preserve natural scrolling and full content;
   never crop search, actions, text or live statistics to force an impossible fit. */
