/* Compact mobile-friendly local-area links: design-only, content unchanged. */
a.card[href^="auto-locksmith-"] {
  position: relative;
  display: block;
  min-height: 100px;
  padding: 16px 17px 15px 60px;
  border-radius: 12px;
}
a.card[href^="auto-locksmith-"]::before {
  content: "";
  position: absolute;
  width: 29px;
  height: 29px;
  left: 17px;
  top: 17px;
  background: url("assets/huttoft-favicon.svg") center / contain no-repeat;
}
a.card[href^="auto-locksmith-"] h3 {
  margin: 0 0 5px;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -.01em;
}
a.card[href^="auto-locksmith-"] p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
a.card[href^="auto-locksmith-"]:focus-visible {
  outline: 3px solid #1189c5;
  outline-offset: 3px;
}
@media(max-width: 520px) {
  a.card[href^="auto-locksmith-"] {
    min-height: 85px;
    padding: 13px 13px 13px 53px;
  }
  a.card[href^="auto-locksmith-"]::before {
    width: 26px;
    height: 26px;
    left: 14px;
    top: 13px;
  }
  a.card[href^="auto-locksmith-"] h3 { font-size: 16px; }
  a.card[href^="auto-locksmith-"] p { font-size: 12px; }
}

/* The six main service cards are also compact on mobile. */
#services .card {
  position: relative;
  min-height: 104px;
  padding: 17px 17px 15px 63px;
}
#services .card .icon {
  position: absolute;
  top: 17px;
  left: 16px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f6c32f;
  font-size: 18px;
}
#services .card h3 {
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 5px;
}
#services .card p {
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media(max-width: 520px) {
  #services .card { min-height: 86px; padding: 13px 13px 13px 54px; }
  #services .card .icon { width: 27px; height: 27px; top: 13px; left: 13px; font-size: 15px; }
  #services .card h3 { font-size: 16px; }
  #services .card p { font-size: 12px; }
}

/* Historic business photograph and its small, visible date caption. */
.gallery .historical-van { margin: 0; min-width: 0; }
.gallery .historical-van img { width: 100%; }
.gallery .historical-van figcaption { color: #304a61; font-size: 11px; font-weight: 750; line-height: 1.35; padding: 5px 2px; text-align: center; }
