﻿.counter-module--cards {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(2.5rem, 5vw, 5rem) 0;
    background: var(--counter-background, #007bff);
    color: #fff;
}
.counter-module--cards::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .6));
    pointer-events: none;
}
.counter-module__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}
.counter-module__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 1.25rem;
}
.counter-module--cards .counter-item {
    padding: 2rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .06);
    text-align: center;
    color: inherit;
}
.counter-module__icon { font-size: 2rem; margin-bottom: 1.25rem; }
.counter-module__number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: .12em;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.counter-module--cards .counter-suffix { font-size: .65em; }
.counter-module--cards .counter-module__label {
    margin: 1rem 0 0;
    color: inherit;
    font-size: 1rem;
    line-height: 1.6;
}
