/* ==========================================================================
   MAPS TOWING — SERVICES ARCHIVE PAGE
   ========================================================================== */

/* Keep the archive heading clear of the navigation and give its copy room. */
.post-type-archive-service .page-hero {
  height: auto;
}

.post-type-archive-service .page-hero__inner {
  height: auto;
  min-height: 620px;
  gap: 32px;
  padding-top: 172px;
}

.post-type-archive-service .page-hero__title-wrap {
  gap: 20px;
}

.svc-archive {
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: 72px var(--side-pad) 144px;
}

.svc-archive__groups {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.svc-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* [hidden] guard: author display above would otherwise defeat services.js
   toggling group.hidden when a category filter empties the group. */
.svc-group[hidden] {
  display: none;
}

.svc-group__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
  color: var(--graphite-900);
}

.svc-group__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.svc-archive__empty {
  font-size: 16px;
  line-height: 22px;
  color: var(--graphite-450);
}

@media (max-width: 1023.98px) {
  .post-type-archive-service .page-hero__inner {
    padding-top: 112px;
  }

  .svc-archive {
    gap: 24px;
    padding: 72px var(--side-pad-mobile) 144px;
  }

  .svc-archive__filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--side-pad-mobile));
    padding: 0 var(--side-pad-mobile);
  }

  .svc-archive__filters::-webkit-scrollbar {
    display: none;
  }

  .svc-group__grid {
    grid-template-columns: 1fr;
  }
}
