.sustainability section.key-figures {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 10rem 20rem;
}

.sustainability .key-figures h2 {
    padding: 0 10rem;
    background-color: var(--highlight-bg);

    color: white;
}

.sustainability .subpage .key-figures h2 {
    background-color: var(--blue);
}

.sustainability .figures {
    overflow: hidden;
}

.sustainability .figures__inner {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.figures__cell {
    position: relative;
    z-index: 1;

    overflow: hidden;

    height: 100%;
}

.figures__cell__inner {
    /*
    Используем margin для X, а padding для Y,
    чтобы давать отступ по краям нижней рамки, но не сдвигать её вниз
    */
    height: 100%;
    padding: 2.5rem 0;
    border-bottom: 2px solid var(--divider);
    margin: 0 2.5rem;
}

.figures__cell:nth-last-child(-n + 2) {
    padding-bottom: 0;
    border: none;
}

.figures__cell strong {
    font-size: 1.5em;
}

.figures__cell__title {
    color: var(--darkblue);
    font-size: 7.5rem;
    font-weight: bold;
    white-space: nowrap;

    transition: all 0.4s ease-in-out;
}

.subpage .figures__cell__title {
    color: var(--blue)
}

.figures__cell.image {
    width: 100%;
    height: auto;
    padding: 0;
    border: none;
}

.figures__cell.image img {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.figures__cell.gray .figures__cell__title {
    color: #9d9d9d;
}

.figures__cell.gray .i-decrease {
    fill: #9d9d9d;
}

.figures .swiper-pagination {
    position: relative;
    bottom: 0 !important;
    left: 0 !important;
    display: none;
}

.figures .swiper-pagination-bullet {
    width: 1rem;
    height: 1rem;

    margin: 0 0.5rem !important;

    background: var(--item-inactive);
}

.figures .swiper-pagination-bullet-active {
    background: var(--darkblue);
    opacity: 100%;
}

.subpage .figures .swiper-pagination-bullet-active {
    background: var(--blue);
}

@media screen and (max-width: 1280px) {
    .sustainability section.key-figures {
        padding: 5rem;
    }
}

@media screen and (max-width: 1024px) {
    .figures__inner {
        grid-template-columns: 1fr 1fr;
    }

    .figures__cell.image {
        display: none;
    }

    .figures__cell__title {
        font-size: 5rem;
    }
}

@media screen and (max-width: 768px) {
    .sustainability section.key-figures {
        padding: 2rem 2.5rem 5rem;
        gap: 1rem;
    }

    .sustainability .key-figures h2 {
        padding: 0 5rem;
    }

    .figures {
        position: relative;
        max-width: 100%;
        height: 100%;
    }

    .sustainability .figures__inner {
        display: flex !important;
        height: 100%;

        max-height: 100%;

        padding-bottom: 1rem;
    }

    .figures__cell {
        display: flex;
        justify-content: center;
    }

    .figures__cell__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 75%;
        padding: 1rem 0;

        border: none;

        text-align: center;
    }

    .figures .swiper-pagination {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .sustainability .key-figures h2 {
        padding: 0 2.5rem;
    }

    .figures__cell__inner {
        max-width: 75%;
    }
}
