

/* Start:/bitrix/components/site/medialib.gallery/templates/.default/style.css?17954211931658*/
.gallery-by-sections {
	padding: 40px 0;
}

.gallery-section {
	margin-bottom: 60px;
}

.gallery-section-title {
	font-size: 28px;
	margin-bottom: 30px;
	font-weight: 600;
}

.gallery-items {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.gallery-item {
	width: calc(33.333% - 14px);
	box-sizing: border-box;
}

.gallery-item-img {
	width: 100%;
	height: auto;
	max-height: 310px;
	object-fit: cover;
	display: block;
	margin-bottom: 10px;
	border-radius: 6px;
	transition: transform 0.3s ease;
}

@media screen and (min-width: 951px) {
    .gallery-item-img {
    	height: 310px;
    }
}

@media screen and (max-width: 950px) {
    .gallery-item-img {
    	max-height: 90px;
    }
    
    .gallery-item {
    	width: calc(50% - 14px);
    	box-sizing: border-box;
    }
}

.gallery-item-img:hover {
	transform: scale(1.02);
}

.gallery-item-title {
	text-align: center;
	font-size: 16px;
	font-weight: 500;
}

.gallery-link--sticker {
	position: relative;
	display: block;
	margin-bottom: 10px;
}

.gallery-link--sticker .gallery-item-img {
	margin-bottom: 0;
}

.gallery-sticker {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	box-sizing: border-box;
	max-width: calc(100% - 24px);
	padding: 6px 10px;
	border-radius: 5px;
	background: rgba(25, 25, 25, 0.9);
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	overflow-wrap: anywhere;
	pointer-events: none;
}

.gallery-sticker-price {
	font-size: 16px;
	font-weight: 700;
}

@media screen and (max-width: 950px) {
	.gallery-sticker {
		position: static;
		width: fit-content;
		max-width: 100%;
		margin: 6px auto 0;
		text-align: center;
	}
}

/* End */
/* /bitrix/components/site/medialib.gallery/templates/.default/style.css?17954211931658 */
