h2.counter-text-head {
    font-size: var(--heading-size-mobile);
}

.main-text-counter-items {
    background: var(--bg);
    padding-left: 15px;
    padding-right: 15px;
}

.main-text-counter-header {
    text-align: center;
}

h2.counter-text-head {
    font-family: 'GT America Bold' !important;
    margin: 0 0 30px 0;
}

.main-text-counter-content {
    font-size: 16px;
    line-height: 1.5;
}

span.text-top-txt-counter,
span.text-bottom-txt-counter {
    font-size: 1.5625vw;
    color: #000000;
    font-family: 'GT America Bold';
    text-transform: capitalize;
}

.text-main-txt-counter {
    font-size: 6.2500vw;
    color: #A53E04;
    font-family: 'GT America Bold';
    line-height: 1.2;
}

.main-text-counter-items-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    margin: 2.6042vw 0 0 0;
}

.text-block-counter-inner {
    text-align: center;
}

.text-main-txt-counter {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.text-main-txt-counter {
    height: 1em;
    overflow: hidden;
    font-size: 6.2500vw;
    position: relative;
}

.number-inner {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 2s ease-out;
}

.number-inner span {
    height: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media(max-width: 1260px) {
    h2.counter-text-head {
        margin: 0 0 12px 0;
    }
}


@media(min-width: 769px) {
    .main-text-counter-items {
        padding-top: var(--padding-top);
        padding-bottom: var(--padding-bottom);
    }

    h2.counter-text-head {
        font-size: var(--heading-size-desktop);
    }

    .main-text-counter-content {
        font-size: 1.0417vw;
        line-height: 1.5;
    }
}

@media(max-width: 768px) {
    .main-text-counter-items {
        padding-top: var(--padding-top-mobile);
        padding-bottom: var(--padding-bottom-mobile);
    }

    .main-text-counter-content {
        font-size: 14px;
    }

    .main-text-counter-items-blocks {
        margin: 36px 0 0 0;
        gap: 42px;
        grid-template-columns: 1fr;
    }

    span.text-top-txt-counter,
    span.text-bottom-txt-counter {
        font-size: 16px;
    }

    .text-main-txt-counter {
        font-size: 60px;
        margin: 14px 0;
    }

    .main-text-counter-content br {
        display: none;
    }
}