/* Липкий футер без обёртки вокруг контента страницы */
#container {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.footer {
	margin-top: auto;
}

.home-slider .controls ul span.active {
	display: none !important;
}

.home-slider .controls ul li,
.home-slider .controls ul li span {
	transition: none !important;
}

.home-slider .lightSlider.lSSlide {
	transition-property: transform !important;
	will-change: transform;
}

.home-slider #home-slider li .item .photo:after {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	pointer-events: none;
}

/* Карта в блоке we-help: bitrix:map.yandex.view */
section.we-help .map-container #small-map .bx-yandex-view-map,
section.we-help .map-container #small-map [id^="BX_YMAP_"] {
	width: 260px;
	height: 260px;
}

section.we-help .bx-yandex-view-layout-small {
	width: 260px;
	height: 260px;
}

/* Десктоп: до инициализации lightSlider показываем только первый слайд */
@media screen and (min-width: 1001px) {
	.header.hdr ~ .home-slider h1,
	.header.hdr ~ .home-slider h2 {
		display: none !important;
	}

	.home-slider #home-slider:not(.lightSlider) > li:not(:first-child) {
		display: none;
	}

	/* Кнопка «Перейти в интернет-магазин»: ширина по тексту, одна строка */
	.home-slider #home-slider li a.green-btn {
		width: auto;
		height: 38px;
		line-height: 38px;
		padding: 0 20px;
		white-space: nowrap;
		box-sizing: border-box;
	}
}

/* Мобильные и планшеты */
@media screen and (max-width: 1000px) {
	html,
	body {
		overflow-x: hidden;
	}

	#container {
		min-height: 0;
	}

	.home-slider h2 {
		top: 0;
		margin-bottom: 0;
	}

	.home-slider-container {
		top: 0 !important;
		height: auto;
		overflow: visible;
	}

	.home-slider #home-slider li .item {
		overflow: visible;
	}

	.home-slider #home-slider li .item .text {
		position: static;
		top: auto;
		bottom: auto;
		height: auto;
		width: auto;
		max-width: 90%;
		margin: 20px auto 0;
		text-align: center;
	}

	.home-slider #home-slider li .item .product {
		position: static;
		width: 100%;
		height: 200px;
		background-size: contain !important;
		background-position: center center;
	}

	.home-slider #home-slider li .item .photo {
		display: none;
	}

	.home-slider #home-slider li .item .text .button {
		width: auto !important;
	}

	.home-slider #home-slider li a.green-btn {
		height: auto;
		line-height: 1.2;
		padding: 10px 15px !important;
		white-space: normal;
	}

	.footer .copyright,
	.footer .adress,
	.footer .vk-block {
		float: none;
		margin-left: 0;
		width: 100%;
	}

	.footer .wrap {
		background-position: center bottom;
		padding-bottom: 80px;
	}
}

/* Партнёры: 5 на экран, подпись по ширине логотипа, бесконечная прокрутка вправо */
section.partners.partners-marquee {
	overflow: hidden;
	padding-left: 0;
	padding-right: 0;
	--partners-visible: 5;
	--partners-logo-width: 140px;
}

section.partners.partners-marquee .title {
	padding: 0 10%;
}

section.partners.partners-marquee .partners-marquee__viewport {
	overflow: hidden;
	width: 100%;
}

section.partners.partners-marquee .partners-marquee__track {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	width: max-content;
	animation: euromax-partners-marquee-right 48s linear infinite;
	backface-visibility: hidden;
}

section.partners.partners-marquee .partners-marquee__group {
	display: flex;
	flex: 0 0 auto;
	flex-wrap: nowrap;
	align-items: flex-start;
}

section.partners.partners-marquee .partners-marquee__item {
	flex: 0 0 calc(100vw / var(--partners-visible));
	width: calc(100vw / var(--partners-visible));
	max-width: calc(100vw / var(--partners-visible));
	display: flex;
	justify-content: center;
	align-items: flex-start;
	box-sizing: border-box;
}

section.partners.partners-marquee .partners-marquee__link {
	display: block;
	width: var(--partners-logo-width);
	max-width: 100%;
	color: #000;
	text-decoration: none;
}

section.partners.partners-marquee .partners-marquee__logo {
	display: flex;
	align-items: flex-end;
	justify-content: flex-start;
	width: var(--partners-logo-width);
	max-width: 100%;
	height: 80px;
	margin-bottom: 5px;
}

section.partners.partners-marquee .partners-marquee__logo img {
	display: block;
	max-width: var(--partners-logo-width);
	max-height: 80px;
	width: auto;
	height: auto;
}

section.partners.partners-marquee .partners-marquee__logo--empty {
	min-height: 80px;
}

section.partners.partners-marquee .partners-marquee__name {
	width: var(--partners-logo-width);
	max-width: 100%;
	font-size: 11px;
	line-height: 1.35;
	text-align: left;
	overflow-wrap: break-word;
	word-wrap: break-word;
	hyphens: auto;
}

@keyframes euromax-partners-marquee-right {
	0% {
		transform: translate3d(-50%, 0, 0);
	}
	100% {
		transform: translate3d(0, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	section.partners.partners-marquee .partners-marquee__track {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: auto;
		max-width: 100%;
		padding: 0 10%;
	}

	section.partners.partners-marquee .partners-marquee__group {
		flex-wrap: wrap;
		justify-content: center;
	}

	section.partners.partners-marquee .partners-marquee__item {
		flex: 0 0 auto;
		width: auto;
		max-width: none;
		margin: 0 20px 24px;
	}
}

@media screen and (max-width: 1000px) {
	section.partners.partners-marquee {
		--partners-visible: 3;
		--partners-logo-width: 110px;
	}

	section.partners.partners-marquee .partners-marquee__logo {
		height: 56px;
	}

	section.partners.partners-marquee .partners-marquee__logo img {
		max-height: 56px;
	}

	section.partners.partners-marquee .partners-marquee__name {
		font-size: 8px;
	}
}

@media screen and (max-width: 600px) {
	section.partners.partners-marquee {
		--partners-visible: 2;
		--partners-logo-width: 100px;
	}
}

/* --- Интернет-магазин /catalog/ --- */
body.catalog #content {
	padding-bottom: 60px;
}

body.shop #content.shop {
	width: 100%;
	max-width: none;
	margin-top: 0 !important;
}
body.catalog #content.shop {
	padding-bottom: 48px;
}

.catalog-hero--compact {
	padding: 32px 0 28px;
}

.catalog-hero {
	background: linear-gradient(135deg, #5ecbca 0%, #3ba8a7 100%);
	color: #fff;
	padding: 48px 0 56px;
	margin-bottom: 0;
}

.catalog-hero h1 {
	margin: 0 0 12px;
	font-size: 36px;
	font-weight: 400;
	color: #fff;
}

.catalog-hero__lead {
	margin: 0;
	font-size: 18px;
	opacity: 0.95;
	max-width: 720px;
}

.catalog-breadcrumb {
	background: #fff;
	padding: 20px 0;
	border-bottom: 1px solid #e8ecef;
}

.catalog-breadcrumb__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.catalog-breadcrumb__item {
	display: flex;
	align-items: center;
	gap: 8px;
}

.catalog-breadcrumb__item a {
	color: #333;
	text-decoration: none;
}

.catalog-breadcrumb__item a:hover {
	color: #5ecbca;
}

.catalog-breadcrumb__sep {
	color: #999;
}

.catalog-blocks {
	background: #fff;
	padding: 28px 0 36px;
}

.catalog-blocks__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 16px;
	max-width: 900px;
}

.catalog-blocks__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	color: #333;
	background: #f8fbfb;
	border: 1px solid #e3efef;
	border-radius: 10px;
	padding: 12px 10px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	aspect-ratio: 1;
	justify-content: flex-start;
}

.catalog-blocks__item:hover {
	border-color: #5ecbca;
	box-shadow: 0 4px 16px rgba(94, 203, 202, 0.2);
	color: #333;
}

.catalog-blocks__image {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 8px;
	overflow: hidden;
	background: #eef6f6;
	margin-bottom: 10px;
	flex-shrink: 0;
}

.catalog-blocks__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.catalog-blocks__image--empty {
	background: linear-gradient(135deg, #eaf3f2, #d8e8e8);
}

.catalog-blocks__name {
	font-size: 13px;
	font-weight: 500;
	line-height: 1.25;
}

.catalog-blocks__count {
	margin-top: 4px;
	font-size: 11px;
	color: #888;
}

.catalog-all {
	background: #eaf3f2;
	padding: 36px 0 64px;
}

.catalog-all__title {
	margin: 0 0 24px;
	font-size: 24px;
	font-weight: 400;
}

.catalog-all__layout {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 28px;
	align-items: start;
}

.catalog-all__filter {
	background: #fff;
	border-radius: 8px;
	padding: 20px 16px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.catalog-filter__group + .catalog-filter__group {
	margin-top: 18px;
	padding-top: 18px;
	border-top: 1px solid #eef2f2;
}

.catalog-filter__title {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 10px;
	color: #444;
}

.catalog-filter__label {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	margin-bottom: 8px;
	cursor: pointer;
}

.catalog-filter__count {
	color: #999;
	font-size: 12px;
}

.catalog-filter__reset {
	display: inline-block;
	margin-top: 16px;
	font-size: 13px;
	color: #5ecbca;
}

.catalog-related {
	background: #fff;
	padding: 40px 0 56px;
	border-top: 1px solid #e8ecef;
}

.catalog-related__title {
	margin: 0 0 24px;
	font-size: 24px;
	font-weight: 400;
}

.catalog-products__grid--related {
	grid-template-columns: repeat(4, 1fr);
}

.catalog-section-head {
	background: #fff;
	padding: 36px 0 24px;
}

.catalog-section-head h1 {
	margin: 0;
	font-size: 32px;
	font-weight: 400;
}

.catalog-section-head__descr {
	margin: 12px 0 0;
	color: #666;
	max-width: 800px;
}

.catalog-products {
	background: #eaf3f2;
	padding: 32px 0 64px;
}

.catalog-products__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.catalog-product-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.catalog-product-card__link {
	display: block;
	text-decoration: none;
	color: inherit;
	flex: 1;
}

.catalog-product-card__image {
	position: relative;
	padding-top: 75%;
	background: #f5f5f5;
	overflow: hidden;
}

.catalog-product-card__image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 12px;
	box-sizing: border-box;
}

.catalog-product-card__image--empty {
	background: linear-gradient(135deg, #f0f0f0, #e4e4e4);
}

.catalog-product-card__body {
	padding: 16px 16px 12px;
}

.catalog-product-card__type {
	display: inline-block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #5ecbca;
	margin-bottom: 6px;
}

.catalog-product-card__title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: #222;
}

.catalog-product-card__preview {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.4;
	color: #666;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.catalog-product-card__price {
	font-size: 18px;
	font-weight: 500;
	color: #222;
}

.catalog-product-card__btn {
	display: block;
	width: calc(100% - 32px);
	margin: 0 16px 16px;
	text-align: center;
	box-sizing: border-box;
}

.catalog-detail {
	padding: 32px 0 48px;
}

.catalog-detail__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: start;
}

.catalog-detail__gallery img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	background: #f5f5f5;
}

.catalog-detail__gallery-empty {
	padding-top: 75%;
	background: #f0f0f0;
	border-radius: 8px;
}

.catalog-detail__type {
	display: inline-block;
	font-size: 12px;
	text-transform: uppercase;
	color: #5ecbca;
	margin-bottom: 8px;
}

.catalog-detail__title {
	margin: 0 0 16px;
	font-size: 28px;
	font-weight: 400;
	line-height: 1.25;
}

.catalog-detail__price {
	font-size: 28px;
	font-weight: 500;
	margin-bottom: 20px;
}

.catalog-detail__option {
	display: block;
	margin-bottom: 16px;
}

.catalog-detail__option-title {
	display: block;
	font-size: 13px;
	margin-bottom: 6px;
	color: #666;
}

.catalog-detail__select {
	width: 100%;
	max-width: 400px;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 14px;
}

.catalog-detail__buy-btn {
	width: auto;
	min-width: 200px;
	border: none;
	cursor: pointer;
}

.catalog-detail__preview {
	margin: 20px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: #444;
}

.catalog-detail__processors {
	margin-top: 16px;
	font-size: 14px;
	color: #555;
}

.catalog-detail__text {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid #e8ecef;
	font-size: 15px;
	line-height: 1.6;
}

.catalog-detail__text p {
	margin: 0 0 12px;
}

.catalog-empty {
	padding: 48px 0;
	text-align: center;
}

.catalog-pager {
	margin-top: 32px;
	text-align: center;
}

.catalog-pager__inner {
	display: inline-flex;
	align-items: center;
	gap: 20px;
}

.catalog-pager__link {
	color: #5ecbca;
	text-decoration: none;
}

.catalog-pager__link:hover {
	text-decoration: underline;
}

@media screen and (max-width: 1000px) {
	.catalog-products__grid,
	.catalog-products__grid--related {
		grid-template-columns: repeat(2, 1fr);
	}

	.catalog-all__layout {
		grid-template-columns: 1fr;
	}

	.catalog-blocks__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.catalog-detail__grid {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 600px) {
	.catalog-hero h1 {
		font-size: 28px;
	}

	.catalog-products__grid,
	.catalog-products__grid--related {
		grid-template-columns: 1fr;
	}

	.catalog-blocks__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Modern footer ---------- */
.footer.footer--modern {
	background: #f3f6f6;
	color: #1a2b2a;
	font-family: Geometria, Arial, sans-serif;
	font-size: 13px;
	line-height: 1.55;
	clear: both;
}

/* Сброс legacy .footer .wrap из style.css */
.footer.footer--modern .footer__inner,
.footer.footer--modern .footer__bar {
	float: none;
	clear: none;
	background: none !important;
	background-image: none !important;
	box-sizing: border-box;
}

.footer.footer--modern .footer__inner {
	display: grid;
	grid-template-columns: minmax(200px, 1.4fr) minmax(150px, 0.85fr) minmax(170px, 1fr) minmax(150px, 0.95fr) minmax(160px, auto);
	gap: 28px 32px;
	align-items: start;
	width: 80%;
	max-width: none;
	margin: 0 10%;
	padding: 36px 0 30px;
	border-top: 1px solid #dde5e4;
}

.footer.footer--modern .footer__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	flex-wrap: wrap;
	width: 80%;
	max-width: none;
	margin: 0 10%;
	padding: 14px 0 24px;
	border-top: 1px solid #dde5e4;
	font-size: 12px;
	color: #5c6b6a;
	line-height: 1.45;
}

.footer.footer--modern .footer__legal {
	max-width: 420px;
	text-align: right;
}

.footer.footer--modern .footer__logo {
	display: inline-block;
	line-height: 0;
}

.footer.footer--modern .footer__logo img {
	display: block;
	max-width: 194px;
	height: auto;
}

.footer.footer--modern .footer__tagline {
	margin: 14px 0 0;
	max-width: 320px;
	color: #5c6b6a;
	font-size: 12.5px;
	line-height: 1.5;
}

.footer.footer--modern .footer__label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7a8a89;
	margin-bottom: 10px;
}

.footer.footer--modern .footer__phone {
	display: block;
	font-size: 22px;
	font-weight: 800;
	color: #1a2b2a;
	text-decoration: none;
	letter-spacing: -0.02em;
	margin-bottom: 8px;
}

.footer.footer--modern .footer__phone:hover {
	color: #2a9d96;
}

.footer.footer--modern .footer__email {
	color: #2a9d96;
	text-decoration: none;
	border-bottom: 1px solid rgba(42, 157, 150, 0.25);
}

.footer.footer--modern .footer__email:hover {
	border-color: transparent;
}

.footer.footer--modern .footer__address-text {
	color: #3a4a49;
	line-height: 1.55;
}

.footer.footer--modern .footer__vk {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #1a2b2a;
	text-decoration: none;
	font-weight: 600;
}

.footer.footer--modern .footer__vk-icon {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	background: url(assets/images/vk-icon_f.png) no-repeat center / contain;
}

.footer.footer--modern .footer__vk:hover span:last-child {
	color: #2a9d96;
}

.footer.footer--modern .footer__vk-note {
	margin: 10px 0 0;
	color: #5c6b6a;
	font-size: 12px;
	line-height: 1.45;
	max-width: 260px;
}

.footer.footer--modern .footer__partner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	align-self: center;
	padding-top: 0;
}

.footer.footer--modern .footer__partner img {
	display: block;
	width: auto;
	max-width: 200px;
	height: auto;
	max-height: 52px;
	object-fit: contain;
	opacity: 0.95;
}

.footer.footer--modern .metro {
	background: url(assets/images/icon-metro.png) no-repeat left 3px;
	padding-left: 13px;
}

@media screen and (max-width: 1100px) {
	.footer.footer--modern .footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.footer.footer--modern .footer__brand {
		grid-column: 1 / -1;
	}

	.footer.footer--modern .footer__partner {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

@media screen and (max-width: 1000px) {
	.footer.footer--modern .footer__inner,
	.footer.footer--modern .footer__bar {
		width: 90%;
		margin: 0 5%;
	}

	.footer.footer--modern .footer__inner {
		grid-template-columns: 1fr;
		gap: 24px;
		padding-top: 32px;
	}

	.footer.footer--modern .footer__bar {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		padding-bottom: 20px;
	}

	.footer.footer--modern .footer__legal {
		text-align: left;
		max-width: none;
	}
}

.page-template-ki_new section.why.ki-materials {
	margin-top: 50px;
	padding-bottom: 55px;
	text-align: center;
	font-size: 14px;
	line-height: 22px;
}

.page-template-ki_new .ki-materials-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 960px;
	margin: 28px auto 0;
	text-align: left;
}

.page-template-ki_new .ki-material-card {
	background: #fff;
	border: 1px solid #e4eef0;
	border-radius: 4px;
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.page-template-ki_new .ki-material-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.page-template-ki_new .ki-material-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.page-template-ki_new .ki-material-card__media {
	height: 140px;
	overflow: hidden;
	background: #f4f8f9;
}

.page-template-ki_new .ki-material-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page-template-ki_new .ki-material-card__body {
	padding: 16px 18px 18px;
}

.page-template-ki_new .ki-material-card__title {
	margin: 0;
	font: 700 15px/1.45 Geometria, Arial, sans-serif;
	color: #009A98;
}

.page-template-ki_new .ki-material-card:hover .ki-material-card__title {
	color: #007572;
}

@media (max-width: 900px) {
	.page-template-ki_new .ki-materials-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.page-template-ki_new .ki-materials-grid {
		grid-template-columns: 1fr;
	}
}

.page-template-ki_new section.why {
	margin-top: 50px;
	padding-bottom: 45px;
	text-align: center;
	font-size: 14px;
	line-height: 22px;
}

.page-template-ki_new section.why .items {
	max-width: 720px;
	margin: 18px auto 0;
}

.page-template-ki_new section.why .why-item {
	margin: 0 0 10px;
}

.page-template-ki_new section.why .why-item:last-child {
	margin-bottom: 0;
}

.page-template-ki_new section.why a {
	display: inline;
	color: #009A98;
	text-decoration: none;
	border-bottom: 1px solid rgba(18, 197, 191, 0.25);
	line-height: 1.7;
	transition: border-color 0.2s ease;
}

.page-template-ki_new section.why a:hover {
	border-bottom-color: #009A98;
}

.page-template-ki_new .slider #carousel:not(.lSSlide) {
	display: block;
	overflow: hidden;
	white-space: nowrap;
}

.page-template-ki_new .slider #carousel:not(.lSSlide) > li {
	display: inline-block;
	vertical-align: top;
	width: 100px;
	white-space: normal;
}

.page-template-ki_new .slider #slider:not(.flexslider-init) .slides > li:first-child {
	display: block;
}

.single-family .left-col-blog {
	float: none;
	width: 100%;
	max-width: 630px;
	margin: 0 auto;
}

.single-family-page.blog {
	padding: 24px 0 48px;
}

.single-family-page .article-header .image {
	height: auto;
	max-height: none;
	overflow: visible;
	margin-bottom: 20px;
}

.single-family-page .article-header .image img {
	display: block;
	width: 100%;
	height: auto;
}

.single-family-page .entry-title {
	font: 800 28px Geometria, sans-serif;
	margin: 0 0 24px;
	line-height: 1.25;
}

.single-family-page .entry-content h4 {
	margin: 1.5em 0 0.5em;
	font-size: 1.25em;
	font-weight: 700;
}

.single-family-page .entry-content img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.5em 0 0.75em;
}

.single-family-page .entry-content p {
	margin-bottom: 1.2em;
}

.single-family-page .entry-content blockquote {
	margin: 0 0 1.5em 1.5em;
	padding: 0 0 0 0.75em;
	border-left: 3px solid #F6B220;
	font-style: italic;
	font-family: 'Times New Roman', Georgia, serif;
	font-size: 1.35em;
	line-height: 1.45;
}

.single-family-page .article-footer {
	margin-top: 32px;
	padding-top: 16px;
	border-top: 1px solid #e8eef0;
}

.single-family-page .article-footer a {
	color: #009A98;
	text-decoration: none;
}

.single-family-page .article-footer a:hover {
	text-decoration: underline;
}

.single-family .entry-content img {
	max-width: 100%;
	height: auto;
}

.single-family .entry-content p,
.single-family .entry-content blockquote {
	margin-bottom: 1.2em;
}

.consultation-form-message {
	display: block;
	clear: both;
	width: 100%;
	max-width: 695px;
	margin: 12px auto 10px;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	float: none;
}

.new_order_form .gform_wrapper {
	margin-left: -10px;
}

.new_order_form .gform_wrapper::after {
	content: '';
	display: table;
	clear: both;
}

.new_order_form .cal-help.consultation-form-message,
.new_order_form .consultation-form-message {
	width: 100%;
	max-width: 695px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-weight: 400;
}

.new_order_form .cal-help.consultation-form-message.is-success,
.new_order_form .cal-help.consultation-form-message.is-error {
	font-weight: 600;
}

.consultation-form-message.is-success {
	color: #0a7a6d;
}

.consultation-form-message.is-error {
	color: #b42318;
}

.page-template-ki_new .video {
	position: relative;
	height: 570px;
	overflow: hidden;
}

.page-template-ki_new #bg_ki {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 100%;
	width: 100%;
	overflow: hidden;
	background: #333;
}

.page-template-ki_new #bg_ki:after {
	z-index: 2;
	pointer-events: none;
}

.page-template-ki_new #bg_ki .ki-hero-video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
	object-fit: cover;
	z-index: 1;
	pointer-events: none;
}

.page-template-ki_new .video .container-info {
	position: absolute;
	left: 50%;
	margin-left: -375px;
	width: 750px;
	top: auto;
	bottom: 30px;
	z-index: 15;
}

.page-template-ki_new .video .container-info .head {
	font-size: 38px;
	line-height: 40px;
}

.page-template-ki_new section.reviews-new {
	margin-top: 0;
	padding-bottom: 30px;
}

.page-template-ki_new section.reviews-new .reviews-items .item {
	width: 270px;
	display: inline-block;
	vertical-align: top;
}

.page-template-ki_new section.reviews-new .reviews-items {
	text-align: center;
	margin: 0 auto;
}

.page-template-ki_new section.reviews-new .reviews-items .item .info .name {
	width: 185px;
}

.page-template-ki_new .slider .top-content {
	position: relative;
	min-height: 320px;
}

.page-template-ki_new .slider .flexslider {
	overflow: hidden;
}

.page-template-ki_new .slider .flex-viewport {
	min-height: 360px;
}

.page-template-ki_new .slider .top-content .left,
.page-template-ki_new .slider .top-content .right {
	min-height: 360px;
}

.page-template-ki_new .bottom-content {
	margin-top: 20px;
}

.page-template-ki_new #carousel.lSSlide {
	visibility: visible;
}

.page-template-ki_new .video-reviews .items .item {
	position: relative;
	overflow: hidden;
	background: #6f6f6f;
}

.page-template-ki_new .video-reviews .items .item .ki-video-poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.page-template-ki_new .video-reviews .items .item .item-wrap {
	position: relative;
	z-index: 3;
}

.page-template-ki_new .video-reviews .items .item .item-wrap p {
	font-size: 22px !important;
	line-height: 28px !important;
}

.page-template-ki_new .video-reviews .items .item .item-wrap p span.text {
	font-size: 16px !important;
	line-height: 22px !important;
	margin-top: 8px !important;
}

.page-template-ki_new .slider .top-content .left .name {
	font-size: 24px;
}

.page-template-ki_new .slider .top-content .left .text {
	font-size: 16px;
	line-height: 1.6;
}

.page-template-ki_new .slider .top-content .left .btn-wrap {
	float: none;
	width: 100%;
	padding: 0 12px 8px;
	box-sizing: border-box;
}

.page-template-ki_new .slider .top-content .left .btn-wrap .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	max-width: 100%;
	min-height: 48px;
	height: auto;
	padding: 12px 22px 14px;
	line-height: 1.35;
	background: rgba(94, 203, 202, 0.95);
	border-radius: 4px;
	box-shadow: 0 12px 27px rgba(132, 235, 234, 0.85);
	white-space: normal;
	text-align: center;
	box-sizing: border-box;
}

.page-template-ki_new .slider .top-content .left .btn-wrap .btn:hover {
	opacity: 0.92;
}

.page-template-ki_new .bottom-content .item .name {
	font-size: 15px;
}

.page-template-ki_new .video-reviews .items .item .item-wrap p {
	white-space: normal;
}

.page-template-ki_new .video-reviews .items .item .item-wrap p span.text {
	display: block;
}

.blog-breadcrumb {
	margin: 20px 0;
	font-size: 14px;
	color: #667;
}

.blog-breadcrumb a {
	color: #0a7a6d;
	text-decoration: none;
}

.blog-article__body {
	max-width: 780px;
	line-height: 1.75;
	font-size: 17px;
}

.blog-article__body img,
.blog-article__hero {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.blog-article__back {
	margin: 32px 0 48px;
}

.blog-article__back a {
	color: #0a7a6d;
	font-weight: 700;
	text-decoration: none;
}

/* Cochlear Family landing */
.cochlear-family-page {
	background: #f7fafb;
}

.cochlear-family-hero {
	padding: 48px 0 24px;
	background: linear-gradient(135deg, #e8f7f6 0%, #f7fafb 55%, #fff 100%);
}

.cochlear-family-hero__eyebrow {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #0a7a6d;
}

.cochlear-family-hero__title {
	margin: 0 0 16px;
	font-size: clamp(32px, 5vw, 48px);
	line-height: 1.1;
	color: #122;
}

.cochlear-family-hero__lead {
	max-width: 760px;
	margin: 0;
	font-size: 18px;
	line-height: 1.65;
	color: #445;
}

.cochlear-family-list {
	padding: 24px 0 48px;
}

.cochlear-family-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 28px;
}

.cochlear-family-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(18, 38, 44, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cochlear-family-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(18, 38, 44, 0.12);
}

.cochlear-family-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e8eef0;
}

.cochlear-family-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.cochlear-family-card:hover .cochlear-family-card__media img {
	transform: scale(1.04);
}

.cochlear-family-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 20px 22px 24px;
}

.cochlear-family-card__title {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.25;
}

.cochlear-family-card__title a {
	color: #122;
	text-decoration: none;
}

.cochlear-family-card__title a:hover {
	color: #0a7a6d;
}

.cochlear-family-card__caption {
	margin: 0 0 16px;
	flex: 1;
	font-size: 15px;
	line-height: 1.6;
	color: #556;
}

.cochlear-family-card__link {
	align-self: flex-start;
	font-size: 14px;
	font-weight: 700;
	color: #0a7a6d;
	text-decoration: none;
}

.cochlear-family-card__link:hover {
	text-decoration: underline;
}

.cochlear-family-cta {
	padding: 0 0 64px;
}

.cochlear-family-cta__box {
	padding: 28px 32px;
	border-radius: 16px;
	background: #fff;
	border: 1px solid #dce9ea;
}

.cochlear-family-cta__box h2 {
	margin: 0 0 10px;
	font-size: 24px;
}

.cochlear-family-cta__box p {
	margin: 0;
	line-height: 1.6;
	color: #445;
}

.cochlear-family-breadcrumb {
	margin: 24px 0 0;
	font-size: 14px;
	color: #667;
}

.cochlear-family-breadcrumb a {
	color: #0a7a6d;
	text-decoration: none;
}

.cochlear-family-story__hero {
	min-height: 320px;
	background-size: cover;
	background-position: center;
	margin-bottom: 32px;
}

.cochlear-family-story__hero-overlay {
	min-height: 320px;
	display: flex;
	align-items: flex-end;
	padding: 48px 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.65) 100%);
}

.cochlear-family-story__title {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
}

.cochlear-family-story__subtitle {
	margin: 10px 0 0;
	max-width: 720px;
	color: rgba(255, 255, 255, 0.92);
	font-size: 18px;
	line-height: 1.5;
}

.cochlear-family-story__content {
	max-width: 780px;
	margin: 0 auto 40px;
	padding: 0 0 8px;
	font-size: 17px;
	line-height: 1.75;
	color: #223;
}

.cochlear-family-story__content h4 {
	margin: 28px 0 12px;
	font-size: 20px;
}

.cochlear-family-story__content p {
	margin: 0 0 16px;
}

.cochlear-family-story__content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.cochlear-family-story__back {
	max-width: 780px;
	margin: 0 auto 56px;
}

.cochlear-family-story__back a {
	color: #0a7a6d;
	font-weight: 700;
	text-decoration: none;
}

/* Baha product page */
.page-template-baha_new div.video,
.page-template-baha_new_systemo div.video {
	background: #E9F9F9 url(/local/templates/euromax/assets/images/video-bottom-bg_full.png) no-repeat center bottom;
	width: 100%;
	position: relative;
	height: auto;
	min-height: 575px;
	padding-bottom: 30px;
	overflow: visible;
}

.page-template-baha_new #bg,
.page-template-baha_new_systemo #bg {
	position: relative;
	width: 100%;
	height: 575px;
	top: -20px;
	overflow: hidden;
	background: #ffffff;
}

.page-template-baha_new #bg img,
.page-template-baha_new_systemo #bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.page-template-baha_new #bg:after,
.page-template-baha_new_systemo #bg:after {
	display: none;
}

.page-template-baha_new section.reviews-new,
.page-template-baha_new_systemo section.reviews-new {
	margin-top: 0;
	padding-bottom: 30px;
}

.page-template-baha_new section.reviews-new .reviews-items,
.page-template-baha_new_systemo section.reviews-new .reviews-items {
	width: auto;
	max-width: 1000px;
}

.page-template-baha_new section.like,
.page-template-baha_new_systemo section.like {
	padding-top: 20px;
}

.page-template-baha_new .new_order_form p,
.page-template-baha_new_systemo .new_order_form p {
	white-space: normal;
}

/* Blog */
.blog-portal__empty,
.blog-search-results {
	margin: 0 0 1.5em;
	line-height: 1.6;
}

.blog-portal__empty a,
.blog-search-results a {
	color: #009A98;
	font-weight: 700;
}

.blog-toolbar {
	margin: 0 0 1.5em;
	font-size: 0.95em;
	color: #5C6B80;
}

.blog-toolbar__label {
	margin-right: 6px;
}

.blog-toolbar__link {
	color: #009A98;
	font-weight: 700;
	text-decoration: none;
}

.blog-toolbar__link:hover,
.blog-toolbar__link.is-active {
	color: #000;
	text-decoration: underline;
}

.blog-toolbar__sep {
	margin: 0 8px;
	color: #ccc;
}

.blog .article-header .image {
	height: 200px;
	overflow: hidden;
}

.blog .article-header .image img,
.page-blog-detail .blog-article .image img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
	object-position: center center;
}

.page-blog-detail .blog-article__body {
	font-size: 17px;
	line-height: 1.75;
}

.page-blog-detail .blog-article__body img,
.blog-gallery img {
	max-width: 100%;
	height: auto;
}

.page-blog-detail .blog-read-also {
	margin-top: 28px;
}

.blog-gallery {
	margin: 1.5em 0;
	overflow: hidden;
}

.blog-gallery ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-gallery img {
	display: block;
	width: 100%;
	height: auto;
}

.blog-pagination .page-numbers.dots {
	cursor: default;
	color: #5C6B80;
}

.blog-pagination .page-numbers.dots:hover {
	background: #fff;
	color: #5C6B80;
}

#searchform input[type="search"] {
	width: 160px;
}

.readmore--back {
	float: none;
}

@media (max-width: 1000px) {
	.blog-sidebar {
		width: 100%;
		margin-top: 24px;
	}

	#searchform input[type="search"] {
		width: calc(100% - 80px);
	}
}

section.reviews-new .reviews-items .item.sert .sert-caption {
	margin-top: 14px;
	font-size: 12px;
	line-height: 1.45;
	color: #14201f;
}

section.reviews-new .reviews-items .item.sert .sert-caption span {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	color: #009a98;
	font-weight: 700;
}

section.reviews-new .reviews-items .item.sert .sert-label {
	margin-top: 10px;
	font-size: 13px;
	font-weight: 700;
	color: #41514f;
}

section.reviews-new .reviews-items .item.sert .sert-img img {
	display: block;
	width: auto;
	max-width: 100%;
	height: 230px;
	margin: 0 auto;
	object-fit: contain;
}

