/*
 * 02-hero.css — Баннер на первый экран и хлебные крошки.
 * Порядок подключения файлов важен: см. MLD_Plugin::STYLES.
 */

/* ---------- 1. Баннер ---------- */

.mld-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 560px;
	height: calc(100vh - var(--mld-hh, 0px));
	height: calc(100svh - var(--mld-hh, 0px));
	max-height: 1100px;
	overflow: hidden;
	background: #b3b3b3;
	color: #fff;
	text-align: center;
	font-family: var(--mld-font);
}

.mld-hero__bg,
.mld-hero__bg img,
.mld-hero__shade {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.mld-hero__bg img { object-fit: cover; object-position: center 30%; }

.mld-hero__shade { background: rgba(0, 0, 0, .3); }

.mld-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 1200px;
	padding: 0 120px 13vh;
}

.mld-hero__badge {
	display: inline-block;
	margin-bottom: 20px;
	padding: 9px 15px;
	border: 1px solid #fff;
	border-radius: 30px;
	font-size: 12px;
	line-height: 1.2;
	font-weight: 400;
}

.mld-hero .mld-hero__title {
	color: #fff;
	font-size: 56px;
	line-height: 1.2;
	font-weight: var(--mld-head-weight);
	letter-spacing: 5px;
	text-transform: uppercase;
	overflow-wrap: anywhere;
	hyphens: auto;
}

.mld-hero__sub {
	max-width: 760px;
	margin-top: 22px !important;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 400;
}

.mld-hero .mld-btn--hero { margin-top: 36px; }

/* ---------- Хлебные крошки ---------- */

.mld-crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	padding-top: 34px;
	padding-bottom: 30px;
	font-size: 14px;
	line-height: 1.35;
	color: var(--mld-dark);
}

.mld-crumbs a,
.mld-crumbs span { color: inherit; text-decoration: none; }
.mld-crumbs a:hover { color: var(--mld-heading); }
.mld-crumbs > * + *::before { content: "/"; margin: 0 14px; opacity: .5; }
.mld-crumbs [aria-current] { opacity: .8; }

.mld-crumbs + .mld-sec { margin-top: 15px; }
