/*
 * Hormuz Preferred Source — front-end rail
 * v1.7.0
 * Full-bleed pre-footer rail matched to the Structured Intelligence Footer.
 */

.hps-bar,
.hps-bar * {
	box-sizing: border-box;
}

/*
 * Match the exact breakout technique used by .hg-pro-footer. This is more
 * reliable inside Kadence/widget containers than positioning with left: 50%.
 */
html body .hps-bar {
	--hps-text: #f6fbfa;
	--hps-text-soft: rgba(229, 246, 244, 0.74);
	--hps-text-faint: rgba(213, 236, 233, 0.52);
	--hps-heading: rgba(220, 245, 242, 0.76);
	--hps-line: rgba(226, 248, 245, 0.11);
	--hps-line-strong: rgba(226, 248, 245, 0.18);
	--hps-gold: rgba(215, 182, 107, 0.88);

	position: relative !important;
	z-index: 2;
	display: block !important;
	width: 100vw !important;
	max-width: 100vw !important;
	min-width: 0 !important;
	margin: 0 calc(50% - 50vw) !important;
	padding: 0 !important;
	overflow: hidden;
	direction: ltr;
	text-align: left;
	color: var(--hps-text);
	font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #061f1c !important;
	background-image: none !important;
	border: 0 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.045) !important;
	border-bottom: 1px solid var(--hps-line) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

/* A restrained light seam separates the illustration from the footer system. */
html body .hps-bar::before {
	content: "";
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: 1px;
	pointer-events: none;
	background: linear-gradient(90deg, transparent 0%, rgba(215, 182, 107, 0.28) 18%, rgba(246, 251, 250, 0.12) 50%, rgba(215, 182, 107, 0.22) 82%, transparent 100%);
}

/* Do not let common theme/footer wrappers clip the full-bleed breakout. */
.widget_block:has(.hps-bar),
.footer-widget-area:has(.hps-bar),
.footer-widget-area-inner:has(.hps-bar),
.site-footer-row-container-inner:has(.hps-bar),
.site-footer-section:has(.hps-bar) {
	overflow: visible !important;
}

html body .hps-bar__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: clamp(26px, 3vw, 46px);
	width: min(1460px, calc(100% - 88px));
	max-width: 1460px;
	min-height: 64px;
	margin: 0 auto;
	padding: 11px 0;
}

html body .hps-bar__copy {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 13px;
}

html body .hps-bar__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	color: var(--hps-heading) !important;
	font: inherit !important;
	font-size: 9.5px !important;
	font-weight: 820 !important;
	line-height: 1.2 !important;
	letter-spacing: 0.105em !important;
	text-transform: uppercase;
	white-space: nowrap;
}

html body .hps-bar__kicker::before {
	content: "";
	display: block;
	width: 5px;
	height: 5px;
	flex: 0 0 5px;
	border-radius: 999px;
	background: var(--hps-gold);
	box-shadow: 0 0 0 3px rgba(215, 182, 107, 0.08);
}

html body .hps-bar__divider {
	display: block;
	width: 1px;
	height: 18px;
	flex: 0 0 1px;
	background: var(--hps-line-strong);
}

html body .hps-bar__text {
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--hps-text-soft) !important;
	font: inherit !important;
	font-size: 11.35px !important;
	font-weight: 510 !important;
	line-height: 1.48 !important;
	letter-spacing: -0.008em !important;
}

html body .hps-bar__button {
	-webkit-appearance: none;
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	gap: 8px;
	min-height: 34px;
	margin: 0 !important;
	padding: 7px 12px 7px 13px !important;
	border: 1px solid rgba(246, 251, 250, 0.88) !important;
	border-radius: 9px !important;
	background: var(--hps-text) !important;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18), 0 5px 18px rgba(0, 0, 0, 0.08) !important;
	color: #061f1c !important;
	font: inherit !important;
	font-size: 10.8px !important;
	font-weight: 760 !important;
	line-height: 1.2 !important;
	letter-spacing: -0.004em !important;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

html body .hps-bar__button:hover,
html body .hps-bar__button:focus-visible {
	background: #ffffff !important;
	border-color: #ffffff !important;
	color: #043532 !important;
	transform: translateY(-1px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

html body .hps-bar__button:active {
	transform: translateY(0);
}

html body .hps-bar__button:focus-visible {
	outline: 2px solid rgba(246, 251, 250, 0.72);
	outline-offset: 3px;
}

html body .hps-bar__button-icon {
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.65;
	stroke-linecap: round;
	stroke-linejoin: round;
	opacity: 0.78;
}

@media (max-width: 1180px) {
	html body .hps-bar__inner {
		width: min(100% - 54px, 1460px);
	}
}

@media (max-width: 760px) {
	html body .hps-bar__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		min-height: 0;
		padding: 14px 0 15px;
	}

	html body .hps-bar__copy {
		flex-wrap: wrap;
		gap: 7px 10px;
	}

	html body .hps-bar__divider {
		display: none;
	}

	html body .hps-bar__text {
		flex-basis: 100%;
		font-size: 11px !important;
	}

	html body .hps-bar__button {
		min-height: 33px;
		padding: 7px 11px 7px 12px !important;
		font-size: 10.6px !important;
	}
}

@media (max-width: 620px) {
	html body .hps-bar__inner {
		width: min(100% - 30px, 1460px);
	}

	html body .hps-bar__kicker {
		font-size: 9.2px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body .hps-bar__button {
		transition: none;
	}
}
