@media screen and (min-width: 480px) {
    .keynumbers-list-steps.col-2 {
        --col: 468px;
    }
}

@media screen and (min-width: 480px) {
    .keynumbers-list-steps.col-3 {
        --col: 384px;
    }
}

@media screen and (min-width: 480px) {
    .keynumbers-list-steps.col-4 {
        --col: 272px;
    }
}

.keynumbers-list-steps--container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media screen and (min-width: 576px) {
    .keynumbers-list-steps--container {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: clamp(8px, 4.44vw, 64px);
    }
}

.keynumbers-list-steps--item {
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 576px) {
    .keynumbers-list-steps--item {
        max-width: var(--col);
        flex: var(--col);
    }
}

.keynumbers-list-steps .number-container {
    position: relative;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    overflow-y: clip;
}

.keynumbers-list-steps .number-container .number {
    font-size: 72px;
    font-family: var(--aileron);
    font-weight: 300;
    color: var(--accent-1);
    display: inline-block;
    line-height: 60px;
    position: relative;
    transform: translateY(100%);
    transition: transform .6s ease;
}

.keynumbers-list-steps.maroc .number-container .number {
    color: var(--maroc);
}

.keynumbers-list-steps.maroc .number-container .suffix {
    color: var(--maroc);
}

.keynumbers-list-steps .number-container .suffix {
    color: var(--primary-green);
    opacity: .4;
    font-size: 40px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(calc(100% + 8px), -50%);
}

.keynumbers-list-steps .number-container .mask {
    height: 8px;
    width: 100%;
    background: var(--white);
    position: absolute;
    bottom: 0;
    left: 0;
    border-top: 1px solid var(--accent-2);
}

.keynumbers-list-steps .legend {
    color: var(--accent-1);
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 300;
    display: block;
    margin-top: 8px;
}

.keynumbers-list-steps--item.active .number {
    transform: translateY(0);
}