.counter-block {
    position: relative;
    background-color: var(--dove, #E7E2D8);
    border-bottom: var(--border);
}
.counter-block::before,
.counter-block::after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    top: 0;
    left: 0;
}
.counter-block::before {
    top: 2.1rem;
    border-top: var(--border);
}
.counter-block::after {
    top: auto;
    bottom: 2.1rem;
    border-bottom: var(--border);
}
.counter-block__list {
    padding-block: 7rem!important;
    padding-inline: 2.5rem!important;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    list-style-type: none;
    row-gap: 3.6rem;
}
.counter-block__item {
    flex: 0 1 50%;
    max-width: 50%;
    padding-inline: 1.5rem;
    text-align: center;
}
.counter-block__item h3 {
    text-transform: uppercase;
    margin: 0 0 1rem;
}
@media only screen 
and (min-width: 961px) {
    .counter-block::before {
        top: 2.4rem;
    }
    .counter-block::after {
        bottom: 2.4rem;
    }
    .counter-block .row {
        height: 20rem;
    }
    .counter-block__list {
        padding-block: 0!important;
        padding-inline: 8.3rem!important;
        justify-content: flex-start;
        align-items: center;
        column-gap: 4rem;
        row-gap: 0;
    }
    .counter-block__item {
        padding-inline: 0;
        flex: 0 1 calc(100% / 6 - 3.4rem);
        max-width: calc(100% / 6 - 3.4rem);
    }
    .counter-block__item h3 {
        margin: 0 0 .8rem;
    }
}
@media only screen 
and (max-width: 960px) {
    .counter-block__item .has-paragraph-body {
        --fs: 1.4rem;
    }
    .counter-block__item {
        padding-inline: 1rem;
    }
}


/* Animations 
------------------------------------ */
:where(#wrapper) .counter-block__item {
	opacity: 0;
	--duration: 1s;
}
:where(#wrapper) .counter-block.animateActive .counter-block__item {
	animation: fade var(--duration) forwards;
	animation-delay: var(--delay, 0);
}
:where(#wrapper) .counter-block.animateActive .counter-block__item:nth-child(1) {
    --delay: 0.3s;
}
:where(#wrapper) .counter-block.animateActive .counter-block__item:nth-child(2) {
    --delay: 0.5s;
}
:where(#wrapper) .counter-block.animateActive .counter-block__item:nth-child(3) {
    --delay: 0.7s;
}
:where(#wrapper) .counter-block.animateActive .counter-block__item:nth-child(4) {
    --delay: 0.9s;
}
:where(#wrapper) .counter-block.animateActive .counter-block__item:nth-child(5) {
    --delay: 1.1s;
}
:where(#wrapper) .counter-block.animateActive .counter-block__item:nth-child(6) {
    --delay: 1.3s;
}
