/**
 * Learning Path Filter Pattern Styles
 *
 * Styles for the profession filter and learning path cards
 */

/* ========================================
   Filter Buttons
======================================== */

.profession-filter-wrapper {
	margin-bottom: 40px;
}

.profession-filters {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.profession-filter .wp-block-button__link {
	background: #ffffff !important;
	border: 1px solid #d1d5db !important;
	border-radius: 24px !important;
	padding: 10px 24px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	color: #374151 !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
}

.profession-filter .wp-block-button__link:hover {
	border-color: #9ca3af !important;
	background: #f9fafb !important;
	color: #374151 !important;
}

.profession-filter.active .wp-block-button__link {
	background: #7c3aed !important;
	color: #ffffff !important;
	border-color: #7c3aed !important;
}

.profession-filter.active .wp-block-button__link:hover {
	background: #6d28d9 !important;
	border-color: #6d28d9 !important;
	color: #ffffff !important;
}

/* ========================================
   Learning Path Cards
======================================== */

.learning-path-cards {
	gap: 24px;
}

.learning-card {
	height: 100%;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: block;
}

.learning-card.hidden {
	display: none !important;
}

.learning-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Course Card Specific Styles */
.course-card {
	overflow: hidden;
}

.course-card-image {
	position: relative;
	overflow: hidden;
}

.badge-new {
	background: #7c3aed !important;
	color: #ffffff !important;
	padding: 4px 12px !important;
	border-radius: 12px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	display: inline-block !important;
	width: auto !important;
	max-width: fit-content !important;
	margin-left: auto !important;
}

/* Annual Pass Card Specific Styles */
.annual-pass-card {
	background: #ffffff;
}

.card-header-with-badge {
	align-items: flex-start;
}

.badge-best-value {
	background: #fef3c7 !important;
	color: #92400e !important;
	padding: 4px 12px !important;
	border-radius: 12px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	white-space: nowrap !important;
	width: auto !important;
	max-width: fit-content !important;
	margin: 0 !important;
}

/* ========================================
   Card Content Styles
======================================== */

.card-category {
	font-size: 14px;
	color: #6b7280;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.card-subtitle {
	font-size: 16px;
	color: #6b7280;
	margin: 0;
}

.card-ce-hours {
	font-size: 14px;
	color: #374151;
	font-weight: 500;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 6px;
}

.card-features {
	list-style: none;
	padding: 0;
	margin: 0;
}

.card-features li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 8px;
	color: #374151;
	font-size: 15px;
	line-height: 1.6;
}

.card-features li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #10b981;
	font-weight: bold;
}

.card-price {
	font-size: 36px;
	font-weight: 700;
	color: #111827;
	margin: 0;
	line-height: 1.2;
}

/* ========================================
   Responsive Styles
======================================== */

@media (max-width: 782px) {
	.learning-path-cards {
		flex-direction: column;
	}

	.learning-path-cards .wp-block-column {
		flex-basis: 100% !important;
	}

	.profession-filters {
		gap: 8px;
	}

	.profession-filter {
		padding: 8px 16px;
		font-size: 14px;
	}
}

@media (max-width: 600px) {
	.learning-path-section {
		padding-top: 40px !important;
		padding-bottom: 40px !important;
	}

	.card-price {
		font-size: 28px;
	}
}
