/* Sticky two-row header. */
.ks-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--ks-white);
	border-bottom: 1px solid var(--ks-divider);
}
.admin-bar .ks-header { top: 46px; }
@media (min-width: 783px) {
	.admin-bar .ks-header { top: 32px; }
}

.ks-masthead__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 52px;
}
.ks-burger { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-left: -4px; }
.ks-logo { display: inline-flex; align-items: center; flex-shrink: 0; color: var(--ks-black); }
.ks-logo img { max-height: 40px; width: auto; }
.ks-wordmark {
	display: inline-block;
	font-weight: 700;
	font-size: 20px;
	line-height: 1;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}
.ks-logo--header .ks-wordmark { font-size: 17px; letter-spacing: 0.05em; }

.ks-search {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
}
.ks-search__icon { position: absolute; left: 12px; width: 18px; height: 18px; color: var(--ks-gray1); pointer-events: none; }
.ks-search__input {
	width: 100%;
	height: 36px;
	padding: 0 16px 0 36px;
	border: 1px solid var(--ks-charcoal);
	border-radius: var(--ks-r-pill);
	background: var(--ks-white);
	font-size: var(--ks-fs-14);
	-webkit-appearance: none;
	appearance: none;
}
.ks-search__input::placeholder { color: var(--ks-slate); opacity: 1; }
.ks-search__input::-webkit-search-cancel-button { display: none; }
.ks-search__input:focus { outline: none; border-color: var(--ks-black); box-shadow: 0 0 0 3px rgba(35, 102, 255, .15); }

.ks-masthead__links { display: none; }
.ks-utility { display: flex; align-items: center; gap: 24px; }
.ks-utility a { font-size: var(--ks-fs-15); font-weight: 500; white-space: nowrap; }
.ks-utility a:hover { text-decoration: underline; text-underline-offset: 4px; }

.ks-catnav { display: none; }

@media (min-width: 1024px) {
	.ks-masthead__inner { height: 84px; gap: 24px; }
	.ks-burger { display: none; }
	.ks-logo--header .ks-wordmark { font-size: 26px; }
	.ks-logo--header { width: 200px; }
	.ks-search { flex: 0 1 660px; margin-right: auto; }
	.ks-search__icon { left: 26px; width: 22px; height: 22px; color: var(--ks-black); }
	.ks-search__input { height: 44px; padding-left: 54px; border: 2px solid var(--ks-black); font-size: var(--ks-fs-16); }
	.ks-masthead__links { display: block; }
	.ks-utility { gap: 21px; }
	.ks-catnav { display: block; border-top: 1px solid var(--ks-divider); }
	.ks-catnav__list { display: flex; justify-content: space-between; align-items: center; height: 52px; }
	.ks-catnav__list a {
		display: block;
		padding: 14px 0;
		font-size: var(--ks-fs-15);
		font-weight: 500;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		white-space: nowrap;
	}
	.ks-catnav__list a:hover { color: var(--ks-red); }
	.ks-catnav__list .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--ks-black); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
	.ks-catnav__list a { font-size: var(--ks-fs-13); }
	.ks-utility { gap: 16px; }
	.ks-utility a { font-size: var(--ks-fs-14); }
}
