/* NABWORK v80 — owner's approved 16 Nov "Discover More" reference.
 * Desktop-only faithful visual pass: six compact cards, pale blue heading,
 * generous original photography, two real gig rows with visible prices.
 * No changes to categories, live gig data, navigation, paid AI, mobile, auth,
 * orders or any banking/payment code. The v78/v77 assets remain rollbackable.
 */
@media (min-width:1080px) {
  /* Six cards on large desktops; the existing seventh remains swipeable. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid {
    gap:18px!important;
    padding-bottom:18px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid > .nw-v60-direction {
    box-sizing:border-box!important;
    flex:0 0 clamp(208px,14vw,230px)!important;
    width:clamp(208px,14vw,230px)!important;
    min-width:clamp(208px,14vw,230px)!important;
    max-width:230px!important;
    height:330px!important;
    min-height:330px!important;
    max-height:330px!important;
    border:1px solid #e1e9f4!important;
    border-radius:17px!important;
    background:#fff!important;
    overflow:hidden!important;
    box-shadow:0 10px 25px rgba(34,54,88,.085)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid > .nw-v60-direction:hover {
    box-shadow:0 16px 30px rgba(34,54,88,.13)!important;
  }
  /* Heading plate ~75px + original six-image sprite ~118px. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction > .nw-v60-cover {
    box-sizing:border-box!important;
    display:block!important;
    flex:0 0 193px!important;
    width:100%!important;
    height:193px!important;
    min-height:193px!important;
    max-height:193px!important;
    margin:0!important;
    padding:0!important;
    border-radius:0!important;
    background-image:url('/visuals/nabwork-reference-services-v51.webp')!important;
    background-size:300% 200%!important;
    background-repeat:no-repeat!important;
    background-color:#eaf3ff!important;
    overflow:hidden!important;
  }
  /* All headings use the SAME refined, airy blue as the approved mockup. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction > .nw-v60-cover::after {
    content:""!important;
    display:block!important;
    position:absolute!important;
    top:0!important;
    right:0!important;
    bottom:auto!important;
    left:0!important;
    height:75px!important;
    max-height:75px!important;
    background:linear-gradient(125deg,#e8f2ff 0%,#e3edfc 100%)!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    border:0!important;
    pointer-events:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-cover .nw-v60-cover-label {
    position:absolute!important;
    z-index:2!important;
    top:18px!important;
    left:13px!important;
    right:11px!important;
    max-width:calc(100% - 24px)!important;
    margin:0!important;
    color:#12243f!important;
    font-family:'Noto Sans Georgian',sans-serif!important;
    font-size:clamp(14px,1.06vw,16px)!important;
    font-weight:800!important;
    line-height:1.4!important;
    letter-spacing:-.016em!important;
    text-shadow:none!important;
    text-wrap:balance!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-cover .nw-v60-cover-shade {
    background:linear-gradient(0deg,rgba(14,30,52,.16),transparent 30%)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-cover .nw-v60-cover-arrow {
    position:absolute!important;
    z-index:2!important;
    right:10px!important;
    bottom:11px!important;
    display:grid!important;
    place-items:center!important;
    width:29px!important;
    height:29px!important;
    min-width:29px!important;
    border:1px solid rgba(220,231,245,.85)!important;
    border-radius:50%!important;
    color:#17304d!important;
    background:#fff!important;
    box-shadow:0 3px 9px rgba(11,26,48,.15)!important;
    font-size:0!important;
    line-height:1!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-cover .nw-v60-cover-arrow::before {
    content:"→"!important;
    font-size:18px!important;
    font-weight:650!important;
  }
  /* The reference shows two real listings, not a duplicate category/count row. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction > .nw-v60-direction-body {
    box-sizing:border-box!important;
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    gap:0!important;
    min-width:0!important;
    min-height:0!important;
    width:100%!important;
    padding:11px 11px 12px!important;
    background:#fff!important;
    overflow:hidden!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-group-head,
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-more-count {
    display:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-gig-list {
    box-sizing:border-box!important;
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    justify-content:space-between!important;
    gap:6px!important;
    min-height:0!important;
    min-width:0!important;
    overflow:hidden!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-gig-list > .nw-v60-offer:nth-of-type(n+3) {
    display:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer {
    box-sizing:border-box!important;
    flex:0 0 50px!important;
    width:100%!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    padding:0!important;
    border-radius:8px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-link {
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    gap:7px!important;
    width:100%!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    padding:2px 1px!important;
    border:0!important;
    background:transparent!important;
    text-align:left!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-avatar {
    flex:0 0 29px!important;
    width:29px!important;
    height:29px!important;
    border-radius:50%!important;
    background:#e5f0ff!important;
    color:#146bd1!important;
    font-size:11px!important;
    font-weight:800!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-copy {
    gap:4px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-title {
    color:#233048!important;
    font-size:10.6px!important;
    font-weight:800!important;
    line-height:1.22!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-name {
    color:#617187!important;
    font-size:10px!important;
    line-height:1.22!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-offer-price {
    flex:0 0 auto!important;
    max-width:75px!important;
    color:#076bd7!important;
    font-size:10.5px!important;
    font-weight:850!important;
    text-align:right!important;
    white-space:nowrap!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction .nw-v60-gig-placeholder {
    align-items:center!important;
    font-size:11px!important;
  }
}
/* Match layout at the narrow desktop breakpoint without affecting tablets. */
@media (min-width:1080px) and (max-width:1280px) {
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid > .nw-v60-direction {
    flex-basis:208px!important;
    width:208px!important;
    min-width:208px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-cover .nw-v60-cover-label {
    font-size:14px!important;
  }
}
