:root {
	--dp-ink: #161616;
	--dp-ink-soft: #333733;
	--dp-muted: #636960;
	--dp-paper: #fbfbf8;
	--dp-panel: #ffffff;
	--dp-line: #deded6;
	--dp-line-strong: #b9b9ad;
	--dp-signal: #f0bf32;
	--dp-alert: #c83d36;
	--dp-trust: #0f766e;
	--dp-link: #225c8d;
	--dp-violet: #5a4cc7;
	--dp-shadow: 0 18px 45px rgba(22, 22, 22, 0.08);
	--dp-radius: 8px;
	--dp-radius-small: 5px;
	--dp-max: 1180px;
	--dp-narrow: 760px;
	--dp-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--dp-font-serif: Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--dp-paper);
	color: var(--dp-ink);
	font-family: var(--dp-font-sans);
	font-size: 16px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
}

body.menu-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: var(--dp-link);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--dp-alert);
}

button,
input,
textarea,
select {
	font: inherit;
}

.screen-reader-text,
.skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 16px;
	left: 16px;
	z-index: 200;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 14px;
	clip: auto;
	background: var(--dp-ink);
	color: #fff;
	border-radius: var(--dp-radius-small);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(251, 251, 248, 0.96);
	border-bottom: 1px solid var(--dp-line);
	backdrop-filter: blur(14px);
}

.site-header__bar {
	background: var(--dp-ink);
	color: #fff;
}

.site-header__inner,
.dp-container {
	width: min(calc(100% - 32px), var(--dp-max));
	margin-inline: auto;
}

.dp-container--narrow {
	width: min(calc(100% - 32px), var(--dp-narrow));
}

.site-header__bar .site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 34px;
	gap: 20px;
}

.site-header__signal {
	margin: 0;
	color: var(--dp-signal);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.site-header__utility {
	display: flex;
	gap: 18px;
	font-size: 0.84rem;
}

.site-header__utility a {
	color: #fff;
	text-decoration: none;
}

.site-header__utility a:hover,
.site-header__utility a:focus-visible {
	color: var(--dp-signal);
}

.site-header__main {
	background: var(--dp-panel);
}

.site-header__layout {
	display: grid;
	grid-template-columns: minmax(210px, auto) minmax(280px, 1fr) minmax(190px, 260px);
	align-items: center;
	gap: 24px;
	min-height: 82px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.site-branding__mark,
.custom-logo-link {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border: 2px solid var(--dp-ink);
	border-radius: 50%;
	background: var(--dp-signal);
	color: var(--dp-ink);
	font-size: 0.92rem;
	font-weight: 900;
	text-decoration: none;
	box-shadow: 4px 4px 0 var(--dp-ink);
}

.custom-logo-link img {
	max-width: 48px;
	max-height: 48px;
	border-radius: 50%;
}

.site-branding__text {
	min-width: 0;
}

.site-title {
	margin: 0;
	font-size: 1.18rem;
	font-weight: 900;
	line-height: 1.1;
}

.site-title a {
	color: var(--dp-ink);
	text-decoration: none;
}

.site-description {
	margin: 3px 0 0;
	color: var(--dp-muted);
	font-size: 0.84rem;
	line-height: 1.25;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation a {
	display: block;
	padding: 9px 11px;
	border-radius: var(--dp-radius-small);
	color: var(--dp-ink);
	font-size: 0.92rem;
	font-weight: 800;
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation .current-menu-item > a {
	background: #eeeeea;
	color: var(--dp-ink);
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--dp-line-strong);
	border-radius: var(--dp-radius-small);
	background: var(--dp-panel);
	color: var(--dp-ink);
	cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 20px;
	height: 2px;
	margin: 4px auto;
	background: currentColor;
	transition: transform 160ms ease, opacity 160ms ease;
}

.menu-open .menu-toggle span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
	opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.search-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 42px;
	min-width: 0;
	border: 1px solid var(--dp-line-strong);
	border-radius: var(--dp-radius-small);
	background: var(--dp-panel);
	overflow: hidden;
}

.search-form label {
	min-width: 0;
}

.search-field {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 0;
	background: transparent;
	color: var(--dp-ink);
	outline: none;
}

.search-submit {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-left: 1px solid var(--dp-line-strong);
	background: var(--dp-signal);
	color: var(--dp-ink);
	cursor: pointer;
}

.search-submit span {
	position: relative;
	width: 14px;
	height: 14px;
	border: 2px solid currentColor;
	border-radius: 50%;
}

.search-submit span::after {
	content: "";
	position: absolute;
	right: -7px;
	bottom: -6px;
	width: 8px;
	height: 2px;
	background: currentColor;
	transform: rotate(45deg);
	transform-origin: center;
}

.site-main {
	min-height: 58vh;
}

.dp-section,
.dp-front {
	padding: 48px 0;
}

.dp-front {
	border-bottom: 1px solid var(--dp-line);
	background: var(--dp-paper);
}

.dp-front__masthead {
	display: grid;
	gap: 12px;
	max-width: 820px;
	margin-bottom: 34px;
}

.dp-eyebrow,
.dp-kicker {
	display: inline-flex;
	width: max-content;
	max-width: 100%;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: var(--dp-alert);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	text-decoration: none;
}

.dp-eyebrow::before,
.dp-kicker::before {
	content: "";
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--dp-signal);
	box-shadow: 0 0 0 2px var(--dp-ink);
}

.dp-front__masthead h1,
.dp-page-header h1,
.dp-article__header h1 {
	margin: 0;
	color: var(--dp-ink);
	font-family: var(--dp-font-serif);
	font-size: 4rem;
	line-height: 0.98;
	letter-spacing: 0;
}

.dp-front__masthead p:not(.dp-eyebrow) {
	max-width: 680px;
	margin: 0;
	color: var(--dp-ink-soft);
	font-size: 1.18rem;
	line-height: 1.55;
}

.dp-featured {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
	align-items: stretch;
	min-height: 430px;
	border: 1px solid var(--dp-ink);
	border-radius: var(--dp-radius);
	background: var(--dp-panel);
	box-shadow: 6px 6px 0 var(--dp-ink);
	overflow: hidden;
}

.dp-featured__media {
	min-height: 100%;
	background: var(--dp-ink);
}

.dp-featured__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16 / 9;
}

.dp-featured__media.dp-thumb--fallback {
	position: relative;
	display: block;
	min-height: 430px;
	background: var(--dp-ink);
	color: #fff;
	text-decoration: none;
}

.dp-featured__media.dp-thumb--fallback::after,
.dp-thumb--fallback::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(22, 22, 22, 0.2);
}

.dp-featured__media.dp-thumb--fallback img {
	width: 100%;
	height: 100%;
	min-height: 430px;
	object-fit: cover;
}

.dp-featured__media.dp-thumb--fallback span {
	position: absolute;
	left: 28px;
	bottom: 28px;
	z-index: 1;
	max-width: 14ch;
	font-family: var(--dp-font-serif);
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
}

.dp-featured__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 16px;
	padding: 32px;
}

.dp-featured__title {
	margin: 0;
	font-family: var(--dp-font-serif);
	font-size: 2.5rem;
	line-height: 1.04;
}

.dp-featured__title a,
.dp-card__title a {
	color: var(--dp-ink);
	text-decoration: none;
}

.dp-featured__title a:hover,
.dp-featured__title a:focus-visible,
.dp-card__title a:hover,
.dp-card__title a:focus-visible {
	color: var(--dp-alert);
}

.dp-featured__excerpt,
.dp-card__excerpt,
.dp-archive-description {
	color: var(--dp-muted);
}

.dp-featured__excerpt p,
.dp-card__excerpt p {
	margin: 0;
}

.dp-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	color: var(--dp-muted);
	font-size: 0.86rem;
	font-weight: 700;
}

.dp-meta span,
.dp-meta time {
	display: inline-flex;
	align-items: center;
}

.dp-meta span + time::before,
.dp-meta time + span::before,
.dp-meta span + span::before {
	content: "";
	width: 4px;
	height: 4px;
	margin-right: 14px;
	border-radius: 50%;
	background: var(--dp-line-strong);
}

.dp-section__header,
.dp-page-header {
	display: grid;
	gap: 10px;
	margin-bottom: 24px;
}

.dp-section__header h2,
.dp-page-header h1 {
	margin: 0;
	font-family: var(--dp-font-serif);
	font-size: 2.2rem;
	line-height: 1.08;
	letter-spacing: 0;
}

.dp-section--channels {
	padding-bottom: 20px;
}

.dp-channel-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.dp-channel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 86px;
	padding: 18px;
	border: 1px solid var(--dp-line-strong);
	border-left: 6px solid var(--dp-trust);
	border-radius: var(--dp-radius);
	background: var(--dp-panel);
	color: var(--dp-ink);
	text-decoration: none;
}

.dp-channel:nth-child(2n) {
	border-left-color: var(--dp-alert);
}

.dp-channel:nth-child(3n) {
	border-left-color: var(--dp-signal);
}

.dp-channel span {
	font-size: 1.02rem;
	font-weight: 900;
	line-height: 1.2;
}

.dp-channel small {
	flex: 0 0 auto;
	color: var(--dp-muted);
	font-weight: 800;
}

.dp-channel:hover,
.dp-channel:focus-visible {
	border-color: var(--dp-ink);
	color: var(--dp-ink);
	box-shadow: 4px 4px 0 var(--dp-ink);
}

.dp-grid {
	display: grid;
	gap: 20px;
}

.dp-grid--cards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dp-card {
	display: grid;
	grid-template-rows: auto 1fr;
	min-width: 0;
	border: 1px solid var(--dp-line-strong);
	border-radius: var(--dp-radius);
	background: var(--dp-panel);
	overflow: hidden;
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.dp-card:hover,
.dp-card:focus-within {
	transform: translateY(-2px);
	border-color: var(--dp-ink);
	box-shadow: var(--dp-shadow);
}

.dp-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	background: #ecece5;
	overflow: hidden;
}

.dp-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dp-thumb--fallback {
	position: relative;
	display: block;
	background: var(--dp-ink);
	color: #fff;
	text-decoration: none;
}

.dp-thumb--fallback img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dp-thumb--fallback span {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 1;
	max-width: 13ch;
	font-size: 1.2rem;
	font-weight: 900;
	line-height: 1.1;
}

.dp-card__body {
	display: grid;
	align-content: start;
	gap: 12px;
	padding: 18px;
}

.dp-card__topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: var(--dp-muted);
	font-size: 0.76rem;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.dp-card__topline .dp-kicker {
	font-size: inherit;
	letter-spacing: inherit;
}

.dp-card__topline span {
	flex: 0 0 auto;
}

.dp-card__title {
	margin: 0;
	font-family: var(--dp-font-serif);
	font-size: 1.45rem;
	line-height: 1.12;
}

.dp-card__excerpt {
	font-size: 0.96rem;
}

.dp-article__header {
	padding: 48px 0 30px;
}

.dp-article__header .dp-container {
	display: grid;
	gap: 16px;
}

.dp-article__image {
	margin: 0 0 34px;
	border-radius: var(--dp-radius);
	overflow: hidden;
	background: var(--dp-panel);
}

.dp-article__image img {
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

.dp-article__image figcaption {
	padding: 10px 2px 0;
	color: var(--dp-muted);
	font-size: 0.86rem;
}

.dp-article__layout {
	display: grid;
	grid-template-columns: minmax(0, var(--dp-narrow)) minmax(230px, 1fr);
	gap: 54px;
	align-items: start;
}

.entry-content {
	font-size: 1.08rem;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.25em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.8em 0 0.55em;
	color: var(--dp-ink);
	line-height: 1.12;
	letter-spacing: 0;
}

.entry-content h2 {
	font-family: var(--dp-font-serif);
	font-size: 2rem;
}

.entry-content h3 {
	font-size: 1.42rem;
}

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 18px 20px;
	border-left: 6px solid var(--dp-signal);
	background: #f3f3ed;
	color: var(--dp-ink-soft);
}

.entry-content code {
	padding: 0.12em 0.28em;
	border-radius: var(--dp-radius-small);
	background: #eeeeea;
	font-size: 0.92em;
}

.entry-content pre {
	overflow-x: auto;
	padding: 18px;
	border-radius: var(--dp-radius);
	background: var(--dp-ink);
	color: #fff;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5em 0;
	font-size: 0.96rem;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border: 1px solid var(--dp-line-strong);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: #eeeeea;
}

.dp-article__aside {
	position: sticky;
	top: 126px;
	display: grid;
	gap: 18px;
}

.dp-author,
.widget {
	padding: 18px;
	border: 1px solid var(--dp-line-strong);
	border-radius: var(--dp-radius);
	background: var(--dp-panel);
}

.dp-author {
	display: grid;
	gap: 12px;
}

.dp-author img {
	width: 72px;
	height: 72px;
	border-radius: 50%;
}

.dp-author p,
.dp-author strong,
.dp-author span {
	display: block;
	margin: 0;
}

.dp-author p,
.dp-author span,
.widget {
	color: var(--dp-muted);
	font-size: 0.92rem;
}

.dp-author strong {
	color: var(--dp-ink);
	font-size: 1rem;
}

.widget-title {
	margin: 0 0 10px;
	color: var(--dp-ink);
	font-size: 1rem;
}

.dp-article__footer {
	padding: 38px 0 54px;
}

.dp-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 34px;
}

.dp-tags span,
.dp-tags a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 9px;
	border: 1px solid var(--dp-line-strong);
	border-radius: var(--dp-radius-small);
	background: var(--dp-panel);
	color: var(--dp-ink-soft);
	font-size: 0.84rem;
	font-weight: 800;
	text-decoration: none;
}

.dp-related {
	margin-top: 34px;
}

.dp-page {
	padding: 48px 0;
}

.dp-empty {
	display: grid;
	gap: 14px;
	padding: 42px;
	border: 1px solid var(--dp-line-strong);
	border-radius: var(--dp-radius);
	background: var(--dp-panel);
	text-align: left;
}

.dp-empty h1,
.dp-empty h2 {
	margin: 0;
	font-family: var(--dp-font-serif);
	font-size: 2.2rem;
	line-height: 1.1;
}

.dp-empty p {
	margin: 0;
	color: var(--dp-muted);
}

.navigation.pagination {
	margin-top: 30px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	min-height: 38px;
	padding: 5px 10px;
	border: 1px solid var(--dp-line-strong);
	border-radius: var(--dp-radius-small);
	background: var(--dp-panel);
	color: var(--dp-ink);
	font-weight: 800;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus-visible {
	background: var(--dp-ink);
	color: #fff;
}

.comments-area {
	padding: 0 0 56px;
}

.comments-title,
.comment-reply-title {
	margin: 0 0 18px;
	font-family: var(--dp-font-serif);
	font-size: 1.8rem;
	line-height: 1.15;
}

.comment-list {
	display: grid;
	gap: 16px;
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.comment-body {
	padding: 18px;
	border: 1px solid var(--dp-line-strong);
	border-radius: var(--dp-radius);
	background: var(--dp-panel);
}

.comment-form {
	display: grid;
	gap: 14px;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-weight: 800;
}

.comment-form textarea,
.comment-form input:not([type="submit"]) {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid var(--dp-line-strong);
	border-radius: var(--dp-radius-small);
	background: var(--dp-panel);
	color: var(--dp-ink);
}

.comment-form input[type="submit"] {
	width: max-content;
	padding: 10px 16px;
	border: 1px solid var(--dp-ink);
	border-radius: var(--dp-radius-small);
	background: var(--dp-signal);
	color: var(--dp-ink);
	font-weight: 900;
	cursor: pointer;
}

.site-footer {
	border-top: 1px solid var(--dp-ink);
	background: var(--dp-ink);
	color: #fff;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 0.7fr);
	gap: 28px;
	width: min(calc(100% - 32px), var(--dp-max));
	margin-inline: auto;
	padding: 34px 0;
}

.site-footer__title {
	margin: 0 0 6px;
	color: var(--dp-signal);
	font-size: 1.1rem;
	font-weight: 900;
}

.site-footer p {
	margin: 0;
	color: #d9d9d0;
}

.site-footer__nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--dp-signal);
}

.site-footer .widget {
	border-color: rgba(255, 255, 255, 0.22);
	background: transparent;
	color: #d9d9d0;
}

@media (max-width: 980px) {
	.site-header__layout {
		grid-template-columns: minmax(0, 1fr) 44px;
		min-height: 72px;
	}

	.menu-toggle {
		display: block;
		justify-self: end;
	}

	.main-navigation,
	.site-search {
		grid-column: 1 / -1;
		display: none;
	}

	.menu-open .main-navigation,
	.menu-open .site-search {
		display: block;
	}

	.main-navigation ul {
		display: grid;
		justify-content: stretch;
		gap: 4px;
		padding: 8px 0 2px;
	}

	.main-navigation a {
		padding: 12px 0;
	}

	.site-search {
		padding-bottom: 14px;
	}

	.dp-featured,
	.dp-article__layout,
	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.dp-featured {
		min-height: 0;
	}

	.dp-featured__media.dp-thumb--fallback {
		min-height: 280px;
	}

	.dp-article__aside {
		position: static;
	}

	.dp-grid--cards,
	.dp-channel-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.site-header {
		position: relative;
	}

	.site-header__bar .site-header__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
		padding: 8px 0;
	}

	.site-header__utility {
		width: 100%;
		overflow-x: auto;
		padding-bottom: 2px;
	}

	.site-branding__mark,
	.custom-logo-link {
		width: 46px;
		height: 46px;
		box-shadow: 3px 3px 0 var(--dp-ink);
	}

	.dp-section,
	.dp-front {
		padding: 34px 0;
	}

	.dp-front__masthead h1,
	.dp-page-header h1,
	.dp-article__header h1 {
		font-size: 2.7rem;
	}

	.dp-front__masthead p:not(.dp-eyebrow) {
		font-size: 1.04rem;
	}

	.dp-featured {
		box-shadow: 4px 4px 0 var(--dp-ink);
	}

	.dp-featured__content {
		padding: 22px;
	}

	.dp-featured__title {
		font-size: 2rem;
	}

	.dp-grid--cards,
	.dp-channel-grid {
		grid-template-columns: 1fr;
	}

	.dp-channel {
		min-height: 72px;
	}

	.entry-content {
		font-size: 1rem;
	}

	.entry-content h2 {
		font-size: 1.7rem;
	}

	.dp-empty {
		padding: 26px;
	}
}
