
/*template.php*/
@media all {
    .three-news {
		display: flex;
		margin: -15px;
    }
    .three-news__big-item {
		width: calc(50% - 30px);
		margin: 15px;
		display: block;
		position: relative;
		color: #000000;
		text-decoration: none;
		transition: .15s linear;
    }
    .three-news__big-item__image {
		display: block;
		overflow: hidden;
    }
	.three-news__big-item__image span {
		transition: .3s ease;
		display: block;
		padding-bottom: 60%;
		-webkit-background-size: cover;
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
	}
		/*.three-news__big-item:hover .three-news__big-item__image span {
			transform: scale(1.1);
		}*/
    .three-news__big-item__content {
		position: absolute;
		bottom: 0;
		width: 100%;
		background-color: #fff;
		padding: 15px 28px 28px;
		z-index: 1;
    }
    .three-news__date {
		opacity: 0.3;
		font-size: 13px;
		font-weight: 600;
		color: #999999;
		margin-bottom: 15px;
		display: block;
    }
    .three-news__name {
		font-size: 18px;
		line-height: 1.3;
		color: #000;
    }
		.three-news__item-link:hover .three-news__name {
			text-decoration: underline;
		}
		.three-news__big-item:hover .three-news__name {
			text-decoration: underline;
		}

	.three-news__row {
		display: flex;
		width: calc(50%);
    }
    .three-news__item-link {
		display: flex;
		position: relative;
		width: calc(50% - 30px);
		margin: 15px;
		color: #000000;
		text-decoration: none;
		overflow: hidden;
		transition: .15s linear;
    }
	.three-news__item-image {
		transition: .3s ease;
		width: 100%;
		background-repeat: no-repeat;
		background-position: center;
		-webkit-background-size: cover;
		background-size: cover;
		display: block;
	}
		/*.three-news__item-link:hover .three-news__item-image {
			transform: scale(1.1);
		}*/
    .three-news__item-content {
		position: absolute;
		left: 0;
		bottom: 0;
		background-color: #fff;
		padding: 15px 28px 28px;
		width: 100%;
    }

		.three-news__big-item:hover, .three-news__item-link:hover {
			box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.25);
		}
}
@media (max-width: 1300px) {
	.three-news__row {
		flex-direction: column;
	}
}
@media (max-width: 1023px) {
	.three-news__big-item__content, .three-news__item-content {
		padding: 15px;
	}
	.three-news__date {
		margin-bottom: 6px;
	}
	.three-news__big-item__image span {
		padding-bottom: 85%;
	}
	.three-news__name {
		max-height: calc(100% - 26px);
		overflow: hidden;
		display: block;
	}
}
@media (max-width: 767px) {
	.three-news {
		flex-direction: column;
	}
	.three-news__big-item {
		width: calc(100% - 30px);
	}
	.three-news__row {
		width: 100%;
	}
	.three-news__big-item__image span {
		padding-bottom: 30%;
	}
	.three-news__big-item__content {
		position: relative;
		display: block;
	}
	.three-news__name {
		font-size: 16px;
		max-height: none;
	}
	.three-news__big-item {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.three-news__item-link {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	.three-news__item-content {
		min-height: 0;
	}
}