/**
 * Home landing (front page) — page-specific layer on top of schools.css.
 *
 * schools.css supplies the shared landing primitives (sl-*); this file adds
 * only the hl-* pieces the homepage introduces: the programs door grid, the
 * outcomes cards, the centered final CTA and a spacing shim around the
 * Tailwind-styled featured-products strip.
 */

/* ---- Programs router ("doors") -------------------------------------------- */

.hl-doors {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-door {
	display: flex;
	flex-direction: column;
	background: var(--sl-bg-soft);
	border: 1px solid var(--sl-line);
	border-radius: var(--sl-radius);
	padding: 28px;
	overflow: hidden;
}

/* Full-bleed preview on top of the padded card. */
.hl-door__media {
	margin: -28px -28px 18px;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-bottom: 1px solid var(--sl-line);
}

.hl-door__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hl-door__audience {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--sl-muted);
}

.hl-door__title {
	margin: 0 0 10px;
	font-size: 22px;
	line-height: 1.25;
	color: var(--sl-ink);
}

.hl-door__desc {
	margin: 0 0 18px;
	color: var(--sl-muted);
	line-height: 1.55;
}

.hl-door__link {
	margin-top: auto;
	font-weight: 600;
	color: var(--sl-ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.hl-door__link:hover {
	color: var(--sl-black);
}

@media (max-width: 1024px) {
	.hl-doors {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.hl-doors {
		grid-template-columns: 1fr;
	}
}

/* ---- "What students do" step previews (home page only — sl-step is shared) -- */

/* Home has 4 steps (schools has 5) — match the doors grid so the step cards
   and their previews line up at the same size as the program cards above. */
.hl-steps {
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.hl-steps .sl-step {
	overflow: hidden;
}

/* Full-bleed preview on top of the padded card, like .hl-door__media. */
.hl-steps .hl-step__media {
	margin: -26px -20px 16px;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-bottom: 1px solid var(--sl-line);
}

.hl-steps .hl-step__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 1024px) {
	.hl-steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.hl-steps {
		grid-template-columns: 1fr;
	}
}

/* ---- Outcomes cards -------------------------------------------------------- */

.hl-outcomes {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.hl-outcome {
	background: var(--sl-white);
	border: 1px solid var(--sl-line);
	border-radius: var(--sl-radius);
	padding: 28px;
}

.hl-outcome__title {
	margin: 0 0 10px;
	font-size: 20px;
	line-height: 1.3;
	color: var(--sl-ink);
}

.hl-outcome__desc {
	margin: 0;
	color: var(--sl-muted);
	line-height: 1.55;
}

@media (max-width: 1024px) {
	.hl-outcomes {
		grid-template-columns: 1fr;
	}
}

/* ---- Final CTA (no form — centered copy + buttons) -------------------------- */

.hl-cta__copy {
	max-width: 720px;
	margin: 0 auto;
	text-align: center;
}

.hl-cta__actions {
	justify-content: center;
}

/* ---- Featured products strip (Tailwind block inside the landing) ------------ */

.home-landing .woocommerce-notices-wrapper:empty {
	display: none;
}
