@import "regular";

@media screen {
    // Small devices (landscape phones, less than 768px)
    @media (max-width: 767.98px) {
        .news-wrapper {
            text-align: left;
            min-height: 70vh;

            & .news-nav-bar {
                height: 2.2em;
                background-color: #65a9ff;
                width: 100%;
            }
            & .news-nav-content {
                width: 100%;
                margin: -2.35em 0 0;
                padding-left: 2em;
                font-size: 1em;
                color: #ffffff;
                line-height: 2.5;

                & a{
                    .no_underline;
                    color: #FFFFFF;
                }
            }

            & .news-body {
                width: 100%;
                padding: 1em 2em;

                img {
                    width: auto;
                    height: auto;
                    max-width: 100%;
                }

                & .news-title {
                    font-size: 1.75em;
                    font-weight: 600;
                    line-height: 1.11;
                    color: #000000;
                }
                & .news-date {
                    margin: 0.5em 0;
                    font-size: 1.25em;
                    line-height: 1.72;
                    letter-spacing: normal;
                    color: #c3aa5b;
                }
                & .news-content {
                    font-size: 1em;
                    line-height: 1.88;
                    letter-spacing: normal;
                    text-align: justify;
                    color: #4a4a4a;
                    & a{
                        .no_underline;
                        color: @default_color;
                    }
                }

                & .news-recommend {
                    & .nav {
                        margin: 2em 0;
                        vertical-align: text-bottom;

                        & .tab-cust{
                            position: relative;
                            border: none;
                            // padding: 10px 20px 15px;
                            // margin-right: 50px;
                            color: #4a4a4a;
                            font-size: 1.125em;
                            letter-spacing: normal;
                        }

                        & .active {
                            color: @default_color;

                            &:after {
                                content: "";
                                display: block;
                                position: absolute;
                                width: 100%;
                                height: 3px;
                                background: @default_color;
                                border-radius: 5px;
                                bottom: -1px;
                                left: 0;
                            }
                        }
                        
                    }
                    & .recommend-item {
                        margin: 1.25em 0;
                        color: #000000;

                        & .recommend-item-title {
                            font-size: 1.5em;
                            font-weight: 1000;
                            line-height: 1.29;
                        }
                        & .recommend-item-date {
                            // margin: 10px 0 5px;
                            font-size: 1em;
                            font-stretch: normal;
                            line-height: 1.94;
                            color: #c3aa5b;
                        }
                        & .recommend-item-content {
                            font-size: 1em;
                            line-height: 1.88;
                            text-align: justify;
                        }
                    }
                }
            }
        }
    }

    // Medium devices (tablets, less than 992px)
    @media (min-width: 768px) and (max-width: 1199.98px) {
        .news-wrapper {
            text-align: left;
            min-height: 70vh;

            & .news-nav-bar {
                height: 2.2em;
                background-color: #65a9ff;
                width: 100%;
            }
            & .news-nav-content {
                width: 100%;
                margin: -2.35em 0 0;
                padding-left: 2em;
                font-size: 1em;
                color: #ffffff;
                line-height: 2.5;

                & a{
                    .no_underline;
                    color: #FFFFFF;
                }
            }

            & .news-body {
                width: 100%;
                padding: 1em 2em;
                
                img {
                    height: auto;
                    max-width: 100%;
                }

                & .news-title {
                    font-size: 1.75em;
                    font-weight: 600;
                    line-height: 1.11;
                    color: #000000;
                }
                & .news-date {
                    margin: 0.5em 0;
                    font-size: 1.25em;
                    line-height: 1.72;
                    letter-spacing: normal;
                    color: #c3aa5b;
                }
                & .news-content {
                    font-size: 1em;
                    line-height: 1.88;
                    letter-spacing: normal;
                    text-align: justify;
                    color: #4a4a4a;
                    & a{
                        .no_underline;
                        color: @default_color;
                    }
                }

                & .news-recommend {
                    & .nav {
                        margin: 2em 0;
                        vertical-align: text-bottom;

                        & .tab-cust{
                            position: relative;
                            border: none;
                            // padding: 10px 20px 15px;
                            // margin-right: 50px;
                            color: #4a4a4a;
                            font-size: 1.125em;
                            letter-spacing: normal;
                        }

                        & .active {
                            color: @default_color;

                            &:after {
                                content: "";
                                display: block;
                                position: absolute;
                                width: 100%;
                                height: 3px;
                                background: @default_color;
                                border-radius: 5px;
                                bottom: -1px;
                                left: 0;
                            }
                        }
                        
                    }
                    & .recommend-item {
                        margin: 1.25em 0;
                        color: #000000;

                        & .recommend-item-title {
                            font-size: 1.5em;
                            font-weight: 1000;
                            line-height: 1.29;
                        }
                        & .recommend-item-date {
                            // margin: 10px 0 5px;
                            font-size: 1em;
                            font-stretch: normal;
                            line-height: 1.94;
                            color: #c3aa5b;
                        }
                        & .recommend-item-content {
                            font-size: 1em;
                            line-height: 1.88;
                            text-align: justify;
                        }
                    }
                }
            }
        }
    }

    // PC
    // @media (min-width: 768px) {
    // Large devices (desktops, less than 1200px)
    @media (min-width: 1200px) {
        .news-wrapper {
            text-align: left;
            padding-bottom: 100px;
            
            & .news-nav-bar {
                height: 35px;
                background-color: #65a9ff;
                width: 100%;
                height: 35px;
            }
            & .news-nav-content {
                width: 850px;
                margin: -35px auto 0px;
                font-size: 13px;
                color: #ffffff;
                line-height: 2.78;

                & a{
                    .no_underline;
                    color: #FFFFFF;
                }
            }
            & .news-body {
                width: 850px;
                margin: 40px auto 0;

                img {
                    width: auto;
                    height: auto;
                    max-width: 100%;
                }

                & .news-title {
                    font-size: 28px;
                    font-weight: 600;
                    line-height: 1.11;
                    color: #000000;
                }
                & .news-date {
                    margin: 10px 0 15px;
                    font-size: 18px;
                    line-height: 1.72;
                    letter-spacing: normal;
                    color: #c3aa5b;
                }
                & .news-content {
                    font-size: 16px;
                    line-height: 1.88;
                    letter-spacing: normal;
                    text-align: justify;
                    color: #4a4a4a;
                    & a{
                        .no_underline;
                        color: @default_color;
                    }
                }
                & .news-recommend {
                    & .nav {
                        margin: 45px 0 35px 0;
                        vertical-align: text-bottom;

                        & .tab-cust{
                            position: relative;
                            border: none;
                            padding: 10px 20px 15px;
                            margin-right: 50px;
                            color: #4a4a4a;
                            font-size: 18px;
                            letter-spacing: normal;
                        }

                        & .active {
                            color: @default_color;

                            &:after {
                                content: "";
                                display: block;
                                position: absolute;
                                width: 100%;
                                height: 3px;
                                background: @default_color;
                                border-radius: 5px;
                                bottom: -1px;
                                left: 0;
                            }
                        }
                        
                    }
                    & .recommend-item {
                        margin: 20px 0;
                        color: #000000;

                        & .recommend-item-title {
                            font-size: 24px;
                            font-weight: 1000;
                            line-height: 1.29;
                        }
                        & .recommend-item-date {
                            margin: 10px 0 5px;
                            font-size: 16px;
                            font-stretch: normal;
                            line-height: 1.94;
                            color: #c3aa5b;
                        }
                        & .recommend-item-content {
                            font-size: 16px;
                            line-height: 1.88;
                            text-align: justify;
                        }
                    }
                }
            }
        }
    }
}