

/* Start:/local/templates/premium_clinic/components/bitrix/news/stock/bitrix/news.list/.default/style.css?17649333863450*/
.stock-row {
	display: flex;
	flex-direction: column;
	gap: 34px; /* немного уменьшен отступ между карточками */
	width: 100%;
	align-items: stretch;
}

.stock-card {
	position: relative;
	background: linear-gradient(120deg, #fff 70%, #e7fafd 100%);
	border-radius: 22px;
	box-shadow: 0 8px 42px #04afcf23, 0 1.5px 2.5px #c6f4f71a;
	padding: 22px 26px 18px 22px; /* уменьшены внутренние отступы */
	min-height: 120px;
	max-height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	transition: box-shadow .22s, transform .18s;
	overflow: hidden;
}

.stock-card:hover {
	transform: translateY(-3px) scale(1.014);
	box-shadow: 0 14px 38px #03b2cc3a, 0 2px 10px #e61b7817;
}

/* --- Картинка акции --- */
.stock-card__img {
	position: absolute;
	top: 16px;
	right: 20px;
	width: 180px;
	height: 90px;
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	z-index: 2;
}
.stock-card__img img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 14px;
	box-shadow: 0 2px 16px #04afcf22;
	object-fit: contain;
}

/* --- Верхний ряд (badge + дата) --- */
.stock-card__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 7px;
	margin-right: 110px; /* уменьшено */
}
.stock-card__badge {
	background: linear-gradient(90deg, #e71963 65%, #02b1c5 100%);
	color: #fff;
	font-weight: 700;
	border-radius: 12px;
	font-size: 1.02rem;
	padding: 5px 16px 4px 14px;
	letter-spacing: .03em;
	box-shadow: 0 2px 10px #f9b8d644;
	border: none;
}
.stock-card__date {
	font-size: 0.98rem;
	color: #04afcf;
	opacity: .74;
	font-weight: 500;
}

/* --- Заголовок и описание --- */
.stock-card__title {
	font-size: 1.19rem;
	font-weight: 700;
	color: #22384d;
	margin-bottom: 7px;
	line-height: 1.22;
	margin-right: 102px;
}
.stock-card__desc {
	color: #3a3d41;
	font-size: 1.01rem;
	margin-bottom: 12px;
	opacity: 0.98;
	margin-right: 92px;
	word-break: break-word;
	line-height: 1.38;
	max-height: 4.2em;  /* не больше ~3 строк */
	overflow: hidden;
	position: relative;
}
.stock-card__desc b,
.stock-card__desc strong {
	font-weight: bold;
	display: inline;
}
.stock-card__desc em,
.stock-card__desc i {
	font-style: italic;
	display: inline;
}
.stock-card__desc br {
	line-height: 1.25;
	margin: 0;
}
.stock-card__desc > *:last-child {
	margin-bottom: 0;
}

/* --- Подробнее --- */
.stock-card__more {
	display: inline-block;
	margin-top: auto;
	color: #04afcf;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1.5px dotted #04afcf77;
	transition: color .18s, border-color .18s;
	font-size: 1.07rem;
	letter-spacing: .04em;
}
.stock-card__more:hover {
	color: #e71963;
	border-bottom: 1.5px solid #e61b78;
}

/* --- Мобильная адаптация --- */
@media (max-width: 900px) {
	.stock-row {
		gap: 17px;
	}
	.stock-card {
		padding: 13px 7px 14px 9px;
		min-height: 92px;
	}
	.stock-card__img {
		top: 11px;
		right: 8px;
		width: 62px;
		height: 32px;
	}
	.stock-card__title,
	.stock-card__desc,
	.stock-card__top {
		margin-right: 34px;
	}
}
@media (max-width: 600px) {
	.stock-card__img {
		position: static;
		margin: 0 auto 8px auto;
		width: 54vw;
		height: 18vw;
		max-width: 140px;
		max-height: 48px;
		justify-content: center;
	}
	.stock-card__top, .stock-card__title, .stock-card__desc {
		margin-right: 0;
	}
}

/* End */
/* /local/templates/premium_clinic/components/bitrix/news/stock/bitrix/news.list/.default/style.css?17649333863450 */
