/* ---------- Programs section (plugin: ProgramsPlugin) ---------- */

.programs {
	padding: var(--s12) 0;
	position: relative;
	overflow: hidden;
}

.programs > .container {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 var(--s3);
}

.programs .deco {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

.programs .deco--pink {
	width: 220px;
	height: 220px;
	background: var(--pink-soft);
	top: 40px;
	right: -80px;
}

.programs .section-head {
	/* max-width: 640px; */
	margin: 0 auto var(--s8);
	text-align: center;
}

.programs .section-head .kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
	font-size: .82rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--orange);
	margin-bottom: var(--s2);
}

.programs .kicker .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--yellow);
	display: inline-block;
}

.programs .section-head h2 {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 3.6vw, 2.6rem);
	line-height: 1.15;
	margin: 0 0 var(--s2);
	color: var(--color-text);
}

.programs .section-head p {
	color: var(--color-text-muted);
	font-size: 1.06rem;
	text-wrap: balance;
	max-width: 640px;
	margin: 0 auto;
}

/* ---------- Grid ---------- */

.programs-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--s2);
	align-items: stretch;
}

/* ---------- Card ---------- */

.program {
	position: relative;
	background: #fff;
	border-radius: var(--r-lg);
	padding: var(--s4);
	border: 2px solid var(--color-border);
	display: flex;
	flex-direction: column;
	gap: var(--s2);
	transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s ease, border-color .25s;
}

.program:hover {
	transform: translateY(-6px);
	box-shadow: var(--shadow-lg);
}

.program--featured {
	border-color: var(--orange);
	box-shadow: 0 12px 36px rgba(239, 138, 29, .18);
}

.program .flag {
	position: absolute;
	top: -16px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--orange);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .82rem;
	padding: 5px 16px;
	border-radius: 999px;
	white-space: nowrap;
}

.program h3 {
	font-family: var(--font-display);
	font-size: 1.35rem;
	margin: 0;
	color: var(--color-text);
}

.program .time {
	font-family: var(--font-display);
	font-size: 1.9rem;
	font-weight: 700;
	color: var(--color-text);
}

.program .time small {
	font-size: 1rem;
	color: var(--color-text-muted);
	font-weight: 600;
}

.program .program-desc {
	color: var(--color-text-muted);
	margin: 0;
}

/* ---------- Features list ---------- */

.program ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.program li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: .97rem;
	color: var(--color-text);
}

.program li i[class^="icon-"] {
	flex: none;
	margin-top: 3px;
	font-size: 18px;
	line-height: 1;
	color: #2C7A52;
}

.program .program-btn { margin-top: auto; }

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
	.programs-grid { grid-template-columns: 1fr; }

	/* leave room for the featured flag when stacked */
	.program--featured { margin-top: var(--s2); }
}
