/**
 * Header nav typography aligned with kaiyun-tiyu8.com (Noto Sans SC + Outfit, 500).
 */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600&family=Outfit:wght@400;500;600&display=swap");

@media (min-width: 992px) {
	.yunda-header-shell,
	.yunda-header {
		height: 80px;
	}

	.yunda-header__bar {
		display: flex !important;
		align-items: center;
		max-width: 1200px;
		height: 80px;
		margin: 0 auto;
		padding: 0 20px;
		gap: 0;
		grid-template-columns: none !important;
	}

	.yunda-header .yunda-logo {
		flex-shrink: 0;
		margin-right: 0;
	}

	.yunda-header .yunda-nav {
		flex: 1 1 auto;
		display: flex;
		justify-content: flex-end;
		max-width: 900px;
		margin-left: auto;
		min-width: 0;
		height: 100%;
		padding-left: 0;
	}

	.yunda-header .yunda-nav__list {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-wrap: nowrap;
		width: max-content;
		max-width: 100%;
		height: 100%;
		gap: 0;
	}

	.yunda-header .yunda-nav__list > li {
		margin-right: 12px;
		position: relative;
		height: 100%;
		display: flex;
		align-items: center;
	}

	.yunda-header .yunda-nav__list > li:last-child {
		margin-right: 0;
	}

	.yunda-header .yunda-nav__link {
		display: flex;
		align-items: center;
		position: relative;
		box-sizing: border-box;
		height: 80px;
		padding: 12px 0;
		font-family: "Noto Sans SC", "Outfit", sans-serif;
		font-size: 14px;
		font-weight: 500;
		line-height: 20px;
		color: rgba(26, 26, 46, 0.6);
		border-radius: 0;
		background: transparent !important;
		letter-spacing: normal;
		white-space: nowrap;
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
	}

	.yunda-header .yunda-nav__link:hover,
	.yunda-header .yunda-nav__link.is-active {
		color: var(--yunda-primary);
		font-weight: 500;
		background: transparent !important;
	}

	.yunda-header .yunda-nav__link:hover::after,
	.yunda-header .yunda-nav__link.is-active::after {
		content: "";
		position: absolute;
		bottom: 18px;
		left: 0;
		width: 100%;
		height: 3px;
		border-radius: 2px;
		background-color: var(--yunda-primary);
		transition: 0.3s;
	}

	.yunda-header__actions {
		display: flex;
		align-items: center;
		flex-shrink: 0;
		margin-left: 16px !important;
		gap: 8px;
		height: 100%;
	}

	.yunda-header__portal {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		width: auto;
		min-width: 96px;
		height: 36px;
		min-height: 36px;
		padding: 8px 20px;
		border-radius: 999px;
		font-family: "Outfit", "Noto Sans SC", sans-serif;
		font-size: 14px;
		font-weight: 600;
		line-height: 20px;
		letter-spacing: normal;
		white-space: nowrap;
		border: none;
		background: linear-gradient(0deg, #1565c0, #42a5f5);
		color: #fff;
		box-shadow: none;
	}

	.yunda-header__portal:hover {
		background: linear-gradient(0deg, #0d47a1, #1976d2);
		color: #fff;
		box-shadow: none;
		transform: none;
	}

	.yunda-header .yunda-logo__img,
	.yunda-header .yunda-logo img,
	.yunda-header .custom-logo-link img {
		height: 50px;
		max-width: 160px;
	}
}

@media (min-width: 992px) and (max-width: 1280px) {
	.yunda-header .yunda-nav__list > li {
		margin-right: 8px;
	}

	.yunda-header .yunda-nav__link {
		font-size: 13px;
		line-height: 20px;
	}
}
