/* Version 152 — Niles uses the completed location-page design with its own storefront gallery. */
body.niles-page .mobil-page-hero h1 {
  width: min(100%, 1040px);
  max-width: 1040px !important;
  font-size: clamp(3.1rem, 6.4vw, 5.75rem) !important;
  line-height: .94 !important;
  letter-spacing: .012em !important;
  white-space: normal !important;
  text-align: center;
  text-wrap: balance;
}

body.niles-page .marysville-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.niles-page .niles-gallery-half {
  aspect-ratio: 16 / 9;
}

body.niles-page .niles-gallery-half img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.niles-page .niles-wash-card p:not(.marysville-eyebrow) {
  max-width: 760px;
  margin: 0 !important;
  color: #405571 !important;
  -webkit-text-fill-color: #405571 !important;
  line-height: 1.7;
  text-wrap: pretty;
}

@media (max-width: 760px) {
  body.niles-page .mobil-page-hero h1 {
    width: min(100%, 15ch);
    max-width: 15ch !important;
    font-size: clamp(2.5rem, 11.6vw, 3.5rem) !important;
    line-height: .96 !important;
  }

  body.niles-page .marysville-gallery {
    grid-template-columns: 1fr;
  }

  body.niles-page .niles-gallery-half {
    aspect-ratio: auto;
  }

  body.niles-page .niles-gallery-half img {
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 360px) {
  body.niles-page .mobil-page-hero h1 {
    font-size: 2.4rem !important;
  }
}
