/**
 * TRT National shared page hero.
 *
 * All page imagery is a full-bleed background. Copy remains in a predictable
 * left column with a strong navy scrim for contrast at every breakpoint.
 */

.trt-page-hero {
	--trt-page-accent: #dbae4b;
	--trt-dark-navy: #0c1529;
	--trt-hero-title-color: #fff;
	--trt-hero-text-color: #fff;
	--trt-hero-button-color: #0c1529;
	--trt-hero-navigation-color: #0c1529;
	--trt-hero-dot-color: rgba(255, 255, 255, 0.56);
	--trt-hero-overlay: linear-gradient(
		90deg,
		rgba(7, 16, 34, 0.99) 0%,
		rgba(12, 21, 41, 0.96) 34%,
		rgba(18, 33, 62, 0.82) 61%,
		rgba(12, 21, 41, 0.42) 100%
	);
	position: relative;
	isolation: isolate;
	display: grid;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	min-height: max(clamp(500px, 43vw, 680px), var(--trt-hero-control-min-height, 0px));
	margin-inline: 0;
	border-radius: 0;
	background: var(--trt-dark-navy);
	color: var(--trt-hero-text-color);
	font-family: var(--trt-font-text, "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

body.page-id-706 .elementor-element.elementor-element-f7060a01 {
	padding-inline: 0 !important;
}

body.page-id-706 .elementor-element.elementor-element-f7060a01 > .e-con-inner {
	max-width: none !important;
}

.trt-page-hero,
.trt-page-hero * {
	box-sizing: border-box;
}

.trt-page-hero__slides,
.trt-page-hero__slide {
	position: absolute;
	inset: 0;
}

.trt-page-hero__slides {
	z-index: 0;
}

.trt-page-hero__slide {
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition:
		opacity 0.55s ease,
		visibility 0s linear 0.55s;
}

.trt-page-hero__slide.is-active {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
	transition-delay: 0s;
}

.trt-page-hero__slide::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	background: var(--trt-hero-overlay);
	content: "";
	pointer-events: none;
}

.trt-page-hero__media,
.trt-page-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
}

.trt-page-hero__media {
	position: absolute;
	inset: 0;
	margin: 0;
	background: var(--trt-dark-navy);
}

.trt-page-hero__media img {
	object-fit: cover;
	object-position: var(--trt-hero-image-position, center center);
}

.trt-page-hero__content {
	position: relative;
	z-index: 3;
	align-self: stretch;
	display: flex;
	align-items: center;
	width: min(100% - clamp(48px, 8vw, 144px), 1180px);
	max-width: 1180px;
	min-height: 100%;
	margin-inline: auto;
	padding-block: clamp(76px, 8vw, 118px) clamp(88px, 8vw, 116px);
	pointer-events: none;
}

.trt-page-hero--slide-copy .trt-page-hero__content {
	position: absolute;
	inset: 0;
}

.trt-page-hero__copy {
	width: min(100%, 800px);
	max-width: 68%;
	pointer-events: auto;
}

.trt-page-hero__eyebrow {
	margin: 0 0 16px;
	color: var(--trt-page-accent);
	font-size: clamp(0.76rem, 0.9vw, 0.92rem);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.trt-page-hero__title {
	max-width: 800px;
	margin: 0 0 clamp(18px, 2vw, 26px);
	color: var(--trt-hero-title-color);
	font-family: var(--trt-font-primary, "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	font-size: min(var(--trt-hero-title-size, 4.6rem), clamp(2.75rem, 4.8vw, 4.6rem)) !important;
	font-weight: var(--trt-hero-title-weight, 800);
	line-height: var(--trt-hero-title-line-height, 1.02);
	letter-spacing: var(--trt-hero-title-letter-spacing, -0.035em);
	overflow-wrap: normal;
	word-break: normal;
	hyphens: none;
	text-wrap: balance;
}

.trt-page-hero__title.is-long,
body:not(.page-id-709) .elementor:not(.elementor-585):not(.elementor-588) .trt-page-hero__title.is-long {
	max-width: 820px;
	margin-bottom: 18px;
	font-size: min(var(--trt-hero-long-title-size, 3.75rem), clamp(2.35rem, 4vw, 3.75rem)) !important;
	line-height: var(--trt-hero-title-line-height, 1.06) !important;
}

.trt-page-hero__description {
	max-width: 720px;
	color: var(--trt-hero-text-color);
	font-size: var(--trt-hero-text-size, clamp(1rem, 1.25vw, 1.18rem));
	font-weight: var(--trt-hero-text-weight, 400);
	line-height: var(--trt-hero-text-line-height, 1.65);
	text-wrap: pretty;
}

.trt-page-hero__description p {
	margin: 0;
}

.trt-page-hero__description p + p {
	margin-top: 0.8em;
}

.trt-page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(24px, 2.5vw, 32px);
}

.trt-page-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	margin: 0;
	padding: 13px 25px;
	border: 2px solid var(--trt-page-accent);
	border-radius: 999px;
	background: var(--trt-page-accent);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
	color: var(--trt-hero-button-color) !important;
	font-family: inherit;
	font-size: 0.96rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition:
		background-color 0.18s ease,
		border-color 0.18s ease,
		color 0.18s ease,
		transform 0.18s ease;
}

.trt-page-hero__button:hover {
	border-color: #f0c96a;
	background: #f0c96a;
	color: var(--trt-dark-navy) !important;
	transform: translateY(-2px);
}

.trt-page-hero__button--secondary {
	border-color: rgba(255, 255, 255, 0.72);
	background: rgba(12, 21, 41, 0.42);
	color: #fff !important;
	box-shadow: none;
	backdrop-filter: blur(5px);
}

.trt-page-hero__button--secondary:hover {
	border-color: #fff;
	background: #fff;
	color: var(--trt-dark-navy) !important;
}

.trt-page-hero__note {
	max-width: 720px;
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.83rem;
	line-height: 1.55;
}

.trt-page-hero__arrow,
.trt-page-hero__toggle,
.trt-page-hero__dot {
	appearance: none;
	-webkit-appearance: none;
	font-family: inherit;
	cursor: pointer;
}

.trt-page-hero__arrow {
	position: absolute !important;
	z-index: 5 !important;
	top: 50% !important;
	width: 46px !important;
	height: 46px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, 0.28) !important;
	border-radius: 50% !important;
	background: var(--trt-page-accent) !important;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26) !important;
	color: var(--trt-hero-navigation-color) !important;
	font-size: 0 !important;
	transform: translateY(-50%) !important;
	transition:
		background-color 0.18s ease,
		transform 0.18s ease !important;
}

.trt-page-hero__arrow:hover {
	background: #f0c96a !important;
}

.trt-page-hero__arrow.is-prev {
	left: clamp(14px, 2vw, 34px) !important;
}

.trt-page-hero__arrow.is-next {
	right: clamp(14px, 2vw, 34px) !important;
}

.trt-page-hero__arrow span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	border: solid currentcolor;
	border-width: 0 3px 3px 0;
}

.trt-page-hero__arrow.is-prev span {
	transform: translate(-35%, -50%) rotate(135deg);
}

.trt-page-hero__arrow.is-next span {
	transform: translate(-65%, -50%) rotate(-45deg);
}

.trt-page-hero__dots {
	position: absolute;
	z-index: 5;
	bottom: 27px;
	left: 50%;
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	transform: translateX(-50%);
}

.trt-page-hero__dot {
	position: relative;
	display: block;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 50%;
	background: transparent !important;
	box-shadow: none !important;
}

.trt-page-hero__dot::before {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 11px;
	height: 11px;
	border: 1px solid rgba(255, 255, 255, 0.56);
	border-radius: 50%;
	background: var(--trt-hero-dot-color);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
	content: "";
	transform: translate(-50%, -50%);
	transition:
		background-color 0.18s ease,
		transform 0.18s ease;
}

.trt-page-hero__dot.is-active::before,
.trt-page-hero__dot[aria-current="true"]::before {
	border-color: var(--trt-page-accent);
	background: var(--trt-page-accent);
	transform: translate(-50%, -50%) scale(1.3);
}

.trt-page-hero__toggle {
	position: absolute;
	z-index: 5;
	right: clamp(18px, 3vw, 48px);
	bottom: 18px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	margin: 0;
	padding: 8px 13px;
	border: 1px solid rgba(255, 255, 255, 0.42);
	border-radius: 999px;
	background: rgba(7, 16, 34, 0.78);
	color: #fff;
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.02em;
	backdrop-filter: blur(8px);
	transition:
		background-color 0.18s ease,
		border-color 0.18s ease;
}

.trt-page-hero__toggle:hover {
	border-color: rgba(255, 255, 255, 0.78);
	background: rgba(7, 16, 34, 0.94);
}

.trt-page-hero__toggle-icon {
	position: relative;
	display: inline-block;
	width: 10px;
	height: 12px;
	border-right: 3px solid currentcolor;
	border-left: 3px solid currentcolor;
}

.trt-page-hero__toggle[data-state="paused"] .trt-page-hero__toggle-icon {
	width: 0;
	height: 0;
	border: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-left: 9px solid currentcolor;
}

.trt-page-hero__toggle:disabled {
	cursor: not-allowed;
	opacity: 0.72;
}

.trt-page-hero :where(a, button):focus-visible,
.trt-page-hero:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.trt-page-hero__status.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	border: 0 !important;
	white-space: nowrap !important;
}

@media (max-width: 1024px) {
	.trt-page-hero {
		min-height: max(clamp(470px, 62vw, 620px), var(--trt-hero-control-min-height, 0px));
	}

	.trt-page-hero__content {
		width: min(100% - 72px, 920px);
	}

	.trt-page-hero__copy {
		max-width: 76%;
	}

	.trt-page-hero__title {
		font-size: min(var(--trt-hero-title-size, 4rem), clamp(2.5rem, 6.5vw, 4rem)) !important;
	}

	.trt-page-hero__title.is-long,
	body:not(.page-id-709) .elementor:not(.elementor-585):not(.elementor-588) .trt-page-hero__title.is-long {
		font-size: min(var(--trt-hero-long-title-size, 3.25rem), clamp(2.15rem, 5.6vw, 3.25rem)) !important;
	}
}

@media (max-width: 767px) {
	body.page-id-737 .grecaptcha-badge {
		right: 8px !important;
		max-width: calc(100vw - 16px) !important;
		overflow: hidden !important;
	}

	body.page-id-737 .grecaptcha-badge iframe {
		max-width: 100% !important;
	}

	.trt-page-hero {
		--trt-hero-overlay: linear-gradient(
			90deg,
			rgba(7, 16, 34, 0.97) 0%,
			rgba(12, 21, 41, 0.9) 68%,
			rgba(12, 21, 41, 0.72) 100%
		);
		min-height: max(clamp(500px, 142vw, 640px), var(--trt-hero-control-min-height, 0px));
	}

	.trt-page-hero__media img {
		object-position: var(--trt-hero-mobile-image-position, var(--trt-hero-image-position, center center));
	}

	.trt-page-hero__content {
		align-items: center;
		width: calc(100% - 40px);
		padding-block: 68px 102px;
	}

	.trt-page-hero__copy {
		width: 100%;
		max-width: 100%;
	}

	.trt-page-hero__eyebrow {
		margin-bottom: 13px;
		font-size: 0.72rem;
		letter-spacing: 0.13em;
	}

	.trt-page-hero__title {
		margin-bottom: 17px;
		font-size: min(var(--trt-hero-title-size, 3.35rem), clamp(2.25rem, 10.5vw, 3.35rem)) !important;
		line-height: var(--trt-hero-title-line-height, 1.04);
	}

	.trt-page-hero__title.is-long,
	body:not(.page-id-709) .elementor:not(.elementor-585):not(.elementor-588) .trt-page-hero__title.is-long {
		font-size: min(var(--trt-hero-long-title-size, 2.75rem), clamp(1.95rem, 8.5vw, 2.75rem)) !important;
		line-height: var(--trt-hero-title-line-height, 1.08) !important;
	}

	.trt-page-hero--program-cost .trt-page-hero__title,
	.trt-page-hero--program-cost .trt-page-hero__title.is-long {
		font-size: min(var(--trt-hero-title-size, 2.2rem), 2.2rem) !important;
	}

	.trt-page-hero__description {
		font-size: var(--trt-hero-text-size, 0.96rem);
		line-height: var(--trt-hero-text-line-height, 1.58);
	}

	.trt-page-hero__actions {
		gap: 10px;
		margin-top: 24px;
	}

	.trt-page-hero__button {
		width: 100%;
		min-height: 46px;
		padding: 12px 20px;
	}

	.trt-page-hero:not(.has-mobile-arrows) .trt-page-hero__arrow {
		display: none !important;
	}

	.trt-page-hero__arrow {
		top: auto !important;
		bottom: 17px !important;
		width: 40px !important;
		height: 40px !important;
		transform: none !important;
	}

	.trt-page-hero__arrow.is-prev {
		left: 18px !important;
	}

	.trt-page-hero__arrow.is-next {
		right: 18px !important;
	}

	.trt-page-hero__dots {
		bottom: 32px;
	}

	.trt-page-hero__toggle {
		right: 14px;
		bottom: 74px;
		min-height: 34px;
		padding: 7px 10px;
	}
}

@media (max-width: 420px) {
	.trt-page-hero__dots {
		left: 20px;
		transform: none;
	}

	.trt-page-hero.has-mobile-arrows .trt-page-hero__dots {
		left: 50%;
		transform: translateX(-50%);
	}
}

@media (prefers-reduced-motion: reduce) {
	.trt-page-hero *,
	.trt-page-hero *::before,
	.trt-page-hero *::after {
		scroll-behavior: auto !important;
		animation: none !important;
		transition: none !important;
	}
}
