/* Service cards grid (template-parts/service-cards.php): 1 column on phones, then as many 280px+ columns as fit */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-xl) var(--space-l);
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card-image {
  display: block;
  margin-bottom: var(--space-s);
}

.service-card-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-card h3 {
  margin: 0 0 var(--space-xs);
}

.service-card h3 a {
  color: inherit;
}

.service-card h3 a:hover {
  color: var(--orange);
}

.service-card-text p:last-child {
  margin-bottom: 0;
}

/* Keep buttons aligned along the bottom of each row */
.service-card .vc_btn3-container {
  margin: auto 0 0;
  padding-top: var(--space-m);
}
