/* Compact navigation and a clear library entry without editing the theme. */

@media (min-width: 992px) {
	.header__nav .header__list {
		gap: clamp(4px, .8vw, 14px);
		padding-left: 0 !important;
		align-items: stretch;
		justify-content: space-between !important;
	}

	.header__nav .header__list > li {
		display: flex;
		min-width: 0;
		margin-right: 0 !important;
		padding: 0 !important;
		align-items: center;
	}

	.header__nav .header__list > li > a {
		display: flex !important;
		min-height: 64px;
		padding: 0 clamp(6px, .7vw, 13px);
		align-items: center;
		font-size: clamp(13px, 1vw, 15px);
		line-height: 1.25;
		white-space: nowrap;
	}

	.header__nav .header__list > .srl-menu-library > a {
		min-height: auto;
		margin: 10px 0;
		padding: 10px 14px;
		border: 1px solid #c8e1ef;
		border-radius: 8px;
		background: #eaf5fb;
		color: #0d6e9f !important;
		font-weight: 700;
		text-decoration: none;
	}
}

.srl-menu-library > a {
	display: inline-flex !important;
	gap: 8px;
	align-items: center;
}

.srl-menu-library > a::before {
	content: "";
	display: inline-block;
	width: 15px;
	height: 17px;
	flex: 0 0 15px;
	border: 1.5px solid currentColor;
	border-radius: 2px;
	box-shadow: inset 4px 0 0 rgba(13, 110, 159, .15);
}

.srl-menu-library > a:hover {
	border-color: #91c7e3 !important;
	background: #dff0f9 !important;
	text-decoration: none !important;
}

.header__nav .header__list > .srl-menu-library--current > a,
.header__nav-mobile-list > .srl-menu-library--current > a {
	border-color: #1484ca !important;
	background: #1484ca !important;
	box-shadow: 0 4px 12px rgba(20, 132, 202, .2);
	color: #fff !important;
}

.header__nav .header__list > .srl-menu-library--current > a::before,
.header__nav-mobile-list > .srl-menu-library--current > a::before {
	box-shadow: inset 4px 0 0 rgba(255, 255, 255, .22);
}

@media (max-width: 991px) {
	.header__nav-mobile-list > .srl-menu-library > a {
		margin: 7px 0;
		padding: 10px 14px !important;
		border: 1px solid #c8e1ef;
		border-radius: 8px;
		background: #eaf5fb;
		color: #0d6e9f !important;
		font-weight: 700 !important;
		line-height: 1.25;
	}
}
