/*
 * R05-13 Modern Institutional inner-page title system.
 *
 * Scoped to the explicit local/staging `r05_phase=inner-header` preview.
 * Page bodies, stored templates and the accepted R05 home page are untouched.
 */

.telli-r05-phase--inner-header {
	--telli-r05-inner-navy: #0c2132;
	--telli-r05-inner-navy-deep: #071722;
	--telli-r05-inner-gold: #d1a456;
	--telli-r05-inner-gold-light: #f1d394;
	--telli-r05-inner-content: 1280px;
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: flex-end;
	min-height: 360px;
	margin: 0 !important;
	padding: 76px 0 62px;
	overflow: clip;
	background-color: var(--telli-r05-inner-navy);
	background-image: var(--telli-inner-hero-image);
	background-position: center;
	background-size: cover;
	color: #fff;
}

.telli-r05-phase--inner-header .telli-inner-hero--r05::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(7, 23, 34, .96) 0%, rgba(12, 33, 50, .88) 48%, rgba(12, 33, 50, .58) 100%),
		linear-gradient(0deg, rgba(7, 23, 34, .46), transparent 54%);
	content: "";
}

.telli-r05-phase--inner-header .telli-inner-hero--r05::after {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--telli-r05-inner-gold) 0 18%, rgba(209, 164, 86, .28) 52%, transparent 100%);
	content: "";
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	width: min(var(--telli-r05-inner-content), calc(100% - 60px));
	max-width: var(--telli-r05-inner-content);
	margin: 0 auto;
	gap: 26px;
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 h1 {
	position: relative;
	max-width: 1080px;
	margin: 0;
	padding-top: 22px;
	color: #fff;
	font-family: Montserrat, Arial, sans-serif;
	font-size: clamp(2.45rem, 4vw, 4rem);
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: 1.08;
	overflow-wrap: anywhere;
	text-wrap: balance;
	text-shadow: 0 3px 24px rgba(0, 0, 0, .28);
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 h1::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 74px;
	height: 3px;
	border-radius: 999px;
	background: var(--telli-r05-inner-gold);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .08);
	content: "";
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__breadcrumb {
	max-width: min(100%, 1080px);
	margin: 0;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, .18);
	border-radius: 999px;
	background: rgba(7, 23, 34, .54);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.45;
	text-align: left;
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__breadcrumb li {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	margin: 0;
	color: rgba(255, 255, 255, .82);
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__breadcrumb li + li::before {
	margin-right: 7px;
	color: var(--telli-r05-inner-gold-light);
	content: "/";
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__breadcrumb a {
	color: var(--telli-r05-inner-gold-light);
	text-decoration: none;
	text-underline-offset: .24em;
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__breadcrumb a:hover {
	color: #fff;
	text-decoration: underline;
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__breadcrumb a:focus-visible {
	border-radius: 3px;
	outline: 3px solid var(--telli-r05-inner-gold-light);
	outline-offset: 4px;
	color: #fff;
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__breadcrumb [aria-current="page"] {
	display: inline;
	min-width: 0;
	overflow-wrap: anywhere;
	color: #fff;
}

.telli-r05-phase--inner-header .telli-inner-hero--r05 + .telli-main {
	position: relative;
	margin-top: 0;
}

@media (max-width: 1024px) {
	.telli-r05-phase--inner-header .telli-inner-hero--r05 {
		min-height: 330px;
		padding: 66px 0 54px;
	}

	.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__inner {
		width: min(100% - 48px, var(--telli-r05-inner-content));
	}

	.telli-r05-phase--inner-header .telli-inner-hero--r05 h1 {
		font-size: clamp(2.15rem, 5.5vw, 3.35rem);
	}
}

@media (max-width: 767px) {
	.telli-r05-phase--inner-header .telli-inner-hero--r05 {
		min-height: 286px;
		padding: 52px 0 42px;
		background-position: 60% center;
	}

	.telli-r05-phase--inner-header .telli-inner-hero--r05::before {
		background: linear-gradient(90deg, rgba(7, 23, 34, .96) 0%, rgba(12, 33, 50, .88) 70%, rgba(12, 33, 50, .7) 100%);
	}

	.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__inner {
		width: calc(100% - 36px);
		max-width: calc(100% - 36px);
		gap: 22px;
	}

	.telli-r05-phase--inner-header .telli-inner-hero--r05 h1 {
		max-width: 100%;
		padding-top: 17px;
		font-size: clamp(1.8rem, 8.4vw, 2.5rem);
		letter-spacing: -.025em;
		line-height: 1.12;
		text-wrap: pretty;
	}

	.telli-r05-phase--inner-header .telli-inner-hero--r05 h1::before {
		width: 54px;
		height: 2px;
	}

	.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__breadcrumb {
		max-width: 100%;
		padding: 8px 12px;
		border-radius: 14px;
		font-size: 12px;
	}
}

@media (max-width: 390px) {
	.telli-r05-phase--inner-header .telli-inner-hero--r05 {
		min-height: 270px;
		padding-block: 44px 36px;
	}

	.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__inner {
		width: calc(100% - 28px);
		max-width: calc(100% - 28px);
		gap: 18px;
	}

	.telli-r05-phase--inner-header .telli-inner-hero--r05 h1 {
		font-size: clamp(1.65rem, 8vw, 2.15rem);
	}
}

@media (forced-colors: active) {
	.telli-r05-phase--inner-header .telli-inner-hero--r05,
	.telli-r05-phase--inner-header .telli-inner-hero--r05::before {
		background: Canvas;
		color: CanvasText;
	}

	.telli-r05-phase--inner-header .telli-inner-hero--r05 h1,
	.telli-r05-phase--inner-header .telli-inner-hero--r05 .telli-inner-hero__breadcrumb :where(a, span, li) {
		color: CanvasText;
	}
}
