﻿.smallnew {
    padding: 16px 0 40px;
}

    .smallnew .page-title {
        font-family: Source Serif;
        font-weight: 700;
        font-size: 20px;
        line-height: 25px;
        color: var(--color-primary);
        margin-bottom: 24px;
    }

    .smallnew .list {
        display: flex;
        flex-wrap: wrap;
        row-gap: 24px;
    }

        .smallnew .list > * .title {
            font-size: 16px;
            line-height: 20px;
        }

        .smallnew .list > * {
            width: calc((100% - 128px) / 5);
            margin-right: 32px;
            position: relative;
        }

            .smallnew .list > *::after {
                width: 1px;
                height: 100%;
                content: '';
                background: #E8E8ED;
                position: absolute;
                top: 0;
                right: -15px;
            }

            .smallnew .list > *:nth-child(5n) {
                margin-right: 0px;
            }

                .smallnew .list > *:nth-child(5n)::after {
                    display: none;
                }

            .smallnew .list > *:last-child::after {
                display: none;
            }

@media screen and (max-width: 996px) {
    .smallnew .list > * {
        width: calc((100% - 96px) / 4);
    }

        .smallnew .list > *:nth-child(5n) {
            margin-right: 32px;
        }

            .smallnew .list > *:nth-child(5n)::after {
                display: unset;
            }

        .smallnew .list > *:nth-child(4n) {
            margin-right: 0px;
        }

            .smallnew .list > *:nth-child(4n)::after {
                display: none;
            }
}

@media screen and (max-width: 768px) {
    .smallnew {
        padding: 0px;
        padding-top: 24px;
    }

        .smallnew .page-title {
            margin-bottom: 16px;
        }

        .smallnew .list > * {
            width: calc((100% - 64px) / 3);
        }

            .smallnew .list > *:nth-child(4n) {
                margin-right: 32px;
            }

                .smallnew .list > *:nth-child(4n)::after {
                    display: unset;
                }

            .smallnew .list > *:nth-child(3n) {
                margin-right: 0px;
            }

                .smallnew .list > *:nth-child(3n)::after {
                    display: none;
                }
}

@media screen and (max-width: 576px) {
    .smallnew .list > * {
        width: calc((100% - 16px) / 2);
        margin-right: 16px;
    }

        .smallnew .list > *:nth-child(3n),
        .smallnew .list > *:nth-child(5n) {
            margin-right: 16px;
        }

        .smallnew .list > *::after {
            display: none !important;
        }

        .smallnew .list > *:nth-child(2n) {
            margin-right: 0px;
        }
}
