body {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
}

.dk-header {
	background: var(--dk-bg);
	border-bottom: 1px solid var(--dk-border);
}

.dk-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1600px;
	height: var(--dk-header-h);
	margin-inline: auto;
	padding-inline: var(--dk-gutter);
}

.dk-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	color: var(--dk-text);
	text-decoration: none;
}

.dk-brand:hover {
	color: var(--dk-text);
}

.dk-brand__flag {
	width: 28px;
	height: 28px;
}

.dk-brand__text {
	display: grid;
}

.dk-brand__name {
	font-family: var(--dk-font-serif);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.1;
	color: var(--dk-brown);
	letter-spacing: -0.01em;
}

.dk-brand__tagline {
	display: none;
	font-size: 0.8125rem;
	line-height: 1.3;
	color: var(--dk-muted);
	white-space: nowrap;
}

.dk-header__search,
.dk-header__nav,
.dk-header__deco {
	display: none;
}

.dk-header__actions {
	display: flex;
	align-items: center;
	gap: 2px;
	margin-left: auto;
}

.dk-header__search {
	flex: 1 1 440px;
	align-items: center;
	gap: 8px;
	min-width: 0;
	max-width: 440px;
	height: 40px;
	margin-inline: auto;
	padding: 0 8px 0 12px;
	background: var(--dk-surface);
	border: 1px solid var(--dk-border);
	border-radius: var(--dk-radius-lg);
	color: var(--dk-muted);
}

.dk-header__search:focus-within {
	border-color: var(--dk-brown);
	box-shadow: 0 0 0 3px var(--dk-brown-tint);
}

.dk-header__search-input {
	flex: 1;
	min-width: 0;
	height: 100%;
	padding: 0;
	border: 0;
	background: none;
	color: var(--dk-text);
	outline: none;
}

.dk-header__search-input::placeholder {
	color: var(--dk-muted);
}

.dk-header__kbd {
	flex-shrink: 0;
	padding: 2px 7px;
	border: 1px solid var(--dk-border);
	border-radius: var(--dk-radius-sm);
	background: var(--dk-bg-alt);
	font-size: 0.75rem;
	color: var(--dk-muted);
	white-space: nowrap;
}

.dk-header__nav ul {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dk-header__link {
	display: block;
	padding: 6px 7px;
	border-radius: var(--dk-radius-sm);
	color: var(--dk-text);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.dk-header__link:hover {
	background: var(--dk-brown-tint);
	color: var(--dk-brown-hover);
}

.dk-header__link--accent {
	background: var(--dk-brown-tint);
	color: var(--dk-brown);
	font-weight: 600;
}

.dk-header__link[aria-current] {
	color: var(--dk-brown);
	font-weight: 600;
	text-decoration: underline 2px;
	text-underline-offset: 7px;
}

.dk-header__deco {
	align-items: center;
	flex-shrink: 0;
}

.dk-header__alps {
	width: 125px;
	height: 50px;
	margin-right: -44px;
	opacity: 0.9;
	mask-image: linear-gradient(to bottom, #000 55%, transparent);
}

.dk-header__lettering {
	position: relative;
	width: 84px;
	font-family: var(--dk-font-hand);
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 0.95;
	color: var(--dk-brown);
	transform: rotate(-8deg);
}

.dk-header__flag {
	width: 20px;
	height: 20px;
	margin-left: 4px;
}

@media (min-width: 960px) {
	.dk-brand__flag {
		width: 36px;
		height: 36px;
	}

	.dk-brand__name {
		font-size: 1.625rem;
	}

	.dk-brand__tagline {
		display: block;
	}

	.dk-header__search {
		display: flex;
	}

	.dk-header__actions .dk-header__search-btn {
		display: none;
	}
}

@media (min-width: 1200px) {
	.dk-header__nav {
		display: block;
	}

	.dk-header__actions {
		margin-left: 0;
	}

	.dk-header__actions .dk-header__menu {
		display: none;
	}
}

@media (min-width: 1400px) {
	.dk-header__deco {
		display: flex;
	}
}

.dk-shell {
	flex: 1 0 auto;
	width: 100%;
	max-width: 1600px;
	margin-inline: auto;
}

.dk-main {
	display: block;
	min-width: 0;
}

.dk-sidebar__list {
	display: grid;
	gap: 1px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dk-sidebar__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--dk-radius-sm);
	color: var(--dk-text);
	font-size: 0.9375rem;
	line-height: 18px;
	text-decoration: none;
}

.dk-sidebar__link:hover {
	background: var(--dk-brown-tint);
	color: var(--dk-text);
}

.dk-sidebar__link[aria-current] {
	background: var(--dk-brown);
	color: var(--dk-surface);
}

.dk-sidebar__kicker {
	margin: 10px 0 4px;
	padding: 14px 12px 0;
	border-top: 1px solid var(--dk-border);
}

.dk-sidebar__list--bottom {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid var(--dk-border);
}

.dk-sidebar__box {
	position: relative;
	flex-shrink: 0;
	min-height: 92px;
	margin-top: 14px;
	padding: 12px;
	overflow: hidden;
	background: var(--dk-surface-warm);
	border: 1px solid var(--dk-border);
	border-radius: var(--dk-radius-lg);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.35;
}

.dk-sidebar__box p {
	position: relative;
	z-index: 1;
	margin: 0;
}

.dk-sidebar__box p img {
	width: 14px;
	height: 14px;
	vertical-align: -2px;
}

.dk-sidebar__alps {
	position: absolute;
	right: -8px;
	bottom: -4px;
	width: 120px;
	height: 48px;
}

.dk-sidebar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
	padding-left: 12px;
}

.dk-sidebar__title {
	font-family: var(--dk-font-serif);
	font-size: 1.125rem;
	font-weight: 700;
}

@media (max-width: 1199.98px) {
	.dk-sidebar:popover-open {
		display: flex;
		flex-direction: column;
		inset: 0 auto 0 0;
		width: min(320px, 86vw);
		height: 100dvh;
		max-height: none;
		margin: 0;
		padding: 10px 10px 24px;
		overflow-y: auto;
		overscroll-behavior: contain;
		background: var(--dk-bg);
		color: var(--dk-text);
		border: 0;
		border-right: 1px solid var(--dk-border);
		box-shadow: var(--dk-shadow);
		transition: transform 0.2s ease-out;
	}

	@starting-style {
		.dk-sidebar:popover-open {
			transform: translateX(-100%);
		}
	}

	.dk-sidebar::backdrop {
		background: rgb(37 28 24 / 0.35);
	}

	:root:has(.dk-sidebar:popover-open) {
		overflow: hidden;
	}
}

@media (min-width: 1200px) {
	.dk-shell {
		display: grid;
		grid-template-columns: var(--dk-sidebar-w) minmax(0, 1fr);
		align-items: start;
	}

	.dk-sidebar {
		position: sticky;
		inset: 0 auto auto auto;
		display: flex;
		flex-direction: column;
		width: auto;
		height: auto;
		max-height: 100dvh;
		margin: 0;
		padding: 12px 6px 16px 10px;
		overflow-y: auto;
		background: none;
		color: inherit;
		border: 0;
		scrollbar-width: thin;
	}

	.dk-sidebar__head {
		display: none;
	}

	.dk-sidebar__link {
		gap: 9px;
		padding: 5px 8px;
		font-size: 0.875rem;
		white-space: nowrap;
	}

	.dk-sidebar__kicker {
		padding-inline: 10px;
	}
}

.dk-footer {
	margin-top: 24px;
	border-top: 1px solid var(--dk-border);
	font-size: 0.8125rem;
	color: var(--dk-muted);
}

.dk-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	max-width: 1600px;
	margin-inline: auto;
	padding: 16px var(--dk-gutter);
}

.dk-footer__nav {
	display: flex;
	gap: 16px;
}

.dk-footer a {
	color: var(--dk-muted);
}

.dk-footer a:hover {
	color: var(--dk-brown);
}

.dk-footer__meta {
	margin: 0;
}

@media (min-width: 1200px) {
	.dk-footer__inner {
		padding-left: calc(var(--dk-sidebar-w) + var(--dk-gutter));
	}
}

.dk-page {
	padding: 16px var(--dk-gutter) 32px;
}

.dk-page__title {
	margin-bottom: 16px;
}

.dk-layout {
	display: grid;
	gap: 16px;
	align-items: start;
}

.dk-layout__full {
	grid-column: 1 / -1;
	min-width: 0;
}

.dk-layout__main,
.dk-layout__aside {
	display: grid;
	gap: 16px;
	align-content: start;
	min-width: 0;
}

@media (min-width: 960px) {
	.dk-layout {
		grid-template-columns: minmax(0, 1fr) var(--dk-aside-w);
	}
}

.dk-prose {
	max-width: 820px;
	padding: 24px var(--dk-gutter);
	background: var(--dk-surface);
	border: 1px solid var(--dk-border);
	border-radius: var(--dk-radius-lg);
	box-shadow: var(--dk-shadow);
	font-size: 1rem;
	line-height: 1.65;
}

@media (min-width: 960px) {
	.dk-prose {
		padding: 32px 40px;
	}

	.dk-prose h1 {
		font-size: 2rem;
	}
}

.dk-prose h2 {
	margin-top: 1.6em;
}

.dk-prose h3 {
	margin-top: 1.4em;
}

.dk-prose :is(ul, ol) {
	padding-left: 1.25em;
}

.dk-prose li + li {
	margin-top: 0.25em;
}

.dk-prose blockquote {
	margin-inline: 0;
	padding-left: 16px;
	border-left: 3px solid var(--dk-brown-tint);
	font-family: var(--dk-font-serif);
	font-style: italic;
	color: var(--dk-muted);
}

.dk-prose img {
	border-radius: var(--dk-radius);
}

.dk-prose figcaption {
	margin-top: 6px;
	font-size: 0.8125rem;
	color: var(--dk-muted);
}

.dk-prose table {
	width: 100%;
	margin-bottom: 1em;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.dk-prose :is(th, td) {
	padding: 8px 10px;
	border-bottom: 1px solid var(--dk-border);
	text-align: left;
}

.dk-prose hr {
	margin: 2em 0;
	border: 0;
	border-top: 1px solid var(--dk-border);
}

.dk-prose > :last-child {
	margin-bottom: 0;
}

.dk-list {
	display: grid;
	gap: 12px;
	max-width: 820px;
}

.dk-list__item .dk-card__title a {
	color: inherit;
	text-decoration: none;
}

.dk-list__item .dk-card__title a:hover {
	color: var(--dk-brown);
}

.dk-list__item p:last-child {
	margin-bottom: 0;
}

.dk-notfound {
	max-width: 720px;
}

.dk-notfound__search {
	display: flex;
	gap: 8px;
	margin: 20px 0;
}

.dk-notfound__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
