.statistics-component {
    display: grid;
    text-align: center;
    gap: 30px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.wp-block-columns .statistics-component {
    grid-template-columns: 1fr 1fr;
}

.statistics-component.text-align-center {
    text-align: center;
}

.statistics-component.text-align-left {
    text-align: left;
}


.statistics-component .statistic-inner {
    color: var(--stat-color);
    border-radius: 6px;
    background: var(--stat-background-color);
    padding: 30px;
    position: relative;
    box-shadow: var(--box-shadow);
}

.statistics-component .image {
    height: 50px;
    margin-bottom: 20px;
}

.statistics-component.text-align-center .image img {
    margin: 0 auto;
    max-height: 100%;
    width: auto;
}

.statistics-component .title {
    color: var(--stat-title-color);
    font-weight: 700;
    font-size: 35px;
    line-height: 1.16;
    margin: 0 0 5px;
}

.statistics-component .text {
    font-weight: 700;
    font-size: 16px;
    margin: 0;
}

/* On primary */
.section--primary .statistics-component .statistic-inner,
.section--primary-half-width .statistics-component .statistic-inner {
    box-shadow: none;
    background-color: transparent;
    color: var(--stat-color-on-primary);
}

.section--primary .statistics-component .title,
.section--primary-half-width.horizontal .statistics-component .title {
    color: var(--stat-title-color-on-primary);
}


@media (max-width: 1199px) and (min-width: 992px){
    .statistics-component .statistic-inner {
        padding: 105px 20px 20px;
    }

}


@media only screen and (max-width: 991px) {
    .statistics-component {
        flex-wrap: wrap;
        gap: 20px;
        grid-template-columns: 1fr 1fr;
    }

}

@media only screen and (max-width: 767px) {
    
    .statistics-component .statistic-inner {
        padding: 70px 20px 20px;
    }

    .statistics-component .statistic-inner:before {
        width: 50px;
        height: 50px; 
        line-height: 40px;
        top: 15px;
    }

    .statistics-component .title {
        font-size: 30px;
        margin-bottom: 10px;
    }

    .statistics-component .text {
        font-size: 16px;
        line-height: 1.3;
    }
}