/* ===========================
   Stats Pills (Mobile First)
   =========================== */

.stats-pills__container {
    border-radius: 14px;
    padding: 32px 24px;
    box-shadow: 0 0 32.73px 0 rgba(0, 0, 0, 0.1);
}

.stats-pills__tray {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}

.stats-pills__item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: center;
    justify-items: center;
    text-align: center;
    min-width: 0;
}

.stats-pills__value {
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
    font-size: 32px;
    line-height: 36px;
    color: var(--orange);
}

.stats-pills__label {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.stats-pills__item:nth-child(4n+1) {
    min-width: 30px;
}

.stats-pills__item:nth-child(4n+2) {
    min-width: 85px;
}

.stats-pills__item:nth-child(4n+3) {
    min-width: 115px;
}

.stats-pills__item:nth-child(4n) {
    min-width: 95px;
}

.stats-pills__item:nth-child(4n+2) .stats-pills__value {
    color: var(--primary-red);
}

.stats-pills__item:nth-child(4n+3) .stats-pills__value {
    color: var(--dark-red);
}

.stats-pills__item:nth-child(4n+4) .stats-pills__value {
    color: var(--black);
}

/* ---------------------------
     Responsive Enhancements
     --------------------------- */

@media (min-width: 641px) {
    .stats-pills__tray {
        grid-template-columns: 1fr 1fr;
        gap: 28px 22px;
    }
}

@media (min-width: 1025px) {
    .stats-pills__container {
        padding: 53px 76px;
    }

    .stats-pills__tray {
        grid-auto-flow: column;
        grid-auto-columns: auto;
        grid-template-columns: unset;
        gap: 20px;
    }

    .stats-pills__item {
        grid-template-columns: auto 1fr;
        text-align: left;
        justify-items: start;
        gap: 12px;
    }

    .stats-pills__value {
        font-size: 44px;
        line-height: 46px;
    }

    .stats-pills__label {
        font-size: 15px;
        line-height: 24px;
        max-width: none;
    }
}
