@charset "utf-8";

.sports-header {
	background: #fff;
	border-bottom: 1px solid #d6e4f2;
	font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

.sports-header__inner {
	max-width: none;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.sports-header__brand {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
	text-decoration: none;
	color: inherit;
}

.sports-header__brand img {
	display: block;
	height: 52px;
	width: auto;
}

.sports-header__name {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	color: #1a4ba1;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.sports-header__name .sports-header__sep {
	margin: 0 8px;
	font-weight: 400;
	color: #1a4ba1;
}

.sports-header__right {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 1 1 auto;
	min-width: 0;
	margin-left: auto;
	justify-content: flex-end;
}

.sports-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.sports-nav__list {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sports-nav__item {
	position: relative;
}

.sports-nav__item > a,
.sports-nav__trigger {
	display: block;
	padding: 10px 14px;
	border: 0;
	background: transparent;
	font-size: 15px;
	font-weight: 400;
	color: #222;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	position: relative;
	transition: color 0.2s ease;
}

.sports-nav__item > a::after,
.sports-nav__trigger::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 4px;
	height: 3px;
	background: #1a4ba1;
	border-radius: 2px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.sports-nav__item.is-active > a,
.sports-nav__item.is-active > .sports-nav__trigger,
.sports-nav__item > a:hover,
.sports-nav__trigger:hover,
.sports-nav__item.is-open > .sports-nav__trigger {
	color: #1a4ba1;
}

.sports-nav__item.is-active > a::after,
.sports-nav__item.is-active > .sports-nav__trigger::after {
	opacity: 1;
}

.sports-nav__submenu {
	position: absolute;
	top: calc(100% + 4px);
	left: 50%;
	transform: translateX(-50%);
	min-width: 148px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(0, 43, 94, 0.12);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	z-index: 1000;
}

.sports-nav__item.is-open > .sports-nav__submenu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.sports-nav__submenu a {
	display: block;
	padding: 10px 18px;
	font-size: 14px;
	color: #444;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease, background 0.2s ease;
}

.sports-nav__submenu a:hover {
	color: #1a4ba1;
	background: #f5f9fd;
}

.sports-header__search {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #333;
	cursor: pointer;
	transition: color 0.2s ease;
}

.sports-header__search:hover {
	color: #1a4ba1;
}

.sports-header__search svg {
	display: block;
}

@media (max-width: 1100px) {
	.sports-header__inner {
		flex-wrap: wrap;
		padding: 12px 20px;
	}

	.sports-header__right {
		flex: 1 1 100%;
		justify-content: space-between;
	}

	.sports-nav__list {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 2px 8px;
	}

	.sports-nav__item > a,
	.sports-nav__trigger {
		padding: 8px 10px;
		font-size: 14px;
	}
}
