@import "_global.css";

#city-index-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 430px;
  padding: var(--space-hero-block) 20px;
  overflow: hidden;
  background: #17351e;
  color: #fff;

  .background-image, .overlay { position: absolute; inset: 0; }
  .background-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .overlay { background: linear-gradient(90deg, rgb(10 31 17 / 93%) 0%, rgb(10 31 17 / 74%) 54%, rgb(10 31 17 / 38%) 100%); }
  .content-wrap { position: relative; width: 100%; max-width: var(--content-max-width); margin: auto; }
  .content { max-width: 900px; }
  .tagline { margin-bottom: var(--space-eyebrow-heading); color: #e9eedc; font-size: .82rem; font-weight: 800; letter-spacing: .125em; text-transform: uppercase; }
  h2 { max-width: 880px; margin-bottom: var(--space-heading-copy); font-size: var(--type-hero); line-height: var(--leading-hero); text-wrap: balance; overflow-wrap: anywhere; }
}

#city-index-content-1 {
  padding: 80px 20px 16px;

  .content-wrap {
    max-width: var(--content-max-width);
    margin: 0 auto;
    display: flow-root;
  }

  h1 {
    margin-bottom: var(--space-heading-copy);
  }

  p {
    margin-bottom: 0;
  }
}

#service-area-links {
  padding: 16px 20px 80px;

  .content-wrap {
    max-width: var(--content-max-width);
    margin: 0 auto;
  }

  .button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    .button {
      justify-content: center;
    }
  }

  @media (max-width: 950px) {
    .button-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 700px) {
    .button-grid {
      grid-template-columns: 1fr;
    }
  }

 .map {
  aspect-ratio: 16 / 9;
  margin-top: 32px;
  overflow: hidden;
  border-radius: var(--rounding-medium);
  background-color: color-mix(in srgb, var(--font-ink-color) 5%, var(--white));

  iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
  }
 }
}
@media (max-width: 700px) {
  #city-index-hero { min-height: 0; text-align: center; }
  #city-index-hero .overlay { background: rgb(10 31 17 / 78%); }
  #city-index-hero .action-buttons { justify-content: center; }
}