body > .page-wrapper {
    padding-bottom: 1em;
}

.about-top {
    padding: 83px 0;
    background: var(--color-white);
    border-radius: 25px;
    box-shadow: 0 0 8px 4px #00000033;
    position: relative;
    overflow: hidden;
}

.about-top::before,
.about-top::after {
    content: "";
    position: absolute;
    aspect-ratio: 197 / 143;
    width: 197px;
    height: auto;
    background-size: cover !important;
}

.about-top::before {
    background: url("/local/templates/rolit.pro/assets/img/svg/about_angle-left.svg") no-repeat;
    left: 0;
    bottom: 0;
}

.about-top::after {
    background: url("/local/templates/rolit.pro/assets/img/svg/about_angle-right.svg") no-repeat;
    top: 0;
    right: 0;
}

.about-top img {
    aspect-ratio: 459 / 117;
    height: auto;
}

.about-middle {
    /*height: 227px;*/
    background: var(--color-white);
    font-size: 25px;
    font-weight: 500;
    border-radius: 25px;
    text-align: justify;
    line-height: 1.7;
    padding: 28px;
    letter-spacing: 0.7px;
    box-shadow: 0 0 8px 4px #00000033;
    margin-top: 52px;
}

.about-accent {
    font-family: var(--font-accent);
}

.about-main {
    margin-top: 55px;
    background: rgb(255, 255, 255, 0.6);
    box-shadow: 0 3px 12px 2px #00000040;
    border-radius: 25px;
    padding: 36px 95px 65px 100px;
}

.about-main--row {
    gap: 155px 0;

}

.about-item {
    background: #fff;
    line-height: 1.6;
    border-radius: 10px;
    box-shadow: 0 0 5px 3px #00000033;
    padding: 0 20px 28px 36px;
    position: relative;
}



.about-item:nth-child(odd)::after,
.about-item:nth-child(even)::after {
    content: "";
    position: absolute;
    background: url("/local/templates/rolit.pro/assets/img/svg/track.svg");
    background-repeat: no-repeat;
    aspect-ratio: 287 / 557;
    max-width: 287px;
    width: 100%;
    height: auto;

}

.about-item:nth-child(odd)::after,
.about-item:nth-child(even)::after {
    content: url("/local/templates/rolit.pro/assets/img/svg/track.svg");
    position: absolute;
    z-index: -1;
    top: 14%;
    left: 99%;
    background-size: contain;
    transform: rotate(-4deg);
}

.about-item:nth-child(odd)::after {

}

.about-item:nth-child(even)::after {
    transform: scaleX(-1);
    left: unset;
    right: 100%;
}

.about-item:nth-child(2)::after {
    top: 76%;
    right: 93%;
    transform: rotate(3deg) scaleX(-1);
}

.about-item:nth-child(3)::after {
    top: 46%;
    left: 100%;
    transform: rotate(-2deg);
}

.about-item:nth-child(4)::after {
    top: 15%;
    right: 101%;
    transform: rotate(3deg) scaleX(-1)
}

.about-item:last-child::after,
.about-item:last-child::after {
    content: unset;
}

.about-item--title {
    font-size: 48px;
    font-family: var(--font-accent);
    letter-spacing: 2px;
    margin-bottom: 0.25em;
}

.about-item--title img {
    margin: 15px 18px 0;
}

.about-item--text {
    font-size: 20px;
    font-weight: 600;
    padding-right: 2.5em;
}

.about-item--text p {
    text-align: justify;
}

.about-item--text .year {
    color: var(--color-rose);
}

.about-item--text .year {
    color: var(--color-rose);
}

.about-item ul {
    padding-left: 1rem;
}

.about-item ul li {
    margin-bottom: 8px;
}

.about-item ul li::marker {
    color: var(--color-rose);
}

.about-item:nth-child(1) .about-item--text {
    padding: 0;
    max-width: 550px;
}

.about-item:nth-child(1) p {
    margin-bottom: 0.5em;
}

@media screen and (max-width: 1199px) {
    .about-top {
        border-radius: 5px;
        padding: 22px 0;
    }

    .about-top img {
        max-width: 120px;
    }

    .about-top::before,
    .about-top::after {
        width: 50px;
    }

    .about-middle {
        font-size: 10px;
        border-radius: 5px;
        margin-top: 10px;
        padding: 8px 12px 8px 14px;
        letter-spacing: 0.5px;
    }

    .about-main {
        margin-top: 10px;
        background: none;
        box-shadow: none;
        padding: 0;
        padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5);
    }

    .about-main--row {
        gap: 10px 0;
    }

    .about-item {
        border-radius: 5px;
        padding: 2px 8px 10px 6px;
    }

    .about-item:nth-child(odd)::after,
    .about-item:nth-child(even)::after {
        content: unset;
    }

    .about-item--title {
        font-size: 21px;
        letter-spacing: 1.5px;
    }

    .about-item--title img {
        width: 13px;
        height: auto;
        order: 2;
        align-self: baseline;
        margin: 5px 0 0;
    }

    .about-item--text {
        font-size: 10px;
        padding-right: 2em;
    }

    .about-item--text p {
        margin-bottom: 0.5rem;
    }

    .about-story {
        background: #fff;
        text-align: center;
        font-size: 18px;
        padding: 3px;
        box-shadow: 0 0 8px 4px #00000033;
        border-radius: 5px;
        margin-top: 10px;
    }
}