/* Stat counter strip — markup: app/views/components/stat-strip.php */

.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--s-6);
}
.stat-strip--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-strip--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.stat {
    position: relative;
    padding-left: var(--s-6);
    border-left: 1px solid var(--border);
}
.stat:first-child { padding-left: 0; border-left: 0; }

.stat__value {
    font-family: var(--font-display);
    font-size: var(--fs-3xl);
    font-weight: 800;
    line-height: 1;
    letter-spacing: var(--ls-tight);
    color: var(--c-gold);
    /* Keeps the row from reflowing as the numbers count up. */
    font-variant-numeric: tabular-nums;
}

.stat__label {
    margin-top: var(--s-3);
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

@media (max-width: 767px) {
    .stat-strip,
    .stat-strip--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-5); }

    /* With two per row, the divider belongs on every second item instead. */
    .stat { padding-left: var(--s-5); }
    .stat:nth-child(odd) { padding-left: 0; border-left: 0; }
}
