

/* Start:/bitrix/templates/newrealty_main/components/bitrix/news.list/nedv_news/style.css?17804304553744*/
.item_otziv {
	border-radius: 20px;
	background: url(/bitrix/templates/newrealty_main/components/bitrix/news.list/nedv_news/img/k_top_left.png) 5% 5% no-repeat, 
                url(/bitrix/templates/newrealty_main/components/bitrix/news.list/nedv_news/img/k_bottom_right.png) 95% 95% no-repeat;
}

img.arrow {
	margin: -1px 0 0 80px;
}

@media (max-width: 750px) {
	.slick-slide > div img {
		margin-bottom: 20px !important;
	}

	.link_otziv {
		text-align: center;
	}

	.otzivi .index_otziv {
		margin-bottom: 0 !important;
	}

	.slick-dotted.slick-slider {
		margin-top: 20px !important;
	}
}

.item* .h4 {
	font-size: 1.2em;
	font-weight: bold;
}

/* ========================= */
/* Карточки новостей */
/* ========================= */

.news-card-list {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 25px 0;
}

.news-card-wrap {
	width: 100%;
	min-width: 0;
}

.news-card-list a.news-card {
	display: flex !important;
	flex-direction: column;
	height: 100%;
	text-decoration: none !important;
	color: #222 !important;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card-list a.news-card:hover {
	color: #222 !important;
	text-decoration: none !important;
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.news-card-image {
	position: relative;
	width: 100%;
	height: 210px;
	background: #e5e5e5;
	overflow: hidden;
}

.news-card-image img {
	width: 100% !important;
	height: 100% !important;
	display: block;
	object-fit: cover;
}

.news-card-image img.news-card-img-cover {
	object-fit: cover;
}

.news-card-image img.news-card-img-stretch {
	object-fit: cover;
	image-rendering: auto;
}

.news-card-no-image {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #d9d9d9;
	color: #777;
	font-size: 18px;
	font-weight: 600;
}

/* Дата новости в правом верхнем углу */
.news-card-date {
	position: absolute;
	right: 14px;
	top: 14px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 34px;
	padding: 7px 12px;
	background: rgba(255, 255, 255, 0.94);
	color: #222;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 700;
	border-radius: 4px;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.news-card-list a.news-card:hover .news-card-date {
	background: #fff;
}

.news-card-content {
	flex: 1;
	background: #f1f1f1;
	padding: 18px 20px 20px;
}

.news-card-title {
	font-size: 20px;
	line-height: 1.25;
	font-weight: 700;
	margin-bottom: 10px;
	color: #222 !important;
}

.news-card-text {
	font-size: 15px;
	line-height: 1.45;
	color: #555 !important;
}

/* Если этот же шаблон используется на главной */
.news-card-list-index {
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.news-card-list-index .news-card-image {
	height: 170px;
}

.news-card-list-index .news-card-title {
	font-size: 17px;
}

.news-card-list-index .news-card-text {
	font-size: 14px;
}

/* ========================= */
/* Адаптив */
/* ========================= */

@media (max-width: 1199px) {
	.news-card-list,
	.news-card-list-index {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 991px) {
	.news-card-list,
	.news-card-list-index {
		grid-template-columns: repeat(2, 1fr);
	}

	.news-card-image,
	.news-card-list-index .news-card-image {
		height: 190px;
	}
}

@media (max-width: 575px) {
	.news-card-list,
	.news-card-list-index {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.news-card-image,
	.news-card-list-index .news-card-image {
		height: 220px;
	}

	.news-card-title {
		font-size: 19px;
	}

	.news-card-date {
		right: 12px;
		top: 12px;
		font-size: 13px;
		padding: 6px 10px;
	}
}
/* End */
/* /bitrix/templates/newrealty_main/components/bitrix/news.list/nedv_news/style.css?17804304553744 */
