/* =========================
   PANEL GRID
========================= */

.program-panels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
	padding-bottom: 50px;
	align-items: stretch;
}

/* =========================
   PANEL CARD
========================= */

.program-panel {
	display: flex;
	flex-direction: column;
	min-height: 720px;
	background: #ffffff;
	border: 1px solid #d8dee8;
	border-radius: 24px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
	overflow: visible;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		background-color 0.22s ease,
		border-color 0.22s ease;
}

.program-panel:hover,
.program-panel:focus-within {
	background: #f7faff;
	border-color: #bfd2ee;
	box-shadow:
		0 18px 38px rgba(0, 0, 0, 0.18),
		0 6px 16px rgba(0, 0, 0, 0.10);
	transform: translateY(-6px);
	outline: none;
}

/* =========================
   IMAGE
========================= */

.program-panel-image-wrap {
	width: 100%;
	height: 280px;
	overflow: hidden;
	flex: 0 0 auto;
	border-radius: 24px 24px 0 0;
}

.program-panel-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* =========================
   BODY CONTENT
========================= */

.program-panel-body {
	flex: 1 1 auto;
	position: relative;
	padding: 40px 40px 95px 40px;
}

.program-panel-title {
	margin: 0 0 24px 0;
	font-size: 34px;
	line-height: 1.15;
	font-weight: 700;
	color: #5f93f0;
	text-align: center;
}

.program-panel-subtitle {
	margin: 0 0 30px 0;
	font-size: 22px;
	line-height: 1.3;
	font-weight: 700;
	color: #1e2c44;
	text-align: center;
}

.program-panel-text {
	font-size: 18px;
	line-height: 1.65;
	color: #2a3953;
}

.program-panel-text p {
	margin: 0 0 16px 0;
	text-align: center;
}

.program-panel-text ul {
	margin: 0;
	padding-left: 1.3em;
}

.program-panel-text li {
	margin: 0 0 14px 0;
}

/* =========================
   EDGE BUTTON ROW
========================= */

.program-panel-btn-row {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -40px;
	width: 100%;
	text-align: center;
	z-index: 5;
}

.program-panel-btn-row .btn-program-edge {
	position: static !important;
	display: inline-block !important;
	float: none !important;
	left: auto !important;
	right: auto !important;
	transform: none !important;
	margin: 0 !important;
}

.program-panel-btn-row .btn-program-edge span {
	width: auto !important;
	display: inline-block !important;
}

.program-panel-btn-row .btn-program-edge i {
	display: inline-block !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
	.program-panel {
		min-height: 680px;
	}

	.program-panel-image-wrap {
		height: 240px;
	}

	.program-panel-body {
		padding: 34px 34px 90px 34px;
	}

	.program-panel-title {
		font-size: 30px;
	}

	.program-panel-subtitle {
		font-size: 20px;
	}

	.program-panel-text {
		font-size: 17px;
	}
}

@media (max-width: 767px) {
	.program-panels {
		grid-template-columns: 1fr;
		gap: 28px;
		padding-bottom: 30px;
	}

	.program-panel {
		min-height: 0;
	}

	.program-panel-image-wrap {
		height: 220px;
	}

	.program-panel-body {
		padding: 28px 24px 82px 24px;
	}

	.program-panel-title {
		font-size: 28px;
		margin-bottom: 18px;
	}

	.program-panel-subtitle {
		font-size: 20px;
		margin-bottom: 22px;
	}

	.program-panel-text {
		font-size: 16px;
		line-height: 1.6;
	}

	.program-panel-text li {
		margin-bottom: 12px;
	}

	.program-panel-btn-row {
		bottom: -36px;
	}
}

.program-panel .btn {
	position: static !important;
	left: auto !important;
	right: auto !important;
	bottom: auto !important;
	float: none !important;
	margin: 0 auto !important;
	display: inline-block !important;
}