/*
 * Header branding preview for the renewal site.
 * Scope: header logo and desktop primary navigation only.
 * Rollback: deactivate this plugin.
 */

.site-header .site-brand {
	position: relative;
	display: block;
	width: 250px;
	height: 90px;
	background-image: url("yusui-logo-transparent.png");
	background-repeat: no-repeat;
	background-position: center 50%;
	background-size: 92% auto;
}

.site-header .site-brand__text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

@media (min-width: 1181px) {
	.site-header .site-header__inner {
		grid-template-columns: 250px minmax(0, 1fr) auto;
		grid-template-areas: "brand nav actions";
		min-height: 108px;
		padding-block: 8px;
		column-gap: 18px;
		row-gap: 0;
	}

	.site-header .site-brand {
		grid-area: brand;
	}

	.site-header .primary-nav {
		grid-area: nav;
		min-width: 0;
	}

	.site-header .primary-nav .menu {
		justify-content: center;
		flex-wrap: nowrap;
		gap: 8px 12px;
	}

	.site-header .primary-nav .menu > li > a {
		font-size: 16px !important;
		line-height: 1.45;
		white-space: nowrap;
	}

	.site-header .header-actions {
		grid-area: actions;
		justify-self: end;
	}
}

@media (max-width: 1180px) {
	.site-header .site-brand {
		width: 210px;
		height: 76px;
		background-size: 92% auto;
	}
}

@media (max-width: 560px) {
	.site-header .site-brand {
		width: 180px;
		height: 66px;
		background-size: 94% auto;
	}
}
