

/* Start:/bitrix/templates/autism/components/bitrix/news.detail/r_detail/style.css?17653604232765*/
.content,
.news-content {
	margin-bottom: 32px;
}

.service-detail {
	padding: 64px 0;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

section .service-detail {
	padding: 0;
}

.consult-btn {
	white-space: nowrap;
}

.service-preview-text {
	font-size: 1.1em;
}

.detail_picture {
	border-radius: 16px;
	object-fit: cover;
	width: 100%;
	min-height: 490px;
	max-height: 490px;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.tab-content img {
	border-radius: 16px;
}

.tab-pane .content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.tab-pane .service_custom_documents {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.document__item a {
	text-decoration: none;
	color: var(--main-text-color);
}

.row.video {
	display: flex;
	flex-direction: column;
	gap: 16px;
	overflow: hidden;
}

.tags {
	display: flex;
	align-items: center;
	gap: 16px;
}

.tag {
	color: #A5A6A8;

	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: 170%; /* 23.8px */
	text-decoration-line: underline;
	text-decoration-style: solid;
	text-decoration-skip-ink: none;
	text-decoration-thickness: auto;
	text-underline-offset: auto;
	text-underline-position: from-font;
	text-transform: uppercase;
}

.row.video div,
.row.video video {
	width: 100%;
	max-height: 400px;
	object-fit: cover;
	border-radius: var(--border-radius-8);
}

.row.video iframe {
	width: 100%;
	max-width: 100%;
	border-radius: var(--border-radius-8);
}

.gallery {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
}

.gallery .gallery__item {
	max-width: 100%;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.gallery--single {
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery--single .gallery__item {
	border-radius: 16px;
	max-width: 70%;
	width: 100%;
}

.gallery--single a {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

.gallery--slider .gallery__item {
	max-width: 307px;
	width: 100%;
	max-height: 226px;
	min-height: 226px;
	border-radius: 16px;
}

.gallery--double {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}

.gallery--triple {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.gallery--slider {
	display: none; /* Сначала скрываем для инициализации слайдера */
}


@media screen and (max-width: 1000px) {
	.content,
	.news-content {
		margin-bottom: 16px;
	}
	.detail_picture {
		min-height: initial;
		max-height: 300px;
		max-width: 400px;
		align-self: center;
	}
}

@media screen and (max-width: 768px) {
	.service-detail {
		padding: 32px 0;
	}
	.consult-btn {
		order: -1;
	}
	.gallery--single .gallery__item {
		max-width: 100%;
	}
}
/* End */
/* /bitrix/templates/autism/components/bitrix/news.detail/r_detail/style.css?17653604232765 */
