header {
    background: var(--main-bg);
    .wrapper {
        box-shadow: 0px 2px 12px 0px #0000001A;
    }
}
main {
    padding-top: 120px;
    padding-bottom: 120px;
    position: relative;
    & > img {
        position: absolute;
        width: 154px;
        right: 28px;
        top: 180px;
    }
}
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 40px;
    a {
        font-size: 16px;
        line-height: 20px;
        color: var(--text-2);
    }
    span {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 16px;
        height: 16px;
        &::before {
            content: '\e010';
            font-family: 'icon';
            font-size: 8px;
            line-height: 10px;
            color: var(--text-2);
        }
    }
    p {
        font-size: 16px;
        line-height: 20px;
        font-weight: 600;
        color: var(--title);
    }
}
.promo {
    display: flex;
    flex-direction: column;
    margin-bottom: 64px;
    h1 {
        font-size: 60px;
        line-height: 64px;
        font-weight: 600;
        color: var(--title);
        margin-bottom: 24px;
    }
    p {
        font-size: 24px;
        line-height: 32px;
        max-width: 745px;
    }
}
.docs {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 745px;
    .item {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 16px;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 16px;
        transition: .3s linear;
        position: relative;
        &:hover {
            background: #edfffa;
        }
        h2 {
            font-size: 20px;
            line-height: 24px;
            font-weight: 500;
            color: var(--title);
        }
        p {
            font-size: 14px;
            line-height: 20px;
        }
        a {
            position: absolute;
            inset: 0;
        }
    }
}
@media screen and (max-width: 1640px) {
    main {
        padding-top: 96px;
        padding-bottom: 96px;
        & > img {
            top: 160px;
        }
    }
}
@media screen and (max-width: 1239px) {
    main {
        padding-top: 64px;
        padding-bottom: 64px;
        & > img {
            display: none;
        }
    }
    .breadcrumbs {
        gap: 8px;
        margin-bottom: 32px;
        a {
            font-size: 14px;
            line-height: 16px;
        }
        p {
            line-height: 16px;
        }
    }
    .promo {
        margin-bottom: 40px;
        h1 {
            font-size: 40px;
            line-height: 48px;
            margin-bottom: 20px;
        }
        p {
            font-size: 20px;
            line-height: 28px;
        }
    }
    .docs {
        .item {
            h2 {
                font-size: 18px;
            }
            p {
                font-size: 12px;
                line-height: 16px;
            }
        }
    }
}
@media screen and (max-width: 599px) {
    main {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .breadcrumbs {
        margin-bottom: 24px;
        overflow: auto;
        &::-webkit-scrollbar {
            width: 0;
            height: 0;
        }
        a, p {
            white-space: nowrap;
        }
    }
    .promo {
        margin-bottom: 28px;
        h1 {
            font-size: 36px;
            line-height: 40px;
            margin-bottom: 16px;
        }
        p {
            font-size: 18px;
            line-height: 24px;
        }
    }
    .docs {
        .item {
            gap: 12px;
            padding: 12px;
        }
    }
}