/* ==========================================================================
   Stat strip (JDIOWA) - "Industrial Synergy" design tokens:
   peach surface-container-high cards, Space Grotesk numbers, Inter labels.
   ========================================================================== */

.rs-stats-area {
    --jd-card-bg: #fce3da;
    --jd-icon-bg: #f6ddd5;
    --jd-icon-color: #a23a00;
    --jd-number-color: #261914;
    --jd-label-color: #594138;
}

.rs-stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 22px 24px;
    background: var(--jd-card-bg);
    border-radius: 12px;
    min-width: 0;
}

.rs-stat-text {
    min-width: 0;
}

.rs-stat-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--jd-icon-bg);
    color: var(--jd-icon-color);
    font-size: 20px;
}

.rs-stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--jd-number-color);
    margin: 0 0 4px;
    white-space: nowrap;
}

.rs-stat-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--jd-label-color);
}

/* Tablet: gutters shrink a touch so cards keep their breathing room. */
@media only screen and (max-width: 991px) {
    .rs-stat-card {
        padding: 20px;
        gap: 14px;
    }
}

/* Phones: two cards per row (see col-6 in markup), so padding/gap/icon
   and type scale down together to keep labels on one or two clean
   lines instead of wrapping mid-word. */
@media only screen and (max-width: 575px) {
    .rs-stat-card {
        padding: 16px;
        gap: 10px;
        border-radius: 10px;
    }

    .rs-stat-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .rs-stat-number {
        font-size: 19px;
        margin-bottom: 2px;
    }

    .rs-stat-label {
        font-size: 12px;
    }
}

@media only screen and (max-width: 380px) {
    .rs-stat-card {
        padding: 12px;
        gap: 8px;
    }

    .rs-stat-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .rs-stat-number {
        font-size: 17px;
    }

    .rs-stat-label {
        font-size: 11px;
    }
}
