/* Gutter Cleaning service-area polish.
   Keeps every city link and neighborhood detail while turning the long 8-card block
   into a tighter editorial coverage section. */

section[aria-labelledby="service-areas"] {
  padding-top: 3.75rem !important;
  padding-bottom: 3.75rem !important;
}

@media (min-width: 1024px) {
  section[aria-labelledby="service-areas"] > .relative.max-w-6xl {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    column-gap: 4rem;
    row-gap: 0;
    align-items: start;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > div:first-child {
    margin: 0 !important;
    max-width: none !important;
    text-align: left !important;
    position: sticky;
    top: 7rem;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > div:first-child > div:first-child {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 2rem !important;
    align-self: start;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a {
    display: grid !important;
    grid-template-columns: 2rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    align-items: start;
    padding: 1rem 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 0 !important;
    background: transparent !important;
    transform: none !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a:hover {
    background: transparent !important;
    border-color: rgba(224, 39, 39, 0.55) !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a > div:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 2rem !important;
    height: 2rem !important;
    margin: 0.1rem 0 0 !important;
    border-radius: 9999px !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a > div:first-child svg {
    width: 0.9rem !important;
    height: 0.9rem !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a h3 {
    grid-column: 2;
    margin: 0 !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a p {
    grid-column: 2;
    margin-top: 0.22rem !important;
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid + div {
    grid-column: 1 / -1;
    margin-top: 2rem !important;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid + div + div {
    grid-column: 1 / -1;
    margin-top: 1.5rem !important;
  }
}

@media (max-width: 1023px) {
  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > div:first-child {
    margin-bottom: 2rem !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid {
    gap: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a {
    padding: 1rem 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    transform: none !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a + a {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a > div:first-child {
    width: 2.25rem !important;
    height: 2.25rem !important;
    margin-bottom: 0.65rem !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a h3 {
    font-size: 1rem !important;
    margin-bottom: 0.2rem !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > .grid > a p {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 639px) {
  section[aria-labelledby="service-areas"] {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  section[aria-labelledby="service-areas"] > .relative.max-w-6xl > div:first-child h2 {
    font-size: 2rem !important;
  }
}
