/* NABWORK Business Premium v56 — homepage presentation only.
 * Desktop: calm, photo-led marketplace using the already approved, text-free
 * closed-laptop office photograph. Phone: NEVER restyle its approved photo,
 * Georgian title, search, header or primary hero dimensions.
 * Existing categories link to real catalogue; no fabricated listings/metrics.
 * No bank/payment/order/auth/API state is changed here.
 */
/* Non-home catalog routes must not inherit the decorative home-only blocks. */
#homeView.nw-v26-catalog-mode .nw-v56-ai,
#homeView.nw-v26-catalog-mode .nw-v56-benefits { display:none!important; }

@media (min-width:1080px) {
  :root { --nw56-blue:#0877ed; --nw56-ink:#0d203f; --nw56-line:#e7eef7; }
  body:not(.dark-mode) { background:#fff!important; }
  .nab-header { background:#fff!important; border-bottom:1px solid #e8edf5!important;
    box-shadow:0 4px 20px rgba(17,43,80,.035)!important; }
  .nab-header .nab30-header-inner { min-height:67px!important; }
  .nab-header .nab-nav-link { color:#243651!important; font-weight:760!important; }
  .nab-header .nab-nav-link:hover { color:#086de2!important; background:#f1f6ff!important; }
  .nab-header #addGigBtn { background:#0769de!important; color:#fff!important;
    border-radius:11px!important; box-shadow:0 7px 18px rgba(5,98,221,.16)!important; }

  /* Hero is one composed office photograph; no floating or fake UI over it. */
  #homeView:not(.nw-v26-catalog-mode) > .nw-v6-hero {
    position:relative!important; height:auto!important; min-height:402px!important;
    background:#091b35!important;
    background-image:linear-gradient(90deg,rgba(5,19,41,.51) 0%,rgba(5,19,41,.25) 34%,rgba(5,19,41,.02) 66%),
      url('/visuals/nabwork-reference-hero-v51.webp')!important;
    background-position:center,center center!important;
    background-size:cover,cover!important;
    background-repeat:no-repeat,no-repeat!important;
    overflow:hidden!important; border-radius:0!important; border:0!important; box-shadow:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero .nw-v6-hero-grid {
    min-height:402px!important; width:min(calc(100% - 104px),1370px)!important;
    max-width:1370px!important; padding:48px 0 45px!important; display:flex!important;
    justify-content:flex-start!important; align-items:center!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero-copy {
    display:flex!important; flex-direction:column!important; align-items:flex-start!important;
    justify-content:center!important; width:min(58%,680px)!important; max-width:680px!important;
    margin:0!important; padding:0!important; text-align:left!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero .nw-v6-eyebrow,
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero .nw-v6-chips,
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero .nw-v6-hero-actions,
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero .nw-v44-hero-benefits,
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero .nw-v52-trust-points,
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero .nw-v42-proof-row { display:none!important; }
  #homeView:not(.nw-v26-catalog-mode) #heroTitle {
    width:100%!important; max-width:680px!important; margin:0 0 13px!important;
    font-family:'Noto Sans Georgian',system-ui,sans-serif!important;
    font-size:clamp(41px,3.6vw,58px)!important; font-weight:900!important;
    line-height:1.2!important; letter-spacing:-.035em!important;
    text-align:left!important; color:#fff!important; text-shadow:0 3px 14px rgba(0,0,0,.16)!important;
    text-wrap:balance!important;
  }
  #homeView:not(.nw-v26-catalog-mode) #heroTitle .nw-v33-desktop-headline { display:inline!important; }
  #homeView:not(.nw-v26-catalog-mode) #heroTitle .nw-v33-mobile-headline { display:none!important; }
  #homeView:not(.nw-v26-catalog-mode) #heroTitle .nw-v40-emphasis {
    color:#4bb7ff!important; -webkit-text-fill-color:#4bb7ff!important;
    background:none!important; font-size:inherit!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v40-desktop-subtitle {
    display:block!important; max-width:580px!important; margin:0 0 22px!important;
    font-size:14.5px!important; line-height:1.65!important;
    font-weight:540!important; color:#e8f3ff!important;
    text-shadow:0 1px 4px rgba(2,11,30,.3)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero .nab-premium-search {
    display:flex!important; align-items:center!important; position:relative!important;
    width:min(100%,620px)!important; height:60px!important; min-height:60px!important;
    padding:6px!important; margin:0!important; gap:7px!important;
    background:#fff!important; border:1px solid rgba(255,255,255,.92)!important;
    border-radius:15px!important; box-shadow:0 13px 32px rgba(0,8,29,.20)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) #searchInput {
    min-width:0!important; flex:1!important; background:transparent!important;
    border:0!important; color:#1b3453!important; font-size:14px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) #searchBtn {
    height:48px!important; min-height:48px!important; padding:0 27px!important;
    background:#056fe7!important; color:#fff!important; border-radius:11px!important;
    font-weight:800!important; box-shadow:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) #searchBtn:hover { background:#025cc3!important; }
  #homeView:not(.nw-v26-catalog-mode) :is(#searchInput,#searchBtn):focus-visible {
    outline:3px solid #94cfff!important; outline-offset:3px!important;
  }

  /* Clean eight-topic launcher with real category handlers. */
  #homeView:not(.nw-v26-catalog-mode) > .nab-premium-categories {
    width:min(calc(100% - 96px),1370px)!important; max-width:1370px!important;
    padding:27px 0 15px!important; margin:0 auto!important; background:#fff!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nab-cat-intro {
    display:flex!important; align-items:center!important; justify-content:space-between!important;
    margin:0 0 15px!important; gap:12px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nab-cat-intro h2,
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular h2 {
    font-size:clamp(21px,1.75vw,27px)!important; font-weight:900!important;
    letter-spacing:-.03em!important; color:#142443!important; line-height:1.28!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid {
    display:grid!important; grid-template-columns:repeat(8,minmax(0,1fr))!important;
    gap:11px!important; overflow:visible!important; scroll-snap-type:none!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid button {
    display:flex!important; flex-direction:column!important; align-items:flex-start!important;
    min-width:0!important; min-height:116px!important;
    padding:15px 12px!important; border-radius:15px!important;
    border:1px solid #e6edf7!important; background:#fff!important; text-align:left!important;
    box-shadow:0 5px 18px rgba(18,54,101,.048)!important;
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid button:hover {
    transform:translateY(-3px)!important; border-color:#b8d6f9!important;
    box-shadow:0 14px 26px rgba(19,75,138,.105)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-cat-ico {
    border-radius:13px!important; width:41px!important; height:41px!important;
    background:#e7f2ff!important; color:#096ce2!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-cat-label {
    font-size:12px!important; line-height:1.45!important; font-weight:830!important;
    color:#1c3151!important; letter-spacing:0!important;
  }

  /* Four editorial direction cards; actual paid gigs remain in real catalogue. */
  #homeView:not(.nw-v26-catalog-mode) > .nw-v30-popular {
    width:min(calc(100% - 96px),1370px)!important; max-width:1370px!important;
    margin:0 auto!important; padding:17px 0 25px!important; border:0!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-head { margin-bottom:15px!important; }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid {
    display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:17px!important; overflow:visible!important; padding:0 0 4px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid>.nw-v30-popular-card {
    width:100%!important; max-width:none!important; min-width:0!important;
    min-height:225px!important; height:225px!important; border:1px solid #e6edf6!important;
    border-radius:16px!important; background:#fff!important; box-shadow:0 8px 20px rgba(17,58,115,.055)!important;
    display:flex!important; flex-direction:column!important; overflow:hidden!important;
    transition:transform .19s ease,box-shadow .19s ease!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid>.nw-v30-popular-card:nth-child(n+5) { display:none!important; }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid>.nw-v30-popular-card:hover {
    transform:translateY(-3px)!important; box-shadow:0 16px 30px rgba(14,53,113,.13)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-picture {
    position:relative!important; inset:auto!important; display:block!important;
    height:158px!important; min-height:158px!important; width:100%!important; aspect-ratio:auto!important;
    background-image:url('/visuals/nabwork-reference-services-v51.webp')!important;
    background-size:300% 200%!important; background-repeat:no-repeat!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-card::after { display:none!important; content:none!important; }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-info {
    position:relative!important; inset:auto!important; z-index:2!important;
    display:flex!important; flex-direction:column!important; justify-content:center!important;
    min-height:65px!important; padding:10px 13px!important; margin:0!important;
    background:#fff!important; color:#132848!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-name {
    color:#132848!important; font-weight:860!important; font-size:13px!important; line-height:1.35!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-description {
    display:none!important;
  }

  #homeView:not(.nw-v26-catalog-mode) .nw-v56-benefits {
    width:min(calc(100% - 96px),1370px); max-width:1370px; margin:0 auto 23px;
    display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0;
    background:#f1f7ff; border:1px solid #e5eef9; border-radius:17px; padding:17px 10px;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-benefits > div {
    display:flex; align-items:center; justify-content:center; gap:11px;
    padding:0 15px; border-right:1px solid #dce7f7;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-benefits > div:last-child { border-right:0; }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-benefits svg {
    width:23px; height:23px; flex:0 0 23px; color:#0a6de2; stroke:currentColor;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-benefits strong {
    font-size:12px; line-height:1.45; font-weight:800; color:#1c3355;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how {
    padding:22px max(48px,calc((100% - 1370px)/2)) 28px!important;
    background:#fff!important; border:0!important; margin:0!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how h2 {
    color:#142443!important; font-size:23px!important; font-weight:900!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-step {
    background:#f8faff!important; border:1px solid #e7eef9!important; border-radius:15px!important;
    padding:13px 12px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how-index {
    background:#0a70e9!important; color:#fff!important;
  }
}

/* A useful, truthful AI entry point reuses the already-installed paid assistant. */
#homeView:not(.nw-v26-catalog-mode) .nw-v56-ai {
  width:min(calc(100% - 96px),1370px); max-width:1370px;
  margin:0 auto 28px; padding:19px 25px;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  border-radius:19px; color:#fff;
  background:linear-gradient(112deg,#071e46,#0759bf 84%,#0789d1);
  box-shadow:0 12px 27px rgba(3,68,150,.14);
}
#homeView:not(.nw-v26-catalog-mode) .nw-v56-ai-copy { min-width:0; flex:1; }
#homeView:not(.nw-v26-catalog-mode) .nw-v56-ai strong {
  display:block; font-size:18px; font-weight:900; letter-spacing:-.015em; line-height:1.45; color:#fff;
}
#homeView:not(.nw-v26-catalog-mode) .nw-v56-ai p {
  margin-top:4px; font-size:12.5px; color:#d9ebff; line-height:1.58;
}
#homeView:not(.nw-v26-catalog-mode) .nw-v56-ai button {
  flex:0 0 auto; display:flex; align-items:center; justify-content:center;
  gap:7px; min-height:44px; padding:10px 18px;
  background:#fff; color:#0957b5; border:0; border-radius:12px;
  font-size:12px; font-weight:850; cursor:pointer;
}
#homeView:not(.nw-v26-catalog-mode) .nw-v56-ai button:hover { background:#e8f4ff; }
#homeView:not(.nw-v26-catalog-mode) .nw-v56-ai button:focus-visible {
  outline:3px solid #b6ddff; outline-offset:3px;
}

/* Small desktop and tablets: preserve legibility, never squeeze eight cards. */
@media (min-width:1080px) and (max-width:1399px) {
  #homeView:not(.nw-v26-catalog-mode) .nw-v6-hero .nw-v6-hero-grid { width:calc(100% - 72px)!important; }
  #homeView:not(.nw-v26-catalog-mode) #heroTitle { font-size:clamp(38px,3.9vw,49px)!important; }
  #homeView:not(.nw-v26-catalog-mode) > .nab-premium-categories,
  #homeView:not(.nw-v26-catalog-mode) > .nw-v30-popular { width:calc(100% - 72px)!important; }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-category-grid {
    grid-template-columns:repeat(8,minmax(142px,1fr))!important; overflow-x:auto!important;
    scroll-snap-type:x proximity!important; padding-bottom:7px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-benefits,
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-ai { width:calc(100% - 72px); }
  #homeView:not(.nw-v26-catalog-mode) .nw-v48-how { padding-left:36px!important; padding-right:36px!important; }
}
@media (max-width:600px) {
  /* Deliberately NO rules for .nw-v6-hero, #heroTitle, .nw-v6-eyebrow,
     .nab-premium-search, or the header: the approved mobile photo,
     "ფრილანს პლატფორმა საქართველოში" and search stay untouched. */
  #homeView:not(.nw-v26-catalog-mode) > .nab-premium-categories { padding-top:19px!important; }
  #homeView:not(.nw-v26-catalog-mode) .nab-cat-intro h2,
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular h2 {
    color:#162b4b!important; font-size:20px!important; font-weight:900!important;
    letter-spacing:-.025em!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid {
    display:flex!important; flex-wrap:nowrap!important; gap:12px!important;
    overflow-x:auto!important; overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important; scroll-padding-inline:16px!important;
    padding:3px 16px 16px!important; -webkit-overflow-scrolling:touch;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid>.nw-v30-popular-card {
    flex:0 0 min(73vw,280px)!important; width:min(73vw,280px)!important;
    max-width:none!important; scroll-snap-align:start!important;
    border-radius:15px!important; box-shadow:0 7px 18px rgba(23,57,111,.09)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v30-popular-grid>.nw-v30-popular-card:nth-child(n+5) { display:flex!important; }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-benefits { display:none; }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-ai {
    width:calc(100% - 30px); margin:16px auto 24px; padding:17px 16px;
    border-radius:17px; gap:11px; min-height:110px;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-ai strong { font-size:15px; line-height:1.5; }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-ai p { font-size:10.5px; line-height:1.55; }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-ai button {
    min-height:42px; width:42px; height:42px; padding:0; border-radius:50%;
    font-size:18px; flex:0 0 42px;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-ai button .nw-v56-btn-label { display:none; }
}
@media (min-width:601px) and (max-width:1079px) {
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-benefits { display:none; }
  #homeView:not(.nw-v26-catalog-mode) .nw-v56-ai { width:calc(100% - 44px); }
}
@media (prefers-reduced-motion:reduce) {
  #homeView .nw-v48-category-grid button,
  #homeView .nw-v30-popular-card { transition:none!important; }
}
