/* About. */

.about {
    overflow: hidden;

    padding-bottom: 140px;
}

.about-label {

}

.about-top {
    flex-wrap: wrap;
}

.about-top:not(:first-child) {
    margin-top: var(--i4);
}

@media only screen and (min-width: 768px) {
    .about-top .richText {
        max-width: 50%;
    }
}

@media only screen and (max-width: 767px) {
    .about-list {
        max-width: 272px;
        margin-left: 20px;
    }

    .about-top .richText {
        line-height: 1.4;
    }
}

.about-list {
    counter-reset: count;
    overflow: visible !important;
}

.about-list:not(:first-child) {
    margin-top: var(--i3);
}

.about-li {
    --bdrs: 4px;

    position: relative;

    aspect-ratio: 4/5;
    height: 100%;
    -webkit-border-radius: var(--bdrs);
    -moz-border-radius: var(--bdrs);
    border-radius: var(--bdrs);
}

.about-li:not(.about-li-black) {
    background-color: var(--main);
}

.about-li:not(.about-li-image) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    grid-gap: var(--gap);

    padding: clamp(38px, 3.166vw, 56px);
}

.about-li-black {
    background-color: var(--black);
    border: 1px solid var(--white);
}

.about-li:not(.about-li-image):after {
    counter-increment: count;
    content: '( 0' counter(count) ' )';

    font-size: var(--h3);
    text-transform: uppercase;
    line-height: 1.1;
    font-family: var(--ff-title, 'serif');
}

.about-li-reverse {
    flex-direction: column-reverse !important;
}

.about-li .image {
    position: absolute;
    bottom: 0;
    left: 50%;

    width: 40%;
    aspect-ratio: 162/220;
    z-index: -1;

    -webkit-transform: translate3d(-50%, 63%, 0) rotate(-10deg);
    -moz-transform: translate3d(-50%, 63%, 0) rotate(-10deg);
    -ms-transform: translate3d(-50%, 63%, 0) rotate(-10deg);
    -o-transform: translate3d(-50%, 63%, 0) rotate(-10deg);
    transform: translate3d(-50%, 63%, 0) rotate(-10deg);
}

.about-li .image img,
.about-li-image img {
    -webkit-border-radius: var(--bdrs);
    -moz-border-radius: var(--bdrs);
    border-radius: var(--bdrs);
}

/* About. */