

/* Start:/local/templates/main/components/bitrix/news.list/gallery/style.css?17962107821294*/
.gallery {
	margin-bottom: 100px;
}
.gallery h2 {
	margin-bottom: 32px;
	font-size: 24px;
	line-height: 90.6%;
}
.media-flex {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	margin-bottom: 48px;
}
.media-flex .item {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: 5px;
}
.media-flex .item img {
	width: 100%;
	height: 100%;
	border-radius: 5px;
	transition: transform .3s ease;
	object-fit: cover;
}
.media-flex .item:hover img {
	transform: scale(1.05);
}
.media-flex .item[data-type="video"]::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 52px;
	height: 52px;
	transform: translate(-50%, -50%);
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpolygon fill='%23fff' points='9.33 6.69 9.33 19.39 19.3 13.04 9.33 6.69'/%3E%3Cpath fill='%23fff' d='M26,13A13,13,0,1,1,13,0,13,13,0,0,1,26,13ZM13,2.18A10.89,10.89,0,1,0,23.84,13.06,10.89,10.89,0,0,0,13,2.18Z'/%3E%3C/svg%3E") center/contain no-repeat;
	filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
	pointer-events: none;
	transition: transform .3s ease;
	z-index: 1;
}

.media-flex .item[data-type="video"]:hover::after {
	transform: translate(-50%, -50%) scale(1.12);
}
/* End */
/* /local/templates/main/components/bitrix/news.list/gallery/style.css?17962107821294 */
