﻿@media only screen and (max-width: 576px) {

    .home-trending-list {
        margin-top: -25px;
    }

    .main-post {
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
        border-radius: 4px;
        overflow-y: hidden;
    }

        .main-post img {
            height: 220px !important;
        }

        .main-post h1 {
            font-size: 1.05em;
            padding: 10px 10px 0 10px;
        }

    .top-2 {
        background-image: none;
        margin: 10px 0;
        border-radius: 4px;
    }

        .top-2 ul {
            flex-direction: column;
        }

        .top-2 li {
            border-radius: 4px;
            padding: 5px;
            box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
            display: flex;
            flex-direction: row-reverse;
            margin: 0 0 10px 0;
            background-color: #fff;
        }

        .top-2 h2 {
            font-size: 0.90em;
            font-weight: 500;
            margin-left: 10px;
        }

            .top-2 h2 a {
                color: #040303;
            }


        .top-2 .sm-m-only {
            display: block;
            width: 25%;
        }

        .top-2 h2 {
            width: 75%;
            padding-top: 5px;
            padding-right: 10px;
        }


        .top-2 .m-feed-i a {
            color: #393939;
        }

    .sm-m-only img {
        border-radius: 4px;
    }

    .h-title h2, .home-cat h2.cat-h {
        font-size: 1.35em;
    }


    .h-t-20 {
        flex-direction: column-reverse;
    }

        .h-t-20 ul {
            margin-left: -20px !important;
            margin-right: -20px !important;
            margin-top: 20px !important;
            background-color: #fafafa;
            height: 350px;
            overflow-y: scroll;
        }

        .h-t-20 li:first-child {
            border: none;
            padding-top: 15px;
        }

        .h-t-20 li {
            padding: 8px 20px;
            border-top: solid 1px rgba(0,0,0,.075);
        }

            .h-t-20 li:hover {
                background-color: rgba(43, 40, 40, 0.04);
            }

        .h-t-20 h2 a {
            font-weight: 600;
            font-size: 0.9em;
        }

        .h-t-20 .m-only .btn {
            margin: 12px 0;
            font-size: 0.8em;
        }

    .top-story {
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
        border-radius: 4px;
        border: solid 1px rgba(0,0,0,.02875)
    }

        .top-story img {
            border-radius: 4px 4px 0 0
        }

        .top-story h2 {
            margin: 5px 7px;
            line-height: 0.81em;
            ;
            margin: 10px;
        }

            .top-story h2 a {
                font-size: 0.8em;
                font-weight: 700;
            }

    .n-item {
        min-height: auto;
    }

        .n-item h2 {
            font-size: 0.85em;
            font-weight: 600;
        }

    .news-item:last-child {
        margin-bottom: 0;
        padding-bottom: 5px;
    }

    .n-item .m-feed-i {
        margin-top: 5px !important;
        margin-bottom: 5px;
    }

    .news-item .news-h {
        margin-right: 5px;
    }


    .news-item h2 {
        -webkit-line-clamp: none; /* number of lines to show */
        font-size: 0.85em;
    }

    /* Categories Section on Homepage */

    .first-post {
        flex-direction: column;
        margin-bottom: 0;
    }

        .first-post .post-img, .first-post .post-detail {
            width: 100%;
        }

        .first-post .post-detail {
            margin-top: 10px !important;
            padding-left: 0;
            margin-bottom: 15px;
        }

    .cat-posts {
        margin-bottom: 50px;
    }

        .cat-posts .news-item {
            width: 100%;
        }

        .cat-posts .news-item {
            flex-direction: row-reverse;
            margin: 0;
        }

            .cat-posts .news-item .news-h {
                padding-left: 10px;
            }


    .left-block h2 {
        font-size: 0.95em;
    }

    .lft-item h2, .h-cat-lst h2 {
        font-size: 0.9em;
        font-weight: 600;
    }

    /* Scrolls */

    .h-slide-scroll .n-item {
        padding-top: -10px;
        overflow-y: hidden;
    }

    .h-slide-scroll .n-item-slide {
        margin-top: -31px;
        border-radius: 4px 4px 0 0;
    }

    .h-slide-scroll .m-img img {
        min-height: 165px !important;
        max-height: 165px;
        border-radius: 4px 4px 0 0 !important;
    }

    .h-slide-scroll .owl-nav {
        margin-top: -58%;
    }

    /* Home Gallery */
    .h-gal-wrap {
        display: flex;
        flex-direction: column-reverse;
    }

    .h-gal-lft, .h-gal-rt {
        width: 100%;
        padding: 0 15px;
        ;
    }

    .gal-top img {
        height: 165px;
    }

    .gal-top-2 img {
        height: 105px;
    }
    /* Homepage last Discussion  Section */
    #discussion-list .d-item {
        width: 100%;
    }

    /* Home mags */
    .h-mag-bg img {
        display: none;
    }

    .h-mag-s-block {
        width: 100%;
        font-size: 0.9em;
        flex-direction: column;
        padding: 20px;
        border-radius: 4px;
    }

    /* Featured */

    .f-posts {
        justify-content: space-between;
    }

    .f-post {
        width: 46%;
    }

        .f-post img {
            width: 100%;
            max-height: 150px;
            object-position: top;
            object-fit: cover;
        }

    /* Feeds Page */

    .feeds-h {
        padding-top: 25px !important;
    }

        .feeds-h h1 {
            font-size: 1.2em;
        }

    .f-b {
        flex-direction: column;
    }

    .f-item {
        min-width: 100%;
        margin: 10px 0;
    }
}
