.cvr-race-list {
	margin: 1.5rem 0;
}

.cvr-race-list__filters {
	margin-bottom: 1rem;
}

.cvr-race-list__filter {
	align-items: center;
	display: inline-flex;
	gap: 0.45rem;
	justify-content: center;
	margin-bottom: 0;
}

.cvr-race-list__filter-swatch {
	background: var(--cvr-race-color);
	border-radius: 999px;
	display: inline-block;
	height: 0.75rem;
	width: 0.75rem;
}

.cvr-race-list__items {
	display: grid;
	gap: 0.75rem;
}

.cvr-race-card {
	background: #fff;
	border: 1px solid #e6e6e6;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(10, 10, 10, 0.04);
	min-height: 4.5rem;
	overflow: hidden;
}

.cvr-race-card[hidden] {
	display: none;
}

.cvr-race-card__color {
	align-self: stretch;
	background: var(--cvr-race-color);
	min-height: 4.5rem;
	width: 0.5rem;
}

.cvr-race-card__main {
	padding: 0.85rem 1rem;
}

.cvr-race-card__title-row {
	align-items: flex-start;
	display: flex;
	gap: 0.75rem;
	justify-content: space-between;
	margin-bottom: 0.35rem;
}

.cvr-race-card__race-name {
	color: #0a0a0a;
	flex: 1 1 auto;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
	min-width: 0;
}

.cvr-race-card__championship {
	background-color: var(--cvr-race-color) !important;
	border-radius: 999px;
	color: var(--cvr-race-label-text) !important;
	display: inline-block;
	flex: 0 0 auto;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.3;
	max-width: 50%;
	overflow-wrap: anywhere;
	text-align: center;
	text-decoration: none;
}

.cvr-race-card__championship:focus,
.cvr-race-card__championship:hover {
	color: var(--cvr-race-label-text) !important;
	cursor: pointer;
	filter: brightness(0.92);
	text-decoration: none;
}

.cvr-race-card__meta-row {
	align-items: baseline;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.cvr-race-card__details {
	color: #555;
	flex: 1 1 auto;
	font-size: 0.9rem;
	line-height: 1.35;
	min-width: 0;
}

.cvr-race-card__datetime {
	color: #0a0a0a;
	flex: 0 0 auto;
	font-weight: 700;
	line-height: 1.3;
	text-align: right;
	white-space: nowrap;
}

.cvr-race-card__date,
.cvr-race-card__time {
	display: inline;
}

.cvr-race-card__time {
	color: #555;
	font-size: 0.9rem;
	font-weight: 400;
}

@media screen and (max-width: 39.9375em) {
	.cvr-race-card__title-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.4rem;
	}

	.cvr-race-card__championship {
		max-width: 100%;
	}

	.cvr-race-card__meta-row {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.45rem;
	}

	.cvr-race-card__datetime {
		border-top: 1px solid #e6e6e6;
		padding-top: 0.65rem;
		text-align: left;
		white-space: normal;
	}
}
