/** Futures Academy / Youth Enrichment page. */

.ych-page--youth-enrichment { background: var(--ych-bg-primary); }
.ych-page--youth-enrichment .ych-inner-hero__inner { padding-block: clamp(4rem, 6vw, 5.5rem); }
.ych-page--youth-enrichment .ych-inner-hero h1 { font-size: clamp(3rem, 5vw, 4.5rem); }
.ych-page--youth-enrichment .ych-content-section { padding-block: clamp(4rem, 6vw, 6rem); }
.ych-page--youth-enrichment .ych-section-heading { margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.ych-enrichment-intro__grid { display: grid; gap: clamp(2rem, 5vw, 5rem); }
.ych-enrichment-intro__copy { color: var(--ych-text-secondary); font-size: 1.05rem; line-height: 1.8; }
.ych-enrichment-intro__copy p { margin-top: 0; }
.ych-enrichment-intro__source { color: var(--ych-text-muted); font-size: 0.85rem; }
.ych-enrichment-list { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }

.ych-enrichment-feature {
	display: grid;
	overflow: hidden;
	border: 0.0625rem solid var(--ych-border);
	border-radius: var(--ych-radius-panel);
	background: linear-gradient(145deg, var(--ych-bg-card), var(--ych-bg-secondary));
	box-shadow: var(--ych-shadow-medium);
}

.ych-enrichment-feature__media { position: relative; min-height: 18rem; overflow: hidden; }
.ych-enrichment-feature__image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; min-height: 18rem; object-fit: cover; }
.ych-enrichment-feature__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.75rem, 4vw, 3rem); }
.ych-enrichment-feature h3 { margin: 0.65rem 0 1rem; color: var(--ych-text-primary); font-family: var(--ych-font-heading); font-size: clamp(1.75rem, 2.5vw, 2.25rem); line-height: 1.08; }
.ych-enrichment-feature__content > p:not(.ych-page__label) { color: var(--ych-text-secondary); line-height: 1.75; }
.ych-enrichment-feature .ych-page__actions { justify-content: flex-start; margin-top: 1.5rem; }
.ych-enrichment-partners__panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 4vw, 3.5rem); border: 0.0625rem solid var(--ych-border); border-radius: var(--ych-radius-panel); background: var(--ych-bg-card); }
.ych-enrichment-partners__panel > div { max-width: 50rem; }
.ych-enrichment-partners__panel p:not(.ych-page__label) { color: var(--ych-text-secondary); }

@media (min-width: 64rem) {
	.ych-enrichment-intro__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
	.ych-enrichment-feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 26rem; }
	.ych-enrichment-feature--reverse .ych-enrichment-feature__media { order: 2; }
}

@media (max-width: 36rem) {
	.ych-enrichment-feature .ych-page__actions { align-items: stretch; }
}

/* Approved premium Futures Academy hero using the Media Library classroom image. */
.ych-page--youth-enrichment .ych-inner-hero {
	display: grid;
	min-height: clamp(29rem, 48vw, 38rem);
	align-items: center;
	background:
		linear-gradient(90deg, rgba(5, 14, 28, 0.96) 0%, rgba(5, 14, 28, 0.88) 42%, rgba(5, 14, 28, 0.56) 70%, rgba(5, 14, 28, 0.38) 100%),
		linear-gradient(180deg, rgba(8, 18, 34, 0.12) 0%, rgba(5, 13, 25, 0.56) 100%),
		url("https://youthconnecthub.net/wp-content/uploads/2026/07/WINTERTHON-1-1-scaled-1.jpg") center 48% / cover no-repeat;
}

.ych-page--youth-enrichment .ych-inner-hero::before {
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		radial-gradient(circle at 82% 28%, rgba(120, 158, 255, 0.2), transparent 34%),
		linear-gradient(90deg, rgba(4, 12, 24, 0.3), transparent 62%);
	content: "";
	pointer-events: none;
}

.ych-page--youth-enrichment .ych-inner-hero::after {
	opacity: 0.16;
}

.ych-page--youth-enrichment .ych-inner-hero__inner {
	z-index: 1;
	width: 100%;
	padding-block: clamp(4.5rem, 8vw, 7rem);
}

.ych-page--youth-enrichment .ych-inner-hero .ych-breadcrumb {
	color: rgba(225, 235, 249, 0.78);
}

.ych-page--youth-enrichment .ych-inner-hero .ych-breadcrumb a,
.ych-page--youth-enrichment .ych-inner-hero .ych-page__label {
	color: #8fc6ff;
}

.ych-page--youth-enrichment .ych-inner-hero h1 {
	max-width: 12ch;
	text-shadow: 0 0.2rem 1.2rem rgba(0, 0, 0, 0.5);
}

.ych-page--youth-enrichment .ych-inner-hero__lead {
	max-width: 46rem;
	color: rgba(235, 242, 252, 0.92);
	text-shadow: 0 0.1rem 0.7rem rgba(0, 0, 0, 0.45);
}

@media (max-width: 48rem) {
	.ych-page--youth-enrichment .ych-inner-hero {
		min-height: 32rem;
		background-position: 54% center;
		background-image:
			linear-gradient(90deg, rgba(5, 14, 28, 0.95) 0%, rgba(5, 14, 28, 0.82) 68%, rgba(5, 14, 28, 0.62) 100%),
			linear-gradient(180deg, rgba(5, 14, 28, 0.18), rgba(5, 14, 28, 0.72)),
			url("https://youthconnecthub.net/wp-content/uploads/2026/07/WINTERTHON-1-1-scaled-1.jpg");
		background-repeat: no-repeat;
		background-size: cover;
	}

	.ych-page--youth-enrichment .ych-inner-hero__inner {
		padding-block: 3.5rem;
	}
}

/* Approved premium learning-introduction image panel. */
.ych-enrichment-intro__grid > :first-child {
	position: relative;
	isolation: isolate;
	display: flex;
	overflow: hidden;
	min-height: 34rem;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(2rem, 4vw, 3.25rem);
	border: 0.0625rem solid rgba(143, 198, 255, 0.24);
	border-radius: var(--ych-radius-panel);
	background:
		linear-gradient(180deg, rgba(5, 14, 28, 0.18) 0%, rgba(5, 14, 28, 0.58) 48%, rgba(5, 14, 28, 0.96) 100%),
		linear-gradient(90deg, rgba(5, 14, 28, 0.72), rgba(5, 14, 28, 0.18)),
		url("https://youthconnecthub.net/wp-content/uploads/2026/07/17261-small.jpg") 48% center / cover no-repeat;
	box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.24);
}

.ych-enrichment-intro__grid > :first-child::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		radial-gradient(circle at 85% 12%, rgba(126, 157, 255, 0.26), transparent 34%),
		linear-gradient(135deg, transparent 50%, rgba(180, 103, 230, 0.1));
	content: "";
	pointer-events: none;
}

.ych-enrichment-intro__grid > :first-child .ych-page__label,
.ych-enrichment-intro__grid > :first-child h2 {
	position: relative;
	z-index: 1;
}

.ych-enrichment-intro__grid > :first-child .ych-page__label {
	color: #9bcfff;
	text-shadow: 0 0.1rem 0.55rem rgba(0, 0, 0, 0.5);
}

.ych-enrichment-intro__grid > :first-child h2 {
	max-width: 12ch;
	margin-bottom: 0;
	color: #f6f8fc;
	text-shadow: 0 0.18rem 1rem rgba(0, 0, 0, 0.68);
}

@media (max-width: 63.9375rem) {
	.ych-enrichment-intro__grid > :first-child {
		min-height: clamp(22rem, 58vw, 30rem);
		background-position: center 44%;
	}
}

@media (max-width: 36rem) {
	.ych-enrichment-intro__grid > :first-child {
		min-height: 21rem;
		padding: 1.5rem;
		background-position: 50% center;
	}

	.ych-enrichment-intro__grid > :first-child h2 {
		font-size: clamp(2rem, 10vw, 2.65rem);
	}
}

