﻿.news-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.news-main {
    padding: 0 10px 20px;
}

.news-item {
    width: calc(33.33% - 20px);
	margin: 0 30px 20px 0;
	
	position: relative;
}

    .news-item:nth-child(3n) {
        margin-right: 0;
    }

    .news-item a {
        text-decoration: none;
    }

.news-img {
    overflow: hidden;
    border-radius: 5px;
    flex-shrink: 0;
    position: relative;
}

.news-txt {
    color: #fff;
    margin: 0;
    font-size: 15px;
    line-height: 1.5em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-ttl {
    font-size: 20px;
    line-height: 1.3em;
    color: #fff;
    margin-bottom: 10px;
    transition: all 0.3s;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-weight: bold;
}

.news-item:hover .news-img img {
    transform: scale(1.05,1.05);
}

.news-item:hover .news-ttl {
    color: #fada7d;
}

.news_itm_info span {
    color: #fada7d;
}

/*.news-img span::before{
    content: '';
    position: relative;
    display: inline-block;
    background: url(../img/ico_date_white.png) no-repeat center center/100% auto;
    width: 14px;
    height: 15px;
    margin-right: 10px;
    top: 2px;
}*/

.news-img img {
    width: 100%;
    transition: all 0.5s ease;
    height: 100%;
    object-fit: cover;
}

/*.news-date {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: #ff9d57;
    color: #fff;
    width: 150px;
    text-align: center;
    font-size: 16px;
    padding: 3px;
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    transition: all 0.5s ease;
}*/
.news_itm_info {
    font-size: 14px;
    margin: 0 0 10px;
}
/*.news_itm_info span:before {
	content: '';
	position: relative;
	display: inline-block;
	background: url("/W_images/b04_icon02.png") no-repeat center center;
	width: 13px;
	height: 13px;
	margin-right: 5px;
}
    */
.news-link {
    text-align: right;
    font-weight: 500;
    font-style: italic;
    margin: 0;
    font-size: 16px;
}

@media screen and (max-width:768px) {
    .news_itm_info span {
        font-size: 12px;
    }
}

@media screen and (max-width:480px) {
    .news-item a {
        display: block;
    }

    .news-img, .news-main {
        width: 100%
    }

    .news-list {
        display: block;
    }

    .news-item {
        width: 100%;
        padding: 0 0 20px;
        margin: 0 0 25px;
    }
}
