.hc-courses {
	max-width: 1200px;
	margin: 0 auto;
}

.hc-layout {
	display: flex;
	gap: 2rem;
	align-items: flex-start;
}

.hc-filters {
	flex: 0 0 260px;
	max-width: 260px;
}

.hc-favorites-tools {
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
}

.hc-favorites-toggle {
	display: flex !important;
	align-items: center;
	gap: 0.4rem;
	font-weight: 600;
}

.hc-star,
.hc-favorite-star {
	color: #4b8abd;
}

.hc-star-label {
	font-size: 1.2rem;
}

.hc-download-favorites {
	margin-top: 0.6rem;
	padding: 0.45rem 0.7rem;
	border: 1px solid #999;
	border-radius: 3px;
	background: #f7f7f7;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.hc-download-favorites:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.hc-favorites-note {
	margin: 0.4rem 0 0;
	font-size: 0.85rem;
}

.hc-filter-group {
	margin-bottom: 1.5rem;
}

.hc-filter-group h3 {
	font-size: 0.95rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	margin-bottom: 0.5rem;
}

.hc-filter-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.hc-keyword-input,
.hc-filter-group select {
	width: 100%;
	padding: 0.5rem;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.hc-checkbox-list {
	max-height: 220px;
	overflow-y: auto;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	padding: 0.5rem;
}

.hc-checkbox-list[data-loading="1"]::before {
	content: "Loading…";
	color: #777;
}

.hc-checkbox {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.2rem 0;
	font-size: 0.95rem;
}

.hc-results {
	flex: 1 1 auto;
	min-width: 0;
}

.hc-results-count {
	font-weight: 600;
	margin-bottom: 1rem;
}

.hc-results-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1.25rem;
}

.hc-course-card {
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	padding: 1rem;
}

.hc-course-heading {
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
}

.hc-favorite-star {
	flex: 0 0 auto;
	width: 2rem;
	height: 2rem;
	margin: -0.25rem 0 0 -0.35rem;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 1.8rem;
	line-height: 1;
	cursor: pointer;
	opacity: 0.45;
}

.hc-favorite-star:hover,
.hc-favorite-star:focus-visible,
.hc-favorite-star.is-favorite {
	opacity: 1;
}

.hc-favorite-star:focus-visible,
.hc-download-favorites:focus-visible {
	outline: 2px solid #1d5d91;
	outline-offset: 2px;
}

.hc-course-title {
	flex: 1 1 auto;
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
}

.hc-course-meta,
.hc-course-speakers {
	color: #555;
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
}

.hc-course-keywords {
	margin-bottom: 0.5rem;
}

.hc-chip {
	display: inline-block;
	background: #f0f0f0;
	border-radius: 999px;
	padding: 0.15rem 0.6rem;
	margin: 0 0.25rem 0.25rem 0;
	font-size: 0.8rem;
}

.hc-course-details span,
.hc-course-fees span {
	display: inline-block;
	margin-right: 0.75rem;
	font-size: 0.85rem;
}

.hc-course-fees {
	font-weight: 600;
}

.hc-error {
	color: #a00;
}

@media (max-width: 782px) {
	.hc-layout {
		flex-direction: column;
	}

	.hc-filters {
		max-width: 100%;
		flex-basis: auto;
	}
}
