.box.text.stats-box {
    padding: 20px;
    min-width: 280px;
    max-width: 350px;
    flex: 1;

    &.stats-hero {
        padding: 25px;
        min-width: 220px;
        max-width: 280px;
    }
}

.stats-hero-label,
.stats-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 14px !important;
    font-weight: 500;
    color: var(--body_color_1);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-hero-label {
    margin-bottom: 10px;
}

.stats-hero-value {
    font-size: 42px;
    font-weight: 700;
    color: var(--body_color_1);
    line-height: 1;
    margin-bottom: 5px;
    word-spacing: -0.25em;
}

.stats-hero-period {
    font-size: 12px;
    font-weight: 400;
    color: var(--body_color_1);
    opacity: 0.6;
    margin-bottom: 15px;
}

.stats-hero-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--box_border);
}

.stats-hero-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-hero-detail-label {
    font-size: 12px;
    color: var(--body_color_1);
    opacity: 0.7;
}

.stats-hero-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--body_color_1);
    word-spacing: -0.25em;
}

.stats-group {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 0;
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 0;
    border-bottom: 1px solid var(--box_border);

    &:last-child {
        border-bottom: none;
    }
}

.stats-label {
    font-weight: 500;
    color: var(--body_color_1);
    font-size: 14px;
}

.stats-value {
    color: var(--body_color_1);
    font-size: 16px;
    text-align: right;
    word-spacing: -0.25em;
}

.stats-secondary {
    color: var(--body_color_1);
    opacity: 0.7;
    font-weight: normal;
}

@media (max-width: 1000px) {
    .stats-hero-value {
        font-size: 36px;
    }

    .box.text.stats-box,
    .box.text.stats-box.stats-hero {
        min-width: auto;
        width: 100%;
        max-width: 100%;
        margin-left: 0px;
        margin-right: 0px;
        box-sizing: border-box;
    }

    .stats-group {
        flex-direction: column;
        align-items: center;
    }
}
