.service-single-banner {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	width: 100%;
	display: grid;
	font-weight: normal;
}

.service-single-banner-img,
.service-single-banner-content {
	grid-area: 1 / 1;
}

.service-single-banner-img {
	position: relative;
	z-index: 0;
	align-self: stretch;
	min-height: 0;
}


.service-single-banner .service-single-banner-image--desktop {
	display: block;
}

.service-single-banner .service-single-banner-image--mobile {
	display: none;
}
.service-single-banner img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.service-single-banner .service-single-banner-image--desktop {
	display: block;
}

.service-single-banner .service-single-banner-image--mobile {
	display: none;
}

.service-single-banner-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-self: end;
	align-self: stretch;
	max-width: 50%;
	padding: 28px;
	color: #fff;
	margin: 20px;
	border-radius: 16px;
	justify-content: space-between;
	background: rgb(255 255 255 / 6%);
	border: 1px solid rgb(255 255 255 / 23%);
	backdrop-filter: blur(15.15px);
}

.service-single-banner-content::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("/upload/my/services_banner_price.png");
	background-size: cover;
	background-position: center;
	opacity: 0.1;
	z-index: 0;
	pointer-events: none;
}

.service-single-banner-content > * {
	position: relative;
	z-index: 2;
}

.service-single-banner-title {
	margin: 0 0 30px;
	font-weight: 700;
	font-size: 55px;
	line-height: 120%;
	color: #fff;
}

.service-single-banner-announcement {
	margin: 0;
	font-size: 25px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
	margin-bottom: 120px;
}

.service-single-banner-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 26px;
	min-height: 52px;
	padding: 12px 28px;
	width: 100%;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	font-size: 20px;
	border: none;
}

.service-single-banner-btn:hover {
	background: #ffffff;
	color: #171a2b;
	text-decoration: none;
}
.service-single-content .description_block2-text{
	margin-top: 0 !important;
}

.service-single-content .container-content2 {
	display: flex;
	padding: 40px 0;
}

/*
 * .container-content2 — flex-контейнер, поэтому .description_block3_layout как flex-элемент
 * схлопывается до своей content-ширины (у него flex: 0 1 auto). Растягиваем его на всю ширину:
 * тогда «50/50» считается от полной ширины ряда, а одиночный блок (только картинка или только
 * текст) реально занимает всё место, а не сжимается до размера картинки/строки текста.
 */
.service-single-content .container-content2 > .description_block3_layout {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

/*
 * «Карточка» блока 2: геометрия ОДИНАКОВАЯ в обоих вариантах — с фоновой картинкой
 * (--has-bg) и без неё (fallback-цвет). Различаются только фон и цвет текста,
 * поэтому блок выглядит одинаково независимо от того, задана ли у услуги фоновая
 * картинка (и есть ли вообще левая картинка).
 *
 * РАНЬШЕ: padding/radius/min-height были только у --has-bg, а fallback-вариант
 * получал только background-color → текст прижимался к краям, углы были прямыми,
 * а при коротком описании высота падала до ~100px вместо 610px.
 */
.service-single-content .description_block3_content{
    padding: 32px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    min-height: 610px;
    height: auto;
    justify-content: space-between;
    box-sizing: border-box;
}
.service-single-content .description_block3_content--has-bg{
    color: #fff;
}
.service-single-content .description_block3_content:not(.description_block3_content--has-bg){
    background-color: #F2F4FF;
    color: #032279;
}
/* Внутренние обёртки — только раскладка: фон и padding живут на самой карточке,
   иначе к паддингу карточки добавлялся бы padding (20px) из мобильного @media. */
.service-single-content  .description_block_full_content{
    background-color: transparent;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.service-single-content .description_block2-text {
    flex-grow: 0;
    display: block;
    margin-top: auto;
}

.service-single-content .description_block_full_content .adns_name-block2-service {
    margin-top: 0;
    margin-bottom: 0;
}
.service-single-content .adns_name-block2-service .title2_value{ 
    color: inherit;
	border-bottom: 1px solid #171a2b;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 20px;
	margin-bottom: 20px;
}

.service-single-content .description_block3_content--has-bg .adns_name-block2-service .title2_value {
	border-bottom-color: #fff;
}
.content-single-service .service-block3-lists {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	align-items: stretch;
	margin-top: 40px;
}

.content-single-service .service-block3-lists__col {
	flex: 1 1 calc(50% - 12px);
	min-width: 0;
	max-width: 100%;
}

.content-single-service .service-block3-lists__col:only-child {
	flex: 1 1 100%;
}


.content-single-service .service-analysis-composition {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}


.content-single-service .service-list-card {
	margin: 0;
	padding: 20px;
	border: 1px solid #e7e3e363;
	border-radius: 30px;
	box-shadow: 1px 2px 15px 0 #0000000f;
	border-left: 6px solid transparent;
}


.content-single-service .service-list-card--indications {
	border-left-color: #006D4B;
}
.content-single-service .service-list-card--diagnostics{
	border-left-color: #032279;
}

.content-single-service .service-list-card__title {
	margin: 0;
	font-family: Outfit, system-ui, sans-serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.content-single-service .service-list-card--indications .service-list-card__title {
	color: #006D4B;
}
.content-single-service .service-list-card--diagnostics .service-list-card__title{
	color:#032279;

}


.content-single-service .service-list-card__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	text-align: left;
}

.content-single-service .service-list-card__arrow-wrap {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 34px;
	background: #fff;
	transform: rotate(180deg);
}

.content-single-service .service-list-card__arrow {
	width: 22px;
	height: 26px;
	display: block;
	transition: transform 0.2s ease;
}

.content-single-service .service-list-card.is-open .service-list-card__arrow {
	transform: rotate(180deg);
}

.content-single-service .service-list-card__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 5px;
	line-height: 22px;
	font-size: 16px;
	margin-top: 14px;
}

.content-single-service .service-list-card__row {
	display: flex;
	align-items: start;
	gap: 10px;
	padding: 10px 0;
}

.content-single-service .service-list-card__ic {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.content-single-service .service-list-card__icon {
	display: block !important;
	width: 16px !important;
	height: 16px !important;
	object-fit: contain;
	max-width: none !important;
	max-height: none !important;
	margin-top: 5px;
}

.content-single-service .service-analysis-composition {
	margin-top: 80px;
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.content-single-service .service-analysis-composition__heading {
	margin: 0;
	font-weight: 500;
	font-size: 48px;
	line-height: 54px;
	padding-bottom: 16px;
	color: black;
}

.content-single-service .service-analysis-composition__panel {
	box-sizing: border-box;
	display: flex;

	justify-content: center;
	width: 100%;
	min-height: 1158px;
	border: 1px solid #d6daf1;
	border-radius: 16px;
	padding: 42px 24px 24px 24px;
}

.content-single-service .service-analysis-composition__body {
	min-height: 0;
	width: 100%;
	max-width: 100%;
	text-align: center;
}

.content-single-service .service-analysis-composition__title {
	margin: 0;
	font-weight: 700;
	font-size: 35px;
	line-height: 54px;
	letter-spacing: 0;
	text-align: center;
	color: black;
}

.content-single-service .service-analysis-composition__subtitle {
	display: block;
	margin: 0;
	margin-inline: auto;
	max-width: min(100%, 60rem);
	font-weight: 400;
	font-size: 20px;
	line-height: 28px;
	letter-spacing: 0;
	text-align: center;
	text-wrap: balance;
	color: black;
}

.content-single-service .service-analysis-composition__title + .service-analysis-composition__subtitle {
	margin-top: 16px;
}

.content-single-service .service-analysis-composition__panel--has-cards {
	min-height: 0;
}

.content-single-service .service-analysis-composition__cards {
	width: 100%;
	max-width: 100%;
	margin-top: 32px;
	text-align: left;
	box-sizing: border-box;
}



.content-single-service .service-analysis-slider {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.content-single-service .service-analysis-slider__main {
	position: relative;
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	box-sizing: border-box;
	padding: 0;
}

.content-single-service .service-analysis-slider__track {
	position: relative;
	width: 100%;
	max-width: 100%;
	min-height: 0;
}

.content-single-service .service-analysis-slider__slide {
	display: none;
	width: 100%;
	box-sizing: border-box;
}

.content-single-service .service-analysis-slider__slide.is-active {
	display: block;
}

.content-single-service .service-analysis-slider__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	width: 100%;
	align-items: stretch;
	box-sizing: border-box;
	margin-bottom: 20px;
}

.content-single-service .service-analysis-slider__bottom {
	position: relative;
	z-index: 2;
	display: flex;
	justify-content: center;
	width: 100%;
	padding-top: 20px;
	box-sizing: border-box;
	pointer-events: auto;
}

.content-single-service .service-analysis-slider__dots {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
}

.content-single-service .service-analysis-slider__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--color-border);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: background 0.2s, transform 0.2s;
}

.content-single-service .service-analysis-slider__dot.is-active {
	background: var(--color-primary);
	transform: scale(1.1);
}


.content-single-service .service-analysis-slider__dots--slides {
	display: flex;
}

.content-single-service .service-analysis-slider__dots--cards {
	display: none;
}


.content-single-service .service-analysis-card {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: 100%;
	min-width: 0;
	min-height: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.content-single-service .service-analysis-card__media {
	flex: 0 0 auto;
	width: 100%;
	height: 220px;
	min-width: 0;
	border-radius: 12px;
	overflow: hidden;
}

.content-single-service .service-analysis-card__img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 12px;
	object-fit: contain;
	object-position: center;
}

.content-single-service .service-analysis-card__text-col {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-width: 0;
	min-height: 0;
	width: 100%;
}

.content-single-service .service-analysis-card__block-label {
	flex: 0 0 auto;
	margin: 0 0 8px;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	color: #032279;
}

.content-single-service .service-analysis-card--no-image .service-analysis-card__text-col {
	max-width: 100%;
}


.content-single-service .service-analysis-card__text {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.75em;
	min-height: 0;
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--color-primary);
}

.content-single-service .service-analysis-card__text p {
	margin: 0;
}

.content-single-service .service-analysis-card__text-heading1 {
	margin: 0;
	font-weight: 700;
	font-size: 24px;
	line-height: 28px;
	text-align: center;
}

.content-single-service .service-analysis-card__text-heading2 {
	margin: 0;
	font-weight: 700;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 0;
	text-align: center;
}

.content-single-service .service-analysis-card__triple-wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 16px;
	border-radius: 16px;
	background: #f6f6f6;
	color: black;
}

.content-single-service .service-analysis-card__triple-list {
	margin: 0;
	list-style: disc outside;
}

.content-single-service .service-analysis-card__triple-item::before {
    content: none !important;
}

.content-single-service .service-analysis-card__triple-item {
    list-style-type: disc !important;
    display: list-item !important;
    margin-left: 20px !important;
}
.content-single-service .service-analysis-card__triple-item + .service-analysis-card__triple-item {
	margin-top: 10px;
}


.content-single-service .service-analysis-booking {
	display: flex;
	align-items: center;
	/* gap: 24px; */
	margin-top: 24px;
	padding: 35px 32px;
	border-radius: 16px;
	background: var(--color-border);
	justify-content: space-between;
}

.content-single-service .service-analysis-booking__title {
	flex: 0 0 60%;
	max-width: 60%;
	min-width: 0;
	color: var(--color-primary);
	font-weight: 700;
	font-size: 28px;
	line-height: 1.25;
}

.content-single-service .service-analysis-booking__price {
	flex: 0 0 10%;
	color: #161b34;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.2;
	white-space: nowrap;
}

.content-single-service .service-analysis-booking__btn {
	flex: 0 0 20%;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	min-height: 54px;
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--color-primary);
	color: #fff;
	cursor: pointer;
}

.content-single-service .service-analysis-booking__btn-text {
	font-weight: 400;
	font-size: 20px;
	line-height: 1;
}

.content-single-service .service-analysis-booking__btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	transform: rotate(45deg);
}

.content-single-service .service-analysis-booking__btn-icon img {
	display: block;
	width: 100%;
	height: 100%;
	filter: brightness(0) invert(1);
}

.description_block3_layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.description_block3_layout.has-image .description_block3_media,
.description_block3_layout.has-image .description_block3_content {
    flex: 0 0 calc(50% - 12px);
    max-width: calc(50% - 12px);
}

.description_block3_layout.has-image {
    align-items: stretch;
}

/*
 * Одиночный блок растягивается на всю ширину: только картинка (нет заголовка/описания)
 * или только текст (нет картинки). Две колонки 50/50 — исключительно у .has-image,
 * поэтому она перекрывает эти правила по специфичности (0,3,0 против 0,2,0).
 * width: 100% обязателен: у .description_block3_media стоит align-self: flex-start,
 * из-за которого без явной ширины блок схлопывается до размера картинки.
 * box-sizing: border-box обязателен: тема не задаёт его глобально, а у карточки
 * .description_block3_content есть padding 32px — без border-box колонка была на 64px
 * шире соседней и ряд вылезал за .container-content2.
 */
.description_block3_layout > .description_block3_media,
.description_block3_layout > .description_block3_content {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.description_block3_content,
.description_block3_content .description_block_full_content3,
.description_block3_content .description_block3__content,
.description_block3_content .description_block_full_content {
    height: 100%;
}

/*
 * Цепочку обёрток делаем flex-колонками с flex: 1 1 auto, а не только height: 100%:
 * без картинки высоту карточки задаёт min-height, а от неё процентные высоты
 * (height: 100%) не считаются и схлопываются в auto → текст стоял сразу под заголовком,
 * а ~480px карточки пустовали. С картинкой высоту задавала картинка, поэтому выглядело иначе.
 * Теперь цепочка всегда растягивается на высоту карточки: заголовок — сверху,
 * описание — снизу (justify-content: space-between + margin-top: auto).
 */
.service-single-content .description_block3_content > .description_block_full_content3,
.service-single-content .description_block3_content .description_block3__content,
.service-single-content .description_block3_content .description_block_full_content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    /* min-height НЕ сбрасываем в 0: иначе на длинном тексте цепочка сжимается и карточка
       остаётся ровно 610px, подрезая контент. С min-height: auto карточка растёт по контенту. */
    min-height: auto;
}

.description_block3_layout.has-image .description_block3_content,
.description_block3_layout.has-image .description_block3_content .description_block_full_content3,
.description_block3_layout.has-image .description_block3_content .description_block3__content,
.description_block3_layout.has-image .description_block3_content .description_block_full_content {
    height: 100%;
}

.description_block3_media {
    position: sticky;
    top: 16px;
    align-self: flex-start;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.description_block3_full_img {
    width: 100%;
    height: 610px; 
}

.description_block3_media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.description_block_full_content > div:last-child{
    margin-top: auto;
}

.description_block_full_content p {
    margin-bottom: 0;
    color: inherit;
}

.description_block_full_content h1,
.description_block_full_content h2,
.description_block_full_content h3,
.description_block_full_content h4,
.description_block_full_content b {
    color: inherit;
    font-weight: 700 !important;
    line-height: 100%;
}

.adns2_container-desc-2 .adns_name-block2-service .title2_value {
    color: #032279 !important;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #03227933;
	margin-bottom: 20px;
}

@media (max-width: 991px) {
	.service-single-banner-img {
		min-height: 550px;
	}

	.service-single-banner img {
		object-fit: cover;
	}

	.service-single-banner .service-single-banner-image--desktop {
		display: none !important;
	}

	.service-single-banner .service-single-banner-image--mobile {
		display: block !important;
	}

	.service-single-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.service-single-banner-content {
		padding: 16px;
		justify-self: stretch;
		align-self: end;
		margin: 10px;
		max-width: none;
		max-width: calc(100% - 20px);
		overflow: visible;
	}

	.service-single-content-btn-wrap button {
		width: 100%;
		color: black;
		margin-top: 20px;
	}

	.service-single-banner-title {
		font-size: 30px;
		margin: 0 0 19px;
	}

	.service-single-banner-announcement {
		font-size: 16px;
		margin-bottom: 0;
	}

	.service-single-content {
		gap: 20px;
	}
	.description_block3_layout {
        flex-direction: column-reverse;
    }
	.description_block3_full_img {
        height: 343px;
    }
	.description_block3_layout.has-image .description_block3_media, .description_block3_layout.has-image .description_block3_content {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
	/* На мобилке карточка та же для обоих вариантов (с картинкой/без, с фоном/без):
	   только уменьшенный padding. Раньше здесь было padding: 0, а отступ давал
	   .description_block_full_content — два паддинга складывались (32 + 20). */
	.service-single-content .description_block3_content {
        padding: 20px;
    }

	.content-single-service .service-list-card__list {
		grid-template-columns: 1fr;
	}

	.content-single-service .service-list-card {
		border-left: 0;
		border-top: 6px solid transparent;
	}

	.content-single-service .service-list-card--diagnostics{
		border-top-color: #032279;	
	}

	.content-single-service .service-list-card--indications {
		border-top-color: #006D4B;
		margin: 0 5px;
	}

	.content-single-service .service-block3-lists {
		flex-direction: column;
		gap: 16px;
		margin-top: 20px;
	}

	.content-single-service .service-block3-lists__col {
		flex: 1 1 100%;
	}

	.content-single-service .service-analysis-composition {
		margin-top: 20px;
		gap: 16px;
	}

	.content-single-service .service-analysis-composition__heading {
		font-size: 28px;
		line-height: 1.2;
		width: fit-content;
	}

	.content-single-service .service-analysis-composition__panel {
		min-height: 0;
		padding: 24px 16px 16px 16px;
	}

	.content-single-service .service-analysis-booking {
		flex-wrap: wrap;
		gap: 14px;
		padding: 16px;
		flex-direction: column;
		justify-content: center;
	}

	.content-single-service .service-analysis-booking__title {
		flex: 1 1 100%;
		font-size: 24px;
		max-width: 100%;
		text-align: center;
	}

	.content-single-service .service-analysis-booking__price {
		font-size: 28px;
	}

	.content-single-service .service-analysis-booking__btn {
		width: 100%;
	}

	.content-single-service .service-analysis-composition__title {
		display: none;
	}

	.content-single-service .service-analysis-composition__subtitle {
		display: none;
	}

	.content-single-service .service-analysis-composition__subtitle + .service-analysis-composition__cards {
		margin-top: 0;
	}

	.content-single-service .service-analysis-slider__dots--slides {
		display: none !important;
	}

	.content-single-service .service-analysis-slider__dots--cards {
		display: flex;
	}

	.content-single-service .service-analysis-slider__track {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		gap: 16px;
		width: 100%;
		margin-bottom: 20px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		overscroll-behavior-x: contain;
		box-sizing: border-box;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.content-single-service .service-analysis-slider__track::-webkit-scrollbar {
		display: none;
		width: 0;
		height: 0;
	}

	.content-single-service .service-analysis-slider__slide {
		display: contents !important;
	}

	.content-single-service .service-analysis-slider__grid {
		display: contents !important;
	}

	.content-single-service .service-analysis-slider__track .service-analysis-card {
		flex: 0 0 100%;
		min-width: 100%;
		max-width: 100%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.content-single-service .service-analysis-card__block-label {
		font-size: 16px;
	}

	.content-single-service .service-analysis-card__text {
		font-size: 15px;
	}
	.service-single-content .service-other-item{
		margin: 0 -16px;
	}
	.service-single-content .adns2_container .title_block,
	.service-single-content .adns2_container .grid-list-services{
		padding: 0 16px;
	}

	.service-single-content .container-content2 {
		padding: 20px 0;
	}
}