/* Homepage product-grid cache-safe layout override.
   Keeps the two product families side by side and places the custom service
   across the complete row below them. */
.product-family-grid > .service-family-card {
  grid-column: 1 / -1;
  width: 100%;
}

.service-family-inner {
  display: grid;
  grid-template-columns: minmax(260px, 36%) minmax(0, 1fr);
  gap: 38px;
  align-items: center;
  padding: 30px;
}

.service-family-inner > div {
  min-width: 0;
}

.service-family-image {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(6, 20, 38, .2);
}

.service-family-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.service-family-card p {
  font-size: 1rem;
}

.service-family-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.service-family-points li {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
  background: #eaf2fb;
  font-size: .83rem;
  font-weight: 750;
}

@media (max-width: 960px) {
  .service-family-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .service-family-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-family-image {
    max-width: 420px;
  }
}

@media (max-width: 560px) {
  .service-family-inner {
    padding: 18px;
  }
}
