﻿﻿@import url("https://fonts.googleapis.com/css?family=Inconsolata");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1{
    margin: 0 !important;
}

.aspect_16_9 {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    z-index: 10;
}

.aspect_content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.aspect_16_9::before {
    z-index: 10px;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    padding-bottom: 56.25%;
}

header {
    box-shadow: 0 10px 9px -8px #e9e9e9;
}

.top-podcast {
    display: flex;
    height: 56px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

    .top-podcast > .left-col {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-right: auto;
    }

        .top-podcast > .left-col > .nav_back {
            background: #0261B5;
            color: #fff;
            width: 50px;
            height: 50px;
            justify-content: center;
            display: flex;
            align-items: center;
            padding: 5px 10px;
        }

    .top-podcast > .title {
        align-items: center;
        width: 100%;
        text-align: center;
    }

        .top-podcast > .title > a {
            /*color: #0261B5;*/
            font-family: "Noto Serif", serif !important;
            font-size: 24px;
            font-style: normal;
            font-weight: 700;
            line-height: normal;
            background: linear-gradient(90deg, rgba(2,97,181,1) 0%, rgba(2,97,181,1) 11%, rgba(0,212,255,1) 100%);
            -webkit-background-clip: text;
            -moz-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
        }

            .top-podcast > .title > a > span {
                color: #000;
                font-family: "Noto Serif", serif !important;
                font-size: 24px;
                font-style: normal;
                font-weight: 500;
                line-height: normal;
            }

/*main*/
.container > .featured_posts {
    margin-top: 16px;
}

    .container > .featured_posts > .left_post {
        width: 67%;
        padding-right: 8px;
    }

        .container > .featured_posts > .left_post > .box_title > .title > a {
            color: #040404;
            font-size: 24px;
            font-style: normal;
            font-weight: 700;
            line-height: 36px;
            font-family: Roboto-Medium;
        }

    .container > .featured_posts > .right_post {
        width: 33%;
        padding-left: 8px;
        display: flex;
        flex-direction: column;
    }

        .container > .featured_posts > .right_post > .box {
            width: 100%;
        }

            .container > .featured_posts > .right_post > .box:nth-child(2n) {
                margin-top: auto;
            }

        .container > .featured_posts > .right_post > .aspect_16_9:nth-child(2n) {
            margin-top: auto;
        }

        .container > .featured_posts > .right_post > .box > .title {
            color: #040404;
            font-size: 14px;
            font-style: normal;
            font-weight: 700;
            line-height: 22px;
            margin:10px 0 20px 0;
        }

            .container > .featured_posts > .right_post > .box > .title > a {
                color: #040404;
                font-size: 19px;
                font-weight: 700;
                font-family: Roboto-Medium;
            }

.container > .category_newhot {
    gap: 24px;
}

.container > .category_newhot > .title {
    width: max-content;
    padding-bottom: 8px;
    border-bottom: 1px solid #008837;
    margin-top: 24px;
    display: flex;
}

.container > .category_newhot > .title > .txt {
    margin-bottom: 0;
    color: #008837;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    text-transform: uppercase;
}

.container > .category_newhot > .container_post {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid #E0E0E0;
}

    .container > .category_newhot > .container_post > .post {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .container > .category_newhot > .container_post > .post {
        width: 60%;
    }

        .container > .category_newhot > .container_post > .post > .title > a {
            color: #040404;
            font-size: 20px;
            font-weight: 700;
            font-family: Roboto-Medium;
        }

.container > .category {
    display: flex;
    gap: 24px;
}

    .container > .category > .left_category {
        width: calc(100% - 300px - 24px);
    }

    .container > .category > .right_category {
        width: 300px;
        padding-top: 20px;
    }

    .container > .category > .left_category > .main-content {
        width: 100%;
    }

.container > .category > .left_category > .main-content > .article-box:first-child {
    margin-top: 32px;
    padding-top: 0;
}

.container > .category > .left_category > .main-content > .article-box {
    width: 100%;
    column-gap: 16px;
    padding: 24px 0;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
}

    .container > .category > .left_category > .main-content > .article-box:last-child {
        border-bottom: none
    }

    .container > .category > .left_category > .main-content > .article-box .img-box {
        min-width: 150px;
        width: 40%;
    }

    .container > .category > .left_category > .main-content > .article-box .article-content {
        width: calc(100% - 40% - 16px);
    }

        .container > .category > .left_category > .main-content > .article-box .article-content > .title {
            color: #0A0A0A;
            font-size: 16px;
            font-style: normal;
            font-weight: 700;
            line-height: 22px;
        }

            .container > .category > .left_category > .main-content > .article-box .article-content > .title > a {
                color: #0A0A0A;
            }

        .container > .category > .left_category > .main-content > .article-box .article-content > .txt {
            color: #666;
            font-size: 14px;
            font-style: normal;
            font-weight: 400;
            line-height: 20px;
        }

    .container > .category > .right_category > .title-mostview {
        text-transform: uppercase;
        font-weight: 500;
        font-size: 20px;
        font-family: Roboto-Medium;
    }

    .container > .category > .right_category > .list-item > .item {
        display: table;
        border-top: 1px solid #eee;
        padding-top: 10px;
        margin-top: 10px;
        width: 100%;
    }

        .container > .category > .right_category > .list-item > .item > .title {
            display: table-cell;
            font-family: Roboto-Medium;
            color: #040404;
            text-decoration: none;
            width: 90%;
            vertical-align: middle;
        }

        .container > .category > .right_category > .list-item > .item > .number {
            display: table-cell;
            font-size: 38px;
            font-weight: 500;
            vertical-align: middle;
            font-family: 'Roboto', sans-serif;
            color: #eee;
            width: 10%;
        }

/*Mobile*/
@media (min-device-width: 260px) and (max-device-width: 768px) {
    .container > .featured_posts {
        flex-direction: column;
        gap: 0 !important;
    }

        .container > .featured_posts > .left_post {
            width: 100%;
            padding-bottom: 16px;
            padding-right: 0px;
        }

        .container > .featured_posts > .right_post {
            display: flex !important;
            flex-direction: column;
            padding: 0 !important;
            gap: 0 !important;
            width: 100%;
        }

        .container > .featured_posts > .left_post > .aspect_16_9 > .box_title > .title > a {
            font-size: 16px;
            line-height: 22px;
        }

        .container > .featured_posts > .right_post > .box {
            gap: 0 !important;
            width: 100% !important;
            padding-bottom: 16px;
        }

            .container > .featured_posts > .right_post > .box:last-child {
                padding: 0 !important;
            }

            .container > .featured_posts > .right_post > .box > .title {
                /*padding-left: 16px !important;*/
            }

            .container > .featured_posts > .right_post > .box > .aspect_16_9 {
                width: 100%;
            }

                .container > .featured_posts > .right_post > .box > .aspect_16_9 > .box_title {
                    display: none !important;
                }

            .container > .featured_posts > .right_post > .box > .title {
                width: 100%;
            }

            .container > .featured_posts > .right_post > .box > .title {
                color: #0A0A0A;
                font-size: 14px;
                font-style: normal;
                font-weight: 700;
                display: block !important;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: normal;
                -webkit-line-clamp: 4;
                line-height: 1.4rem;
                max-height: 6rem;
                -webkit-box-orient: vertical;
            }

                .container > .featured_posts > .right_post > .box > .title > a {
                    color: #0A0A0A;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: normal;
                    -webkit-line-clamp: 4;
                    line-height: 1.4rem;
                    display: -webkit-box;
                    max-height: 6rem;
                    -webkit-box-orient: vertical;
                }

            .container > .featured_posts > .right_post > .box > .aspect_16_9 > .box_title > .title > a {
                display: none !important;
            }

    .container > .category_newhot {
        display: grid;
        gap: 0 !important;
    }

        .container > .category_newhot > .container_post {
            flex-direction: column;
            gap: 0 !important;
        }

            .container > .category_newhot > .container_post > .post {
                width: 100%;
                padding-bottom: 24px !important;
            }

    .container > .category {
        display: grid;
    }

        .container > .category > .left_category{
            width: 100%;
        }

        .container > .category > .left_category > .container_post > .post {
            width: 100% !important;
        }

            .container > .category > .left_category > .main-content > .article-box{
                display: grid;
            }

            .container > .category > .left_category > .main-content > .article-box .img-box {
                width: 100%;
            }

                .container > .category > .left_category > .main-content > .article-box .article-content {
                    width: 100%;
                    padding-top: 10px;
                }

        .container > .category > .right_category {
            width: 100%;
        }
}