/**
 * About Page Hero — full-width breakout; stacked height = content + video, lg+ (1024px) = min 100vh + 50/50 split.
 */

.about-page-hero-block {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
}

.e-con-inner:has(.about-page-hero-block),
.elementor-container:has(.about-page-hero-block),
main:has(.about-page-hero-block) {
    max-width: none !important;
    overflow-x: visible !important;
}

.about-page-hero-layout {
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 1;
}

@media (min-width: 1024px) {
	.about-page-hero-section,
	.about-page-hero-layout {
		min-height: 100vh;
	}

	.about-page-hero-layout {
		flex-direction: row;
		align-items: stretch;
	}
}

/* Stacked layout: extra top breathing room + bottom padding (block CSS so it does not depend on Tailwind purge) */
.about-page-hero-col--content {
    padding-top: 0;
    padding-bottom: 4rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
	.about-page-hero-col--content {
		padding-bottom: 6rem;
	}
}

/* Stacked: height follows content + video (no min 100vh — avoids black gap under video) */
@media (max-width: 1023px) {
	.about-page-hero-section,
	.about-page-hero-layout {
		min-height: 0;
	}

	.about-page-hero-section {
		padding-top: 8rem;
	}
}

/* Match home hero offset only when split layout is active; keep centered on stacked */
.about-page-hero-inner {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 1024px) and (max-width: 1279px) {
	.about-page-hero-inner {
		padding-left: 50px;
	}
}

@media (min-width: 1280px) {
	.about-page-hero-inner {
		padding-left: 160px;
	}
}

/* Optional full-bleed background behind content + video (falls back to .bg-black) */
.about-page-hero__section-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-color: #000;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/*
 * Video column: absolutely positioned video does not contribute to flex item height.
 * Without an explicit min-height the media column collapses to 0 on mobile.
 */
.about-page-hero-col--media {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    /* Mobile / tablet: reserve space so the absolute video has a box to fill */
    min-height: clamp(220px, 58vw, 420px);
}

/* Split layout (1024px+): strict 50/50 + vertical padding (same as former py-24) */
@media (min-width: 1024px) {
	.about-page-hero-block .about-page-hero-col--content {
		padding-top: 6rem;
		padding-bottom: 6rem;
		flex: 0 0 50% !important;
		width: 50% !important;
		max-width: 50% !important;
		min-width: 0;
	}

	.about-page-hero-block .about-page-hero-col--media {
		flex: 0 0 50% !important;
		width: 50% !important;
		max-width: 50% !important;
		min-width: 0;
		min-height: 100vh;
	}
}

/* H1: two lines can sit on one row when stacked; wrap when narrow. Split: left-aligned block. */
.about-page-hero__heading {
    margin: 0;
    font-size: clamp(2.25rem, 8vw, 5rem);
    font-weight: 500;
    line-height: 1.1;
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.35em;
    row-gap: 0.12em;
    justify-content: center;
}

@media (min-width: 1024px) {
	.about-page-hero__heading {
		font-size: 80px;
		justify-content: flex-start;
	}
}

.about-page-hero__heading-line--gradient {
    background: linear-gradient(92deg, #ff4bf0 2.3%, #d586ff 34.04%, #9172ff 100.88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.about-page-hero__subheader {
    margin-top: 2rem;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 182%;
    color: #ffffff;
}

.about-page-hero__subheader p {
    margin: 0 0 0.75em 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
}

.about-page-hero__subheader p:last-child {
    margin-bottom: 0;
}

/* Video stack: base layer + black fade (home-style) + pink/magenta wash (comp) */
.about-page-hero__video-stack {
	position: absolute;
	inset: 0;
	overflow: hidden;
	isolation: isolate;
}

.about-page-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
	z-index: 0;
}

.about-page-hero__video-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

/* Black fade into content column (split) / under stacked copy (mobile) — same idea as home testimonial video --l */
.about-page-hero__video-overlay--fade {
	z-index: 1;
}

/* Stacked: strong band under the text block, then open into the picture */
@media (max-width: 1023px) {
	.about-page-hero__video-overlay--fade {
		background-image: linear-gradient(
			to bottom,
			#000000 0%,
			rgba(0, 0, 0, 0.88) 14%,
			rgba(0, 0, 0, 0.45) 32%,
			transparent 58%
		);
	}
}

/* Split: seam on the left of the media column blends into black text column */
@media (min-width: 1024px) {
	.about-page-hero__video-overlay--fade {
		background-image: linear-gradient(
			to right,
			#000000 0%,
			rgba(0, 0, 0, 0.82) 14%,
			rgba(0, 0, 0, 0.35) 38%,
			transparent 62%
		);
	}
}

/* Pink / purple glow (reference overlay) — sits above fade so color reads on the right */
.about-page-hero__video-overlay--tint {
	z-index: 2;
	background-image:
		radial-gradient(
			120% 90% at 100% 85%,
			rgba(255, 75, 240, 0.42) 0%,
			rgba(174, 41, 255, 0.28) 38%,
			rgba(0, 0, 0, 0) 72%
		),
		linear-gradient(
			118deg,
			transparent 0%,
			transparent 28%,
			rgba(145, 114, 255, 0.12) 48%,
			rgba(255, 75, 240, 0.22) 100%
		);
}

.about-page-hero__placeholder {
	margin: 0;
}
