

/* Start:/bitrix/templates/cor/components/bitrix/news.list/inf_cards/style.css?17865449725650*/
/* ==========================================
   Список статей /inf/
   ========================================== */

.inf-articles {
	width: 100%;
	padding: 10px 0 40px;
}

.inf-articles__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	width: 100%;
}


/* Карточка */

.inf-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.inf-card:hover {
	transform: translateY(-5px);
	border-color: #efc329;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}


/* Изображение */

.inf-card__image {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eeeeee;
	text-decoration: none !important;
}

.inf-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.inf-card:hover .inf-card__image img {
	transform: scale(1.045);
}


/* Если у статьи нет изображения */

.inf-card__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 25px;
	text-align: center;
	background:
		linear-gradient(
			135deg,
			#f8ce35 0%,
			#eebd17 100%
		);
	color: #222;
}

.inf-card__placeholder-icon {
	margin-bottom: 10px;
	font-size: 46px;
	line-height: 1;
	font-weight: 700;
}

.inf-card__placeholder-text {
	font-size: 16px;
	line-height: 1.4;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}


/* Контент */

.inf-card__content {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 23px 24px 24px;
}

.inf-card__date {
	margin-bottom: 10px;
	color: #999;
	font-size: 12px;
	line-height: 1.4;
	text-transform: uppercase;
	letter-spacing: 0.35px;
}

.inf-card__title {
	margin: 0 0 14px !important;
	padding: 0 !important;
	font-size: 19px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	text-transform: none !important;
}

.inf-card__title:before,
.inf-card__title:after {
	display: none !important;
}

.inf-card__title a {
	color: #202020 !important;
	text-decoration: none !important;
	transition: color 0.2s ease;
}

.inf-card__title a:hover {
	color: #c99a00 !important;
}

.inf-card__text {
	margin-bottom: 20px;
	color: #666;
	font-size: 14px;
	line-height: 1.65;
}

.inf-card__bottom {
	margin-top: auto;
	padding-top: 5px;
}

.inf-card__more {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #1e1e1e !important;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	transition: color 0.2s ease;
}

.inf-card__more span {
	display: inline-block;
	color: #e4ae00;
	font-size: 19px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.inf-card__more:hover {
	color: #c99a00 !important;
}

.inf-card__more:hover span {
	transform: translateX(4px);
}


/* Пагинация */

.inf-articles__pager {
	clear: both;
	margin-top: 35px;
	text-align: center;
}

.inf-articles__pager--top {
	margin-top: 0;
	margin-bottom: 25px;
}


/* ==========================================
   Планшеты
   ========================================== */

@media screen and (max-width: 1100px) {

	.inf-articles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px;
	}

}


/* ==========================================
   Телефоны
   ========================================== */

@media screen and (max-width: 650px) {

	.inf-articles {
		padding-top: 5px;
		padding-bottom: 25px;
	}

	.inf-articles__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.inf-card__content {
		padding: 20px;
	}

	.inf-card__title {
		font-size: 18px !important;
	}

	.inf-card__text {
		font-size: 14px;
	}

}
/* ==========================================
   Финальная доводка карточек /inf/
   ========================================== */

/* Немного расширяем область статей */
.inf-articles {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}


/* Делаем картинку/заглушку компактнее */
.inf-card__image {
	aspect-ratio: 16 / 8.5;
}


/* Заглушка */
.inf-card__placeholder {
	padding: 18px 20px;
}

.inf-card__placeholder-icon {
	font-size: 36px;
	margin-bottom: 8px;
}

.inf-card__placeholder-text {
	font-size: 12px;
	letter-spacing: 0.6px;
}


/* Немного компактнее контент */
.inf-card__content {
	padding: 18px 20px 20px;
}


/* Выравниваем заголовки карточек */
.inf-card__title {
	font-size: 17px !important;
	line-height: 1.35 !important;
	min-height: 69px;
	margin-bottom: 12px !important;
}


/* Кнопка всегда внизу */
.inf-card__bottom {
	margin-top: auto;
	padding-top: 12px;
}


/* Читать статью */
.inf-card__more {
	font-size: 11px;
	letter-spacing: 0.45px;
}


/* Чуть мягче тень */
.inf-card {
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.06);
}

.inf-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.11);
}


/* Планшет */
@media screen and (max-width: 1100px) {

	.inf-card__title {
		min-height: auto;
	}

}


/* Телефон */
@media screen and (max-width: 650px) {

	.inf-card__image {
		aspect-ratio: 16 / 8;
	}

	.inf-card__title {
		min-height: auto;
		font-size: 17px !important;
	}

}
/* End */
/* /bitrix/templates/cor/components/bitrix/news.list/inf_cards/style.css?17865449725650 */
