/**
 * Education (Courses, Trainings, Degrees) — styles not already covered
 * by archive.css / archive-events.css / home.css / single-event.css.
 *
 * @package Pachamama
 */

.program-plan-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	margin-bottom: 6px;
	color: #ffffff;
	width: fit-content;
}

.program-plan-badge--plus {
	background-color: #6b6154;
}

.program-plan-badge--pro {
	background-color: var(--deep-forest, #313c2a);
}

.program-card .event-card-meta svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.program-card .event-type-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	border-radius: 100px;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: var(--white, #ffffff);
	color: var(--deep-forest, #313c2a);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Brand-colored dot distinguishes the program type; text stays dark on white for contrast. */
.program-card .event-type-badge::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--olive, #7b7c4f);
}

.program-card .event-type-badge--training::before {
	background-color: var(--clay, #c96a3d);
}

.program-card .event-type-badge--degree::before {
	background-color: var(--deep-forest, #313c2a);
}

.archive-sort-form {
	flex: 0 0 200px;
	width: 200px;
	max-width: 100%;
}

.archive-sort-form .pm-filter-control {
	width: 100%;
	max-width: 200px;
}

.program-structure-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.program-structure-row {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border-color, #e7e2d8);
}

.program-structure-row-title {
	font-weight: 700;
	min-width: 140px;
}

.content-column .content-section .section-title {
	margin-top: 0;
	padding-top: 28px;
	text-align: right;
}

.program-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 20px;
	margin-bottom: 8px;
}

.program-fact-label {
	font-size: 13px;
	color: var(--muted-color, #6b6154);
	margin-bottom: 4px;
}

.program-fact-value {
	font-weight: 700;
}

.program-plan-upsell-note {
	font-size: 13px;
	color: var(--muted-color, #6b6154);
	padding-top: 16px;
	margin-top: 16px;
	border-top: 1px solid var(--border-color, #e7e2d8);
}

.program-lead-form-title {
	font-size: 16px;
	font-weight: 700;
	margin: 24px 0 12px;
	text-align: right;
}

.program-lead-form .form-field {
	margin-bottom: 12px;
}

.program-lead-form .btn-submit {
	width: 100%;
}

.program-lead-form .lead-website-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.page-header .filters-section .pm-filter-reset {
	margin-right: 0;
	padding: 12px 8px;
	color: rgba(255, 255, 255, 0.85);
	font-size: 14px;
	text-decoration: underline;
}

.page-header .filters-section .pm-filter-reset:hover {
	color: var(--white);
}

/* Education provider plan-gated sections on the public program page */
.program-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 10px;
}

.program-gallery img {
	width: 100%;
	height: auto;
	border-radius: 8px;
}

.program-cohort-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid #e5e7eb;
}

.program-cohort-date {
	font-weight: 600;
}

.program-teacher-list {
	margin: 0;
	padding-inline-start: 20px;
}

.program-faq-item {
	padding: 8px 0;
	border-bottom: 1px solid #e5e7eb;
}

.program-faq-item summary {
	font-weight: 600;
	cursor: pointer;
}
