/* Colours/layout replicated from the Oxygen "Impact Stats" block (oxy_user_library
   post 23569): background(#004e5a -> #05262e), lime values (#c0e007), white
   labels/dividers (#ffffff). Unlike the Oxygen version this supports any
   number of stats, wrapping onto new rows instead of being fixed at 4. */

.stats-block {
    padding-top: 84px;
    padding-bottom: 84px;
    background: linear-gradient(#05262e,#05262e);
}
@media (max-width: 991px) {
    .stats-block {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

.stats-block .stats-heading {
    margin: 0 auto 32px;
    color: #f9f9f9;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}
@media (max-width: 991px) {
    .stats-block .stats-heading {
        font-size: 28px;
        margin-bottom: 0;
    }
}

.stats-block .stats-row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    row-gap: 1rem;
}

.stats-block .stat-item {
    flex: 1 1 0;
    min-width: 140px;
    padding: 0 24px;
    text-align: center;
    border-right: 1px solid #ffffff;
}
.stats-block .stat-item:last-child {
    border-right: none;
}

.stats-block .stat-value {
    font-family: psfournier-std-grand, "times new roman", serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 96px;
    color: #c0e007;
}

.stats-block .stat-label {
    color: #f9f9f9;
    font-size: 18px;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .stats-block .stat-item {
        flex-basis: 40%;
        border-right: none;
        margin-bottom: 32px;
    }
    .stats-block .stat-value {
        font-size: 48px;
        line-height: 1.3;
    }
}

@media (max-width: 600px) {
    .stats-block .stats-row {
        flex-direction: column;
        align-items: center;
    }
    .stats-block .stat-item {
        flex-basis: auto;
        width: 100%;
        max-width: 100%;
    }
}

/* Editor */
#editor .stats-block .stats-heading,
#editor .stats-block .stat-label {
    color: #f9f9f9;
}
