/* NABWORK 30 — visual implementation of approved blue/white marketplace concept.
 * Popular cards are EDITORIAL CATEGORY DIRECTIONS, not invented gig listings.
 * Clicks use genuine catalog routes/filters. No account, counter or payment changes. */
#homeView .nab-premium-categories {
  padding-top:17px!important;
  padding-bottom:18px!important;
  width:min(calc(100% - 64px),1380px)!important;
  max-width:1380px!important;
}
#homeView .nab-cat-intro {
  margin-bottom:17px!important;
  gap:15px!important;
  align-items:center!important;
}
#homeView .nab-cat-intro h2 {
  font-size:clamp(19px,1.75vw,25px)!important;
  line-height:1.3!important;
}
#homeView .nab-category-rail.nw-v30-category-rail{
  display:grid!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:10px!important;
  overflow:visible!important;
  padding:0!important;
}
#homeView .nab-category-rail.nw-v30-category-rail > button{
  position:relative;
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:flex-start!important;
  gap:13px!important;
  min-width:0!important;
  width:100%!important;
  min-height:131px!important;
  height:auto!important;
  padding:15px 12px 13px!important;
  border:1px solid #e3ecf4!important;
  border-radius:18px!important;
  background:linear-gradient(150deg,#fff 50%,#f9fcff 100%)!important;
  box-shadow:0 7px 19px rgba(17,76,127,.07),0 2px 6px rgba(23,82,125,.035)!important;
  color:#122e50!important;
  text-align:left!important;
  cursor:pointer;
  transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease!important;
}
#homeView .nw-v30-category-rail > button:hover,
#homeView .nw-v30-category-rail > button:focus-visible{
  transform:translateY(-3px)!important;
  border-color:#82c5ec!important;
  box-shadow:0 13px 29px rgba(10,110,184,.13)!important;
}
#homeView .nw-v30-category-rail > button:active{transform:scale(.985)!important}
#homeView .nw-v30-category-rail .nw-v6-cat-icon{
  display:grid!important;
  place-items:center!important;
  flex:0 0 42px!important;
  width:42px!important;height:42px!important;
  border-radius:13px!important;
  background:var(--nw30-soft,#e5f4ff)!important;
  color:var(--nw30-accent,#0788d8)!important;
  box-shadow:inset 0 1px 1px rgba(255,255,255,.9);
}
#homeView .nw-v30-category-rail .nw-v6-cat-icon svg{
  width:24px!important;height:24px!important;
  fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;
}
#homeView .nw-v30-category-rail .nw-v6-cat-label{
  font-size:clamp(10.8px,.86vw,13px)!important;
  line-height:1.45!important;
  font-weight:820!important;
  color:#173352!important;
  overflow-wrap:anywhere!important;
  letter-spacing:-.015em!important;
}
#homeView .nw-v30-category-rail .nw-v6-cat-more{display:none!important}
#homeView .nw-v30-category-rail > button:nth-child(2){--nw30-soft:#eee9ff;--nw30-accent:#775ae1}
#homeView .nw-v30-category-rail > button:nth-child(3){--nw30-soft:#d9fbf5;--nw30-accent:#08a3b1}
#homeView .nw-v30-category-rail > button:nth-child(4){--nw30-soft:#fff0e6;--nw30-accent:#ec8941}
#homeView .nw-v30-category-rail > button:nth-child(5){--nw30-soft:#ffecef;--nw30-accent:#ee6880}
#homeView .nw-v30-category-rail > button:nth-child(6){--nw30-soft:#e8f2ff;--nw30-accent:#187acb}
#homeView .nw-v30-category-rail > button:nth-child(7){--nw30-soft:#ddf9ed;--nw30-accent:#0dbe89}
#homeView .nw-v30-category-rail > button:nth-child(8){--nw30-soft:#e9eeff;--nw30-accent:#506fcd}
#homeView .nw-v30-popular{
  width:min(calc(100% - 64px),1380px);
  margin:0 auto 45px;
  padding:12px 0 14px;
}
html.nw-v26-ready #homeView.nw-v26-catalog-mode > .nw-v30-popular{display:none!important;}
#homeView .nw-v30-popular-head{
  display:flex;align-items:end;justify-content:space-between;gap:14px;
  margin-bottom:22px;
}
#homeView .nw-v30-popular-kicker{
  display:block;color:#067cc1;font-size:11px;font-weight:850;
  margin:0 0 7px;letter-spacing:.035em;
}
#homeView .nw-v30-popular h2{
  color:#0c2950;
  font-size:clamp(23px,2.4vw,36px);
  font-weight:920;letter-spacing:-.035em;line-height:1.18;margin:0;
}
#homeView .nw-v30-popular-note{
  color:#5e7a94;font-size:12px;line-height:1.6;margin:9px 0 0;
  max-width:790px;
}
#homeView .nw-v30-popular-all{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  min-height:40px;padding:9px 14px;
  color:#087bc9;background:#fff;border:1px solid #b7d9f2;
  border-radius:12px;font-size:12px;font-weight:800;cursor:pointer;
  transition:background .15s ease,box-shadow .15s ease;
}
#homeView .nw-v30-popular-all:hover{background:#eaf7ff;box-shadow:0 3px 12px rgba(0,95,185,.1)}
#homeView .nw-v30-popular-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:13px;
}
#homeView .nw-v30-popular-card{
  display:flex;flex-direction:column;min-width:0;
  padding:0;border:1px solid #dcebf8;border-radius:18px;
  background:linear-gradient(180deg,#f7fbff,#fff);
  box-shadow:0 7px 22px rgba(25,79,128,.067);
  overflow:hidden;cursor:pointer;text-align:left;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}
#homeView .nw-v30-popular-card:hover,
#homeView .nw-v30-popular-card:focus-visible{
  transform:translateY(-3px);
  border-color:#99cce9;
  box-shadow:0 13px 27px rgba(14,87,155,.15);
}
#homeView .nw-v30-popular-card:active{transform:scale(.987)}
#homeView .nw-v30-popular-picture{
  display:block;width:100%;
  aspect-ratio:1.51;
  padding:7px;
  overflow:hidden;
  background:#eaf7ff;
}
#homeView .nw-v30-popular-picture img{
  display:block;width:100%;height:100%;object-fit:cover;
  border-radius:12px;
}
#homeView .nw-v30-popular-info{
  position:relative;display:flex;flex-direction:column;
  gap:6px;padding:12px 37px 16px 12px;min-height:110px;
}
#homeView .nw-v30-popular-name{
  color:#13315a;font-size:clamp(12px,.96vw,14px);font-weight:900;
  line-height:1.4;overflow-wrap:anywhere;
}
#homeView .nw-v30-popular-description{
  color:#63809a;font-size:clamp(10.5px,.77vw,12px);
  line-height:1.52;font-weight:580;
}
#homeView .nw-v30-popular-arrow{
  position:absolute;right:9px;bottom:12px;
  display:grid;place-items:center;width:29px;height:29px;
  background:#edf8ff;color:#0c86d7;border:1px solid #d1eafa;
  border-radius:50%;font-size:17px;line-height:1;
}
#homeView .nw-v30-popular-card:focus-visible,
#homeView .nw-v30-category-rail > button:focus-visible,
#homeView .nw-v30-popular-all:focus-visible{
  outline:3px solid #078ee7;outline-offset:3px;
}
@media (max-width:1250px) and (min-width:751px){
  #homeView .nw-v30-category-rail{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
  #homeView .nw-v30-popular-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  #homeView .nw-v30-category-rail > button{min-height:118px!important}
  #homeView .nw-v30-category-rail .nw-v6-cat-label{font-size:13px!important}
  #homeView .nw-v30-popular-name{font-size:14px}
}
@media(max-width:750px){
  #homeView .nab-premium-categories{
    width:calc(100% - 30px)!important;
    padding:21px 0 12px!important;
  }
  #homeView .nab-cat-intro{
    gap:9px!important;align-items:center!important;
    margin-bottom:13px!important;
  }
  #homeView .nab-cat-intro h2{
    font-size:clamp(17px,5vw,21px)!important;
    line-height:1.28!important;
  }
  #homeView .nab-cat-intro .nw-v6-all-cat{
    min-height:35px!important;
    padding:7px 11px!important;
    font-size:10px!important;
    border-radius:12px!important;
  }
  #homeView .nab-category-rail.nw-v30-category-rail{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
  }
  #homeView .nab-category-rail.nw-v30-category-rail > button{
    min-height:122px!important;padding:13px 12px!important;
    border-radius:16px!important;gap:11px!important;
  }
  #homeView .nw-v30-category-rail .nw-v6-cat-icon{
    width:42px!important;height:42px!important;flex-basis:42px!important;
  }
  #homeView .nw-v30-category-rail .nw-v6-cat-label{
    font-size:clamp(12px,3.3vw,14px)!important;line-height:1.42!important;
  }
  #homeView .nw-v30-popular{
    width:calc(100% - 30px);
    margin:4px auto 35px;padding:8px 0 12px;
  }
  #homeView .nw-v30-popular-head{
    align-items:start;margin-bottom:14px;gap:8px;
  }
  #homeView .nw-v30-popular h2{
    font-size:clamp(23px,6vw,29px);
  }
  #homeView .nw-v30-popular-kicker{font-size:10px;margin-bottom:5px}
  #homeView .nw-v30-popular-note{font-size:11px;line-height:1.55;margin-top:7px}
  #homeView .nw-v30-popular-all{
    flex:0 0 auto;font-size:10px;min-height:36px;padding:7px 10px;white-space:nowrap;
  }
  #homeView .nw-v30-popular-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  #homeView .nw-v30-popular-card{border-radius:16px}
  #homeView .nw-v30-popular-picture{padding:5px;aspect-ratio:1.26}
  #homeView .nw-v30-popular-picture img{border-radius:12px}
  #homeView .nw-v30-popular-info{
    min-height:112px;padding:10px 27px 13px 10px;gap:6px;
  }
  #homeView .nw-v30-popular-name{font-size:clamp(11.7px,3.1vw,14px);line-height:1.34;}
  #homeView .nw-v30-popular-description{font-size:clamp(10px,2.7vw,11px);line-height:1.38;}
  #homeView .nw-v30-popular-arrow{
    right:7px;bottom:9px;width:24px;height:24px;font-size:15px;
  }
}
@media(max-width:360px){
  #homeView .nab-cat-intro{align-items:start!important}
  #homeView .nab-cat-intro h2{font-size:16px!important}
  #homeView .nab-category-rail.nw-v30-category-rail > button{
    padding:11px 10px!important;min-height:113px!important;
  }
  #homeView .nw-v30-category-rail .nw-v6-cat-label{font-size:11.6px!important}
  #homeView .nw-v30-popular-info{padding:9px 25px 11px 8px;min-height:115px}
  #homeView .nw-v30-popular-all{font-size:9.5px;padding:6px 8px}
  #homeView .nw-v30-popular-name{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  #homeView .nw-v30-category-rail > button,
  #homeView .nw-v30-popular-card{transition:none!important}
}
