/* ===========================================
   UNFILTERED Program - Page-Specific Styles
   =========================================== */

/* -------------------------
   Hero
   ------------------------- */
.unf-hero {
	min-height: 100vh;
	justify-content: flex-start;
	align-items: center;
	padding: 0 4%;
}

.unf-hero-bg {
	position: absolute;
	inset: 0;
	background-image: url('../images/U2030-photos/unfiltered-banner.webp');
	background-size: cover;
	background-position: center;
	z-index: 0;
}

.unf-hero-bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(7, 80, 86, 1)    0%,
		rgba(7, 80, 86, 1)    40%,
		rgba(7, 80, 86, 0.85) 55%,
		rgba(7, 80, 86, 0.4)  75%,
		rgba(7, 80, 86, 0.2)  100%
	);
}

.unf-hero-content {
	position: relative;
	z-index: 2;
	max-width: 1400px;
	margin: 0 auto;
	padding: 10rem 0 6rem;
	width: 100%;
}

.unf-hero-text {
	max-width: 650px;
}

.unf-hero-text h1 {
	font-size: clamp(2.5rem, 5vw, 4rem);
	color: var(--white);
	letter-spacing: -0.5px;
}

.unf-hero-text .prog-hero-theme {
	font-size: 1.4rem;
	color: var(--blaze-orange);
	margin: 0.5rem 0 1.5rem;
}

.unf-hero-body {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.85);
	line-height: 1.8;
	margin-bottom: 1rem;
}

.unf-hero-ctas {
	display: flex;
	gap: 1rem;
	margin-top: 2.5rem;
	flex-wrap: wrap;
}

/* -------------------------
   Why it exists
   ------------------------- */
.unf-why-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.unf-why-content p {
	font-size: 1.05rem;
	color: #666;
	line-height: 1.8;
	margin-bottom: 1.25rem;
}

.unf-why-content p:last-child {
	margin-bottom: 0;
}

.unf-why-image img {
	width: 100%;
	height: 500px;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(7, 80, 86, 0.15);
}

/* -------------------------
   Video / Episodes
   ------------------------- */
.unf-video-player {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.unf-video-player iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.unf-video-playlist {
	max-width: 900px;
	margin: 2.5rem auto 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.unf-video-thumb {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	text-align: left;
	font-family: 'Funnel Sans', sans-serif;
}

.unf-video-thumb-image {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	border: 2px solid transparent;
	transition: all 0.3s ease;
}

.unf-video-thumb-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.unf-video-thumb-image .material-icons-outlined {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 42px;
	color: var(--white);
	opacity: 0.9;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
}

.unf-video-thumb:hover .unf-video-thumb-image {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(7, 80, 86, 0.18);
}

.unf-video-thumb.active .unf-video-thumb-image {
	border-color: var(--blaze-orange);
}

.unf-video-thumb-title {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--navy-black);
}

.unf-video-thumb.active .unf-video-thumb-title {
	color: var(--blaze-orange);
}

/* -------------------------
   Newsletter Signup
   ------------------------- */
.unf-newsletter-content {
	max-width: 600px;
	margin: 0 auto;
}

.unf-newsletter-form {
	margin-top: 2rem;
	background: var(--white);
	border-radius: 12px;
	padding: 2.5rem;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* -------------------------
   Responsive
   ------------------------- */
@media (max-width: 1024px) {
	.unf-why-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.unf-why-image {
		order: -1;
	}
}

@media (max-width: 768px) {
	.unf-hero-text h1 {
		font-size: 2.25rem;
	}

	.unf-hero-ctas {
		flex-direction: column;
		align-items: flex-start;
	}

	.unf-why-image img {
		height: 300px;
	}

	.unf-video-playlist {
		display: flex;
		grid-template-columns: none;
		overflow-x: auto;
		gap: 1rem;
		margin: 1.5rem -4% 0;
		padding: 4px 4% 0.5rem;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.unf-video-thumb {
		flex: 0 0 140px;
		scroll-snap-align: start;
	}

	.unf-video-thumb-image .material-icons-outlined {
		font-size: 28px;
	}

	.unf-video-thumb-title {
		font-size: 0.75rem;
		line-height: 1.3;
	}

	.unf-hero-bg {
		background-position: right bottom;
		background-size: auto 45%;
		background-repeat: no-repeat;
	}

	.unf-hero-bg::after {
		background: linear-gradient(
			to bottom,
			rgba(7, 80, 86, 1) 0%,
			rgba(7, 80, 86, 1) 55%,
			rgba(7, 80, 86, 0) 160%
		);
	}
}
