/**
 * Hero Banner — cta, intro, quote, search, solid, split.
 */

.uckg-hero {
	--uckg-hero-ink: #ffffff;
	--uckg-hero-muted: rgba(255, 255, 255, 0.92);
	--uckg-hero-blue: #8eb8ff;
	--uckg-hero-red: #d62828;
	--uckg-hero-btn: #1d7af2;
	position: relative;
	box-sizing: border-box;
	display: flex;
	width: 100%;
	overflow: hidden;
	background-color: #1b3e6e;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	color: var(--uckg-hero-ink);
}

.uckg-hero *,
.uckg-hero *::before,
.uckg-hero *::after {
	box-sizing: border-box;
}

.uckg-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.uckg-hero__overlay--full {
	background-color: rgba(10, 18, 35, 0.55);
}

.uckg-hero__overlay--bottom {
	--uckg-hero-overlay-base: #0D1626;
	background: linear-gradient(
		360deg,
		var(--uckg-hero-overlay-base) 0%,
		rgba(13, 22, 38, 0.7) 49.98%,
		rgba(13, 22, 38, 0) 90.87%
	);
}

.uckg-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	padding: 72px 40px;
}

.uckg-hero__content {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 100%;
}

.uckg-hero--intro .uckg-hero__inner,
.uckg-hero--search .uckg-hero__inner {
	justify-content: flex-end;
	padding-top: 120px;
	padding-bottom: 56px;
}

.uckg-hero--align-left .uckg-hero__content {
	align-items: flex-start;
	text-align: left;
	margin-right: auto;
}

.uckg-hero--align-center .uckg-hero__content {
	align-items: center;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.uckg-hero--align-center .uckg-hero__accent {
	margin-left: auto;
	margin-right: auto;
}

.uckg-hero--align-center .uckg-hero__actions,
.uckg-hero--align-center .uckg-hero__links {
	justify-content: center;
}

.uckg-hero__eyebrow {
	margin: 0 0 12px;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.3;
}

.uckg-hero__title {
	margin: 0;
	color: var(--uckg-hero-ink);
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	font-weight: 700;
	line-height: 1.15;
}

.uckg-hero__quote {
	margin: 0;
	color: var(--uckg-hero-ink);
	font-size: clamp(1.55rem, 3.2vw, 2.35rem);
	font-weight: 700;
	font-style: normal;
	line-height: 1.35;
}

.uckg-hero__citation {
	display: block;
	margin-top: 22px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 1rem;
	font-style: normal;
	font-weight: 500;
	line-height: 1.4;
}

.uckg-hero__accent {
	display: block;
	width: 52px;
	height: 4px;
	margin: 18px 0 0;
	border-radius: 999px;
	background: var(--uckg-hero-red);
}

.uckg-hero__desc {
	margin: 18px 0 0;
	color: var(--uckg-hero-muted);
	font-size: 1.1rem;
	line-height: 1.55;
	text-transform: capitalize;
	width: 100%;
	max-width: 100%;
}

.uckg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 28px;
	width: 100%;
}

.uckg-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	box-sizing: border-box;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	padding: 14px 26px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		opacity 0.2s ease,
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.uckg-hero__button:hover {
	opacity: 1;
}

.uckg-hero__button--solid {
	background: var(--uckg-hero-btn);
	border-color: var(--uckg-hero-btn);
	color: #fff;
}

.uckg-hero__button--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.75);
	color: #fff;
}

.uckg-hero__button--light {
	background: #fff;
	border: 1.5px solid #fff;
	color: #1a2744;
}

/* Search / tour */
.uckg-hero__search-wrap {
	width: 100%;
}

.uckg-hero__search {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 2px 2px 2px 16px;
	overflow: hidden;
	border-radius: 999px;
	border-width: 0;
	border-style: solid;
	border-color: transparent;
	--uckg-hero-search-bg: rgba(40, 48, 62, 0.92);
	background-color: var(--uckg-hero-search-bg);
	box-sizing: border-box;
	transition: border-color 0.2s ease, border-width 0.2s ease;
}

.uckg-hero__search-input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 1rem;
	line-height: 1.3;
	outline: none;
}

.uckg-hero__search-input::placeholder {
	color: rgba(255, 255, 255, 0.55);
}

.uckg-hero__search.is-invalid {
	border-style: solid;
	border-width: var(--uckg-hero-invalid-border-width, 2px);
	border-color: var(--uckg-hero-invalid-outline, #e10600);
}

.uckg-hero__search-error {
	display: flex;
	flex-direction: var(--uckg-hero-empty-dir, row);
	align-items: var(--uckg-hero-empty-icon-align, flex-start);
	justify-content: var(--uckg-hero-empty-justify, flex-start);
	gap: 12px;
	width: 100%;
	margin: 12px 0 0;
	padding: 14px 16px;
	border-radius: 10px;
	background: var(--uckg-hero-empty-bg, #e10600);
	color: var(--uckg-hero-empty-color, #fff);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	text-align: var(--uckg-hero-empty-align, left);
	box-sizing: border-box;
}

.uckg-hero__search-error[hidden] {
	display: none;
}

.uckg-hero__search-error-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	color: inherit;
	font-size: 22px;
	line-height: 1;
}

.uckg-hero__search-error-icon i,
.uckg-hero__search-error-icon svg {
	display: block;
	width: 22px;
	height: 22px;
}

.uckg-hero__search-error-text {
	display: block;
	flex: 1 1 0;
	min-width: 0;
	width: 100%;
	text-align: inherit;
}

.uckg-hero__search-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 0;
	padding: 0 24px;
	border: 0;
	border-radius: 999px;
	margin: 0;
	height: 48px;
	min-height: 48px;
	max-height: 48px;
	background: var(--uckg-hero-btn);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	box-sizing: border-box;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		padding 0.35s ease;
}

.uckg-hero__search-submit-label {
	display: inline-block;
}

.uckg-hero__search-submit-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 0;
	max-width: 0;
	height: var(--uckg-hero-submit-icon, 24px);
	margin-left: 0;
	overflow: hidden;
	opacity: 0;
	color: #fff;
	line-height: 0;
	transform: translateX(8px);
	transition:
		width 0.35s ease,
		max-width 0.35s ease,
		margin 0.35s ease,
		opacity 0.35s ease,
		transform 0.35s ease;
}

.uckg-hero__search-submit-icon svg {
	display: block;
	width: var(--uckg-hero-submit-icon, 24px);
	height: var(--uckg-hero-submit-icon, 24px);
}

.uckg-hero__search-submit-icon svg,
.uckg-hero__search-submit-icon svg path {
	fill: none;
	stroke: currentColor;
}

.uckg-hero__search-submit:hover,
.uckg-hero__search-submit:focus-visible,
.elementor .uckg-hero__search-submit:hover,
.elementor .uckg-hero__search-submit:focus-visible,
.elementor .elementor-element.elementor-widget .uckg-hero__search .uckg-hero__search-submit:hover,
.elementor .elementor-element.elementor-widget .uckg-hero__search .uckg-hero__search-submit:focus-visible {
	gap: 0;
	margin: 0;
	padding-right: 24px;
	color: #fff;
	opacity: 1;
}

.uckg-hero__search-submit:hover .uckg-hero__search-submit-icon,
.uckg-hero__search-submit:focus-visible .uckg-hero__search-submit-icon,
.elementor .uckg-hero__search-submit:hover .uckg-hero__search-submit-icon,
.elementor .uckg-hero__search-submit:focus-visible .uckg-hero__search-submit-icon {
	width: var(--uckg-hero-submit-icon, 24px);
	max-width: var(--uckg-hero-submit-icon, 24px);
	margin-left: 8px;
	opacity: 1;
	transform: translateX(0);
	color: #fff;
}

.uckg-hero__links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap:24px;
}

.uckg-hero__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #CDD6E2;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
}

.uckg-hero__link > span:not(.uckg-hero__link-icon) {
	color: inherit;
}

.uckg-hero__link:hover,
.uckg-hero__link:focus-visible {
	opacity: 1;
	color: #fff;
}

.uckg-hero__link-icon {
	display: inline-flex;
	font-size: 14px;
	line-height: 1;
	color: inherit;
}

.uckg-hero__link-icon i,
.uckg-hero__link-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	color: inherit;
}

.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__link .uckg-hero__link-icon,
.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__link .uckg-hero__link-icon i {
	color: inherit;
}

.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__link:hover,
.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__link:focus-visible {
	color: #fff;
}

.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__search-wrap .uckg-hero__link-icon:not(.uckg-svg--stroke) svg,
.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__search-wrap .uckg-hero__link-icon:not(.uckg-svg--stroke) svg * {
	fill: currentColor;
	stroke: none;
	color: inherit;
}

/* Solid */
.uckg-hero--solid {
	background-image: none;
}

/* Split */
.uckg-hero--split {
	background-image: none;
	min-height: 0;
}

.uckg-hero--split .uckg-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 40px 48px;
	align-items: center;
	justify-content: initial;
	padding: 48px 40px;
}

.uckg-hero--split.uckg-hero--media-left .uckg-hero__media {
	order: -1;
}

/* Content width comes from Elementor Style → Content Width. */

.uckg-hero__media {
	min-width: 0;
}

.uckg-hero__image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 24px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 991px) {
	.uckg-hero--split .uckg-hero__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.uckg-hero--split.uckg-hero--media-left .uckg-hero__media,
	.uckg-hero--split.uckg-hero--media-right .uckg-hero__media {
		order: 0;
	}

	.uckg-hero--split .uckg-hero__media {
		order: -1;
	}
}

@media (max-width: 767px) {
	.uckg-hero__inner {
		padding: 48px 20px;
	}
	
.uckg-hero--align-center .uckg-hero__content {
padding: 0 16px;
}

	.uckg-hero--intro .uckg-hero__inner,
	.uckg-hero--search .uckg-hero__inner {
		padding-top: 72px;
	}

	.uckg-hero__actions--dual {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
	}

	.uckg-hero--align-center .uckg-hero__actions--dual {
		align-items: stretch;
	}

	/* Beat Elementor width/flex so both CTAs fill the row when stacked. */
	.uckg-hero__actions--dual .uckg-hero__button {
		width: 100% !important;
		max-width: 100% !important;
		flex: 0 0 auto !important;
	}

	.uckg-hero__search-wrap,
	.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero .uckg-hero__search-wrap {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 100%;
	}

	/* Pull field, error, and button into one column: field → message → submit. */
	.uckg-hero__search,
	.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__search-wrap .uckg-hero__search {
		display: contents;
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background-color: transparent;
		overflow: visible;
	}

	.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__search-wrap .uckg-hero__search-input,
	.uckg-hero__search-input {
		order: 1;
		width: 100%;
		height: auto;
		min-height: 52px;
		padding: 14px 16px;
		border-radius: 70px;
		background-color: var(--uckg-hero-search-bg, rgba(40, 48, 62, 0.92));
		align-self: stretch;
	}

	.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__search-wrap .uckg-hero__search.is-invalid,
	.uckg-hero__search.is-invalid {
		padding: 0;
		border: 0;
		border-radius: 0;
		background-color: transparent;
	}

	.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__search-wrap .uckg-hero__search.is-invalid .uckg-hero__search-input,
	.uckg-hero__search.is-invalid .uckg-hero__search-input {
		box-shadow: 0 0 0 var(--uckg-hero-invalid-border-width, 2px) var(--uckg-hero-invalid-outline, #e10600);
	}

	.uckg-hero__search-error {
		--uckg-hero-empty-align: center;
		--uckg-hero-empty-justify: center;
		--uckg-hero-empty-icon-align: center;
	}

	.uckg-hero__search-error,
	.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__search-wrap .uckg-hero__search-error {
		order: 2;
		margin: 12px 0 0;
		padding: 16px 20px;
		border-radius: 16px;
		text-align: var(--uckg-hero-empty-align, center);
		align-items: var(--uckg-hero-empty-icon-align, center);
		justify-content: var(--uckg-hero-empty-justify, center);
	}

	.uckg-hero__search-error-text {
		text-align: var(--uckg-hero-empty-align, center);
	}

	.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__search-wrap .uckg-hero__search-submit,
	.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__search-wrap .uckg-hero__search-submit:hover,
	.elementor .elementor-widget.elementor-widget-uckg_hero_banner .uckg-hero__search-wrap .uckg-hero__search-submit:focus-visible,
	.uckg-hero__search-submit,
	.uckg-hero__search-submit:hover,
	.uckg-hero__search-submit:focus-visible {
		order: 3;
		width: 100%;
		max-width: 100%;
		height: 48px;
		min-height: 48px;
		max-height: none;
		margin: 12px 0 0;
		align-self: stretch;
	}

	.uckg-hero__links,
	.uckg-hero--align-center .uckg-hero__links {
		order: 4;
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 18px;
		margin-top: 24px;
	}
}
