﻿.smallcategory-page {
    padding: 16px 0px;
}

    .smallcategory-page .title-box {
        display: flex;
        margin-bottom: 20px;
    }

        .smallcategory-page .title-box > * {
            display: flex;
            align-items: center;
            width: fit-content;
        }

        .smallcategory-page .title-box .title {
            font-family: Source Serif;
            font-weight: 700;
            font-size: 24px;
            line-height: 34px;
            color: var(--color-primary);
        }

    .smallcategory-page .topstory .top {
        display: flex;
    }

        .smallcategory-page .topstory .top > *:nth-child(n+2) {
            padding-left: 16px;
            border-left: 1px solid #BFC6C9;
        }

        .smallcategory-page .topstory .top > *:nth-last-child(n+2) {
            margin-right: 16px;
        }

        .smallcategory-page .topstory .top .main {
            width: 48%;
        }

            .smallcategory-page .topstory .top .main .info {
                display: none;
            }

            .smallcategory-page .topstory .top .main > *:nth-last-child(n+2) {
                margin-bottom: 16px;
                padding-bottom: 16px;
                border-bottom: 1px solid #BFC6C9;
            }

            .smallcategory-page .topstory .top .main > *:first-child .title {
                font-size: 32px;
                line-height: 40px;
            }

            .smallcategory-page .topstory .top .main > *:nth-child(n+2) {
                flex-direction: row;
            }

                .smallcategory-page .topstory .top .main > *:nth-child(n+2) .thumb {
                    width: 27%;
                    margin-bottom: 0px;
                    margin-right: 16px;
                    min-width: 164px;
                }

                .smallcategory-page .topstory .top .main > *:nth-child(n+2) .info-wrapper {
                    flex: 1;
                }

                .smallcategory-page .topstory .top .main > *:nth-child(n+2) .title {
                    font-size: 24px;
                    line-height: 30px;
                }

        .smallcategory-page .topstory .top .sub {
            width: 28%;
        }

            .smallcategory-page .topstory .top .sub > * .title {
                font-size: 24px;
                line-height: 30px;
                margin-bottom: 8px;
            }

            .smallcategory-page .topstory .top .sub > * .info .text {
                font-size: 16px;
                line-height: 24px;
            }

                .smallcategory-page .topstory .top .sub > * .info .text > * {
                    --line-num: 2;
                }

            .smallcategory-page .topstory .top .sub > *:last-child {
                margin-top: 16px;
                padding-top: 16px;
                border-top: 1px solid #BFC6C9;
            }

        .smallcategory-page .topstory .top .last {
            width: 24%;
        }

            .smallcategory-page .topstory .top .last > *:nth-child(n+4) {
                display: none;
            }

            .smallcategory-page .topstory .top .last > * .title {
                font-size: 18px;
                line-height: 23px;
            }

            .smallcategory-page .topstory .top .last > *:nth-child(-n+2) {
                margin-bottom: 16px;
                padding-bottom: 16px;
                border-bottom: 1px solid #BFC6C9;
            }

    .smallcategory-page .topstory .top {
        margin-bottom: 16px;
        padding-bottom: 16px;
        border-bottom: 1px solid #BFC6C9;
    }

    .smallcategory-page .topstory .bottom {
        display: flex;
    }

        .smallcategory-page .topstory .bottom > * {
            flex: 1;
        }

            .smallcategory-page .topstory .bottom > *:nth-last-child(n+2) {
                padding-right: 16px;
                border-right: 1px solid #BFC6C9;
            }

            .smallcategory-page .topstory .bottom > *:nth-child(n+2) {
                padding-left: 16px;
            }

            .smallcategory-page .topstory .bottom > * .title {
                font-size: 18px;
                line-height: 23px;
            }

    .smallcategory-page .topstory {
        padding-bottom: 32px;
        margin-bottom: 32px;
        border-bottom: 1px solid #383F42;
    }

    .smallcategory-page .wrapper {
        display: flex;
        justify-content: space-between;
    }

    .smallcategory-page .banner {
        width: 22.83%;
        padding-left: 16px;
        position: relative;
    }

        .smallcategory-page .banner img {
            width: 100%;
            object-fit: cover;
            border-radius: 8px;
        }

    .smallcategory-page .news {
        width: 65.44%;
        /* min-width: 890px; */
    }

        .smallcategory-page .news .list .mobile-title {
            display: none;
        }

        .smallcategory-page .news .list > * {
            flex-direction: row-reverse;
        }

            .smallcategory-page .news .list > *:nth-last-child(n+2) {
                margin-bottom: 16px;
                padding-bottom: 16px;
                border-bottom: 1px solid #BFC6C9;
            }

            .smallcategory-page .news .list > * .thumb {
                width: 27.97%;
                margin-bottom: 0px;
                margin-left: 32px;
                min-width: 240px;
            }

            .smallcategory-page .news .list > * .info-wrapper {
                flex: 1;
            }

            .smallcategory-page .news .list > * .title {
                font-size: 20px;
                line-height: 25px;
                margin-bottom: 8px;
            }

            .smallcategory-page .news .list > * .info .text {
                font-size: 16px;
                line-height: 24px;
            }

                .smallcategory-page .news .list > * .info .text > * {
                    --line-num: 2;
                }

    .smallcategory-page .sticky-wrap {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .smallcategory-page .sticky-content {
        position: sticky;
        top: 75px;
    }

        .smallcategory-page .sticky-content img {
            width: 100%;
        }

@media screen and (max-width: 996px) {
    .smallcategory-page .sticky-wrap {
        position: relative;
    }

    .smallcategory-page {
        padding: 24px 0;
    }

        .smallcategory-page .title-box {
            margin-bottom: 16px;
        }

            .smallcategory-page .title-box .title {
                font-size: 20px;
                line-height: 25px;
            }

        .smallcategory-page .topstory .top {
            flex-direction: column;
        }

            .smallcategory-page .topstory .top .main,
            .smallcategory-page .topstory .top .sub,
            .smallcategory-page .topstory .top .last {
                width: 100%;
            }

            .smallcategory-page .topstory .top > *:nth-last-child(n+2) {
                margin-right: 0px;
            }

            .smallcategory-page .topstory .top > *:nth-child(n+2) {
                padding-left: 0px;
                border-left: none;
            }

            .smallcategory-page .topstory .top .main > *:nth-child(n+2) {
                display: none;
            }

            .smallcategory-page .topstory .top .main .info {
                display: block;
            }

                .smallcategory-page .topstory .top .main .info .text {
                    font-size: 18px;
                    line-height: 25px;
                }

                    .smallcategory-page .topstory .top .main .info .text > * {
                        --line-num: 2;
                    }

            .smallcategory-page .topstory .top .main > *:nth-last-child(n+2) {
                margin-bottom: 12px;
                padding-bottom: 24px;
            }

            .smallcategory-page .topstory .top .main > *:first-child .thumb {
                margin-bottom: 12px;
            }

            .smallcategory-page .topstory .top .main > *:first-child .title {
                font-size: 24px;
                line-height: 30px;
                margin-bottom: 8px;
            }

            .smallcategory-page .topstory .top .main > *:first-child .info-wrapper .type {
                display: none;
            }

            .smallcategory-page .topstory .top .sub > * {
                margin-bottom: 12px;
                padding-bottom: 12px;
                border-bottom: 1px solid #BFC6C9;
            }

                .smallcategory-page .topstory .top .sub > * .info {
                    display: none;
                }

                .smallcategory-page .topstory .top .sub > * .title {
                    font-size: 20px;
                    line-height: 25px;
                    margin-bottom: 0px;
                }

                .smallcategory-page .topstory .top .sub > *:last-child {
                    margin-top: 0px;
                    padding-top: 0px;
                    border-top: none;
                }

            .smallcategory-page .topstory .top .last > *:nth-child(n+4) {
                display: flex;
            }

            .smallcategory-page .topstory .top .last > * {
                flex-direction: row;
            }

                .smallcategory-page .topstory .top .last > * .thumb {
                    width: 38.67%;
                    min-width: 128px;
                    margin-right: 12px;
                    margin-bottom: 0px;
                }

                .smallcategory-page .topstory .top .last > * .info-wrapper {
                    flex: 1;
                }

                .smallcategory-page .topstory .top .last > * .title {
                    font-size: 16px;
                    line-height: 20px;
                }

                .smallcategory-page .topstory .top .last > *:nth-last-child(n+2) {
                    margin-bottom: 12px;
                    padding-bottom: 12px;
                    border-bottom: 1px solid #BFC6C9;
                }

        .smallcategory-page .topstory .bottom {
            display: none;
        }

        .smallcategory-page .topstory .top {
            margin-bottom: 0px;
            padding-bottom: 0px;
            border-bottom: none;
        }

        .smallcategory-page .topstory {
            margin-bottom: 24px;
            padding-bottom: 24px;
        }

        .smallcategory-page .banner {
            display: none;
        }

        .smallcategory-page .news {
            width: 100%;
            min-width: unset;
        }

            .smallcategory-page .news .list > * {
                flex-direction: row;
                flex-wrap: wrap;
            }

            .smallcategory-page .news .list .mobile-title {
                display: flex;
                width: 100%;
                margin-bottom: 8px;
            }

                .smallcategory-page .news .list .mobile-title .title {
                    margin-bottom: 0px;
                    font-size: 18px;
                    line-height: 23px;
                }

            .smallcategory-page .news .list > * .info .text {
                font-size: 14px;
                line-height: 20px;
            }

            .smallcategory-page .news .list > * .info-wrapper .title-wrap {
                display: none;
            }

            .smallcategory-page .news .list > * .info .text > * {
                --line-num: 2;
            }

            .smallcategory-page .news .list > * .thumb {
                width: 35%;
                min-width: 120px;
                margin-left: 0px;
                margin-right: 8px;
            }
}

@media screen and (max-width: 768px) {
    .smallcategory-page .news .list > * .thumb .type {
        padding: 4px 8px;
    }

    .smallcategory-page .title-box {
        white-space: nowrap;
        overflow-x: auto;
    }

        .smallcategory-page .title-box::-webkit-scrollbar {
            display: none;
        }
}
