#docs-item {
    padding: 162px 0 100px;

    .docs-item {
        display: flex;
        gap:     60px;

        .docs-lists {
            min-width:      320px;
            display:        flex;
            flex-direction: column;
            gap:            50px;
        }

        .docs-lists-mobile {
            display:         none;
            justify-content: space-between;

            .info {
                display:        flex;
                flex-direction: column;
                gap:            8px;

                & h6 {
                    font-size:      14px;
                    font-style:     normal;
                    font-weight:    600;
                    line-height:    20px; /* 142.857% */
                    color:          #FF3D71;
                }

                & div {
                    font-size:      14px;
                    font-style:     normal;
                    font-weight:    600;
                    line-height:    20px; /* 142.857% */
                    color:          #2F1D49;
                }
            }

            .mobile-list {
                .list-overlay {
                    display:          none;
                    position:         fixed;
                    top:              0;
                    left:             0;
                    width:            100%;
                    height:           100%;
                    z-index:          2000;
                    background-color: rgba(255, 255, 255, 0.3);
                }

                .list-modal {
                    max-height:      calc(100vh - 150px);
                    position:        absolute;
                    top:             83px;
                    left:            20px;
                    right:           20px;
                    border-radius:   10px;
                    background:      #FFF;
                    box-shadow:      0 14px 44px 0 rgba(0, 0, 0, 0.10);
                    padding:         20px;
                    overflow:        auto;
                    z-index:         20000;
                    display:         flex;
                    flex-direction:  row-reverse;
                    justify-content: space-between;
                    align-items:     baseline;

                    opacity:        0;
                    visibility:     hidden;
                    transition:      0.3s;

                    .close-docs-list {
                        background: none;

                        & svg {
                            width:  24px;
                            height: 24px;
                        }
                    }

                    .list {
                        &:not(:last-child) {
                            margin-bottom: 30px;
                        }
                    }
                }

                &:has(.open-docs-list) {
                    & .list-overlay {
                        display: block;
                    }

                    & .list-modal {
                        top:        93px;
                        opacity:    1;
                        visibility: visible;
                    }
                }
            }
        }

        .list {
            display:        flex;
            flex-direction: column;
            gap:            30px;

            .list-header {
                display:     flex;
                align-items: center;
                gap:         8px;
                cursor:      pointer;

                & h5 {
                    font-size:          18px;
                    font-style:         normal;
                    font-weight:        600;
                    line-height:        24px; /* 133.333% */
                    color:              #FF3D71;
                }

                & svg {
                    width: 20px;

                    & path {
                        stroke: #FF3D71;
                    }
                }
            }

            .list-content {
                max-height:     max-content;
                overflow:       hidden;
                transition:     max-height 0.3s ease-out, padding-bottom 0.3s;

                display:        flex;
                flex-direction: column;
                gap:            20px;
                padding-bottom: 0;

                & li {
                    & a {
                        display:        flex;
                        align-items:    center;
                        gap:            6px;

                        font-size:       14px;
                        font-style:      normal;
                        font-weight:     600;
                        line-height:     20px; /* 142.857% */
                        color:           #2F1D49;
                        text-decoration: none;

                        & svg {
                            width: 22px;

                            & path {
                                fill:   #7061EF;
                                stroke: #7061EF;
                            }
                        }
                    }

                    &.active {
                        max-width:      max-content;
                        padding:        10px 20px 10px 10px;
                        border-radius:  6px;
                        background:     #EAECF0;
                    }
                }
            }

            &.open {
                .list-header {
                    & svg {
                        transform: rotate(-180deg);
                    }
                }

                .accordion-content {
                    padding-bottom: 30px;
                }
            }
        }

        .docs-content {
            & h1 {
                font-size:      24px;
                font-style:     normal;
                font-weight:    600;
                line-height:    30px; /* 125% */
                color:          #2F1D49;
                padding-bottom: 60px;
            }

            & h2, h3, h4, h5, h6 {
                font-size:      18px;
                font-style:     normal;
                font-weight:    600;
                line-height:    24px;
                color:          #2F1D49;
                padding-bottom: 6px;
            }

            & p, & p a {
                font-size:      16px;
                font-style:     normal;
                font-weight:    400;
                line-height:    22px;
                color:          #454545;
            }

            & p strong a {
                font-weight: 600;
            }

            & p:not(:has(img)) {
                padding-bottom: 15px;
            }

            & p:has(img) {
                padding-bottom: 40px;
            }

            & p + h2, h3, h4, h5, h6 {
                padding-top: 40px;
            }

            & iframe {
                max-width:      100%;
                width:          100%;
                aspect-ratio:   16 / 9;
            }

            & ul, ol {
                margin-left:    30px;
                padding-bottom: 10px;

                & li {
                    font-size:      15px;
                    font-style:     normal;
                    font-weight:    400;
                    line-height:    22px;
                    color:          #454545;
                    padding-bottom: 10px;
                    list-style:     initial;
                }
            }

            & img {
                width:          100%;
                max-width:      100%;
                max-height:     441px;
                object-fit:     contain;
                /*border-radius:  10px;*/
                background:     #f8f9fa;
            }

            & table {
                border:     1px solid #EAECF0;
                margin:     10px 0 20px;
                background: #FEFDFC;

                & tr {
                    &:not(:last-child) {
                        border-bottom: 1px solid #DEE2E6FF;
                    }
                }

                & td {
                    padding:        12px 14px;
                    max-width:      50%;
                    vertical-align: middle;

                    &:not(strong) {
                        font-weight:  400;
                        font-style:   normal;
                        font-size:    15px;
                        color:        #101828FF;
                    }
                }
            }
        }
    }
}

@media screen and (max-width: 1024px) {
    #docs-item {
        padding: 93px 0 50px;

        .docs-item {
            flex-direction: column;

            .docs-lists {
                display: none;
            }

            .docs-lists-mobile {
                display: flex;
            }
        }
    }
}
