.hdr {
	position: sticky;
	top: calc(-1 * var(--hdr-topbar-h, 38px));
	z-index: 1000;
	background-color: var(--dse-surface);
	color: var(--dse-ink);
	font-family: var(--dse-font-sans);
}

.hdr .hdr-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
}

.hdr .hdr-bar {
	display: flex;
	justify-content: center;
	padding: 0 24px;
	background-color: var(--dse-surface);
	box-shadow: 0 1px 0 0 var(--dse-line);
	transition: box-shadow 0.2s ease;
}

.hdr .hdr-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 76px;
}

.hdr .dse-header-home {
	display: flex;
	flex: 0 0 auto;
}

.hdr .hdr-logo {
	display: block;
	flex: 0 0 auto;
	width: 196px;
	height: auto;
}

.hdr .hdr-nav {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
}

.hdr .hdr-menu {
	display: flex;
	align-items: center;
	gap: 2px;
}

.hdr .hdr-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 10px;
}

.hdr svg {
	display: block;
	width: 100%;
	height: 100%;
}

.hdr .hdr-topbar {
	display: flex;
	justify-content: center;
	padding: 0 24px;
	background-color: var(--dse-brand-dark);
}

.hdr .hdr-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}

.hdr :is(.hdr-topbar__group, .hdr-topbar__links, .hdr-topbar__badge) {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
}

.hdr .hdr-topbar__group {
	gap: 8px;
}

.hdr .hdr-topbar__links {
	gap: 22px;
}

.hdr .hdr-topbar__badge {
	gap: 6px;
}

.hdr .hdr-topbar__icon {
	flex: 0 0 auto;
	width: 13px;
	height: 13px;
	color: var(--dse-brand-secondary);
}

.hdr .hdr-topbar__text {
	color: var(--dse-ink-on-dark-muted);
	font-size: 13px;
	line-height: 1.2;
	cursor: default;
}

.hdr :is(.hdr-topbar__link, .hdr-topbar__login) {
	display: block;
	color: #fff;
	font-size: 13px;
	line-height: 1.2;
	font-weight: 500;
	text-align: center;
	text-decoration: none;
}

.hdr .hdr-topbar__login {
	font-weight: 700;
}

.hdr :is(.hdr-topbar__link, .hdr-topbar__login):is(:hover, :focus-visible) {
	color: var(--dse-brand-secondary);
}

.hdr .hdr-topbar :focus-visible {
	outline-color: var(--dse-accent);
}

.hdr .hdr-dd {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
}

.hdr .hdr-toplink {
	position: relative;
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	padding: 10px 14px;
	border-radius: 8px;
	color: var(--dse-ink);
	font-size: 15px;
	line-height: 1.2;
	font-weight: 700;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
}

.hdr a.hdr-toplink {
	display: block;
}

.hdr .hdr-toplink:is(:hover, :focus-visible) {
	background-color: var(--dse-surface-tint);
	color: var(--dse-primary);
}

.hdr summary {
	list-style: none;
	user-select: none;
}

.hdr summary::-webkit-details-marker {
	display: none;
}

.hdr .hdr-trigger__title {
	display: block;
}

.hdr .hdr-toplink__label {
	color: inherit;
	font-size: 15px;
	line-height: 1.2;
	font-weight: 700;
	white-space: nowrap;
}

.hdr .hdr-chevron-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 12px;
	height: 12px;
	transition: transform 0.2s ease;
}

.hdr .hdr-chevron {
	width: 11px;
	height: 11px;
	color: var(--dse-primary);
}

.hdr :is(.hdr-drawer-head, .hdr-drawer-foot, .hdr-burger) {
	display: none;
}

.hdr .hdr-drawer-title {
	color: var(--dse-ink);
	font-size: 18px;
	font-weight: 800;
	cursor: default;
}

.hdr .hdr-icon-btn {
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 14px;
	border: 0;
	border-radius: 999px;
	background-color: var(--dse-surface-tint);
	color: var(--dse-primary-hover);
	font: inherit;
	cursor: pointer;
}

.hdr .hdr-drawer-head .hdr-icon-btn {
	display: flex;
}

.hdr .hdr-icon-btn:is(:hover, :focus-visible) {
	background-color: var(--dse-line);
}

.hdr .hdr-icon-btn__svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
}

.hdr .hdr-icon-btn__label {
	color: var(--dse-primary-hover);
	font-size: 15px;
	line-height: 1;
	font-weight: 700;
}

.hdr .hdr-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding-top: 4px;
}

.hdr .hdr-note__icon {
	flex: 0 0 auto;
	width: 13px;
	height: 13px;
	color: var(--dse-primary);
}

.hdr .hdr-note__text {
	color: var(--dse-ink-muted);
	font-size: 12.5px;
	line-height: 1.4;
	text-align: center;
	cursor: default;
}

.hdr .hdr-panel {
	padding: 32px 24px 36px;
	background-color: var(--dse-surface);
	box-shadow: var(--dse-shadow-md);
}

.hdr .hdr-panel__grid {
	display: grid;
	gap: 36px;
}

.hdr .hdr-grid--checks {
	grid-template-columns: 1.15fr 1fr 0.9fr;
}

.hdr .hdr-grid--sectors {
	grid-template-columns: 2fr 1fr;
}

.hdr .hdr-grid--resources {
	grid-template-columns: 1fr 1fr 1fr;
}

.hdr .hdr-col {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.hdr .hdr-col--divided {
	padding-left: 32px;
	box-shadow: inset 1px 0 0 var(--dse-line);
}

.hdr .hdr-col__title {
	display: block;
	margin-bottom: 10px;
	padding-left: 12px;
	color: var(--dse-primary);
	font-size: 12px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: default;
}

.hdr .hdr-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4px;
}

.hdr .hdr-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 12px;
	border-radius: 12px;
	color: var(--dse-ink);
	text-decoration: none;
}

.hdr .hdr-item:is(:hover, :focus-visible) {
	background-color: var(--dse-surface-tint);
}

.hdr .hdr-item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	min-width: 40px;
	height: 40px;
	border-radius: 10px;
	background-color: var(--dse-surface-tint);
	color: var(--dse-primary);
}

.hdr .hdr-item:is(:hover, :focus-visible) .hdr-item__icon {
	background-color: var(--dse-primary);
	color: #fff;
}

.hdr .hdr-item__svg {
	width: 18px;
	height: 18px;
}

.hdr .hdr-item__text {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.hdr .hdr-item--accent {
	background-color: var(--dse-surface-tint);
}

.hdr .hdr-item__icon--light {
	background-color: var(--dse-surface);
}

.hdr .hdr-item__title {
	color: var(--dse-ink);
	font-size: 15px;
	line-height: 1.3;
	font-weight: 700;
}

.hdr .hdr-item__desc {
	color: var(--dse-ink-muted);
	font-size: 13.5px;
	line-height: 1.45;
}

.hdr .hdr-links {
	display: flex;
	flex-direction: column;
}

.hdr :is(.hdr-link, .hdr-more) {
	display: block;
	border-radius: 8px;
	text-align: left;
	text-decoration: none;
}

.hdr .hdr-link {
	padding: 8px 12px;
	color: var(--dse-ink);
	font-size: 14.5px;
	line-height: 1.35;
	font-weight: 500;
}

.hdr .hdr-link:is(:hover, :focus-visible) {
	background-color: var(--dse-surface-tint);
	color: var(--dse-primary);
}

.hdr .hdr-more {
	margin-top: 6px;
	padding: 10px 12px;
	color: var(--dse-primary);
	font-size: 14px;
	line-height: 1.3;
	font-weight: 800;
}

.hdr .hdr-more:is(:hover, :focus-visible) {
	background-color: var(--dse-surface-tint);
	color: var(--dse-primary-hover);
}

.hdr .hdr-promo {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 26px;
	border-radius: 16px;
	background-color: var(--dse-brand-dark);
}

.hdr .hdr-promo__eyebrow {
	color: var(--dse-brand-secondary);
	font-size: 12px;
	line-height: 1.3;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: default;
}

.hdr .hdr-promo__title {
	margin: 0;
	color: #fff;
	font-size: 21px;
	line-height: 1.2;
	font-weight: 800;
	cursor: default;
}

.hdr .hdr-promo__text {
	margin: 0;
	color: var(--dse-ink-on-dark-muted);
	font-size: 14px;
	line-height: 1.5;
	cursor: default;
}

.hdr .hdr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 20px;
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.2;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.hdr .hdr-btn.hdr-show-mobile {
	display: none;
}

.hdr .hdr-btn--primary {
	background-color: var(--dse-primary);
	color: #fff;
}

.hdr .hdr-btn--primary:is(:hover, :focus-visible) {
	background-color: var(--dse-primary-hover);
	color: #fff;
}

.hdr .hdr-btn--outline {
	background-color: #fff;
	box-shadow: inset 0 0 0 2px var(--dse-primary);
	color: var(--dse-primary);
}

.hdr .hdr-btn--outline:is(:hover, :focus-visible) {
	background-color: var(--dse-surface-tint);
	color: var(--dse-primary-hover);
}

.hdr .hdr-btn--light {
	margin-top: 6px;
	background-color: var(--dse-brand-secondary);
	color: var(--dse-brand-dark);
}

.hdr .hdr-btn--light:is(:hover, :focus-visible) {
	background-color: var(--dse-accent-hover);
	color: var(--dse-brand-dark);
}

.hdr .hdr-guides {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hdr .hdr-guide {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px;
	border-radius: 12px;
	color: var(--dse-ink);
	text-decoration: none;
}

.hdr .hdr-guide:is(:hover, :focus-visible) {
	background-color: var(--dse-surface-tint);
	color: var(--dse-ink);
}

.hdr .hdr-guide__thumb {
	display: flex;
	flex: 0 0 60px;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	overflow: hidden;
	border-radius: 10px;
	background-color: var(--dse-surface-tint);
	color: var(--dse-primary);
}

.hdr .hdr-guide__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.hdr .hdr-guide:is(:hover, :focus-visible) .hdr-guide__img {
	transform: scale(1.06);
}

.hdr .hdr-guide__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.hdr .hdr-guide__date {
	color: var(--dse-primary);
	font-size: 12px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.hdr .hdr-guide__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14.5px;
	line-height: 1.35;
	font-weight: 700;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.hdr.is-scrolled .hdr-bar {
	box-shadow: 0 1px 0 #ece5f0, 0 10px 30px -14px rgb(59 28 71 / 28%);
}

.hdr .hdr-item[aria-current="page"],
.hdr .hdr-guide[aria-current="page"],
.hdr .hdr-link[aria-current="page"] {
	background-color: var(--dse-surface-tint);
}

.hdr .hdr-link[aria-current="page"],
.hdr .hdr-toplink[aria-current="page"],
.hdr .hdr-dd.is-current > details > summary {
	color: var(--dse-primary);
}

.hdr .hdr-dd > details[open] > summary .hdr-chevron-wrap {
	transform: rotate(180deg);
}

@media (min-width: 1026px) {
	.hdr .hdr-bar {
		position: relative;
	}

	.hdr .hdr-dd > details > .hdr-panel {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		z-index: 10;
		max-height: calc(100vh - 140px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.hdr .hdr-dd > details[open] > .hdr-panel {
		animation: hdr-panel-in 0.18s ease-out;
	}

	.hdr .hdr-dd > details[open] > summary {
		background-color: var(--dse-surface-tint);
		color: var(--dse-primary);
	}

	.hdr .hdr-dd > details[open] > summary::after {
		content: "";
		position: absolute;
		top: 100%;
		right: -12px;
		left: -12px;
		height: 28px;
	}

	.hdr .hdr-toplink[aria-current="page"],
	.hdr .hdr-dd.is-current > details:not([open]) > summary {
		border-radius: 8px 8px 0 0;
		box-shadow: inset 0 -2px 0 var(--dse-primary);
	}

	.hdr-backdrop {
		display: none;
	}
}

@media (min-width: 1026px) and (max-width: 1180px) {
	.hdr .hdr-bar__inner {
		gap: 16px;
	}

	.hdr .hdr-logo {
		width: 168px;
	}

	.hdr .hdr-toplink {
		padding-inline: 10px;
	}
}

@keyframes hdr-panel-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 1025px) {
	.hdr .hdr-bar__inner {
		gap: 16px;
		min-height: 68px;
	}

	.hdr :is(.hdr-topbar__badge, .hdr-hide-tablet, .hdr-promo) {
		display: none;
	}

	.hdr .hdr-burger {
		display: flex;
	}

	.hdr .hdr-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		z-index: 1002;
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		width: min(420px, 100%);
		height: 100vh;
		height: 100dvh;
		background-color: var(--dse-surface);
		box-shadow: -24px 0 48px rgb(30 21 36 / 18%);
		transform: translateX(100%);
		visibility: hidden;
		transition: transform 0.3s ease, visibility 0s linear 0.3s;
	}

	.hdr.is-drawer-open .hdr-nav {
		transform: none;
		visibility: visible;
		transition: transform 0.3s ease;
	}

	.hdr .hdr-drawer-head {
		display: flex;
		flex-shrink: 0;
		align-items: center;
		justify-content: space-between;
		padding: 14px 20px;
		box-shadow: 0 1px 0 0 #ece5f0;
	}

	.hdr .hdr-menu {
		flex: 1 1 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: 100%;
		padding: 8px 20px 24px;
		overflow-y: auto;
		overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
	}

	.hdr .hdr-dd {
		width: 100%;
	}

	.hdr .hdr-toplink {
		width: 100%;
		padding: 16px 4px;
		border-radius: 0;
		box-shadow: 0 1px 0 0 #ece5f0;
		font-size: 17px;
		text-align: left;
	}

	.hdr .hdr-toplink__label {
		font-size: 17px;
	}

	.hdr .hdr-dd > details[open] > summary {
		box-shadow: none;
		color: var(--dse-primary);
	}

	.hdr .hdr-panel {
		padding: 6px 0 18px;
		box-shadow: none;
	}

	.hdr .hdr-dd > details[open] > .hdr-panel {
		box-shadow: 0 1px 0 #ece5f0;
	}

	.hdr :is(.hdr-grid--checks, .hdr-grid--sectors, .hdr-grid--resources) {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.hdr .hdr-col--divided {
		padding-left: 0;
		box-shadow: none;
	}

	.hdr .hdr-col__title {
		margin-top: 8px;
		margin-bottom: 4px;
		padding-left: 8px;
	}

	.hdr .hdr-cards {
		grid-template-columns: 1fr;
	}

	.hdr .hdr-item {
		align-items: center;
		gap: 12px;
		padding: 10px 8px;
	}

	.hdr .hdr-item__icon {
		width: 36px;
		min-width: 36px;
		height: 36px;
	}

	.hdr .hdr-links {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 0;
	}

	.hdr .hdr-link {
		padding: 9px 8px;
	}

	.hdr .hdr-more {
		padding: 10px 8px;
	}

	.hdr .hdr-guide {
		padding: 10px 8px;
	}

	.hdr .hdr-drawer-foot {
		display: flex;
		flex-direction: column;
		flex-shrink: 0;
		gap: 10px;
		padding: 16px 20px 20px;
		background-color: var(--dse-surface-tint);
	}

	.hdr-backdrop {
		position: fixed;
		inset: 0;
		z-index: 1001;
		background-color: rgb(30 21 36 / 45%);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0s linear 0.3s;
	}

	.hdr.is-drawer-open .hdr-backdrop {
		opacity: 1;
		visibility: visible;
		transition: opacity 0.3s ease;
	}
}

@media (max-width: 768px) {
	.hdr {
		top: 0;
	}

	.hdr .hdr-topbar,
	.hdr .hdr-hide-mobile {
		display: none;
	}

	.hdr .hdr-bar {
		padding: 0 16px;
	}

	.hdr .hdr-bar__inner {
		gap: 10px;
		min-height: 60px;
	}

	.hdr .hdr-logo {
		width: 148px;
	}

	.hdr .hdr-btn.hdr-show-mobile {
		display: inline-flex;
		padding: 10px 14px;
		font-size: 14px;
	}

	.hdr .hdr-burger {
		padding: 10px;
	}

	.hdr .hdr-burger .hdr-icon-btn__label {
		display: none;
	}

	.hdr .hdr-item__desc {
		font-size: 13px;
	}

	.hdr .hdr-guide__thumb {
		flex-basis: 56px;
		width: 56px;
		height: 56px;
	}
}

html.hdr-scroll-lock,
html.hdr-scroll-lock body {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.hdr *,
	.hdr-backdrop {
		animation: none !important;
		transition: none !important;
	}
}
