﻿#section-4 {
    padding: 0
}

#three-cate {
    background-color: #f3f3f3;
    padding: 0 10%;
    padding-top: 2rem;
}

#section-4 .cate-title {
    font-size: 24px;
    color: #000000;
    font-weight: 600;
    font-family: "Lora";
}

#section-4 a {
    text-decoration: none;
    color: #000000;
}

#section-4 a:hover {
    color: #0072bc;
}


#section-4 a:hover p {
    color: #0072bc;
}

#section-4 h2.cate-title {
    margin: 0;
    padding-bottom: 1.5rem;
    position: relative;
    border-bottom: 2px solid #e9e9e9;
}

#section-4 h2.cate-title:before {
    position: absolute;
    background: #0072bc;
    height: 2px;
    content: '';
    width: 33%;
    bottom: -2px;
    left: 0;
}

#section-4 .cate-big-news div {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

#section-4 .cate-big-news img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    object-position: 0 0;
}

#section-4 .cate-big-news .news-sapo {
    -webkit-line-clamp: 3;
}

#section-4 p {
    font-size: 16px;
    color: #121212;
    font-weight: 600;
    font-family: "Lora";
    margin-bottom: 0;
}

#section-4 .cate-small-news {
    background-color: #f3f3f3;
    border-top: 2px dotted #afafaf;
}

#section-4 .cate-small-news:before {
    content: url('/Images/news.png');
    display: inline;
    margin-left: -1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: text-top;
    position: absolute;
    top: 20px;
}

#section-4 .cate-small-news .news-sapo {
    -webkit-line-clamp: 4;
}

#three-cate .cate-container:first-child {
    padding-left: 0;
}

#three-cate .cate-container:last-child {
    padding-right: 0;
}

@media screen and (max-width: 824px) {
    #section-4 .cate-title {
        font-size: 20px;
        color: #232323;
        font-weight: 600;
        font-family: "Lora";
        line-height: 1;
    }

    #three-cate > div > h2 > a {
        line-height: 1.5;
    }

    #three-cate {
        padding: 0 5%;
        padding-top: 2rem;
    }
}

@media screen and (max-width: 769px) {
    #section-4 .cate-title {
        font-size: 19px;
    }

    #section-4 .cate-big-news img {
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: 0 0;
    }

    #three-cate {
        padding: 0 5%;
        padding-top: 2rem;
    }
}

@media screen and (max-width: 732px) {
    #section-4 .cate-big-news {
        max-height: unset;
    }

    #section-4 .cate-big-news .cate-sapo {
        -webkit-line-clamp: 5;
    }
}

@media screen and (max-width: 669px) {
    #section-4 .cate-container {
        margin-top: 20px;
    }

    #section-4 .cate-title {
        font-size: 24px;
        font-weight: 600;
        font-family: "Lora";
    }

    #section-4 .cate-sapo {
        font-size: 20px;
        font-weight: 400;
        font-family: "Roboto";
    }

    #section-4 .cate-big-news {
        max-height: unset;
    }

    #section-4 .cate-big-news .cate-sapo {
        -webkit-line-clamp: 4;
    }
    #three-cate {
        padding-top: 0;
    }
    .cate-container {
        padding: 0;
    }

}

@media screen and (max-width: 450px) {
    #section-4 .cate-big-news .cate-sapo {
        -webkit-line-clamp: 4;
    }

    #section-4 .cate-small-news {
        border-top: 2px solid #e2e2e2;
        background-color: #f3f3f3;
    }

    #section-4 .cate-title {
        font-size: 24px;
        font-weight: 600;
        font-family: "Lora";
    }

    #section-4 .cate-sapo {
        font-size: 22px;
        font-weight: 400;
        font-family: "Roboto";
    }

    #section-4 .cate-big-news {
        max-height: unset;
    }

    #section-4 .cate-container {
        margin-top: 20px;
    }
}

@media screen and (max-width: 361px) {
    #section-4 .cate-title {
        font-size: 22px;
        font-weight: 600;
        font-family: "Lora";
    }

    #section-4 .cate-sapo {
        font-size: 18px;
        font-weight: 400;
        font-family: "Roboto";
    }

    #section-4 .cate-big-news {
        max-height: unset;
    }
}

@media screen and (max-width: 281px) {
    #section-4 .cate-title {
        font-size: 20px;
        font-weight: 600;
        font-family: "Lora";
    }

    #section-4 .cate-sapo {
        font-size: 18px;
        font-weight: 400;
        font-family: "Roboto";
    }

    #section-4 .cate-big-news {
        max-height: unset;
    }
}
