/* ============================================
   STATS BLOCK
   ============================================ */

.stats-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.stats-container {
    width: 100%;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* 1px gap on a border-coloured wrapper = hairline dividers between items */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #e5e7eb;
}

.stat-item {
    background: #ffffff;
    text-align: center;
    padding: 36px 24px;
}

/* ── Number ── */
.stat-number {
    font-family: 'Georgia', serif;
    font-size: 2.8rem !important;
    font-weight: 700;
    color: var(--wp--preset--color--navy, #0f1f3d);
    line-height: 1;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
}

/* Italic text in the number renders as gold (same pattern as hero h1 em) */
.stat-number em {
    color: var(--wp--preset--color--gold, #c9a84c);
    font-style: normal;
}

/* ── Label ── */
.stat-label {
    font-family: 'Arial', sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0 !important;
}

/* ── Background colour variant — stat items inherit the block bg ── */
.stats-block[style*="background"] .stat-item {
    background: transparent;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 782px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .stat-number {
        font-size: 2.2rem !important;
    }
}
