.spanish-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-inline-start: 1.25rem;
}

.spanish-services a {
  overflow-wrap: anywhere;
}

.service-hero figure img {
  height: auto;
}

/* Intrinsic image dimensions must not set the minimum grid column size. */
.service-hero .hero-copy {
  min-inline-size: 0;
}

.service-hero figure {
  margin-inline: 0;
}

.service-hero figure img {
  display: block;
  max-inline-size: 100%;
}

@media (max-width: 1024px), (pointer: coarse) {
  .spanish-services li > a,
  .service-content li > a:only-child {
    display: inline-flex;
    align-items: center;
    min-block-size: 44px;
    min-inline-size: 44px;
  }
}
