.ug-plugin {
	max-width: 960px;
	margin: 0 auto;
}

.ug-nav {
	display: flex;
	align-items: center;
	gap: 1.5em;
	margin-bottom: 1.5em;
	padding-bottom: 0.75em;
	border-bottom: 1px solid #ddd;
	font-size: 0.95em;
}

.ug-nav .ug-lang-switch {
	margin-left: auto;
}

.ug-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
}

.ug-table th,
.ug-table td {
	text-align: left;
	padding: 0.4em 0.6em;
	border-bottom: 1px solid #e2e2e2;
}

.ug-table th {
	border-bottom: 2px solid #999;
	font-weight: 600;
}

.ug-table tbody tr:hover {
	background: #f7f7f7;
}

.ug-overview-table .ug-year {
	font-weight: 600;
	white-space: nowrap;
	vertical-align: top;
}

.ug-category {
	margin-bottom: 0.25em;
}

.ug-category-label {
	font-weight: 600;
	margin-right: 0.4em;
}

.ug-legend {
	font-size: 0.85em;
	color: #777;
}

.ug-race-meta {
	color: #555;
	margin-top: -0.5em;
	margin-bottom: 1.5em;
}

.ug-filter-form {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	gap: 1em;
	margin-bottom: 1.5em;
}

.ug-compare-table tfoot td {
	font-weight: 600;
	border-top: 2px solid #999;
	border-bottom: none;
}

.ug-search {
	position: relative;
	max-width: 360px;
	margin-bottom: 1.5em;
}

.ug-search-input {
	width: 100%;
	padding: 0.5em 0.75em;
	font-size: 1em;
	box-sizing: border-box;
}

.ug-search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #ccc;
	border-top: none;
	max-height: 320px;
	overflow-y: auto;
	z-index: 20;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.ug-search-item {
	padding: 0.5em 0.75em;
	cursor: pointer;
}

.ug-search-item:hover,
.ug-search-item.is-active {
	background: #f0f0f0;
}

.ug-filter-form label {
	display: flex;
	flex-direction: column;
	font-size: 0.9em;
	gap: 0.25em;
}

.ug-bio {
	list-style: none;
	margin: 0 0 1em;
	padding: 0;
	color: #555;
}

.ug-bio li {
	display: inline-block;
	margin-right: 1em;
}

.ug-summary {
	font-weight: 600;
	margin-bottom: 1.5em;
}

.ug-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2em;
}

@media (max-width: 640px) {
	.ug-two-col {
		grid-template-columns: 1fr;
	}
}
