.key_nbs {
    position: relative;
    text-align: center;
    background: linear-gradient(to right, #f5eacb 0%, #b9a878 100%);
}

.key_nbs::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/wp-content/themes/kn/img/pattern_key_nbs.svg");
    z-index: 0;
}

.key_nbs .row {
    gap: 24px 0;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.key_nbs .container {
    --bs-gutter-x: 24px;

    position: relative;
    z-index: 1;
}

.key_nbs .top {
    color: #423f47;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 12px;
    font-weight: 900;
    text-align: left;
}

.key_nbs .key_nbs__grid {
    display: grid;
    grid-template-columns: repeat(var(--nb-chiffres), 1fr);
    gap: 50px;
}

@media (width <= 1200px) {
    .key_nbs .key_nbs__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (width <= 580px) {
    .key_nbs .key_nbs__grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 25px;
    }
}

.key_nbs .chiffre {
    text-align: left;
    position: relative;
    border: 1px solid #fff;
    border-radius: 16px;
    padding: 24px 40px;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 8px #fffcf575;
}

.key_nbs .chiffre:hover {
    background: #fffcf575;
    box-shadow: 0 0 0 4px #fffcf575;
}

@media (width >= 1200px) {
    .key_nbs .top {
        font-size: 60px;
        margin-bottom: 7px;
    }
}

.key_nbs .chiffre__label {
    margin: 0;
    text-align: left;
}

.key_nbs .chiffre__prefix,
.key_nbs .chiffre__suffix {
    font-size: 30px;
    font-weight: 300;
}
