/* Modern inner-page heading + breadcrumbs */

.page-heading.page-heading--modern {
	--rvuz-red: #a12c2f;
	position: relative;
	width: 100%;
	min-height: 280px;
	padding: 0;
	background-image: url(/images/header.jpg);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	/* stretch so .container keeps Bootstrap widths instead of shrink-to-fit */
	align-items: stretch;
}

.page-heading.page-heading--modern .page-heading-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(18, 23, 28, 0.25) 0%, rgba(18, 23, 28, 0.55) 45%, rgba(18, 23, 28, 0.88) 100%),
		linear-gradient(90deg, rgba(18, 23, 28, 0.45) 0%, rgba(18, 23, 28, 0.12) 70%, transparent 100%);
	pointer-events: none;
}

.page-heading.page-heading--modern .page-heading-inner {
	position: relative;
	z-index: 1;
	padding-top: 48px;
	padding-bottom: 36px;
	/* Bootstrap .container uses margin:auto; in a flex column that shrink-wraps
	   the heading to content width. Force full shared shell width. */
	width: 100% !important;
	max-width: 1170px;
	margin-left: auto !important;
	margin-right: auto !important;
	float: none !important;
	box-sizing: border-box;
}

@media (min-width: 768px) and (max-width: 991px) {
	.page-heading.page-heading--modern .page-heading-inner {
		max-width: 750px;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {
	.page-heading.page-heading--modern .page-heading-inner {
		max-width: 970px;
	}
}

@media (min-width: 1200px) {
	.page-heading.page-heading--modern .page-heading-inner {
		max-width: 1170px;
	}
}

.page-heading.page-heading--modern h1 {
	margin: 0 0 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(28px, 4.5vw, 44px);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
	text-transform: none;
	color: #fff;
}

.page-heading.page-heading--modern .page-heading-lead {
	margin: 0;
	max-width: 640px;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.86);
	padding-bottom: 0;
	display: block;
}

.page-crumbs {
	margin: 0 0 18px;
}

.page-crumbs-list {
	display: block;
	margin: 0;
	padding: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.78);
}

/*
 * educa.css has `.page-heading span { display:block; padding-bottom:80px }`
 * which destroyed crumbs — override it hard for modern heading.
 */
.page-heading.page-heading--modern .page-crumbs,
.page-heading.page-heading--modern .page-crumbs * {
	display: inline !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	font-size: 13px !important;
	line-height: 1.4 !important;
	vertical-align: baseline !important;
}

.page-heading.page-heading--modern .page-crumbs {
	display: block !important;
	margin: 0 0 18px !important;
}

.page-heading.page-heading--modern .page-crumbs-list {
	display: block !important;
}

.page-heading.page-heading--modern .page-crumbs meta {
	display: none !important;
}

.page-heading.page-heading--modern .page-crumbs-sep {
	margin: 0 0.45em !important;
	color: rgba(255, 255, 255, 0.45) !important;
	font-weight: 400 !important;
	user-select: none;
	pointer-events: none;
}

.page-heading.page-heading--modern .page-crumbs-link {
	color: rgba(255, 255, 255, 0.82) !important;
	text-decoration: none !important;
	border-bottom: 1px solid transparent;
}

.page-heading.page-heading--modern .page-crumbs-link:hover {
	color: #fff !important;
	border-bottom-color: rgba(255, 255, 255, 0.5);
}

.page-heading.page-heading--modern .page-crumbs-current {
	color: #fff !important;
	font-weight: 500 !important;
}

/* Kill legacy page-heading list chrome */
.page-heading.page-heading--modern ul,
.page-heading.page-heading--modern ol {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	list-style: none !important;
}

.page-heading.page-heading--modern .page-crumbs-list::before,
.page-heading.page-heading--modern .page-crumbs-list::after,
.page-heading.page-heading--modern .page-crumbs-item::before,
.page-heading.page-heading--modern .page-crumbs-item::after,
.page-heading.page-heading--modern .page-crumbs-sep::before,
.page-heading.page-heading--modern .page-crumbs-sep::after {
	content: none !important;
	display: none !important;
}

@media (max-width: 767px) {
	.page-heading.page-heading--modern {
		min-height: 220px;
	}

	.page-heading.page-heading--modern .page-heading-inner {
		padding-top: 36px;
		padding-bottom: 28px;
	}

	.page-heading.page-heading--modern .page-heading-lead {
		font-size: 15px;
	}
}
