/* NABWORK v65 — restrained mobile-only refinement of the approved v64 reference.
 * Layout only: original city hero, own black SVG categories, discover-more
 * photographs/data, paid AI, navigation/auth handlers and payment remain untouched.
 */
@media (max-width:600px) {
  /* Restore the NABWORK header: brand LEFT, login, menu RIGHT.
     Language selection stays inside the working mobile dropdown. */
  .nab-header .nab30-header-inner {
    grid-template-areas:"brand account menu"!important;
    grid-template-columns:minmax(0,1fr) auto 42px!important;
    grid-template-rows:50px!important;
    column-gap:8px!important;
    align-items:center!important;
    min-height:64px!important;
    padding:7px 13px!important;
  }
  .nab-header .nab30-leading {
    grid-area:brand!important;
    justify-content:flex-start!important;
    justify-self:start!important;
  }
  .nab-header .nab30-leading > button {
    justify-content:flex-start!important;
    width:auto!important;
    max-width:100%!important;
  }
  .nab-header .nabwork-exact-header-logo {
    width:clamp(118px,34vw,144px)!important;
    height:auto!important;
    max-width:100%!important;
  }
  .nab-header .nab30-controls {display:none!important;}
  .nab-header .nab30-account {
    grid-area:account!important;
    justify-self:end!important;
    align-self:center!important;
    width:auto!important;
    max-width:90px!important;
    min-height:41px!important;
  }
  .nab-header .nab30-account > button {
    width:84px!important;
    max-width:84px!important;
    min-height:40px!important;
    height:40px!important;
    padding:0 8px!important;
    background:#0869dc!important;
    color:#fff!important;
    border-radius:11px!important;
    box-shadow:0 3px 11px rgba(9,104,229,.14)!important;
    font-size:12px!important;
  }
  .nab-header .nab30-account > div {
    width:auto!important;
    max-width:90px!important;
  }
  .nab-header .nab-mobile-navigation {
    grid-area:menu!important;
    justify-self:end!important;
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:42px!important;
  }
  .nab-header #nab29MobileToggle {
    position:static!important;
    width:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    height:42px!important;
    min-height:42px!important;
    background:#fff!important;
    color:#193b65!important;
    border:1px solid #dceafa!important;
    border-radius:11px!important;
    box-shadow:0 2px 8px rgba(10,59,111,.04)!important;
  }
  .nab-header #mobileMenu {
    left:auto!important;
    right:12px!important;
    margin:0!important;
    width:min(420px,calc(100% - 24px))!important;
    max-width:calc(100% - 24px)!important;
  }

  /* Slightly smaller original NABWORK category cards; retain 3 x 2,
     black line illustrations, captions and the "more" interaction. */
  #homeView:not(.nw-v26-catalog-mode) .nab-premium-categories {
    padding:21px 18px 15px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-category-grid {
    gap:17px 12px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-cat-tile {
    width:92%!important;
    max-height:110px!important;
    padding:16px!important;
    border-radius:16px!important;
    border-color:#f0f2f4!important;
    box-shadow:0 6px 21px rgba(21,30,42,.105)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-cat-tile svg {
    width:36px!important;
    height:36px!important;
    stroke:#242424!important;
    stroke-width:1.25!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-cat-label {
    margin-top:9px!important;
    font-size:clamp(10.7px,2.85vw,12px)!important;
    font-weight:600!important;
    color:#2b2b2e!important;
    line-height:1.35!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-show-more {
    margin-top:18px!important;
    min-height:43px!important;
  }

  /* Preserve the original Discover More photos, data and horizontal swipe.
     Reduce only each real category/service card's footprint by ~4–5%. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction {
    flex:0 0 min(45.5vw,202px)!important;
    width:min(45.5vw,202px)!important;
    height:236px!important;
    min-height:236px!important;
    max-height:236px!important;
    border-radius:14px!important;
    box-shadow:0 5px 17px rgba(14,54,107,.065)!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-cover {
    height:101px!important;
    min-height:101px!important;
    flex-basis:101px!important;
    padding:11px 12px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-cover-label {
    font-size:11.6px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v60-direction-body {
    padding:7px 8px!important;
  }

  /* Compact editorial how-it-works rows: one concise explanation per icon,
     no bold black mini-headings or copied Fiverr illustrations. */
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-how {
    padding:23px 18px 29px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-how h2 {
    margin-bottom:20px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-how-list {
    gap:18px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-how-row {
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:13px!important;
    align-items:center!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-how-icon {
    width:40px!important;
    height:40px!important;
    border-radius:11px!important;
    background:#f0f6fe!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-how-icon svg {
    width:24px!important;
    height:24px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-how-text {
    gap:0!important;
    padding:0!important;
    justify-content:center!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-how-text > span {
    font-size:12.6px!important;
    font-weight:530!important;
    line-height:1.55!important;
    letter-spacing:-.01em!important;
    color:#48566a!important;
    text-wrap:pretty!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-join {
    margin-top:26px!important;
  }
}
@media (max-width:359px) {
  .nab-header .nab30-header-inner {
    grid-template-columns:minmax(0,1fr) 72px 38px!important;
    padding:7px 9px!important;
    column-gap:5px!important;
  }
  .nab-header .nabwork-exact-header-logo {
    width:clamp(106px,35vw,120px)!important;
  }
  .nab-header .nab30-account,
  .nab-header .nab30-account > button {
    width:72px!important;
    max-width:72px!important;
  }
  .nab-header .nab-mobile-navigation,
  .nab-header #nab29MobileToggle {
    width:38px!important;
    min-width:38px!important;
    max-width:38px!important;
    height:40px!important;
    min-height:40px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-cat-tile {
    padding:13px!important;
  }
  #homeView:not(.nw-v26-catalog-mode) .nw-v64-cat-label {
    font-size:10.5px!important;
  }
}
