/**
 * Pool Ready Home - shared stat counters row
 * Used by page-about.php and page-location.php.
 */

.prh-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--prh-space-6);
  padding: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-radius: var(--prh-radius-xl);
  background: var(--prh-grey-50);
}

.prh-stat {
  position: relative;
  padding-inline: var(--prh-space-4);
  text-align: center;
}

.prh-stat + .prh-stat::before {
  content: "";
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 0;
  width: 1px;
  background: var(--prh-grey-100);
}

.prh-stat__value {
  display: block;
  margin-bottom: var(--prh-space-2);
  color: var(--prh-teal);
  font-size: var(--prh-fs-h2);
  font-weight: var(--prh-fw-bold);
  line-height: 1;
}

.prh-stat__label {
  display: block;
  color: var(--prh-grey-500);
  font-size: var(--prh-fs-sm);
}

@media (max-width: 780px) {
  .prh-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: var(--prh-space-8);
  }

  .prh-stat + .prh-stat::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .prh-stats__grid {
    grid-template-columns: 1fr;
  }
}
