﻿:root {
    --border-cl: #E5E5E5;
    --header-font: "Roboto, serif"
}

.category-page {
    padding: 24px 0px;
}
    /* .category-page .story-wrap .info-wrap .category{
    display: block;
} */
    .category-page .page-header {
        padding-bottom: 5px;
        margin-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }

        .category-page .page-header .main-cate {
            padding-bottom: 12px;
            margin-bottom: 10px;
        }

            .category-page .page-header .main-cate > * {
                color: var(--main-red);
                text-decoration: none;
                font: 600 40px/1.3 var(--main-font);
                text-transform: uppercase;
            }

                .category-page .page-header .main-cate > *:hover {
                    text-decoration: underline;
                }

        .category-page .page-header .wrap {
            overflow-x: scroll;
        }

            .category-page .page-header .wrap::-webkit-scrollbar {
                background-color: #fff;
                height: 3px;
            }

            .category-page .page-header .wrap::-webkit-scrollbar-thumb {
                background-color: var(--main-red);
                border-radius: 10px;
            }

        .category-page .page-header .list-cate {
            padding-left: 0px;
            margin-bottom: 0px;
            display: flex;
            list-style: none;
        }

            .category-page .page-header .list-cate > li > a {
                display: block;
                padding: 10px 0;
                text-decoration: none;
                color: #525252;
                font: 600 16px/1.3 var(--main-font);
                text-transform: uppercase;
                text-wrap: nowrap;
            }

            .category-page .page-header .list-cate > li:nth-last-child(n+2) {
                margin-right: 25px;
            }

            .category-page .page-header .list-cate > li > a:hover {
                color: var(--main-red);
            }

            .category-page .page-header .list-cate > li > a.active {
                color: var(--main-red);
            }

    .category-page .main-content {
        margin-bottom: 20px;
    }

        .category-page .main-content .story-wrap {
            flex-direction: column;
        }

        .category-page .main-content .img-wrap {
            margin-bottom: 10px;
        }

        .category-page .main-content .top {
            display: flex;
        }

            .category-page .main-content .top .left {
                width: 64.8148148148%;
                padding-right: 19px;
                padding-bottom: 20px;
                margin-bottom: 20px;
            }

                .category-page .main-content .top .left .name {
                    font-size: 32px;
                    line-height: 1.4;
                    font-weight: 700;
                }

            .category-page .main-content .top .right {
                flex: 1;
                padding-left: 20px;
                padding-bottom: 20px;
                margin-bottom: 20px;
            }

                .category-page .main-content .top .right > * .name {
                    font-size: 20px;
                    font-weight: 700;
                    line-height: 1.4;
                    margin-bottom: 0px;
                }

                .category-page .main-content .top .right > * .description {
                    display: none;
                }

                .category-page .main-content .top .right > *:first-child {
                    padding-bottom: 9px;
                    margin-bottom: 10px;
                    border-bottom: 1px solid var(--border-cl);
                }

        .category-page .main-content .sub {
            display: flex;
        }

            .category-page .main-content .sub .story-wrap {
                width: calc((100% - 18px) / 4);
            }

                .category-page .main-content .sub .story-wrap:nth-last-child(n+2) {
                    margin-right: 24px;
                }

            .category-page .main-content .sub .description {
                display: none;
            }

            .category-page .main-content .sub .name {
                font-size: 18px;
                font-weight: 700;
            }

    .category-page .motif-header {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

        .category-page .motif-header .title > * {
            display: inline-block;
            font: 700 20px/1.3 var(--header-font);
            text-decoration: none;
            text-transform: uppercase;
            color: var(--main-red);
        }

    .category-page .motif {
        position: relative;
        height: 100%;
        flex-grow: 1;
        margin-left: 10px;
    }

        .category-page .motif .dot {
            width: 10px;
            height: 10px;
            background-color: var(--main-red);
            border-radius: 50%;
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
        }

        .category-page .motif .line {
            position: absolute;
            height: 3px;
            border-top: 1px solid var(--border-cl);
            border-bottom: 1px solid var(--border-cl);
            top: 50%;
            left: 17px;
            right: 0;
            transform: translateY(-50%);
        }

    .category-page .three-col {
        margin-bottom: 35px;
    }

        .category-page .three-col .content {
            display: flex;
        }

            .category-page .three-col .content .name {
                font-weight: 700;
            }

            .category-page .three-col .content > *:nth-last-child(n+2) {
                margin-right: 20px;
            }

                .category-page .three-col .content > *:nth-last-child(n+2) .story-wrap {
                    flex-direction: column;
                }

                .category-page .three-col .content > *:nth-last-child(n+2) .img-wrap {
                    margin-bottom: 10px;
                }

            .category-page .three-col .content .left {
                width: 50%;
            }

                .category-page .three-col .content .left .name {
                    margin-bottom: 0px;
                    font-size: 28px;
                }

                .category-page .three-col .content .left .description {
                    display: none;
                }

            .category-page .three-col .content > *:not(.left) {
                width: 25%;
            }

            .category-page .three-col .content .center .name {
                font-size: 18px;
            }

            .category-page .three-col .content .center .category {
                display: block;
                margin-bottom: 7px;
                font: 400 14px/1.4 var(--main-font);
            }

            .category-page .three-col .content .right {
                flex-direction: row;
            }

                .category-page .three-col .content .right > *:nth-last-child(n+2) {
                    margin-bottom: 10px;
                    padding-bottom: 10px;
                    border-bottom: 1px solid var(--border-cl);
                }

                .category-page .three-col .content .right .img-wrap {
                    width: 90px;
                    margin-right: 15px;
                }

                .category-page .three-col .content .right .info-wrap {
                    flex: 1;
                }

                .category-page .three-col .content .right .name {
                    margin-bottom: 0px;
                    font-size: 14px;
                }

                .category-page .three-col .content .right .category {
                    display: block;
                    margin-bottom: 0px;
                }

                .category-page .three-col .content .right .description {
                    display: none;
                }

    .category-page .list-content {
        margin-bottom: 35px;
    }

        .category-page .list-content .list .story-wrap {
            flex-direction: column;
        }

        .category-page .list-content .list .img-wrap {
            margin-bottom: 10px;
        }

        .category-page .list-content .list .info-wrap .description {
            display: none;
        }

        .category-page .list-content .list .info-wrap .name {
            font-size: 18px;
        }

        .category-page .list-content .list .info-wrap .category {
            display: block;
            margin-bottom: 0px;
        }

    .category-page .more-wrap {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: stretch;
    }

        .category-page .more-wrap .left .list > *:nth-last-child(n+2) {
            border-bottom: 1px solid #ddd;
            padding-bottom: 20px;
            margin-bottom: 20px;
        }

        .category-page .more-wrap .left .img-wrap {
            width: 280px;
            margin-right: 20px;
        }

        .category-page .more-wrap .left .info-wrap {
            flex: 1;
        }

        .category-page .more-wrap .left .name {
            font-size: 20px;
        }

        .category-page .more-wrap .left .more {
            text-align: center;
            padding: 5px 0;
        }

            .category-page .more-wrap .left .more > * {
                font-size: 14px;
                padding: 8px 15px;
                border: 1px solid var(--border-cl);
                border-radius: 5px;
                color: #525252;
                display: inline-block;
                text-align: center;
                text-decoration: none;
                transition: all 300ms;
            }

                .category-page .more-wrap .left .more > *:hover {
                    background-color: var(--main-red);
                    color: #fff;
                }

    .category-page .most-view {
        padding: 15px;
        border: 1px solid var(--border-cl);
        margin-bottom: 10px;
    }

        .category-page .most-view .top-read {
            display: flex;
            align-items: center;
        }

            .category-page .most-view .top-read:nth-last-child(n+2) {
                padding-bottom: 15px;
                margin-bottom: 15px;
                border-bottom: 1px solid var(--border-cl);
            }

            .category-page .most-view .top-read .num {
                width: 42px;
                border-right: 1px solid var(--border-cl);
            }

                .category-page .most-view .top-read .num > * {
                    font-size: 38px;
                    line-height: 1;
                    font-weight: 900;
                    color: #fff;
                    letter-spacing: -6px;
                    -webkit-text-stroke-width: 1px;
                    -webkit-text-stroke-color: #ED1C24;
                    text-shadow: 2px -2px 0 rgba(255, 193, 7, 0.5);
                }

            .category-page .most-view .top-read .title {
                margin-bottom: 0;
                line-height: 1.4;
                font-size: 16px;
                font-weight: 700;
                padding-left: 15px;
                width: calc(100% - 42px);
                font-family: var(--main-font), Arial;
            }

                .category-page .most-view .top-read .title > * {
                    color: #222;
                    text-decoration: none;
                    transition: color 300ms;
                }

                    .category-page .most-view .top-read .title > *:hover {
                        color: var(--main-red);
                    }

    .category-page .more-wrap .right > .banner-area img {
        width: 100%;
        height: 100%;
    }

@media only screen and (min-width: 1200px) {
    .category-page .more-wrap .left {
        width: 70%;
    }

    .category-page .more-wrap .right {
        width: 25%;
    }
}

@media only screen and (max-width: 992px) {
    .category-page .story-wrap .category {
        display: block;
    }

    .category-page .story-wrap .info-wrap .category > * {
        font-size: 12px;
    }

    .category-page .page-header {
        margin-bottom: 10px;
        /*padding-bottom: 0px;*/
        border-bottom: none;
    }

        .category-page .page-header .main-cate > * {
            font-size: 32px;
        }

        .category-page .page-header .main-cate {
            margin-bottom: 0px;
        }

        .category-page .page-header .list-cate > li > a {
            font-size: 14px;
        }

    .category-page .main-content .top {
        flex-direction: column;
    }

        .category-page .main-content .top .left {
            border-bottom: 1px solid #E5E5E5;
            padding-bottom: 15px;
            width: 100%;
            padding-right: 0px;
        }

            /*.category-page .main-content .top .left .info-wrap {
                text-align: center;
            }*/

            .category-page .main-content .top .left .name {
                font-size: 28px;
            }

    .category-page .main-content .category {
        margin-bottom: 7px;
    }

    .category-page .main-content .top .right {
        padding: 0px;
        margin-bottom: 0px;
    }

        .category-page .main-content .top .right > *:first-child {
            padding-bottom: 20px;
            margin-bottom: 20px;
        }

        .category-page .main-content .top .right > *:last-child {
            padding-bottom: 20px;
            margin-bottom: 20px;
            border-bottom: 1px solid #ddd;
        }

        .category-page .main-content .top .right > * {
            flex-direction: column-reverse;
        }

            .category-page .main-content .top .right > * .img-wrap {
                margin-bottom: 0px;
            }

            .category-page .main-content .top .right > * .info-wrap {
                margin-bottom: 10px;
            }

            .category-page .main-content .top .right > * .name {
                margin-bottom: 7px;
            }

            .category-page .main-content .top .right > * .info-wrap .description {
                display: block;
            }

    .category-page .main-content .sub {
        flex-direction: column;
    }

        .category-page .main-content .sub .story-wrap:nth-last-child(n+2) {
            margin-right: 0px;
        }

        .category-page .main-content .sub .story-wrap {
            width: 100%;
            flex-direction: column-reverse;
        }

        .category-page .main-content .sub .img-wrap {
            margin-bottom: 0px;
        }

        .category-page .main-content .sub .info-wrap {
            margin-bottom: 10px;
        }

        .category-page .main-content .sub .name {
            font-size: 20px;
        }

        .category-page .main-content .sub .description {
            display: block;
        }

        .category-page .main-content .sub .story-wrap:nth-last-child(n+2) {
            padding-bottom: 20px;
            margin-bottom: 20px;
            border-bottom: 1px solid #ddd;
        }

    .category-page .three-col .content {
        flex-wrap: wrap;
    }

        .category-page .three-col .content .left,
        .category-page .three-col .content > *:not(.left) {
            width: 100%;
        }

        .category-page .three-col .content > *:nth-last-child(n+2) {
            margin-right: 0px;
        }

        .category-page .three-col .content .left {
            margin-bottom: 20px;
        }

            .category-page .three-col .content .left .name {
                font-size: 24px;
            }

        .category-page .three-col .content .category {
            margin-bottom: 0px;
        }

        .category-page .three-col .content .center > * {
            flex-direction: row !important;
            padding-bottom: 20px;
            margin-bottom: 20px;
            border-bottom: 1px solid #ddd;
        }

        .category-page .three-col .content .center .img-wrap {
            margin-right: 15px;
            margin-bottom: 0px;
            width: 200px;
        }

        .category-page .three-col .content .center .info-wrap {
            flex: 1;
        }

        .category-page .three-col .content .center .description {
            display: none;
        }

        .category-page .three-col .content .right .img-wrap {
            width: 200px;
        }

        .category-page .three-col .content .right .name {
            font-size: 18px;
        }

        .category-page .three-col .content .right > *:nth-last-child(n+2) {
            padding-bottom: 20px;
            margin-bottom: 20px;
        }

    .category-page .three-col,
    .category-page .list-content {
        margin-bottom: 30px;
    }

        .category-page .list-content .list .info-wrap .name {
            font-size: 20px;
        }

    .category-page .more-wrap .left .list > * {
        flex-direction: column-reverse;
    }

    .category-page .more-wrap .left .img-wrap {
        width: 100%;
        margin-bottom: 0px;
    }

    .category-page .more-wrap .left .info-wrap {
        margin-bottom: 10px;
    }

    .category-page .more-wrap .left .name {
        font-weight: 700;
    }

    .category-page .more-wrap .left .category {
        margin-bottom: 7px;
    }

    .category-page .more-wrap .left {
        margin-bottom: 20px;
    }

    .category-page .more-wrap .right {
        width: 100%;
        margin-bottom: 30px;
    }

    .category-page .most-view .top-read .title {
        font-size: 18px;
    }

    .category-page {
        padding: 20px 0;
    }
}

@media only screen and (max-width: 768px) {
    .category-page .page-header .main-cate > * {
        font-size: 28px;
    }

    .category-page .main-content .top .left .name {
        font-size: 26px;
    }

    .category-page .main-content .top .right > * .name,
    .category-page .main-content .sub .name,
    .category-page .motif-header .title > *,
    .category-page .list-content .list .info-wrap .name,
    .category-page .more-wrap .left .name {
        font-size: 18px;
    }

    .category-page .three-col .content .left .name {
        font-size: 20px;
    }

    .category-page .three-col .content > *:not(.left) .img-wrap {
        width: 44.8275862069%;
    }
}
