/* GoBusiness Listing V1.7.5 — Homepage Cleanup & Category De-duplication */

/* Primary flow: hero -> image categories -> stats -> businesses */
.gdc-dir-dynamic-categories{
  padding-top:34px!important;
  padding-bottom:40px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f6f9fd 100%)!important;
}
.gdc-dir-dynamic-head{margin-bottom:18px!important}
.gdc-dir-dynamic-head h2{
  font-size:32px!important;
  line-height:1.12!important;
  font-weight:900!important;
  letter-spacing:-.55px!important;
}
.gdc-dir-dynamic-head p{font-size:11px!important;color:#687d93!important}

/* No duplicate icon category strips */
.gdc-dir-quickcats{display:none!important}

/* Stats: compact, premium, not stretched */
.gdc-dir-stats{
  padding:22px 0!important;
  background:#fff!important;
  border-top:1px solid #e4ebf2!important;
  border-bottom:1px solid #e4ebf2!important;
}
.gdc-dir-stats-grid{
  gap:12px!important;
}
.gdc-dir-stats-grid>div{
  min-height:88px!important;
  padding:16px 18px!important;
  border:1px solid #e0e8f0!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(8,38,86,.045)!important;
}
.gdc-dir-stats-grid strong{
  font-size:25px!important;
  font-weight:900!important;
  color:#082656!important;
}
.gdc-dir-stats-grid span{
  margin-top:5px!important;
  color:#6e8195!important;
  font-size:9px!important;
  font-weight:750!important;
}

/* Consistent section rhythm */
main.gdc-dir-shell{padding-top:8px!important}
.gdc-dir-section{
  padding-top:44px!important;
  padding-bottom:44px!important;
}
.gdc-dir-section+.gdc-dir-section{
  border-top:1px solid #edf1f5;
}
.gdc-dir-section-head h2{
  font-weight:900!important;
  letter-spacing:-.45px!important;
}
.gdc-dir-section-head p{
  max-width:720px;
  line-height:1.65!important;
}

/* Featured businesses become the next visual priority after category photos */
#businesses{
  margin-top:0!important;
}
#businesses .gdc-dir-section-head{
  margin-bottom:20px!important;
}
#businesses .gdc-dir-result-count{
  padding:8px 11px!important;
  border-radius:999px!important;
  background:#edf4fc!important;
  color:#1452a5!important;
  font-size:9px!important;
  font-weight:900!important;
}
#businesses .gdc-dir-business-category{
  display:inline-flex!important;
  align-items:center!important;
  min-height:26px!important;
  padding:5px 8px!important;
  border-radius:7px!important;
  background:#eef5fd!important;
  color:#1452a5!important;
  font-size:9px!important;
  font-weight:850!important;
}

/* Recent activity uses business identity, not repeated category icons */
.gdc-dir-recent-head>span.gdc-dir-recent-logo{
  width:46px!important;
  height:46px!important;
  display:grid!important;
  place-items:center!important;
  overflow:hidden!important;
  border:1px solid #dce5ef!important;
  border-radius:11px!important;
  background:#fff!important;
  color:#082656!important;
  font-size:15px!important;
  font-weight:900!important;
}
.gdc-dir-recent-head>span.gdc-dir-recent-logo img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:4px!important;
}

/* Popular service blocks: cleaner separation */
.gdc-dir-cluster{
  box-shadow:0 8px 24px rgba(8,38,86,.04)!important;
}
.gdc-dir-cluster a{
  transition:background .16s ease,transform .16s ease!important;
}
.gdc-dir-cluster a:hover{
  background:#edf5fd!important;
  transform:translateY(-1px);
}

/* Footer/navigation anchors that point to categories now use the image-category section */
#popular-needs{scroll-margin-top:86px}
#businesses,#cities,#benefits{scroll-margin-top:86px}

/* Keep category photo cards the only category showcase near the top */
.gdc-dir-photo-category-card{
  border-radius:16px!important;
}
.gdc-dir-photo-category-copy b{
  font-size:11.5px!important;
}
.gdc-dir-photo-category-copy span{
  font-size:8.5px!important;
}

/* Hide legacy icon-only category grid even if an older block survives */
.gdc-dir-category-grid{display:none!important}

@media(max-width:900px){
  .gdc-dir-dynamic-head h2{font-size:28px!important}
}
@media(max-width:650px){
  .gdc-dir-section{padding-top:34px!important;padding-bottom:34px!important}
  .gdc-dir-stats-grid{grid-template-columns:repeat(2,1fr)!important}
  .gdc-dir-stats-grid>div{min-height:78px!important;padding:12px!important}
  .gdc-dir-stats-grid strong{font-size:21px!important}
  .gdc-dir-dynamic-head h2{font-size:25px!important}
}
