/*
 * Roar Dispatch: base, layout and components.
 *
 * Colour, type and size tokens are printed inline from the Customizer and
 * override the fallbacks below. Dark mode swaps the surface tokens on
 * html[data-theme="dark"], which the head script sets before first paint.
 */

/* ---------------------------------------------------------------- Tokens */

:root {
	--dp-ink: #14171c;
	--dp-accent: #c8102e;
	--dp-bg: #fff;
	--dp-surface: #f4f4f1;
	--dp-muted: #5f646d;
	--dp-line: #e3e3de;
	--dp-nav-bg: #14171c;
	--dp-nav-text: #fff;
	--dp-footer-bg: #0e1014;
	--dp-footer-text: #c9ccd1;
	--dp-font-display: Georgia, serif;
	--dp-font-body: system-ui, sans-serif;
	--dp-base: 17px;
	--dp-radius: 4px;
	--dp-container: 1280px;
	--dp-logo-h: 56px;
	--dp-logo-h-sm: 36px;
	--dp-ticker-speed: 60s;

	--dp-cat: var(--dp-accent);
	--dp-on-accent: #fff;
	--dp-overlay: linear-gradient(180deg, rgb(0 0 0 / 0) 25%, rgb(0 0 0 / 0.55) 55%, rgb(0 0 0 / 0.88) 100%);
	--dp-card-bg: var(--dp-bg);
	--dp-elev: 0 1px 2px rgb(16 18 22 / 0.06), 0 6px 20px rgb(16 18 22 / 0.06);

	--dp-gutter: clamp(16px, 3vw, 32px);
	--dp-gap: clamp(16px, 2.2vw, 28px);
	--dp-section: clamp(32px, 5vw, 56px);
	--dp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--dp-sticky-top: 0px;

	color-scheme: light;
}

html[data-theme="dark"] {
	--dp-ink: #e9eaec;
	--dp-bg: #111317;
	--dp-surface: #1a1d23;
	--dp-muted: #9aa0aa;
	--dp-line: #2a2e36;
	--dp-card-bg: #161a20;
	--dp-elev: 0 1px 2px rgb(0 0 0 / 0.4), 0 8px 24px rgb(0 0 0 / 0.3);
	--dp-accent: color-mix(in srgb, var(--dp-accent-base, #c8102e) 80%, #fff);

	color-scheme: dark;
}

/* ------------------------------------------------------------------ Base */

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--dp-sticky-top) + 64px);
}

body {
	margin: 0;
	background: var(--dp-bg);
	color: var(--dp-ink);
	font-family: var(--dp-font-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body.dp-locked {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--dp-accent);
}

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

button {
	cursor: pointer;
}

:focus-visible {
	outline: 2px solid var(--dp-accent);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;
	font-family: var(--dp-font-display);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: var(--dp-ink);
}

p {
	margin: 0 0 1em;
}

ul,
ol {
	margin: 0;
	padding: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--dp-line);
	margin: 2em 0;
}

.screen-reader-text {
	position: absolute !important;
	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 !important;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--dp-ink);
	color: var(--dp-bg);
	border-radius: var(--dp-radius);
}

.dp-container {
	width: 100%;
	max-width: calc(var(--dp-container) + 2 * var(--dp-gutter));
	margin-inline: auto;
	padding-inline: var(--dp-gutter);
}

.dp-main {
	display: block;
	min-height: 50vh;
	outline: 0;
}

.dp-icon {
	flex-shrink: 0;
}

/* --------------------------------------------------------------- Buttons */

.dp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 42px;
	padding: 0 18px;
	border: 1px solid transparent;
	border-radius: var(--dp-radius);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	line-height: 1;
	white-space: nowrap;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--dp-ease);
}

.dp-btn:active {
	transform: translateY(1px);
}

.dp-btn--accent {
	background: var(--dp-accent);
	color: var(--dp-on-accent);
}

.dp-btn--accent:hover {
	background: color-mix(in srgb, var(--dp-accent) 85%, #000);
	color: var(--dp-on-accent);
}

.dp-btn--ghost {
	border-color: currentColor;
	background: transparent;
}

.dp-btn--ghost:hover {
	color: var(--dp-accent);
}

.dp-btn--sm {
	min-height: 34px;
	padding: 0 12px;
	font-size: 12px;
}

.dp-btn--block {
	display: flex;
	width: 100%;
}

/* ---------------------------------------------------------------- Top bar */

.dp-topbar {
	background: var(--dp-surface);
	border-bottom: 1px solid var(--dp-line);
	font-size: 13px;
	color: var(--dp-muted);
}

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

.dp-topbar__start,
.dp-topbar__end {
	display: flex;
	align-items: center;
	gap: 20px;
	min-width: 0;
}

.dp-topbar__date {
	font-weight: 600;
	color: var(--dp-ink);
	white-space: nowrap;
}

.dp-topbar__menu {
	display: flex;
	gap: 18px;
	list-style: none;
}

.dp-topbar__menu a:hover {
	color: var(--dp-ink);
}

/* ----------------------------------------------------------------- Social */

.dp-social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
}

.dp-social a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: inherit;
	transition: background-color 0.2s, color 0.2s;
}

.dp-social a:hover {
	background: var(--dp-accent);
	color: var(--dp-on-accent);
}

.dp-social--topbar a {
	width: 28px;
	height: 28px;
}

.dp-social--topbar .dp-icon {
	width: 15px;
	height: 15px;
}

.dp-social--small a {
	width: 30px;
	height: 30px;
	background: var(--dp-surface);
}

/* ------------------------------------------------------------ Mode toggle */

.dp-mode-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px;
	border: 1px solid var(--dp-line);
	border-radius: 999px;
	background: var(--dp-bg);
	color: var(--dp-ink);
	line-height: 1;
}

.dp-mode-toggle__sun,
html[data-theme="dark"] .dp-mode-toggle__moon {
	display: none;
}

html[data-theme="dark"] .dp-mode-toggle__sun {
	display: block;
}

.dp-mode-toggle--wide {
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
}

/* --------------------------------------------------------------- Masthead */

.dp-masthead {
	background: var(--dp-bg);
}

.dp-masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: calc(var(--dp-logo-h) + 40px);
	padding-block: 20px;
}

.dp-masthead__side {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dp-masthead__side--end {
	justify-content: flex-end;
}

.dp-header-center .dp-masthead__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
}

.dp-header-center .dp-logo {
	text-align: center;
}

.dp-logo {
	margin: 0;
	line-height: 1;
}

.dp-logo img,
.dp-logo .custom-logo {
	display: block;
	width: auto;
	height: var(--dp-logo-h);
	max-width: min(100%, 420px);
	object-fit: contain;
	object-position: left center;
}

.dp-header-center .dp-logo img {
	margin-inline: auto;
	object-position: center;
}

.dp-logo--text a {
	font-family: var(--dp-font-display);
	font-size: clamp(26px, 3.4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--dp-ink);
}

.dp-logo__dark,
html[data-theme="dark"] .dp-logo--has-dark .custom-logo-link {
	display: none;
}

html[data-theme="dark"] .dp-logo--has-dark .dp-logo__dark {
	display: block;
}

.dp-masthead .dp-ad {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

.dp-masthead .dp-ad__label {
	display: none;
}

/* ---------------------------------------------------------------- Navbar */

.dp-navbar {
	position: relative;
	z-index: 40;
	background: var(--dp-nav-bg);
	color: var(--dp-nav-text);
	border-top: 3px solid var(--dp-accent);
}

/* The header box would confine the sticky menu bar, so it steps out of the layout. */
.dp-sticky-nav .dp-header {
	display: contents;
}

.dp-sticky-nav .dp-navbar {
	position: sticky;
	top: var(--dp-sticky-top);
}

.admin-bar {
	--dp-sticky-top: 32px;
}

@media (max-width: 782px) {
	.admin-bar {
		--dp-sticky-top: 0px;
	}
}

.dp-navbar__inner {
	display: flex;
	align-items: stretch;
	gap: 4px;
	min-height: 52px;
}

.dp-navbar__btn,
.dp-navbar__home {
	display: grid;
	place-items: center;
	width: 48px;
	flex-shrink: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
}

.dp-navbar__btn:hover,
.dp-navbar__home:hover {
	color: inherit;
	background: rgb(255 255 255 / 0.08);
}

.dp-navbar__menu-btn {
	display: none;
}

.dp-navbar__home {
	margin-left: calc(-1 * 14px);
}

.dp-navbar__tools {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.dp-navbar__donate {
	display: none;
}

.dp-is-stuck .dp-navbar__donate {
	display: inline-flex;
}

.dp-nav {
	flex: 1 1 auto;
	min-width: 0;
}

.dp-menu {
	display: flex;
	align-items: stretch;
	height: 100%;
	list-style: none;
}

.dp-menu > li {
	position: relative;
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.dp-menu > li > a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	white-space: nowrap;
	color: inherit;
}

.dp-menu > li.menu-item-has-children > a {
	padding-right: 4px;
}

.dp-menu > li > a:hover,
.dp-menu > li:focus-within > a,
.dp-menu > .current-menu-item > a,
.dp-menu > .current-menu-ancestor > a,
.dp-menu > .current-menu-parent > a {
	color: inherit;
	background: rgb(255 255 255 / 0.08);
	box-shadow: inset 0 -3px 0 var(--dp-accent);
}

.dp-sub-toggle {
	display: grid;
	place-items: center;
	width: 26px;
	height: 100%;
	padding: 0 8px 0 0;
	border: 0;
	background: none;
	color: inherit;
	opacity: 0.75;
}

.dp-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	min-width: 230px;
	padding: 8px 0;
	list-style: none;
	background: var(--dp-card-bg);
	color: var(--dp-ink);
	border: 1px solid var(--dp-line);
	border-top: 3px solid var(--dp-accent);
	border-radius: 0 0 var(--dp-radius) var(--dp-radius);
	box-shadow: var(--dp-elev);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s, transform 0.18s var(--dp-ease), visibility 0.18s;
}

.dp-menu .sub-menu .sub-menu {
	top: -11px;
	left: 100%;
	border-radius: var(--dp-radius);
}

.dp-menu li:hover > .sub-menu,
.dp-menu li:focus-within > .sub-menu,
.dp-menu li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.dp-menu .sub-menu li {
	position: relative;
	display: flex;
	align-items: center;
}

.dp-menu .sub-menu a {
	flex: 1;
	display: block;
	padding: 9px 18px;
	font-size: 14px;
	font-weight: 600;
}

.dp-menu .sub-menu a:hover,
.dp-menu .sub-menu .current-menu-item > a {
	background: var(--dp-surface);
	color: var(--dp-accent);
}

.dp-menu .sub-menu .dp-sub-toggle {
	height: auto;
	transform: rotate(-90deg);
	padding: 0;
	margin-right: 8px;
}

/* "More" folding of items that do not fit, added by main.js. */
.dp-menu-more__btn {
	display: flex;
	align-items: center;
	gap: 4px;
	width: auto;
	padding: 0 12px 0 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	opacity: 1;
}

.dp-menu-more__btn:hover,
.dp-menu-more.is-open > .dp-menu-more__btn {
	background: rgb(255 255 255 / 0.08);
}

.dp-menu > li.dp-menu-more > .sub-menu {
	left: auto;
	right: 0;
}

.dp-menu > li.dp-menu-more .sub-menu .sub-menu {
	position: static;
	min-width: 0;
	padding: 0 0 6px 12px;
	border: 0;
	box-shadow: none;
	opacity: 1;
	visibility: visible;
	transform: none;
}

.dp-menu > li.dp-menu-more .sub-menu .dp-sub-toggle {
	display: none;
}

.dp-menu > li.dp-menu-more .sub-menu li {
	flex-wrap: wrap;
}

.dp-menu > li.dp-menu-more .sub-menu .sub-menu {
	flex-basis: 100%;
}

/* ---------------------------------------------------------------- Ticker */

.dp-ticker {
	background: var(--dp-bg);
	border-bottom: 1px solid var(--dp-line);
	font-size: 14px;
}

.dp-ticker__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 44px;
}

.dp-ticker__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	margin: 0;
	padding: 6px 12px;
	background: var(--dp-ink);
	color: var(--dp-bg);
	border-radius: var(--dp-radius);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dp-ticker--breaking .dp-ticker__label {
	background: var(--dp-accent);
	color: var(--dp-on-accent);
}

.dp-ticker__pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dp-accent);
}

.dp-ticker--breaking .dp-ticker__pulse {
	background: #fff;
}

.dp-ticker__pulse::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: inherit;
	animation: dp-pulse 1.6s ease-out infinite;
}

@keyframes dp-pulse {
	from {
		transform: scale(1);
		opacity: 0.8;
	}

	to {
		transform: scale(2.8);
		opacity: 0;
	}
}

.dp-ticker__viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.dp-ticker__track {
	display: flex;
	width: max-content;
	animation: dp-ticker var(--dp-ticker-speed) linear infinite;
}

.dp-ticker:hover .dp-ticker__track,
.dp-ticker:focus-within .dp-ticker__track,
.dp-ticker.is-paused .dp-ticker__track {
	animation-play-state: paused;
}

@keyframes dp-ticker {
	to {
		transform: translateX(-50%);
	}
}

.dp-ticker__list {
	display: flex;
	list-style: none;
}

.dp-ticker__list li {
	display: flex;
	align-items: center;
	white-space: nowrap;
}

.dp-ticker__list li::after {
	content: "";
	width: 5px;
	height: 5px;
	margin: 0 22px;
	border-radius: 50%;
	background: var(--dp-accent);
}

.dp-ticker__list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
}

.dp-ticker__list .dp-icon {
	color: var(--dp-accent);
}

.dp-ticker__pause {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid var(--dp-line);
	border-radius: 50%;
	background: none;
}

.dp-ticker__icon-play,
.dp-ticker.is-paused .dp-ticker__icon-pause {
	display: none;
}

.dp-ticker.is-paused .dp-ticker__icon-play {
	display: block;
}

/* ---------------------------------------------------------------- Search */

.dp-search {
	position: fixed;
	inset: 0 0 auto;
	z-index: 200;
	padding: calc(var(--dp-sticky-top) + 28px) 0 28px;
	background: var(--dp-bg);
	border-bottom: 1px solid var(--dp-line);
	box-shadow: 0 20px 60px rgb(0 0 0 / 0.2);
	animation: dp-drop 0.22s var(--dp-ease);
}

@keyframes dp-drop {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}
}

.dp-search__inner {
	display: flex;
	align-items: center;
	gap: 12px;
}

.dp-search__inner .dp-search-form {
	flex: 1;
}

.dp-search__inner .dp-search-form__input {
	height: 60px;
	font-size: clamp(18px, 2.4vw, 24px);
}

.dp-search__close,
.dp-drawer__close {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--dp-surface);
}

.dp-search-form {
	position: relative;
	display: flex;
}

.dp-search-form__input {
	width: 100%;
	height: 48px;
	padding: 0 52px 0 16px;
	border: 1px solid var(--dp-line);
	border-radius: var(--dp-radius);
	background: var(--dp-bg);
	appearance: none;
}

.dp-search-form__input:focus {
	border-color: var(--dp-ink);
	outline: 0;
}

.dp-search-form__btn {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	display: grid;
	place-items: center;
	width: 48px;
	border: 0;
	background: none;
}

/* ---------------------------------------------------------------- Drawer */

.dp-drawer {
	position: fixed;
	inset: 0;
	z-index: 210;
}

/* Keep the drawer below the WordPress toolbar for logged-in editors. */
.admin-bar .dp-drawer {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .dp-drawer {
		top: 46px;
	}
}

.dp-drawer__scrim {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 0.5);
	animation: dp-fade 0.2s;
}

@keyframes dp-fade {
	from {
		opacity: 0;
	}
}

.dp-drawer__panel {
	position: absolute;
	inset: 0 auto 0 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(88vw, 380px);
	overflow-y: auto;
	background: var(--dp-bg);
	animation: dp-slide 0.26s var(--dp-ease);
	overscroll-behavior: contain;
}

@keyframes dp-slide {
	from {
		transform: translateX(-100%);
	}
}

.dp-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid var(--dp-line);
}

.dp-drawer__head .dp-logo img {
	height: var(--dp-logo-h-sm);
}

.dp-drawer__head .dp-logo--text a {
	font-size: 24px;
}

.dp-drawer__search {
	padding: 16px;
}

.dp-drawer__nav {
	flex: 1;
	padding: 0 8px;
}

.dp-drawer__menu,
.dp-drawer__menu .sub-menu,
.dp-drawer__links {
	list-style: none;
}

.dp-drawer__menu li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	border-bottom: 1px solid var(--dp-line);
}

.dp-drawer__menu a {
	flex: 1;
	padding: 13px 8px;
	font-size: 16px;
	font-weight: 700;
}

.dp-drawer__menu .dp-sub-toggle {
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: var(--dp-radius);
	opacity: 1;
	transition: transform 0.2s;
}

.dp-drawer__menu .dp-sub-toggle[aria-expanded="true"] {
	transform: rotate(180deg);
}

.dp-drawer__menu .sub-menu {
	display: none;
	flex-basis: 100%;
	padding: 0 0 8px 14px;
}

.dp-drawer__menu .is-open > .sub-menu {
	display: block;
}

.dp-drawer__menu .sub-menu li {
	border: 0;
}

.dp-drawer__menu .sub-menu a {
	padding: 9px 8px;
	font-size: 15px;
	font-weight: 500;
	color: var(--dp-muted);
}

.dp-drawer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	padding: 18px 8px;
	font-size: 14px;
	color: var(--dp-muted);
}

.dp-drawer__foot {
	display: grid;
	gap: 12px;
	padding: 16px;
	border-top: 1px solid var(--dp-line);
}

/* --------------------------------------------------------- Reading bar */

.dp-progress {
	position: fixed;
	inset: var(--dp-sticky-top) 0 auto;
	z-index: 300;
	height: 3px;
	pointer-events: none;
}

.dp-progress span {
	display: block;
	height: 100%;
	background: var(--dp-accent);
	transform-origin: 0 50%;
	transform: scaleX(var(--dp-progress, 0));
}

/* -------------------------------------------------------- Section heads */

.dp-section {
	padding-block: calc(var(--dp-section) / 2);
}

.dp-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
	border-bottom: 2px solid var(--dp-ink);
}

.dp-section-head__title {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 -2px;
	padding: 0 0 10px;
	border-bottom: 2px solid var(--dp-cat);
	font-family: var(--dp-font-body);
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dp-section-head__title::before {
	content: "";
	width: 10px;
	height: 10px;
	background: var(--dp-cat);
	border-radius: 2px;
}

.dp-section-head__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding-bottom: 8px;
	font-size: 13px;
	font-weight: 700;
	color: var(--dp-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.dp-section-head__more:hover {
	color: var(--dp-cat);
}

.widget-title {
	display: flex;
	margin: 0 0 16px;
	border-bottom: 2px solid var(--dp-ink);
	font-family: var(--dp-font-body);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.widget-title span {
	margin-bottom: -2px;
	padding-bottom: 9px;
	border-bottom: 2px solid var(--dp-accent);
}

/* ---------------------------------------------------------------- Badges */

.dp-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}

.dp-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.07em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--dp-cat);
}

.dp-badge:hover {
	color: var(--dp-ink);
}

.dp-badge--breaking {
	padding: 4px 8px;
	border-radius: 2px;
	background: var(--dp-accent);
	color: #fff;
}

.dp-card--lead .dp-badge:not(.dp-badge--breaking),
.dp-card--overlay .dp-badge:not(.dp-badge--breaking),
.dp-card--video .dp-badge:not(.dp-badge--breaking) {
	padding: 4px 8px;
	border-radius: 2px;
	background: var(--dp-cat);
	color: #fff;
}

/* ------------------------------------------------------------------ Meta */

.dp-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	font-size: 13px;
	color: var(--dp-muted);
}

.dp-meta > span,
.dp-meta > a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.dp-meta__author {
	font-weight: 700;
	color: var(--dp-ink);
}

.dp-meta__author a:hover {
	color: var(--dp-accent);
}

.dp-meta__avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	margin-right: 4px;
}

/* ---------------------------------------------------------------- Thumbs */

.dp-thumb {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--dp-surface);
	border-radius: var(--dp-radius);
}

.dp-thumb__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--dp-ease);
}

.dp-card:hover .dp-thumb__img {
	transform: scale(1.04);
}

.dp-thumb__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	padding: 12px;
	background:
		radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--dp-cat) 40%, transparent), transparent 60%),
		linear-gradient(135deg, color-mix(in srgb, var(--dp-cat) 80%, #000), color-mix(in srgb, var(--dp-cat) 40%, #111));
	color: rgb(255 255 255 / 0.9);
	font-family: var(--dp-font-display);
	font-size: clamp(14px, 1.6vw, 22px);
	font-weight: 700;
	text-align: center;
}

.dp-card--lead .dp-thumb__placeholder span,
.dp-card--overlay .dp-thumb__placeholder span {
	display: none;
}

.dp-thumb__play {
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgb(0 0 0 / 0.65);
	color: #fff;
	backdrop-filter: blur(4px);
	transition: background-color 0.2s, transform 0.2s var(--dp-ease);
}

.dp-card:hover .dp-thumb__play {
	background: var(--dp-accent);
	transform: scale(1.08);
}

.dp-card--lead .dp-thumb__play,
.dp-card--overlay .dp-thumb__play {
	top: 14px;
	left: auto;
	right: 14px;
	bottom: auto;
}

/* ----------------------------------------------------------------- Cards */

.dp-card {
	position: relative;
	min-width: 0;
}

.dp-card__title {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.22;
	text-wrap: pretty;
}

.dp-card__title a {
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.3s var(--dp-ease), color 0.2s;
}

.dp-card__title a:hover {
	color: inherit;
	background-size: 100% 1px;
}

.dp-card__excerpt {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.55;
	color: var(--dp-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Lead and overlay: headline over the image. */
.dp-card--lead,
.dp-card--overlay {
	overflow: hidden;
	border-radius: var(--dp-radius);
	background: #111;
	isolation: isolate;
}

.dp-card--lead .dp-thumb,
.dp-card--overlay .dp-thumb {
	border-radius: 0;
}

.dp-card--lead .dp-thumb {
	aspect-ratio: 16 / 10;
}

.dp-card--overlay .dp-thumb {
	aspect-ratio: 4 / 3;
}

.dp-card--lead .dp-card__media::after,
.dp-card--overlay .dp-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--dp-overlay);
	pointer-events: none;
}

.dp-card--lead .dp-card__media,
.dp-card--overlay .dp-card__media {
	position: relative;
	height: 100%;
}

.dp-card--lead .dp-card__body,
.dp-card--overlay .dp-card__body {
	position: absolute;
	inset: auto 0 0;
	z-index: 1;
	padding: clamp(16px, 2.5vw, 32px);
	color: #fff;
	pointer-events: none;
}

.dp-card--lead .dp-card__body a,
.dp-card--overlay .dp-card__body a {
	pointer-events: auto;
}

.dp-card--lead .dp-card__title,
.dp-card--overlay .dp-card__title {
	color: #fff;
	text-shadow: 0 1px 12px rgb(0 0 0 / 0.3);
}

.dp-card--lead .dp-card__title {
	font-size: clamp(26px, 3.2vw, 42px);
	line-height: 1.1;
	max-width: 22ch;
}

.dp-card--overlay .dp-card__title {
	font-size: clamp(17px, 1.5vw, 20px);
}

.dp-card--lead .dp-card__excerpt {
	max-width: 60ch;
	color: rgb(255 255 255 / 0.85);
	-webkit-line-clamp: 2;
}

.dp-card--lead .dp-meta,
.dp-card--overlay .dp-meta,
.dp-card--lead .dp-meta__author,
.dp-card--overlay .dp-meta__author {
	color: rgb(255 255 255 / 0.85);
}

/* Stack: image above. */
.dp-card--stack .dp-card__media {
	margin-bottom: 12px;
}

.dp-card--stack .dp-badges {
	margin-bottom: 6px;
}

/* List: thumbnail beside. */
.dp-card--list {
	display: grid;
	grid-template-columns: minmax(96px, 34%) 1fr;
	gap: 14px;
	align-items: start;
}

.dp-card--list .dp-thumb {
	aspect-ratio: 3 / 2;
}

.dp-card--list .dp-card__title {
	font-size: 16px;
	margin-bottom: 6px;
}

.dp-card--list .dp-meta {
	font-size: 12px;
}

/* Mini: headline only. */
.dp-card--mini .dp-card__title {
	font-size: 16px;
}

/* Numbered. */
.dp-card--numbered {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 12px;
	align-items: start;
}

.dp-card__number {
	font-family: var(--dp-font-display);
	font-size: 34px;
	font-weight: 700;
	line-height: 0.9;
	color: var(--dp-accent);
}

.dp-card--numbered .dp-card__title {
	font-size: 16px;
	margin-bottom: 6px;
}

.dp-card--numbered .dp-meta {
	font-size: 12px;
}

/* Opinion. */
/* Opinion: photo and name side by side, the headline full width below. */
.dp-card--opinion {
	display: grid;
	grid-template-columns: 56px 1fr;
	grid-template-rows: auto 1fr;
	gap: 14px;
	align-items: center;
	padding: 20px;
	background: var(--dp-surface);
	border-radius: var(--dp-radius);
}

.dp-card--opinion::before {
	content: "\201C";
	position: absolute;
	top: 4px;
	right: 16px;
	font-family: var(--dp-font-display);
	font-size: 72px;
	line-height: 1;
	color: var(--dp-cat);
	opacity: 0.25;
}

.dp-card--opinion .dp-card__body {
	display: contents;
}

.dp-card--opinion .dp-card__byline {
	padding-right: 36px;
}

.dp-card--opinion .dp-card__title {
	grid-column: 1 / -1;
	align-self: start;
}

.dp-card__avatar img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(0.3);
}

.dp-card__byline {
	margin: 0 0 4px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--dp-cat);
}

.dp-card--opinion .dp-card__title {
	font-size: 18px;
	font-style: italic;
	font-weight: 600;
	margin: 0;
}

/* Video. */
.dp-card--video .dp-card__media {
	margin-bottom: 14px;
}

.dp-card--video .dp-thumb__play {
	top: 50%;
	left: 50%;
	bottom: auto;
	width: 72px;
	height: 72px;
	transform: translate(-50%, -50%);
}

.dp-card--video:hover .dp-thumb__play {
	transform: translate(-50%, -50%) scale(1.08);
}

.dp-card--video .dp-thumb__play .dp-icon {
	width: 30px;
	height: 30px;
}

.dp-card--video .dp-card__title {
	font-size: clamp(20px, 2.2vw, 28px);
}

/* Stacks of cards with dividers. */
.dp-stack {
	display: grid;
	gap: 0;
}

.dp-stack > .dp-card {
	padding-block: 14px;
	border-bottom: 1px solid var(--dp-line);
}

.dp-stack > .dp-card:first-child {
	padding-top: 0;
}

.dp-stack > .dp-card:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

/* ----------------------------------------------------------------- Grids */

.dp-grid {
	display: grid;
	gap: var(--dp-gap);
}

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

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

/* ------------------------------------------------------------------ Lead */

.dp-lead {
	padding-top: clamp(20px, 3vw, 32px);
}

.dp-lead__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.05fr);
	gap: var(--dp-gap);
	align-items: stretch;
}

.dp-lead__main .dp-card--lead {
	height: 100%;
}

.dp-lead__main .dp-thumb {
	height: 100%;
	min-height: 440px;
	aspect-ratio: auto;
}

/* The tabs scroll inside the height set by the stories beside them, instead of stretching them. */
.dp-lead__grid > .dp-lead__tabs {
	height: 0;
	min-height: 100%;
	overflow: hidden;
}

.dp-lead__tabs .dp-tabs__panel {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	scrollbar-width: thin;
}

.dp-lead__side {
	display: grid;
	gap: var(--dp-gap);
}

.dp-lead__side .dp-card--overlay .dp-thumb {
	height: 100%;
	aspect-ratio: auto;
	min-height: 200px;
}

/* ------------------------------------------------------------------ Tabs */

.dp-tabs {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 18px;
	background: var(--dp-surface);
	border-radius: var(--dp-radius);
}

.dp-tabs__list {
	display: flex;
	gap: 4px;
	margin-bottom: 16px;
	padding: 4px;
	background: var(--dp-bg);
	border-radius: 999px;
}

.dp-tabs__tab {
	flex: 1;
	min-width: 0;
	padding: 8px 10px;
	border: 0;
	border-radius: 999px;
	background: none;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--dp-muted);
}

.dp-tabs__tab[aria-selected="true"] {
	background: var(--dp-ink);
	color: var(--dp-bg);
}

/* .dp-stack sets display, which would otherwise override the hidden attribute. */
.dp-tabs__panel[hidden] {
	display: none !important;
}

.dp-tabs__panel .dp-card--list {
	grid-template-columns: 84px 1fr;
}

.dp-tabs__panel .dp-card--list .dp-card__title,
.dp-tabs__panel .dp-card--numbered .dp-card__title {
	font-size: 15px;
}

/* ------------------------------------------------------- Main + trending */

.dp-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: clamp(24px, 4vw, 48px);
}

.dp-main-news__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: var(--dp-gap);
}

.dp-main-news__grid > .dp-card--stack .dp-card__title {
	font-size: clamp(22px, 2.2vw, 28px);
}

.dp-trending {
	padding: 20px;
	border: 1px solid var(--dp-line);
	border-radius: var(--dp-radius);
	align-self: start;
}

/* -------------------------------------------------------------- Featured */

.dp-featured {
	position: relative;
}

/* ------------------------------------------------------- Category blocks */

.dp-cat-blocks__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--dp-section) clamp(24px, 4vw, 48px);
}

.dp-cat-block__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--dp-gap);
}

.dp-cat-block .dp-card--list {
	grid-template-columns: 88px 1fr;
}

.dp-cat-block .dp-card--list .dp-card__title {
	font-size: 15px;
}

.dp-cat-block .dp-card--stack .dp-card__excerpt {
	-webkit-line-clamp: 2;
}

/* --------------------------------------------------------------- Opinion */

.dp-opinion .dp-grid {
	align-items: stretch;
}

/* ----------------------------------------------------------------- Video */

.dp-video {
	margin-block: calc(var(--dp-section) / 2);
	padding-block: var(--dp-section);
	background: #0b0d10;
	color: #e9eaec;
	--dp-ink: #f2f3f5;
	--dp-muted: #9aa0aa;
	--dp-line: #262a31;
	--dp-surface: #171a1f;
}

.dp-video .dp-section-head {
	border-color: #f2f3f5;
}

.dp-video__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 48px);
}

.dp-video .dp-card--video .dp-badge:not(.dp-badge--breaking) {
	padding: 0;
	background: none;
	color: var(--dp-cat);
}

.dp-video .dp-card--list .dp-card__title {
	font-size: 17px;
}

/* ---------------------------------------------------------------- Missed */

.dp-missed {
	margin-top: calc(var(--dp-section) / 2);
	padding-block: var(--dp-section);
	background: var(--dp-surface);
}

.dp-home > .dp-missed:last-child {
	margin-bottom: 0;
}

.dp-home__ad {
	padding-block: 12px;
}

/* ----------------------------------------------------------------- Ads */

.dp-ad {
	margin: 24px 0;
	padding: 10px;
	text-align: center;
	background: var(--dp-surface);
	border-radius: var(--dp-radius);
}

.dp-ad__label {
	display: block;
	margin-bottom: 6px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dp-muted);
}

.dp-ad .widget {
	margin: 0;
}

.dp-ad img {
	margin-inline: auto;
}

/* --------------------------------------------------------------- Layout */

.dp-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	padding-block: clamp(20px, 3vw, 36px) var(--dp-section);
}

.dp-has-sidebar .dp-layout {
	grid-template-columns: minmax(0, 1fr) 320px;
}

.dp-sidebar__inner {
	position: sticky;
	top: calc(var(--dp-sticky-top) + 76px);
	display: grid;
	gap: 36px;
}

.dp-sidebar .widget {
	margin: 0;
}

.widget ul {
	list-style: none;
}

.widget li {
	padding: 8px 0;
	border-bottom: 1px solid var(--dp-line);
}

.widget li:last-child {
	border-bottom: 0;
}

.widget .dp-stack .dp-card,
.widget .dp-follow li {
	border-bottom: 0;
}

.dp-stack .dp-card {
	padding-block: 12px;
}

.widget .dp-stack > .dp-card {
	border-bottom: 1px solid var(--dp-line);
}

.widget .dp-stack > .dp-card:last-child {
	border-bottom: 0;
}

.widget .wp-block-search__input,
.widget input[type="search"] {
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--dp-line);
	border-radius: var(--dp-radius);
	background: var(--dp-bg);
}

.widget .wp-block-search__button {
	min-height: 44px;
	border: 0;
	border-radius: var(--dp-radius);
	background: var(--dp-ink);
	color: var(--dp-bg);
	font-weight: 700;
}

.dp-follow {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.dp-follow li {
	padding: 0;
}

.dp-follow__btn {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border-radius: var(--dp-radius);
	background: var(--dp-surface);
	font-size: 14px;
	font-weight: 700;
	transition: background-color 0.2s, color 0.2s;
}

.dp-follow__btn:hover {
	color: #fff;
	background: var(--dp-net, var(--dp-accent));
}

.dp-follow__btn--facebook {
	--dp-net: #1877f2;
}

.dp-follow__btn--x {
	--dp-net: #000;
}

.dp-follow__btn--instagram {
	--dp-net: #d62976;
}

.dp-follow__btn--youtube {
	--dp-net: #f00;
}

.dp-follow__btn--linkedin {
	--dp-net: #0a66c2;
}

.dp-follow__btn--tiktok {
	--dp-net: #111;
}

.dp-follow__btn--whatsapp {
	--dp-net: #1fa855;
}

.dp-follow__btn--telegram {
	--dp-net: #229ed9;
}

/* --------------------------------------------------------------- Article */

.dp-crumbs {
	margin-bottom: 16px;
	font-size: 13px;
	color: var(--dp-muted);
}

.dp-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
}

.dp-crumbs li:not(:last-child)::after {
	content: "/";
	margin: 0 8px;
	opacity: 0.5;
}

.dp-crumbs li[aria-current] {
	color: var(--dp-ink);
	font-weight: 600;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 40ch;
}

.dp-article {
	min-width: 0;
}

.dp-no-sidebar .dp-article {
	width: 100%;
	max-width: 820px;
	margin-inline: auto;
}

.dp-article__header {
	margin-bottom: 24px;
}

.dp-article__title {
	margin-bottom: 14px;
	font-size: clamp(30px, 4.2vw, 50px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.dp-article__standfirst {
	margin-bottom: 20px;
	font-family: var(--dp-font-display);
	font-size: clamp(19px, 1.8vw, 23px);
	line-height: 1.45;
	color: var(--dp-muted);
}

.dp-article__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 20px;
	padding-block: 14px;
	border-block: 1px solid var(--dp-line);
}

.dp-article__byline .dp-meta {
	font-size: 14px;
}

.dp-article__updated {
	margin: 0;
	font-size: 13px;
	color: var(--dp-muted);
}

.dp-article__figure {
	margin: 0 0 28px;
}

.dp-article__figure img {
	display: block;
	width: 100%;
	border-radius: var(--dp-radius);
}

.dp-article__figure figcaption {
	margin-top: 10px;
	padding-left: 12px;
	border-left: 3px solid var(--dp-accent);
	font-size: 14px;
	color: var(--dp-muted);
}

.dp-ai-note {
	display: inline-block;
	font-size: 12px;
	font-style: italic;
}

.dp-article__footer {
	margin-top: 36px;
	display: grid;
	gap: 28px;
}

.dp-article__tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.dp-article__tags-label {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dp-tags,
.dp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
}

.dp-tags a,
.dp-chips a {
	display: inline-block;
	padding: 6px 12px;
	border: 1px solid var(--dp-line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	transition: border-color 0.2s, color 0.2s;
}

.dp-tags a:hover,
.dp-chips a:hover {
	border-color: var(--dp-cat, var(--dp-accent));
	color: var(--dp-cat, var(--dp-accent));
}

/* ------------------------------------------------------- Article content */

.entry-content {
	font-size: var(--dp-base);
	line-height: 1.75;
}

.dp-article__content {
	font-family: var(--dp-font-body);
}

.entry-content > * {
	margin-block: 0 1.2em;
}

.entry-content > p:first-child::first-letter {
	float: left;
	margin: 0.08em 0.1em 0 0;
	font-family: var(--dp-font-display);
	font-size: 3.6em;
	font-weight: 700;
	line-height: 0.82;
	color: var(--dp-accent);
}

.dp-article--page .entry-content > p:first-child::first-letter {
	all: unset;
}

.entry-content a {
	color: var(--dp-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.entry-content a:hover {
	text-decoration-thickness: 2px;
}

.entry-content h2 {
	margin-top: 1.8em;
	font-size: clamp(24px, 2.4vw, 30px);
}

.entry-content h3 {
	margin-top: 1.6em;
	font-size: clamp(20px, 2vw, 24px);
}

.entry-content h4 {
	margin-top: 1.4em;
	font-size: 19px;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content li {
	margin-bottom: 0.4em;
}

.entry-content li::marker {
	color: var(--dp-accent);
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	margin-inline: 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--dp-accent);
	font-family: var(--dp-font-display);
	font-size: 1.15em;
	font-style: italic;
	line-height: 1.55;
}

.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
	display: block;
	margin-top: 8px;
	font-family: var(--dp-font-body);
	font-size: 14px;
	font-style: normal;
	font-weight: 700;
	color: var(--dp-muted);
}

.entry-content .wp-block-pullquote {
	padding: 28px 0;
	border-block: 3px solid var(--dp-ink);
	text-align: center;
}

.entry-content .wp-block-pullquote blockquote {
	border: 0;
	padding: 0;
	font-size: clamp(22px, 2.4vw, 30px);
	font-style: normal;
	font-weight: 700;
}

.entry-content figure {
	margin-inline: 0;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
	margin-top: 8px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--dp-muted);
}

.entry-content img {
	border-radius: var(--dp-radius);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

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

.entry-content th,
.entry-content thead td {
	background: var(--dp-surface);
	font-weight: 700;
}

.entry-content .wp-block-table {
	overflow-x: auto;
}

.entry-content pre,
.entry-content code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.88em;
}

.entry-content pre {
	padding: 16px;
	overflow-x: auto;
	background: var(--dp-surface);
	border-radius: var(--dp-radius);
}

.entry-content .wp-block-embed,
.entry-content .wp-block-video {
	margin-block: 1.6em;
}

.entry-content iframe {
	max-width: 100%;
}

.entry-content .alignwide {
	margin-inline: calc(-1 * min(80px, 6vw));
	max-width: none;
}

.dp-no-sidebar .entry-content .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
}

.entry-content .alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
	max-width: 50%;
}

.entry-content .alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
	max-width: 50%;
}

.entry-content .aligncenter {
	margin-inline: auto;
	text-align: center;
}

.entry-content .wp-block-button__link {
	background: var(--dp-accent);
	color: #fff;
	text-decoration: none;
	border-radius: var(--dp-radius);
	font-weight: 700;
}

.entry-content::after {
	content: "";
	display: table;
	clear: both;
}

.dp-page-links {
	display: flex;
	gap: 8px;
	align-items: center;
	font-weight: 700;
}

.dp-page-links a,
.dp-page-links > span:not(:first-child) {
	display: grid;
	place-items: center;
	min-width: 36px;
	height: 36px;
	border: 1px solid var(--dp-line);
	border-radius: var(--dp-radius);
	text-decoration: none;
}

.sticky,
.bypostauthor,
.gallery-caption,
.wp-caption,
.wp-caption-text {
	max-width: 100%;
}

/* ----------------------------------------------------------------- Share */

.dp-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.dp-share--top {
	margin-top: 16px;
}

.dp-share__label {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dp-muted);
}

.dp-share__list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
}

.dp-share__btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--dp-line);
	border-radius: 50%;
	background: var(--dp-bg);
	color: var(--dp-ink);
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.dp-share__btn:hover {
	color: #fff;
	border-color: transparent;
	background: var(--dp-net, var(--dp-ink));
}

.dp-share__btn--whatsapp {
	--dp-net: #1fa855;
}

.dp-share__btn--facebook {
	--dp-net: #1877f2;
}

.dp-share__btn--x {
	--dp-net: #000;
}

.dp-share__btn--linkedin {
	--dp-net: #0a66c2;
}

.dp-share__btn--telegram {
	--dp-net: #229ed9;
}

.dp-share__btn.is-copied {
	color: #fff;
	background: #1fa855;
	border-color: transparent;
}

.dp-share--bottom {
	padding: 16px 20px;
	background: var(--dp-surface);
	border-radius: var(--dp-radius);
}

.dp-share--bottom .dp-share__label {
	margin-right: auto;
	font-size: 14px;
	color: var(--dp-ink);
}

/* ------------------------------------------------------------ Author box */

.dp-author-box {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 20px;
	align-items: start;
	padding: 24px;
	border: 1px solid var(--dp-line);
	border-left: 4px solid var(--dp-accent);
	border-radius: var(--dp-radius);
}

.dp-author-box__avatar {
	border-radius: 50%;
}

.dp-author-box__kicker {
	margin: 0 0 2px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dp-muted);
}

.dp-author-box__name {
	margin: 0 0 4px;
	font-size: 22px;
}

.dp-author-box__role {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--dp-accent);
}

.dp-author-box__bio {
	font-size: 15px;
	color: var(--dp-muted);
}

.dp-author-box__bio p:last-child {
	margin-bottom: 12px;
}

.dp-author-box .dp-social {
	margin-bottom: 12px;
}

.dp-author-box__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: var(--dp-accent);
}

.dp-author-box--full {
	margin-top: 8px;
	padding: clamp(20px, 3vw, 36px);
	background: var(--dp-surface);
	border: 0;
	border-left: 4px solid var(--dp-accent);
}

.dp-author-box--full .dp-author-box__name {
	font-size: clamp(28px, 3vw, 40px);
}

/* -------------------------------------------------------------- Post nav */

.dp-post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.dp-post-nav__item {
	display: grid;
	gap: 6px;
	padding: 16px 0;
	border-top: 2px solid var(--dp-ink);
}

.dp-post-nav__item--next {
	grid-column: 2;
	text-align: right;
}

.dp-post-nav__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dp-muted);
}

.dp-post-nav__item--next .dp-post-nav__label {
	justify-content: flex-end;
}

.dp-post-nav__title {
	font-family: var(--dp-font-display);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

/* --------------------------------------------------------------- Related */

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

.dp-related .dp-card__title {
	font-size: 18px;
}

/* -------------------------------------------------------------- Comments */

.dp-comments {
	margin-top: 48px;
}

.dp-comments__list,
.dp-comments__list .children {
	list-style: none;
}

.dp-comments__list .children {
	padding-left: clamp(16px, 4vw, 48px);
}

.dp-comments__list .comment-body {
	position: relative;
	margin-bottom: 20px;
	padding: 18px 18px 18px 76px;
	background: var(--dp-surface);
	border-radius: var(--dp-radius);
}

.dp-comments__list .avatar {
	position: absolute;
	top: 18px;
	left: 18px;
	border-radius: 50%;
}

.dp-comments__list .comment-author {
	font-weight: 700;
}

.dp-comments__list .says {
	display: none;
}

.dp-comments__list .comment-metadata {
	margin-bottom: 8px;
	font-size: 13px;
	color: var(--dp-muted);
}

.dp-comments__list .reply a {
	font-size: 13px;
	font-weight: 700;
	color: var(--dp-accent);
}

.comment-respond {
	padding: 24px;
	border: 1px solid var(--dp-line);
	border-radius: var(--dp-radius);
}

.comment-reply-title {
	font-size: 22px;
}

.comment-reply-title small {
	margin-left: 10px;
	font-family: var(--dp-font-body);
	font-size: 13px;
}

.comment-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 16px;
}

.comment-form > p {
	grid-column: 1 / -1;
}

.comment-form .comment-form-author,
.comment-form .comment-form-email {
	grid-column: span 1;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--dp-line);
	border-radius: var(--dp-radius);
	background: var(--dp-bg);
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	font-size: 14px;
}

.comment-form .comment-form-cookies-consent label {
	font-weight: 400;
}

.comment-notes,
.logged-in-as {
	font-size: 14px;
	color: var(--dp-muted);
}

/* -------------------------------------------------------------- Archives */

.dp-archive-head {
	padding: clamp(24px, 4vw, 40px) 0 clamp(16px, 2vw, 24px);
	border-bottom: 1px solid var(--dp-line);
}

.dp-archive-head__kicker {
	margin: 0 0 6px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dp-cat);
}

.dp-archive-head__title {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 10px;
	font-size: clamp(32px, 4.4vw, 54px);
	letter-spacing: -0.02em;
}

.dp-archive-head__title::before {
	content: "";
	width: 8px;
	align-self: stretch;
	min-height: 0.9em;
	background: var(--dp-cat);
	border-radius: 2px;
}

.dp-archive-head__desc {
	max-width: 70ch;
	font-size: 17px;
	color: var(--dp-muted);
}

.dp-archive-head__desc p:last-child {
	margin: 0;
}

.dp-archive-head__count {
	color: var(--dp-muted);
}

.dp-archive-head__search {
	max-width: 560px;
}

.dp-archive-head .dp-chips {
	margin-top: 16px;
}

.dp-archive-head--author {
	border: 0;
}

.dp-archive {
	min-width: 0;
}

.dp-archive__lead {
	margin-bottom: var(--dp-gap);
}

.dp-archive__lead .dp-thumb {
	aspect-ratio: 16 / 8;
}

.dp-feed--list {
	display: grid;
}

.dp-feed--list > .dp-card {
	grid-template-columns: minmax(120px, 38%) 1fr;
	gap: clamp(14px, 2.4vw, 28px);
	padding-block: 22px;
	border-bottom: 1px solid var(--dp-line);
}

.dp-feed--list > .dp-card:first-child {
	padding-top: 0;
}

.dp-feed--list > .dp-card .dp-card__title {
	font-size: clamp(18px, 1.9vw, 24px);
}

.dp-feed--list > .dp-card .dp-meta {
	font-size: 13px;
}

.dp-feed--grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: var(--dp-gap);
}

.dp-feed > .dp-card.is-new {
	animation: dp-rise 0.4s var(--dp-ease) both;
}

@keyframes dp-rise {
	from {
		opacity: 0;
		transform: translateY(12px);
	}
}

/* ----------------------------------------------------------- Pagination */

.dp-pagination {
	margin-top: 36px;
}

.dp-pagination__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}

.dp-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border: 1px solid var(--dp-line);
	border-radius: var(--dp-radius);
	font-weight: 700;
}

.dp-pagination .page-numbers.current {
	background: var(--dp-ink);
	color: var(--dp-bg);
	border-color: var(--dp-ink);
}

.dp-pagination .page-numbers.dots {
	border: 0;
}

.dp-load-more {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.dp-load-more .dp-btn {
	min-width: 240px;
	background: var(--dp-ink);
	color: var(--dp-bg);
}

.dp-load-more .dp-btn:hover {
	background: var(--dp-accent);
	color: #fff;
}

.dp-load-more__status {
	font-size: 14px;
	color: var(--dp-muted);
}

/* ---------------------------------------------------------- Empty & 404 */

.dp-empty,
.dp-404 {
	padding-block: 40px;
}

.dp-empty .dp-search-form,
.dp-404 .dp-search-form {
	max-width: 560px;
	margin-bottom: 24px;
}

.dp-empty__popular {
	margin-top: 48px;
}

.dp-404 {
	text-align: center;
	padding-block: clamp(48px, 8vw, 96px);
}

.dp-404 .dp-search-form {
	margin-inline: auto;
}

.dp-404__code {
	margin: 0;
	font-family: var(--dp-font-display);
	font-size: clamp(96px, 16vw, 180px);
	font-weight: 800;
	line-height: 0.9;
	color: transparent;
	-webkit-text-stroke: 2px var(--dp-accent);
}

.dp-404__title {
	font-size: clamp(26px, 3vw, 38px);
}

/* ---------------------------------------------------------------- Footer */

.dp-footer {
	margin-top: 0;
	padding-top: clamp(40px, 6vw, 72px);
	background: var(--dp-footer-bg);
	color: var(--dp-footer-text);
	font-size: 15px;
	--dp-ink: #fff;
	--dp-line: rgb(255 255 255 / 0.12);
	--dp-surface: rgb(255 255 255 / 0.06);
	--dp-muted: color-mix(in srgb, var(--dp-footer-text) 75%, transparent);
}

.dp-main + .dp-footer {
	margin-top: var(--dp-section);
}

/* A homepage that ends on the shaded "missed" band runs straight into the footer. */
.dp-main:has(.dp-home > .dp-missed:last-child) + .dp-footer {
	margin-top: 0;
}

.dp-footer a:hover {
	color: #fff;
}

.dp-newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	gap: 24px;
	align-items: center;
	margin-bottom: clamp(32px, 5vw, 56px);
	padding: clamp(20px, 3vw, 36px);
	border-radius: var(--dp-radius);
	background: rgb(255 255 255 / 0.05);
	border: 1px solid var(--dp-line);
}

.dp-newsletter__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
	font-size: clamp(22px, 2.4vw, 28px);
}

.dp-newsletter__title .dp-icon {
	color: var(--dp-accent);
}

.dp-newsletter__text p {
	margin: 0;
}

.dp-newsletter__form {
	display: flex;
	gap: 8px;
}

.dp-newsletter__form input {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--dp-line);
	border-radius: var(--dp-radius);
	background: rgb(255 255 255 / 0.06);
	color: #fff;
}

.dp-newsletter__form .dp-btn {
	min-height: 48px;
}

.dp-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr));
	gap: clamp(24px, 4vw, 48px);
	padding-bottom: clamp(32px, 5vw, 56px);
}

.dp-footer__brand .dp-logo {
	margin-bottom: 16px;
}

.dp-footer__brand .dp-logo img {
	height: calc(var(--dp-logo-h) * 0.8);
}

.dp-footer__about {
	max-width: 40ch;
}

.dp-footer__col--wide {
	grid-column: span 3;
}

.dp-footer .widget-title {
	color: #fff;
	border-color: var(--dp-line);
}

.dp-footer__menu {
	list-style: none;
	columns: 3 160px;
	column-gap: 24px;
}

.dp-footer__menu li {
	padding: 6px 0;
	break-inside: avoid;
}

.dp-footer .widget li {
	border-color: var(--dp-line);
}

.dp-footer .dp-social a {
	background: rgb(255 255 255 / 0.06);
}

.dp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-block: 20px;
	border-top: 1px solid var(--dp-line);
	font-size: 13px;
}

.dp-footer__copy {
	margin: 0;
}

.dp-footer__legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	list-style: none;
}

.dp-to-top {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
}

/* ------------------------------------------------------------ Responsive */

@media (max-width: 1279px) {
	.dp-lead__grid > .dp-lead__tabs {
		height: auto;
		min-height: 0;
	}

	.dp-lead__tabs .dp-tabs__panel {
		overflow: visible;
	}
}

@media (max-width: 1279px) {
	.dp-lead__grid {
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	}

	.dp-lead__tabs {
		grid-column: 1 / -1;
	}

	.dp-lead__tabs .dp-tabs__panel {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
		gap: 0 var(--dp-gap);
	}

	.dp-lead__tabs .dp-tabs__panel[hidden] {
		display: none;
	}

	.dp-lead__tabs .dp-stack > .dp-card {
		padding-block: 12px;
		border-bottom: 1px solid var(--dp-line);
	}

	.dp-lead__tabs .dp-tabs__list {
		max-width: 480px;
	}
}

@media (max-width: 1180px) {

	.dp-split {
		grid-template-columns: minmax(0, 1fr) 300px;
	}

	.dp-cat-block__body {
		grid-template-columns: minmax(0, 1fr);
	}

	.dp-has-sidebar .dp-layout {
		grid-template-columns: minmax(0, 1fr) 280px;
	}
}

@media (max-width: 1023px) {
	.dp-navbar__menu-btn {
		display: grid;
		margin-left: -14px;
	}

	.dp-navbar__home {
		display: none;
	}

	.dp-nav {
		display: none;
	}

	.dp-navbar__donate {
		display: inline-flex;
	}

	.dp-navbar__inner {
		justify-content: space-between;
	}

	.dp-masthead__side--end .dp-btn--ghost {
		display: none;
	}

	.dp-split,
	.dp-has-sidebar .dp-layout,
	.dp-video__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.dp-cat-blocks__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.dp-cat-block__body {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

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

	.dp-sidebar__inner {
		position: static;
	}

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

	.dp-footer__brand,
	.dp-footer__col--wide {
		grid-column: 1 / -1;
	}

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

@media (max-width: 767px) {
	body {
		font-size: 15px;
	}

	.dp-topbar__nav,
	.dp-topbar .dp-social {
		display: none;
	}

	.dp-masthead__inner {
		min-height: 0;
		padding-block: 12px;
	}

	.dp-logo img,
	.dp-logo .custom-logo {
		height: var(--dp-logo-h-sm);
		max-width: 240px;
	}

	.dp-header-center .dp-masthead__inner {
		grid-template-columns: auto;
		justify-content: center;
	}

	.dp-masthead__side {
		display: none;
	}

	.dp-ticker__inner {
		gap: 10px;
		min-height: 40px;
	}

	.dp-ticker__label {
		padding: 5px 8px;
		font-size: 11px;
	}

	.dp-ticker__pause {
		display: none;
	}

	.dp-lead__grid,
	.dp-main-news__grid,
	.dp-cat-block__body,
	.dp-grid--3 {
		grid-template-columns: minmax(0, 1fr);
	}

	.dp-lead__main .dp-thumb {
		min-height: 0;
		aspect-ratio: 4 / 5;
	}

	.dp-lead__side {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.dp-lead__side .dp-card--overlay .dp-thumb {
		min-height: 0;
		aspect-ratio: 3 / 4;
	}

	.dp-lead__side .dp-card--overlay .dp-card__body {
		padding: 12px;
	}

	.dp-lead__side .dp-card--overlay .dp-card__title {
		font-size: 15px;
	}

	.dp-lead__side .dp-meta {
		display: none;
	}

	/* Rows of cards scroll sideways on phones instead of stacking four deep. */
	.dp-scroller {
		display: flex;
		gap: 12px;
		margin-inline: calc(-1 * var(--dp-gutter));
		padding-inline: var(--dp-gutter);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--dp-gutter);
		scrollbar-width: none;
	}

	.dp-scroller::-webkit-scrollbar {
		display: none;
	}

	.dp-scroller > * {
		flex: 0 0 78%;
		scroll-snap-align: start;
	}

	.dp-grid--4:not(.dp-scroller) {
		grid-template-columns: minmax(0, 1fr);
	}

	.dp-grid--4:not(.dp-scroller) > .dp-card--stack {
		display: grid;
		grid-template-columns: 38% 1fr;
		gap: 12px;
		padding-bottom: 14px;
		border-bottom: 1px solid var(--dp-line);
	}

	.dp-grid--4:not(.dp-scroller) > .dp-card--stack .dp-card__media {
		margin: 0;
	}

	.dp-grid--4:not(.dp-scroller) > .dp-card--stack .dp-thumb {
		aspect-ratio: 3 / 2;
	}

	.dp-grid--4:not(.dp-scroller) > .dp-card--stack .dp-card__title {
		font-size: 16px;
	}

	.dp-grid--4:not(.dp-scroller) > .dp-card--stack .dp-meta__author {
		display: none;
	}

	.dp-grid--4,
	.dp-grid--3 {
		gap: 14px;
	}

	.dp-card__title {
		font-size: 18px;
	}

	.dp-section-head__title {
		font-size: 13px;
	}

	.dp-feed--list > .dp-card {
		grid-template-columns: 112px 1fr;
		padding-block: 16px;
	}

	.dp-feed--list > .dp-card .dp-card__title {
		font-size: 17px;
	}

	.dp-feed--list .dp-card__excerpt {
		display: none;
	}

	.dp-archive__lead .dp-thumb {
		aspect-ratio: 4 / 5;
	}

	.dp-article__byline {
		align-items: flex-start;
		flex-direction: column;
	}

	.dp-share--bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.dp-author-box {
		grid-template-columns: minmax(0, 1fr);
	}

	.dp-post-nav {
		grid-template-columns: minmax(0, 1fr);
	}

	.dp-post-nav__item--next {
		grid-column: auto;
	}

	.comment-form {
		grid-template-columns: minmax(0, 1fr);
	}

	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		max-width: 100%;
		margin: 0 0 1em;
	}

	.entry-content .alignwide {
		margin-inline: 0;
	}

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

	.dp-newsletter__form {
		flex-direction: column;
	}

	.dp-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.dp-ticker__viewport {
		overflow-x: auto;
	}

	.dp-ticker__list[aria-hidden="true"] {
		display: none;
	}
}

/* ----------------------------------------------------------------- Print */

@media print {
	.dp-topbar,
	.dp-navbar,
	.dp-ticker,
	.dp-share,
	.dp-sidebar,
	.dp-related,
	.dp-comments,
	.dp-post-nav,
	.dp-ad,
	.dp-missed,
	.dp-footer,
	.dp-progress {
		display: none !important;
	}

	.dp-layout,
	.dp-has-sidebar .dp-layout {
		display: block;
	}

	body {
		color: #000;
		background: #fff;
	}

	.entry-content a::after {
		content: " (" attr(href) ")";
		font-size: 0.8em;
	}
}
