.th-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--th-bg);
	border-bottom: 1px solid var(--th-border);
}

.th-topbar {
	background: var(--th-bg-subtle);
	border-bottom: 1px solid var(--th-border);
	font-size: 13px;
	color: var(--th-text-muted);
}

.th-topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 36px;
}

.th-topbar-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.th-topbar-socials {
	display: flex;
	gap: 8px;
}

.th-topbar-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--th-border);
	font-size: 11px;
	font-weight: 700;
}

.th-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.th-theme-toggle .th-theme-icon--dark {
	display: none;
}

.th-branding-row {
	position: relative;
}

.th-branding-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	height: 72px;
}

.th-hamburger {
	display: none;
	flex-direction: column;
	gap: 4px;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
}

.th-hamburger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--th-text);
}

.th-logo {
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.th-logo-accent {
	color: var(--th-accent);
}

.th-branding-search {
	flex: 1;
	max-width: 420px;
}

.th-search-toggle {
	display: none;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
}

.th-search-panel-mobile {
	display: none;
	padding: 12px 0;
	border-top: 1px solid var(--th-border);
}

.th-search-form {
	display: flex;
	align-items: center;
	border: 1px solid var(--th-border);
	border-radius: 999px;
	overflow: hidden;
}

.th-search-field {
	flex: 1;
	border: none;
	padding: 10px 16px;
	background: transparent;
	color: var(--th-text);
	min-height: 44px;
}

.th-search-field:focus {
	outline: none;
}

.th-search-submit {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--th-text-muted);
}

.th-nav-primary {
	border-top: 1px solid var(--th-border);
}

.th-nav-list {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	height: 48px;
	align-items: center;
}

.th-nav-list a {
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
}

.th-nav-list a:hover,
.th-nav-list .current-cat a,
.th-nav-list .current-menu-item a {
	color: var(--th-accent);
}
