.stats {
    position: relative;
    padding: 0;
}

.stats__container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--spacing-8);
}

.stats__grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 11px;
    width: 787px;
    height: 102px;
    margin: 0 auto 35px auto;
    backdrop-filter: blur(6.7px);
    border-radius: 20px;
}

.stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 21px 20px;
    gap: 4px;
    width: 247px;
    height: 102px;
    border-radius: 12px;
    flex: none;
    align-self: stretch;
    flex-grow: 1;
}

/* Divider between items using pseudo-element */
.stat-item:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 72px;
    background: #4D4F45;
}

.stat-item__value {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 36px;
    text-align: center;
    color: #FFFFFF;
}

.stat-item__label {
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: #FFFFFF;
}

/* ==========================================================================
   Mobile Stats Styles
   Base: 375px | Breakpoint: 640px
   ========================================================================== */

@media (max-width: 640px) {
    .stats {
        padding: 0;
    }

    .stats__container {
        padding: 0 25px;
    }

    .stats__grid {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        gap: 15px;
        width: 325px;
        height: 44px;
        margin: 0 auto 35px auto;
        backdrop-filter: blur(6.7px);
        border-radius: 20px;
    }

    .stat-item {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 21px 20px;
        gap: 4px;
        width: 87.67px;
        height: 44px;
        border-radius: 12px;
        flex: none;
        align-self: stretch;
        flex-grow: 1;
    }

    /* Divider between items */
    .stat-item:not(:first-child)::before {
        height: 52px;
        left: -8px;
    }

    .stat-item__value {
        font-size: 20px;
        line-height: 28px;
    }

    .stat-item__label {
        font-size: 12px;
        line-height: 20px;
        letter-spacing: -0.02em;
        text-transform: lowercase;
        white-space: normal;
    }
}

