/* ==========================================================
   Programs Cards — Elementor Widget Styles
   Cream & gold "arch" card theme
   ========================================================== */

.pce-section {
	padding: 60px 20px;
	text-align: center;
	background-color: #FBF1E0;
	position: relative;
}

/* ---------- Heading ---------- */
.pce-heading-wrap {
	margin-bottom: 48px;
}

.pce-heading-icon {
	font-size: 22px;
	line-height: 1;
	color: #C8892B;
	margin-bottom: 8px;
}

.pce-heading-icon svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.pce-heading {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 46px;
	font-weight: 700;
	margin: 0 0 14px;
	color: #3B2410;
}

.pce-heading-divider {
	display: inline-block;
	width: 140px;
	height: 1px;
	border-top: 1px solid #C8892B;
	position: relative;
}

.pce-heading-divider::before {
	content: '\25C6';
	position: absolute;
	left: 50%;
	top: -8px;
	transform: translateX(-50%);
	font-size: 10px;
	color: #C8892B;
	background: #FBF1E0;
	padding: 0 6px;
}

/* ---------- Grid ---------- */
.pce-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	max-width: 1200px;
	margin: 0 auto;
	align-items: stretch;
}

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

@media (max-width: 680px) {
	.pce-cards-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Card ---------- */
.pce-card {
	background-color: #FFFDF8;
	border: 1px solid #F1E2C4;
	border-radius: 24px;
	overflow: visible;
	box-shadow: 0 12px 30px rgba(120, 90, 30, 0.08);
	display: flex;
	flex-direction: column;
	text-align: center;
	padding-bottom: 32px;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pce-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(120, 90, 30, 0.14);
}

/* Arch-shaped image top */
.pce-card-image-wrap {
	position: relative;
	height: 280px;
	margin: 14px 14px 0;
	overflow: hidden;
	border-radius: 50% 50% 10px 10px / 34% 34% 0 0;
	background-color: #e9d9b8;
}

.pce-card-image-wrap::before {
	content: '';
	position: absolute;
	top: -6px;
	left: 50%;
	height: 60px;
	width: 26px;
	transform: translateX(-50%) rotate(45deg);
	background: transparent;
	border-top: 3px solid rgba(255, 253, 248, 0.9);
	border-right: 3px solid rgba(255, 253, 248, 0.9);
	border-top-right-radius: 6px;
	pointer-events: none;
	z-index: 2;
}

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

/* Badge icon circle, overlapping the image bottom edge */
.pce-badge {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: #FFFDF8;
	border: 1px solid #EBD6A8;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: -32px auto 18px;
	position: relative;
	z-index: 3;
	box-shadow: 0 6px 16px rgba(120, 90, 30, 0.12);
}

.pce-badge i,
.pce-badge svg {
	font-size: 24px;
	color: #C8892B;
	fill: #C8892B;
	width: 24px;
	height: 24px;
}

/* Card body text */
.pce-card-body {
	padding: 0 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-grow: 1;
}

.pce-card-title {
	font-family: Georgia, 'Times New Roman', serif;
	font-size: 26px;
	font-weight: 700;
	color: #3B2410;
	margin: 0 0 10px;
}

.pce-card-title-divider {
	display: inline-block;
	width: 60px;
	height: 1px;
	background-color: #D9B36C;
	margin-bottom: 14px;
	position: relative;
}

.pce-card-title-divider::before {
	content: '\25C6';
	position: absolute;
	left: 50%;
	top: -5px;
	transform: translateX(-50%);
	font-size: 8px;
	color: #C8892B;
	background: #FFFDF8;
	padding: 0 4px;
}

.pce-card-desc {
	font-size: 15px;
	line-height: 1.6;
	color: #6B5D4F;
	margin: 0 0 22px;
}

/* Button */
.pce-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background-color: #B9791E;
	color: #FFFFFF;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	padding: 12px 28px;
	border-radius: 30px;
	margin-top: auto;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.pce-btn:hover {
	background-color: #9C6415;
	color: #FFFFFF;
	transform: translateY(-2px);
}

.pce-btn i {
	font-size: 12px;
}
