.location-hero h1 {
  max-width: 760px;
}

.location-page .hero-copy,
.location-page .hero-media,
.brand-page .hero-copy,
.brand-page .hero-media,
.directory-page .hero-copy,
.directory-page .hero-media {
  animation: none;
}

.location-page main > section:nth-of-type(n + 3),
.brand-page main > section:nth-of-type(n + 3),
.directory-page main > section:nth-of-type(n + 3) {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.dark-eyebrow {
  color: var(--blue);
  background: #eaf2ff;
}

.location-intro-card .lead {
  margin-bottom: 18px;
}

.location-intro-card p:last-child {
  margin-bottom: 0;
}

.call-card .text-link {
  width: fit-content;
  margin-top: 18px;
  color: #dce9fb;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.linked-card {
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.linked-card:hover,
.linked-card:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 18px 42px rgba(8, 22, 46, 0.13);
  transform: translateY(-3px);
}

.linked-card strong {
  display: inline-block;
  margin-top: 18px;
  color: var(--blue);
  font-size: 0.9rem;
}

.brand-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.brand-link-grid a,
.brand-link-grid > span {
  min-height: 56px;
  display: grid;
  place-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-weight: 800;
  text-align: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.brand-link-grid > span {
  color: var(--ink);
}

.brand-link-grid a:hover,
.brand-link-grid a:focus-visible {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.brand-disclaimer,
.map-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.local-area-grid,
.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: auto;
  min-height: 430px;
  display: block;
  border: 0;
  aspect-ratio: 4 / 3;
}

.map-card > a {
  min-height: 52px;
  display: grid;
  place-items: center;
  padding: 12px 18px;
  color: var(--blue);
  font-weight: 800;
  text-align: center;
}

.local-area-copy h3 {
  margin-top: 24px;
}

.check-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 27px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green);
  content: "\2713";
  font-weight: 900;
}

.nearby-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.nearby-chips a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 800;
}

.route-grid {
  align-items: stretch;
}

.route-grid > article,
.route-facts {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 13px 34px rgba(8, 22, 46, 0.08);
}

.route-grid > article p {
  color: var(--muted);
}

.route-button {
  margin-top: 8px;
  color: var(--white);
  background: var(--blue);
}

.route-facts {
  display: grid;
  align-content: center;
}

.contextual-links .related-card {
  min-height: 138px;
}

.centered-actions {
  justify-content: center;
}

.site-footer p,
.site-footer p a {
  color: #c8d4e4;
}

.mobile-cta a:first-child {
  background: #c44b0b;
}

.centered-link {
  margin-top: 28px;
  text-align: center;
}

.directory-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.location-directory-grid,
.brand-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.location-directory-grid a,
.brand-directory-grid a {
  min-height: 92px;
  display: grid;
  align-content: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--white);
  box-shadow: 0 9px 25px rgba(8, 22, 46, 0.05);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.location-directory-grid a:hover,
.location-directory-grid a:focus-visible,
.brand-directory-grid a:hover,
.brand-directory-grid a:focus-visible {
  border-color: var(--blue);
  transform: translateY(-2px);
}

.location-directory-grid strong,
.location-directory-grid span,
.brand-directory-grid strong,
.brand-directory-grid span,
.brand-directory-grid b {
  display: block;
}

.location-directory-grid span,
.brand-directory-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.brand-directory-grid a {
  min-height: 154px;
}

.brand-directory-grid b {
  margin-top: 13px;
  color: var(--blue);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .brand-link-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .local-area-grid,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .location-directory-grid,
  .brand-directory-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .map-card {
    order: 2;
  }
}

@media (max-width: 640px) {
  .brand-link-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand-link-grid a {
    min-height: 52px;
    padding-inline: 10px;
    font-size: 0.9rem;
  }

  .map-card iframe {
    min-height: 300px;
  }

  .route-grid > article,
  .route-facts {
    padding: 23px;
  }

  .location-directory-grid,
  .brand-directory-grid {
    grid-template-columns: 1fr 1fr;
  }

  .route-button {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .brand-link-grid {
    grid-template-columns: 1fr;
  }

  .location-directory-grid,
  .brand-directory-grid {
    grid-template-columns: 1fr;
  }
}
