/*
 * Public homepage duo — v5 hero band + social strip (shortcode fpc_hero_cinematic on front page).
 */

body.fpc-public-home-duo:not(.fpc-leader-portal) #content .elementor-widget-shortcode:has(.fpc-home-duo-hero-stack),
body.fpc-public-home-duo:not(.fpc-leader-portal) #content .elementor-widget-shortcode:has(.fpc-home-duo-hero-stack) .elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
	max-width: none !important;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) #content .elementor-section:has(.fpc-home-duo-hero-stack) > .elementor-container,
body.fpc-public-home-duo:not(.fpc-leader-portal) #content .elementor-section:has(.fpc-home-duo-hero-stack) > .e-con-inner {
	padding-inline: 0 !important;
	max-width: none !important;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) #content .elementor-section:has(.fpc-home-duo-hero-stack) {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) #content .elementor-section:has(.fpc-home-duo-hero-stack) + .elementor-section,
body.fpc-public-home-duo:not(.fpc-leader-portal) #content .elementor-section:has(.fpc-home-duo-hero-stack) + .elementor-top-section {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) #content .elementor-element.elementor-element-a604356 {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-stack {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	box-sizing: border-box;
	background-color: var(--fpc-home-duo-hero-mirror-bg);
	color: var(--fpc-on-fill);
	overflow: clip;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-photo {
	position: relative;
	height: var(--fpc-home-duo-hero-photo-h);
	min-height: var(--fpc-home-duo-hero-photo-h);
	overflow: hidden;
	isolation: isolate;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-layers {
	position: absolute;
	inset: 0;
	top: calc(-1 * var(--fpc-home-duo-hero-top-trim));
	height: calc(100% + var(--fpc-home-duo-hero-top-trim));
	pointer-events: none;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-layer {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	object-position: center;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-layer--fill .fpc-home-duo-hero-img--fill {
	transform: scale(var(--fpc-home-duo-hero-fill-scale));
	filter: blur(var(--fpc-home-duo-hero-blur-fill));
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-layer--smear {
	opacity: var(--fpc-home-duo-hero-smear-opacity);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-layer--smear .fpc-home-duo-hero-img--smear {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: blur(var(--fpc-home-duo-hero-blur-smear));
	transform: scaleX(1.35);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-layer--center {
	display: flex;
	justify-content: center;
	align-items: stretch;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-img--center {
	width: auto;
	height: 100%;
	max-width: none;
	aspect-ratio: var(--fpc-home-duo-hero-center-aspect);
	object-fit: cover;
	object-position: var(--fpc-home-duo-hero-center-pos-x) center;
	filter: blur(var(--fpc-home-duo-hero-blur-center));
	-webkit-mask-image: linear-gradient(
		90deg,
		transparent 0%,
		rgb(0 0 0 / 1) var(--fpc-home-duo-hero-center-mask-start),
		rgb(0 0 0 / 1) var(--fpc-home-duo-hero-center-mask-end),
		transparent 100%
	);
	mask-image: linear-gradient(
		90deg,
		transparent 0%,
		rgb(0 0 0 / 1) var(--fpc-home-duo-hero-center-mask-start),
		rgb(0 0 0 / 1) var(--fpc-home-duo-hero-center-mask-end),
		transparent 100%
	);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-tint {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: var(--fpc-home-duo-hero-tint);
	pointer-events: none;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-copy-anchor {
	position: absolute;
	z-index: 3;
	left: 50%;
	bottom: var(--fpc-home-duo-hero-copy-bottom);
	width: var(--fpc-home-duo-hero-center-column-w);
	max-width: 100%;
	transform: translateX(-50%);
	box-sizing: border-box;
	padding-inline: calc(var(--fpc-home-duo-hero-center-column-w) * var(--fpc-home-duo-hero-center-copy-inset-ratio));
	pointer-events: none;
	container-type: inline-size;
	container-name: fpc-home-duo-hero-copy;
	overflow: clip;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-copy {
	text-align: left;
	text-shadow: none;
	pointer-events: auto;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-eyebrow-row {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-eyebrow-text {
	font-size: var(--fpc-home-duo-hero-eyebrow-size);
	font-weight: 800;
	letter-spacing: var(--fpc-home-duo-hero-eyebrow-tracking);
	text-transform: uppercase;
	color: var(--fpc-on-fill);
	text-shadow: none;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-eyebrow-rule {
	display: block;
	flex: 0 0 var(--fpc-home-duo-hero-eyebrow-rule-w);
	width: var(--fpc-home-duo-hero-eyebrow-rule-w);
	height: var(--fpc-home-duo-hero-eyebrow-rule-h);
	background-color: rgb(var(--fpc-on-fill-rgb) / 0.55);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 0;
	max-width: 100%;
	font-size: max(
		var(--fpc-home-duo-hero-title-size-min),
		min(
			var(--fpc-home-duo-hero-title-size-max),
			var(--fpc-home-duo-hero-title-vw),
			calc(var(--fpc-home-duo-hero-title-cqi-scale) * 1cqi),
			var(--fpc-home-duo-hero-title-vh-cap)
		)
	);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.02em;
	color: var(--fpc-on-fill);
	text-shadow: none;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-title-line {
	display: block;
	max-width: 100%;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-title-line--lead {
	white-space: nowrap;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-strip {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	column-gap: 8px;
	box-sizing: border-box;
	width: 100%;
	min-height: var(--fpc-home-duo-hero-strip-h);
	padding: var(--fpc-home-duo-hero-strip-pad) var(--fpc-home-duo-hero-title-inset);
	background-color: var(--fpc-home-duo-hero-strip-bg);
	color: var(--fpc-home-duo-hero-strip-ink);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--fpc-home-duo-hero-social-gap);
	min-height: var(--fpc-home-duo-hero-social-h);
	max-width: 100%;
	padding: 0 4px;
	font-family: Inter, sans-serif;
	font-size: var(--fpc-home-duo-hero-social-type);
	font-weight: var(--fpc-home-duo-hero-social-weight);
	line-height: 1.2;
	color: var(--fpc-home-duo-hero-strip-ink);
	text-decoration: none;
	border-radius: 0;
	box-shadow: none;
	min-width: 0;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-social__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-social__icon {
	width: var(--fpc-home-duo-hero-social-icon);
	height: var(--fpc-home-duo-hero-social-icon);
	flex-shrink: 0;
	fill: currentColor;
	color: var(--fpc-home-duo-hero-strip-ink);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-social--facebook .fpc-home-duo-hero-social__icon {
	color: var(--fpc-brand-facebook);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-social--spotify .fpc-home-duo-hero-social__icon {
	color: var(--fpc-brand-spotify);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-social--podbean .fpc-home-duo-hero-social__icon {
	color: var(--fpc-brand-podbean);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-social--facebook {
	grid-column: 1;
	justify-self: start;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-social--spotify {
	grid-column: 2;
	justify-self: center;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-social--podbean {
	grid-column: 3;
	justify-self: end;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-fold-spacer {
	display: block;
	width: 100%;
	height: var(--fpc-home-duo-hero-fold-margin);
	background-color: var(--fpc-home-duo-hero-fold-canvas);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-social:focus-visible {
	outline: 3px solid var(--fpc-live-focus) !important;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-img--center {
		object-position: var(--fpc-home-duo-hero-center-pos-x-mobile) center;
	}

	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-copy-anchor {
		bottom: var(--fpc-home-duo-hero-copy-bottom-mobile);
	}
}

@media (max-width: 479px) {
	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-social {
		font-size: var(--fpc-home-duo-hero-social-type-narrow);
		gap: 6px;
	}

	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-home-duo-hero-strip {
		column-gap: 4px;
	}
}
