.kfo-events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
	gap: 1.5rem;
	margin: 1.5rem 0;
}

.kfo-events-featured {
	margin: 1.5rem 0;
}

.kfo-event-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid #d7dde3;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.06);
}

.kfo-event-card--featured {
	max-width: 52rem;
}

.kfo-event-card__image-link {
	display: block;
}

.kfo-event-card__image {
	display: block;
	width: 100%;
	height: auto;
}

.kfo-event-card__content {
	padding: 1.25rem;
}

.kfo-event-card__title {
	margin: 0 0 0.75rem;
	font-size: 1.35rem;
	line-height: 1.2;
}

.kfo-event-card__title a {
	color: #1c3554;
	text-decoration: none;
}

.kfo-event-card__title a:hover {
	text-decoration: underline;
}

.kfo-event-card__date,
.kfo-event-card__location,
.kfo-event-card__desc {
	margin: 0 0 0.75rem;
}

.kfo-event-card__date {
	font-weight: 700;
	color: #2a4d74;
}

.kfo-event-card__location {
	color: #2a2a2a;
}

.kfo-event-card__desc {
	color: #4a4a4a;
}

.kfo-event-card__badges,
.kfo-event-single__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 1rem;
}

.kfo-event-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: #eef6ea;
	color: #3f7c2f;
	font-size: 0.9rem;
	font-weight: 700;
}

.kfo-event-card__link,
.kfo-event-result-link {
	display: inline-block;
	padding: 0.7rem 1rem;
	border-radius: 999px;
	background: #1c3554;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.kfo-event-card__link:hover,
.kfo-event-result-link:hover {
	opacity: 0.92;
}

.kfo-event-single__inner {
	max-width: 72rem;
	margin: 0 auto;
	padding: 2rem 1rem;
}

.kfo-event-single__article {
	overflow: hidden;
	border-radius: 1.25rem;
}

.kfo-event-single__hero {
	margin-bottom: 1.5rem;
}

.kfo-event-single__image {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 1rem;
}

.kfo-event-single__header {
	margin-bottom: 1.5rem;
}

.kfo-event-single__title {
	margin: 0 0 1rem;
	color: #1c3554;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
}

.kfo-event-single__panel {
	padding: 1.5rem;
	border: 1px solid #d7dde3;
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
}

.kfo-event-row {
	display: grid;
	grid-template-columns: 10rem 1fr;
	gap: 1rem;
	padding: 0.85rem 0;
	border-bottom: 1px solid #edf0f3;
}

.kfo-event-row:last-child {
	border-bottom: 0;
}

.kfo-event-row__label {
	font-weight: 700;
	color: #111;
}

.kfo-event-row__value {
	color: #5a8f3a;
}

.kfo-event-row__value a {
	color: #1c3554;
	font-weight: 700;
	text-decoration: none;
}

.kfo-event-row__value a:hover {
	text-decoration: underline;
}

.kfo-event-single__results,
.kfo-event-single__content {
	margin-top: 2rem;
}

.kfo-event-single__section-title {
	margin: 0 0 1rem;
	color: #1c3554;
}

.kfo-event-single__results-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

@media (max-width: 640px) {
	.kfo-event-row {
		grid-template-columns: 1fr;
		gap: 0.35rem;
	}

	.kfo-event-single__panel {
		padding: 1.1rem;
	}

	.kfo-event-card__content {
		padding: 1rem;
	}
}

.kfo-events-table-wrap {
	width: 100%;
	overflow-x: auto;
	margin: 1.5rem 0;
}

.kfo-events-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 48rem;
	background: #fff;
}

.kfo-events-table thead th {
	padding: 1rem 0.75rem;
	background: #00539f;
	color: #fff;
	text-align: left;
	font-weight: 700;
	border: 1px solid #00539f;
}

.kfo-events-table tbody td {
	padding: 0.9rem 0.75rem;
	border: 1px solid #c9d3df;
	vertical-align: top;
}

.kfo-events-table tbody tr:nth-child(even) {
	background: #f8fbff;
}

.kfo-events-table a {
	color: #1c3554;
	font-weight: 700;
	text-decoration: none;
}

.kfo-events-table a:hover {
	text-decoration: underline;
}
