.block-figures {
}
.is-style-columns .block-figures__list {
    justify-content: center;
}
.is-style-columns .block-figures__item {
    --custom-theme-flex-span: 4;
}
.is-style-columns .figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 19px;
    text-align: center;
    height: 293px;
    border-radius: 10px;
}

.is-style-columns .figure__figure {
    font-size: 5.625rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}
.is-style-columns .figure__text {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}

.is-style-rows {
    margin-top: 95px;
    margin-bottom: 60px;
}
.is-style-rows .block-figures__list {
    position: relative;
}
.is-style-rows .block-figures__list::before,
.is-style-rows .block-figures__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    border-top: 1px dotted;
    opacity: 0.5;
    width: 100%;
}
.is-style-rows .block-figures__item {
    position: relative;
    padding-bottom: 8px;
}
.is-style-rows .block-figures__item::before {
    top: auto;
    bottom: 0;
}

.is-style-rows .figure {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    background: none!important;
}

.is-style-rows .figure__figure {
    font-size: 8.125rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}
.is-style-rows .figure__text {
    flex: 0 0 156px;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
    padding-bottom: 15px;
    text-align: right;
}


@media screen and (max-width: 1439px) {

    .is-style-rows .figure__figure {
        font-size: 6rem;
    }
}


@media screen and (max-width: 991px) {
    .is-style-columns .block-figures__list {
        flex-wrap: wrap;
    }
    .is-style-columns .block-figures__item {
        --custom-theme-flex-span: 8;
    }
    .is-style-rows .figure__figure {
        font-size: 4rem;
    }
    .is-style-rows .figure__text {
        font-size: 1rem;
    }
}

@media screen and (max-width: 767px) {
    .is-style-rows {
        margin-left: calc(var(--wp--style--root--padding-left) * -1);
        margin-right: calc(var(--wp--style--root--padding-right) * -1);
        margin-top: 40px;
        margin-bottom: 60px;
    }
    .is-style-rows .block-figures__item {
        padding: 20px var(--wp--style--root--padding-right) 34px var(--wp--style--root--padding-left);
    }
    .is-style-rows .figure {
        flex-direction: column;
        align-items: flex-start;
    }
    .is-style-rows .figure__figure {
        font-size: min(12vw, 3rem);
    }
    .is-style-rows .figure__text {
        padding-bottom: 0;
        font-size: 1.25rem;
        flex: 1 1 auto;
        text-align: left;
    }
}
