
:root {
    --preview-image-width: 242px;
}
.kc_news{
    display: block;
    position: relative;
    padding: 0 0 56px 0;
}
.kc_news .kc_content_news{
    display: none;
}
.kc_news .kc_content_news.show{
    display: block;
}
.kc_news .kc_tab_news{
    display: inline-block;
    position: relative;
    cursor: pointer;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    color: rgba(0, 88, 136, 1);
    margin-right: 30px;
}
.kc_news .kc_tab_news.active{
    font-weight: 600;
}
.kc_news .kc_tab_news:hover{
    text-decoration: underline;
}

.kc_news .kc_tab_news.active:hover{
    text-decoration: none;
}
.kc_news .row-flex {
    display: flex;
    flex-flow: row wrap;
}
.kc_news .kc_margin_14{
    margin-right: -7px;
    margin-left: -7px;
}
.kc_news .kc_margin_14 .col-sm-12{
    padding-right: 7px;
    padding-left: 7px;
}
.kc_news .news_item{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    position: relative;
    background: #FFFFFF;
    color: #000;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    padding: 18px 18px 18px 272px;
    height: calc(var(--preview-image-width) * 3 / 4);
}

.kc_news .news_item .kc_date, .kc_news .news_item .kc_name, .kc_news .news_item .kc_more{
    display: block;
    position: relative;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
}
.kc_news .news_item .kc_name{
    display: -webkit-box;
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 3;
    overflow: hidden; 
    max-height: 54px;
    font-weight: 500;
}
.kc_news .news_item .kc_more{
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    text-decoration-line: underline;
}
.kc_news .news_item .kc_img{
    display: block;
    position: absolute;
    height: calc(var(--preview-image-width) * 3 / 4);
    width: var(--preview-image-width);
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.kc_news .news_item:hover, .kc_news .news_item:hover {
    text-decoration: none;
}

@media (max-width:1199px) {
    :root {
        --preview-image-width: 200px;
    }
    .kc_news .news_item {
        padding: 18px 18px 18px 218px;
    }
    .kc_news .news_item .kc_img {
        height: calc(var(--preview-image-width)* 3 / 4);
        width: var(--preview-image-width);
    }
}


@media (min-width: 767px){
    .kc_news .news_item:hover{
        background: #005888;
        color: #fff;
    }
}
@media (max-width: 767px){
    .kc_news .row-flex .col-sm-12 {
        width: 100%;
    }
}

@media (max-width: 480px){
    .kc_news .news_item {
        padding: 0 0 18px 0;
        height: fit-content;
        gap: 15px;
    }

    .kc_news .news_item .kc_img {
        position: relative;
        width: 100%;
        aspect-ratio: 4 / 3;
        height: auto;     
    }
    .kc_news .news_item .kc_date, .kc_news .news_item .kc_name, .kc_news .news_item .kc_more {
        padding: 0 18px;
    }
}