/* NAMING HUB® 0.6.6 — mobile polish after live-device QA */
@media (max-width: 767px){
  /* The page already has an in-flow contact CTA. Do not let a fixed CTA cover reading content. */
  .nh-mobile-cta{display:none!important}

  /* Remove inherited oversized hero minimums that create dead vertical space on phones. */
  .nh-hero-visual.nh-node-hero,
  .nh-node-hero{
    min-height:0!important;
    height:auto!important;
    grid-template-rows:auto auto!important;
  }

  /* Give the semantic network its own finite stage. */
  .nh-network-zone{
    min-height:520px!important;
    padding:18px 10px 14px!important;
    align-content:center;
  }

  /* Place the ecosystem as a distinct block, not visually on top of the network. */
  .nh-ecosystem-zone{
    position:relative!important;
    z-index:4!important;
    background:#fff!important;
    border-top:1px solid #c9d8df!important;
    padding:16px!important;
  }

  .nh-ecosystem-zone .nh-asset-card{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    box-shadow:none!important;
  }

  .nh-ecosystem-zone .nh-asset-card header{
    gap:10px;
    align-items:flex-start;
  }

  .nh-ecosystem-zone .nh-asset-card header small{
    max-width:48%;
    text-align:right;
    line-height:1.35;
  }

  /* Keep mobile cards readable without forcing excessive vertical height. */
  .nh-ecosystem-zone .nh-card-grid{
    grid-template-columns:1fr 1fr!important;
  }

  .nh-ecosystem-zone .nh-card-grid>div{
    min-height:104px!important;
    padding:12px!important;
  }

  /* Reduce extra spacing before/after the first editorial sections. */
  .nh-proof,
  .nh-flow,
  .nh-system,
  .nh-editorial,
  .nh-sequence,
  .nh-icon-atlas{
    scroll-margin-top:76px;
  }

  .nh-flow,
  .nh-system,
  .nh-editorial,
  .nh-sequence,
  .nh-icon-atlas{
    padding-top:56px!important;
    padding-bottom:56px!important;
  }
}

@media (max-width: 390px){
  .nh-network-zone{
    min-height:500px!important;
  }

  .nh-ecosystem-zone .nh-card-grid{
    grid-template-columns:1fr!important;
  }

  .nh-ecosystem-zone .nh-card-grid>div{
    min-height:82px!important;
  }
}
