/* NABWORK 28 — ONLY real service listing card and phone gig gallery sizing.
   Category buttons remain the approved v27 design until the owner picks a preview. */
html.nw-v26-ready #homeView.nw-v26-catalog-mode #gigsGrid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(240px,300px))!important;
  justify-content:start!important;
  gap:18px!important;
  align-items:start!important;
}
html.nw-v26-ready #homeView.nw-v26-catalog-mode #gigsGrid > .nab-catalog-card{
  min-width:0!important;
  width:100%!important;
  max-width:300px!important;
  border:1px solid #dceafa!important;
  border-radius:18px!important;
  box-shadow:0 9px 25px rgba(11,65,121,.07)!important;
  overflow:hidden!important;
}
html.nw-v26-ready #homeView.nw-v26-catalog-mode #gigsGrid > .nab-catalog-card .nab-card-image{
  height:165px!important;
  aspect-ratio:unset!important;
  flex:none!important;
}
html.nw-v26-ready #homeView.nw-v26-catalog-mode #gigsGrid > .nab-catalog-card .nab-card-image img{
  display:block;width:100%;height:100%;object-fit:cover;
}
html.nw-v26-ready #homeView.nw-v26-catalog-mode #gigsGrid > .nab-catalog-card .nw-gig-content{
  padding:12px 13px!important;
}
html.nw-v26-ready #homeView.nw-v26-catalog-mode #gigsGrid > .nab-catalog-card .nw-gig-foot{
  padding:10px 13px!important;
}
html.nw-v26-ready #homeView.nw-v26-catalog-mode #gigsGrid > .nab-catalog-card .nw-gig-title{
  font-size:13px!important;line-height:1.48!important;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;
}
@media(max-width:600px){
  html.nw-v26-ready #homeView.nw-v26-catalog-mode #gigsGrid{
    grid-template-columns:minmax(0,1fr)!important;
    justify-items:center!important;
    gap:14px!important;
  }
  html.nw-v26-ready #homeView.nw-v26-catalog-mode #gigsGrid > .nab-catalog-card{
    width:min(100%,310px)!important;
    max-width:310px!important;
  }
  html.nw-v26-ready #homeView.nw-v26-catalog-mode #gigsGrid > .nab-catalog-card .nab-card-image{
    height:158px!important;
  }
  /* The actual individual gig detail page must also be proportionate. */
  #gigDetailsView .nab22-gallery-main{
    height:min(56vw,215px)!important;
    aspect-ratio:auto!important;
    width:100%!important;
  }
  #gigDetailsView .nab22-gallery-main img{
    width:100%;height:100%;object-fit:contain!important;
    background:#eef6fb;
  }
  #gigDetailsView .nab22-intro h1{
    font-size:clamp(20px,5.8vw,26px)!important;
    line-height:1.34!important;
    overflow-wrap:anywhere;
  }
}
