/**
 * Стили полосы под новым site-header: раньше slide-info жил внутри header.bank / header.black.
 */
body .post-header-band.bank {
	background: url("../images/bg_bank.jpg") center center / cover no-repeat;
}

body .post-header-band.bank .slide-info {
	flex-direction: inherit;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	max-width: 1138px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
	padding: 67px 0 40px;
	min-height: auto;
}

body .post-header-band.bank .slide-info > .breadcrumb {
	width: 100%;
	order: 10;
	margin-top: 16px;
}

body .post-header-band.bank .slide-info > .breadcrumb ul.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
	gap: 0;
}

body .post-header-band.bank .slide-info > .breadcrumb ul.breadcrumb li {
	font-weight: 300;
	font-size: 14px;
	line-height: 18px;
	color: #fff;
}

body .post-header-band.bank .slide-info > .breadcrumb ul.breadcrumb li a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

body .post-header-band.bank .slide-info > .breadcrumb ul.breadcrumb li a:hover {
	color: #fff;
	text-decoration: underline;
}

body .post-header-band.bank .slide-info > .breadcrumb ul.breadcrumb li .kb_title {
	color: #fff;
}

body .post-header-band.bank .slide-info .image img {
	width: 100%;
	height: auto;
	display: block;
}

body .post-header-band.bank .slide-info .image {
	width: 30%;
	padding: 0 0 0 25px;
	margin-left: 20px;
	box-sizing: border-box;
}

body .post-header-band.ekspert {
	background: url("../images/bg_ekspert.jpg") center center / cover no-repeat;
}

body .post-header-band.ekspert .slide-info {
	max-width: 1138px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
	padding: 67px 0 40px;
	min-height: auto;
}

body .post-header-band.ekspert .slide-info > .breadcrumb ul.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 8px 0 0;
	gap: 0;
}

body .post-header-band.ekspert .slide-info > .breadcrumb ul.breadcrumb li {
	font-weight: 300;
	font-size: 14px;
	line-height: 18px;
	color: #fff;
}

body .post-header-band.ekspert .slide-info > .breadcrumb ul.breadcrumb li + li::before {
	content: " / ";
	margin: 0 6px;
	color: rgba(255, 255, 255, 0.6);
}

body .post-header-band.ekspert .slide-info > .breadcrumb ul.breadcrumb li a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
}

body .post-header-band.ekspert .slide-info > .breadcrumb ul.breadcrumb li a:hover {
	color: #fff;
	text-decoration: underline;
}

body .post-header-band.ekspert .slide-info > .breadcrumb ul.breadcrumb li .kb_title {
	color: #fff;
}

@media (max-width: 1199px) {

	body .post-header-band.bank .slide-info .image {
		width: 320px;
		height: 100%;
	}

	body .post-header-band.bank .slide-info .image img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

body .post-header-band.inner-hero-dark {
	position: relative;
	background-color: #333;
	background-image: url("../images/bg-head2.jpg");
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

body .post-header-band.inner-hero-dark::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	backdrop-filter: blur(5px);
	pointer-events: none;
}

body.page-y .post-header-band.inner-hero-dark .slide-info {
	position: relative;
	z-index: 1;
	min-height: auto;
	padding: 67px 0 40px;
	width: 100%;
	max-width: 1138px;
	margin: 0 auto;
	box-sizing: border-box;
}

body.page-y .post-header-band.inner-hero-dark .slide-info .title {
	color: #fff;
}

body.page-y .post-header-band.inner-hero-dark .breadcrumb {
	font-weight: 300;
	font-size: 16px;
	line-height: 19px;
}

body.page-y .post-header-band.inner-hero-dark .slide-info #breadcrumbs {
	margin: 0;
	padding-bottom: 0;
}

body.page-y .post-header-band.inner-hero-dark #breadcrumbs span.breadcrumb_last {
	color: #fff;
}

body.page-y .post-header-band.inner-hero-dark a {
	color: #fff;
}

/* На случай старой разметки без .post-header-band (до обновления шаблона). */
body.page-y .site-header + .slide-info {
	max-width: 1138px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
	padding: 67px 0 40px;
	min-height: auto;
}

body.page-y .site-header + .slide-info + #breadcrumbs {
	max-width: 1138px;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	box-sizing: border-box;
}

/* Мобильные и планшет: резиновая ширина slide-info */
@media (max-width: 1199px) {
	body .post-header-band {
		width: 100%;
		box-sizing: border-box;
	}

	body .post-header-band .slide-info,
	body.page-y .post-header-band.inner-hero-dark .slide-info,
	body.page-y .site-header + .slide-info {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding-left: 24px;
		padding-right: 24px;
		box-sizing: border-box;
	}

	body.page-y .post-header-band.inner-hero-dark .slide-info .title,
	body.page-y .post-header-band.inner-hero-dark .slide-info #breadcrumbs,
	body.page-y .post-header-band.inner-hero-dark .breadcrumb {
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	body .post-header-band .slide-info,
	body.page-y .post-header-band.inner-hero-dark .slide-info {
		padding-top: 36px;
		padding-bottom: 28px;
		padding-left: 16px;
		padding-right: 16px;
		min-height: 0;
		height: auto !important;
	}

	body.page-y .post-header-band.inner-hero-dark .slide-info .title {
		font-size: clamp(26px, 7vw, 40px);
		line-height: 1.1;
		max-width: 100%;
		word-wrap: break-word;
	}
}

@media (max-width: 600px) {
	body.page-y .slide-info,
	body.page-y .post-header-band .slide-info,
	body.page-y .post-header-band.inner-hero-dark .slide-info {
		height: auto !important;
		min-height: 0 !important;
		padding-bottom: 28px !important;
	}
}
