﻿

.news-item {
    padding: 30px 20px;
}

.news-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 480px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.4);
    background: #fff;
    overflow: hidden;
}

    .news-link:hover .news-thumb {
        transform: scale(1.1);
    }

    .news-link:hover .news-info .title {
        color: #007bff;
    }

.news-thumb {
    height: 60%;
    transition: all 0.3s ease-in-out;
}

.news-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 40%;
}

.news-thumb img {
    width: 100%;
    height: 100%;
}

.news-info {
    padding: 20px 40px;
}

    .news-info .category {
        color: #376BE3;
        font-size: 18px;
        font-weight: 600;
    }

    .news-info .title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #000;
        font-size: 20px;
        font-weight: 700;
    }

    .news-info .pubDate {
        color: #aaa;
        font-size: 15px;
        font-weight: 600;
        margin:0;
    }

/* col-12 / col-6 */
@media(max-widht:767px) {
    .news-info .category {
        font-size: 13px !important;
    }

    .news-info .title {
        font-size: 15px !important;
    }

    .news-info .pubDate {
        font-size: 13px !important;
    }
}
/* col-4 */
@media(max-width:991px) {
    .news-link{
        height:440px !important;
    }
    .news-info {
        padding: 20px 25px !important;
    }

        .news-info .category {
            font-size: 15px !important;
        }

        .news-info .title {
            font-size: 15px !important;
        }
}
@media(max-width:575px){
    .container{
        padding : 0 100px !important;
    }
}
@media(max-width:480px){
    .container{
        padding: 0 20px !important;
    }
}