/*
 * Droidfeats theme styles.
 * Built on GeneratePress: only stable GeneratePress class names are touched
 * (.site-content, .content-area, .is-right-sidebar, .inside-article, .entry-*,
 * .widget, .comments-area); everything else uses the theme's own df- classes.
 */

/* ------------------------------------------------------------------ Fonts */

/* The Inter and Inter Tight @font-face rules are printed in the page head by inc/setup.php
   (df_fonts), so the font files always load from the site itself. */
/* Metric-matched fallback so text does not jump when the web font arrives. */
@font-face {
	font-family: "Inter Fallback";
	src: local("Arial");
	size-adjust: 107%;
	ascent-override: 90%;
	descent-override: 22.4%;
	line-gap-override: 0%;
}

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

:root {
	--df-btn: #3c3fde;
	--df-btn-hover: #2d30c6;
	--df-link: #3c3fde;
	--df-link-hover: #2427a8;
	--df-brand-soft: #eef0fe;
	--df-brand-line: #d7dafc;
	--df-ink: #0b0d12;
	--df-text: #20242c;
	--df-muted: #565d6b;
	--df-subtle: #6b7280;
	--df-line: #e6e8ec;
	--df-rule: #0b0d12;
	--df-bg: #ffffff;
	--df-bg-2: #f5f6f8;
	--df-bg-3: #eceef2;
	--df-band: #0b0d12;
	--df-footer: #0b0d12;
	--df-topbar: #0b0d12;
	--df-shadow: 0 1px 2px rgb(16 18 24 / 6%), 0 10px 30px rgb(16 18 24 / 8%);
	--df-logo-mark: #3c3fde;
	--df-logo-ink: #0b0d12;
	--df-logo-knock: #ffffff;

	--df-font: "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--df-font-display: "Inter Tight", "Inter", "Inter Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--df-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	--df-wrap: 1280px;
	--df-gutter: 24px;
	--df-header-h: 64px;
	--df-radius: 12px;
	--df-radius-sm: 8px;
	--df-side: 336px;
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--df-btn: #4245e6;
	--df-btn-hover: #5558f0;
	--df-link: #9a9cff;
	--df-link-hover: #bcbdff;
	--df-brand-soft: #181a33;
	--df-brand-line: #2b2e5c;
	--df-ink: #f3f4f6;
	--df-text: #d4d8de;
	--df-muted: #a0a6b2;
	--df-subtle: #7f8693;
	--df-line: #262a34;
	--df-rule: #f3f4f6;
	--df-bg: #0e1015;
	--df-bg-2: #161921;
	--df-bg-3: #1d2029;
	--df-band: #161921;
	--df-footer: #08090c;
	--df-topbar: #08090c;
	--df-shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 10px 30px rgb(0 0 0 / 40%);
	--df-logo-mark: #6366f1;
	--df-logo-ink: #ffffff;
	--df-logo-knock: #0e1015;
	/* GeneratePress palette variables, so its own CSS follows dark mode too. */
	--contrast: #f3f4f6;
	--contrast-2: #c7ccd4;
	--contrast-3: #7f8693;
	--base: #262a34;
	--base-2: #161921;
	--base-3: #0e1015;
	--accent: #9a9cff;
}

@media (prefers-color-scheme: dark) {
	/* Without JavaScript, follow the device setting. */
	:root:not([data-theme]) {
		color-scheme: dark;
		--df-link: #9a9cff;
		--df-ink: #f3f4f6;
		--df-text: #d4d8de;
		--df-muted: #a0a6b2;
		--df-line: #262a34;
		--df-rule: #f3f4f6;
		--df-bg: #0e1015;
		--df-bg-2: #161921;
		--df-logo-ink: #ffffff;
		--df-logo-knock: #0e1015;
		--base-3: #0e1015;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--df-header-h) + 20px);
}
html.df-locked {
	overflow: hidden;
}

body.df {
	background: var(--df-bg);
	color: var(--df-text);
	font-family: var(--df-font);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

.df a {
	color: var(--df-link);
	transition: color 0.15s ease;
}
.df a:hover {
	color: var(--df-link-hover);
}
.df :focus-visible {
	outline: 2px solid var(--df-btn);
	outline-offset: 2px;
	border-radius: 4px;
}
.df h1,
.df h2,
.df h3,
.df h4,
.df h5,
.df h6 {
	font-family: var(--df-font-display);
	color: var(--df-ink);
}
.df img {
	max-width: 100%;
	height: auto;
}
.df .df-icon {
	width: 20px;
	height: 20px;
	flex: none;
	display: block;
}
.df-flip {
	transform: scaleX(-1);
}
.df-wrap {
	max-width: var(--df-wrap);
	margin-inline: auto;
	padding-inline: var(--df-gutter);
}
.df-label {
	margin: 0 0 4px;
	font: 800 11.5px/1.2 var(--df-font);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--df-muted);
}

/* ---------------------------------------------- GeneratePress layout frame */

.df .site.grid-container {
	max-width: var(--df-wrap);
	background: transparent;
}
.df.one-container .container,
.df.one-container .site-content {
	background: transparent;
}
.df.one-container .site-content {
	padding: 32px var(--df-gutter) 64px;
	gap: 48px;
}
.df.one-container.right-sidebar .site-main,
.df.one-container.left-sidebar .site-main {
	margin: 0;
}
.df .site-content .content-area {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
}
.df .site-content .is-right-sidebar {
	flex: 0 0 var(--df-side);
	width: var(--df-side);
	display: flex;
	flex-direction: column;
}
.df .inside-right-sidebar {
	flex: 1;
	display: flex;
	flex-direction: column;
}
.df .inside-article {
	padding: 0;
	background: transparent;
}
.df .entry-content:not(:first-child) {
	margin-top: 28px;
}

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

.df-topbar {
	background: var(--df-topbar);
	color: #b4bac5;
	font-size: 12.5px;
	line-height: 1;
}
.df-topbar__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 36px;
}
.df-topbar__date {
	font-weight: 600;
	color: #e6e8ec;
	white-space: nowrap;
}
.df-inline-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.df-inline-menu a {
	color: inherit;
	text-decoration: none;
	font-weight: 500;
}
.df-topbar .df-inline-menu a:hover {
	color: #ffffff;
}
.df-social--top {
	margin-left: auto;
	gap: 2px;
}
.df .df-social--top .df-social__link {
	width: 28px;
	height: 28px;
	border: 0;
	color: #b4bac5;
	background: transparent;
	box-shadow: none;
}
.df .df-social--top .df-social__link:hover {
	color: #ffffff;
	background: rgb(255 255 255 / 10%);
}
.df .df-social--top .df-icon {
	width: 14px;
	height: 14px;
}

/* ----------------------------------------------------------------- Header */

.df-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--df-bg);
	border-bottom: 1px solid var(--df-line);
	transition: box-shadow 0.2s ease;
}
.admin-bar .df-header {
	top: 32px;
}
.df-header.is-stuck {
	box-shadow: 0 6px 24px rgb(16 18 24 / 8%);
}
:root[data-theme="dark"] .df-header.is-stuck {
	box-shadow: 0 6px 24px rgb(0 0 0 / 45%);
}
.df-header__inner {
	display: flex;
	align-items: center;
	gap: 28px;
	height: var(--df-header-h);
}
.df-logo {
	display: flex;
	align-items: center;
	flex: none;
	line-height: 0;
}
.df-logo-svg {
	display: block;
	height: 32px;
	width: auto;
}

.df-nav {
	flex: 1;
	min-width: 0;
}
.df-menu {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
}
.df-menu > li {
	position: relative;
}
.df-menu > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	height: var(--df-header-h);
	padding: 0 12px;
	font: 600 15px/1 var(--df-font);
	color: var(--df-ink);
	text-decoration: none;
	white-space: nowrap;
}
.df-menu > li > a::before {
	content: "";
	position: absolute;
	left: 12px;
	right: 12px;
	bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--df-btn);
	transform: scaleX(0);
	transition: transform 0.2s ease;
}
.df-menu > li:hover > a,
.df-menu > .current-menu-item > a,
.df-menu > .current-menu-ancestor > a {
	color: var(--df-ink);
}
.df-menu > li:hover > a::before,
.df-menu > li:focus-within > a::before,
.df-menu > .current-menu-item > a::before,
.df-menu > .current-menu-ancestor > a::before {
	transform: scaleX(1);
}
.df-menu > .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-top: -4px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.55;
}
.df-menu .sub-menu {
	position: absolute;
	top: calc(100% - 6px);
	left: 0;
	z-index: 10;
	min-width: 250px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: var(--df-bg);
	border: 1px solid var(--df-line);
	border-radius: var(--df-radius);
	box-shadow: var(--df-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}
.df-menu li:hover > .sub-menu,
.df-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.df-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: var(--df-radius-sm);
	font: 500 14.5px/1.35 var(--df-font);
	color: var(--df-text);
	text-decoration: none;
}
.df-menu .sub-menu a:hover {
	background: var(--df-bg-2);
	color: var(--df-ink);
}

.df-actions {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-left: auto;
}
.df-actions__btn {
	margin-right: 6px;
}
.df-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--df-ink);
	cursor: pointer;
	transition: background 0.15s ease;
}
.df-iconbtn:hover,
.df-iconbtn:focus-visible {
	background: var(--df-bg-2);
	color: var(--df-ink);
}
.df-mode__sun,
:root[data-theme="dark"] .df-mode__moon {
	display: none !important;
}
:root[data-theme="dark"] .df-mode__sun {
	display: block !important;
}
.df-burger {
	display: none;
	margin-left: -8px;
}

.df-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
	pointer-events: none;
}
.df-progress span {
	display: block;
	height: 100%;
	background: var(--df-btn);
	transform: scaleX(0);
	transform-origin: 0 50%;
}

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

.df .df-btn,
.df .comment-form .submit,
.df .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: 999px;
	background: var(--df-btn);
	color: #ffffff;
	font: 700 14.5px/1 var(--df-font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.df .df-btn:hover,
.df .df-btn:focus-visible,
.df .comment-form .submit:hover,
.df .wpcf7-submit:hover {
	background: var(--df-btn-hover);
	color: #ffffff;
}
.df-btn .df-icon {
	width: 16px;
	height: 16px;
}
.df .df-btn--sm {
	height: 36px;
	padding: 0 14px;
	font-size: 13.5px;
}
.df .df-btn--ghost {
	background: transparent;
	color: var(--df-ink);
	box-shadow: inset 0 0 0 1.5px var(--df-line);
}
.df .df-btn--ghost:hover,
.df .df-btn--ghost:focus-visible {
	background: transparent;
	color: var(--df-link);
	box-shadow: inset 0 0 0 1.5px var(--df-link);
}

/* ---------------------------------------------------------- Trending bar */

.df-trending {
	background: var(--df-bg);
	border-bottom: 1px solid var(--df-line);
}
.df-trending__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	height: 46px;
}
.df-trending__label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	font: 800 12px/1 var(--df-font);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--df-link);
}
.df-trending__label .df-icon {
	width: 16px;
	height: 16px;
}
.df-trending__list {
	display: flex;
	gap: 4px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}
.df-trending__list::-webkit-scrollbar {
	display: none;
}
.df-trending__list a {
	font: 600 14px/46px var(--df-font);
	color: var(--df-ink);
	text-decoration: none;
}
.df-trending__list a:hover {
	color: var(--df-link);
}
.df-below-header {
	padding: 16px 0;
	border-bottom: 1px solid var(--df-line);
	text-align: center;
}

/* ----------------------------------------------------- Search and drawer */

.df-dialog {
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--df-text);
}
.df-dialog::backdrop {
	background: rgb(8 9 12 / 55%);
}
.df-search {
	position: fixed;
	inset: 0 0 auto;
	width: 100%;
}
.df-search[open] {
	animation: df-drop 0.2s ease-out;
}
.df-search__panel {
	padding: 28px 0 32px;
	background: var(--df-bg);
	border-bottom: 1px solid var(--df-line);
	box-shadow: var(--df-shadow);
}
.df-search__top {
	display: flex;
	align-items: center;
	gap: 10px;
}
.df-search__label,
.df-drawer__label {
	margin: 22px 0 10px;
	font: 800 11.5px/1.2 var(--df-font);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--df-muted);
}

.df-sform {
	position: relative;
	display: flex;
	flex: 1;
	gap: 10px;
	margin: 0;
}
.df-sform__icon {
	position: absolute;
	left: 18px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--df-subtle);
	pointer-events: none;
}
.df .df-sform__input {
	flex: 1;
	min-width: 0;
	height: 54px;
	padding: 0 18px 0 50px;
	border: 1.5px solid var(--df-line);
	border-radius: 999px;
	background: var(--df-bg-2);
	color: var(--df-ink);
	font: 500 17px var(--df-font);
	transition: border-color 0.15s ease, background 0.15s ease;
}
.df .df-sform__input:focus {
	border-color: var(--df-btn);
	background: var(--df-bg);
	outline: 0;
}
.df .df-sform__btn {
	height: 54px;
	padding: 0 26px;
}
.df-sform--compact .df-sform__input {
	height: 46px;
	font-size: 16px;
}
.df .df-sform--compact .df-sform__btn {
	display: none;
}
.df-sform--page {
	max-width: 640px;
	margin-top: 20px;
}

.df-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.df-chips li {
	margin: 0;
}
.df-chips a {
	display: inline-flex;
	align-items: center;
	height: 34px;
	padding: 0 14px;
	border: 1px solid var(--df-line);
	border-radius: 999px;
	background: var(--df-bg);
	color: var(--df-ink);
	font: 600 13.5px/1 var(--df-font);
	text-decoration: none;
	transition: border-color 0.15s ease, color 0.15s ease;
}
.df-chips a:hover {
	border-color: var(--df-link);
	color: var(--df-link);
}

.df-drawer {
	position: fixed;
	inset: 0 auto 0 0;
	width: min(380px, 88vw);
	height: 100%;
	height: 100dvh;
}
.df-drawer[open] {
	animation: df-slide 0.22s ease-out;
}
.df-drawer__panel {
	display: flex;
	flex-direction: column;
	gap: 18px;
	height: 100%;
	padding: 14px 20px 32px;
	overflow-y: auto;
	background: var(--df-bg);
}
.df-drawer__panel > * {
	flex-shrink: 0;
}
.df-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.df-drawer .df-logo-svg {
	height: 28px;
}
.df-dmenu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.df-dmenu > li {
	margin: 0;
	border-bottom: 1px solid var(--df-line);
}
.df-dmenu a {
	display: block;
	padding: 14px 2px;
	font: 700 17px/1.3 var(--df-font-display);
	color: var(--df-ink);
	text-decoration: none;
}
.df-dmenu .sub-menu {
	margin: -4px 0 12px 2px;
	padding: 0 0 0 14px;
	list-style: none;
	border-left: 2px solid var(--df-line);
}
.df-dmenu .sub-menu a {
	padding: 8px 2px;
	font: 500 15px/1.35 var(--df-font);
	color: var(--df-text);
}
.df-drawer__btn {
	align-self: stretch;
}
.df-drawer .df-drawer__label {
	margin: 4px 0 -8px;
}
.df-drawer__links {
	font-size: 14px;
	color: var(--df-muted);
}

@keyframes df-drop {
	from { transform: translateY(-16px); opacity: 0; }
	to { transform: none; opacity: 1; }
}
@keyframes df-slide {
	from { transform: translateX(-100%); }
	to { transform: none; }
}

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

.df-card {
	position: relative;
	display: grid;
	gap: 14px;
	align-content: start;
	min-width: 0;
	margin: 0;
}
.df-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: var(--df-radius);
	background: var(--df-bg-2);
}
.df .df-card__media .df-img,
.df .df-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.df-card:hover .df-card__media img {
	transform: scale(1.035);
}
.df-ph {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: var(--df-brand-soft);
	color: var(--df-link);
}
.df-ph .df-mark {
	width: 28%;
	max-width: 72px;
	opacity: 0.5;
}
.df-card__body {
	min-width: 0;
}
.df-kicker {
	display: inline-block;
	margin-bottom: 7px;
	font: 800 11.5px/1.2 var(--df-font);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}
.df .df-kicker {
	color: var(--df-link);
}
.df .df-kicker:hover {
	color: var(--df-link-hover);
	text-decoration: underline;
}
.df .df-card__title {
	margin: 0;
	font-family: var(--df-font-display);
	font-size: 18px;
	font-weight: 750;
	line-height: 1.28;
	letter-spacing: -0.012em;
	color: var(--df-ink);
	text-wrap: pretty;
}
.df .df-card__title a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.18s ease, color 0.18s ease;
}
.df .df-card__title a:hover {
	color: inherit;
	text-decoration-color: currentColor;
}
.df-card__dek {
	display: -webkit-box;
	margin: 8px 0 0;
	overflow: hidden;
	font-size: 15.5px;
	line-height: 1.55;
	color: var(--df-muted);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.df-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-top: 9px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--df-subtle);
}
.df-meta > * + *::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	margin: 0 8px 3px;
	border-radius: 50%;
	background: currentColor;
	vertical-align: middle;
	opacity: 0.8;
}
.df-meta__by {
	font-weight: 600;
	color: var(--df-text);
}

/* Lead */
.df-card--lead {
	gap: 18px;
}
.df .df-card--lead .df-card__title {
	font-size: clamp(26px, 2.9vw, 38px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.028em;
}
.df-card--lead .df-card__dek {
	margin-top: 12px;
	font-size: 17.5px;
	-webkit-line-clamp: 3;
}
.df-card--lead .df-meta {
	margin-top: 14px;
}

/* Wide lead (archives) */
.df-card--hlead {
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	gap: 32px;
	align-items: center;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--df-line);
}
.df .df-card--hlead .df-card__title {
	font-size: clamp(24px, 2.4vw, 32px);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -0.024em;
}
.df-card--hlead .df-card__dek {
	font-size: 16.5px;
	-webkit-line-clamp: 3;
}

/* List row */
.df-card--list {
	grid-template-columns: 260px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	padding: 24px 0;
	border-top: 1px solid var(--df-line);
}
.df-card--list:first-child {
	padding-top: 0;
	border-top: 0;
}
.df-card--hlead + .df-card--list {
	border-top: 0;
}
.df .df-card--list .df-card__title {
	font-size: 21px;
	line-height: 1.24;
	letter-spacing: -0.018em;
}

/* Compact row with a small picture on the right */
.df-card--stack {
	grid-template-columns: minmax(0, 1fr) 104px;
	gap: 14px;
	align-items: start;
	padding: 15px 0;
	border-top: 1px solid var(--df-line);
}
.df-card--stack .df-card__media {
	order: 2;
	aspect-ratio: 4 / 3;
	border-radius: 10px;
}
.df .df-card--stack .df-card__title {
	font-size: 15.5px;
	line-height: 1.32;
	letter-spacing: -0.006em;
}
.df-card--stack .df-kicker {
	margin-bottom: 5px;
	font-size: 10.5px;
}
.df-card--stack .df-meta {
	margin-top: 6px;
	font-size: 12.5px;
}

/* Numbered, no picture */
.df-card--mini {
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 12px;
	padding: 14px 0;
	border-top: 1px solid var(--df-line);
}
.df-card--mini:first-child {
	border-top: 0;
	padding-top: 4px;
}
.df-card__num {
	font: 800 26px/1 var(--df-font-display);
	letter-spacing: -0.04em;
	color: var(--df-link);
	font-variant-numeric: tabular-nums;
}
.df .df-card--mini .df-card__title {
	font-size: 15.5px;
	line-height: 1.34;
}
.df-card--mini .df-meta {
	margin-top: 5px;
	font-size: 12.5px;
}

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

.df-shead {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
	padding-top: 12px;
	border-top: 3px solid var(--df-rule);
}
.df .df-shead__title {
	margin: 0;
	font: 800 24px/1.2 var(--df-font-display);
	letter-spacing: -0.022em;
	color: var(--df-ink);
}
.df .df-shead__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex: none;
	font: 700 14px/1 var(--df-font);
	color: var(--df-link);
	text-decoration: none;
	transition: gap 0.15s ease;
}
.df .df-shead__more:hover {
	gap: 9px;
}
.df-shead__more .df-icon {
	width: 16px;
	height: 16px;
}

/* --------------------------------------------------------------- Homepage */

.df-home.one-container .site-content {
	padding-top: 28px;
}
.df-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
	gap: 40px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--df-line);
}
.df-hero__side {
	display: flex;
	flex-direction: column;
}
.df-hero__side .df-label {
	padding-bottom: 12px;
	border-bottom: 3px solid var(--df-rule);
	color: var(--df-ink);
}
.df-hero__side .df-card--stack:nth-child(2) {
	border-top: 0;
}
.df-strip {
	padding: 32px 0 44px;
}
.df-grid {
	display: grid;
	gap: 30px 24px;
}
.df-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.df-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.df-grid--stack {
	gap: 0 32px;
}
.df-grid--stack .df-card--stack:nth-child(-n + 3) {
	border-top: 0;
	padding-top: 0;
}
.df-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--df-side);
	gap: 48px;
	padding-bottom: 24px;
}
.df-sidebar {
	display: flex;
	flex-direction: column;
}
.df-section {
	padding: 40px 0 8px;
}
.df-feature {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 36px;
}
.df-feature__list .df-card--stack:first-child {
	border-top: 0;
	padding-top: 0;
}
.df-section--dark {
	margin: 40px 0 8px;
	padding: 44px 0 48px;
	background: var(--df-band);
	box-shadow: 0 0 0 100vmax var(--df-band);
	clip-path: inset(0 -100vmax);
	color: #e6e8ec;
}
.df-section--dark .df-shead {
	border-top-color: #ffffff;
}
.df .df-section--dark .df-shead__title,
.df .df-section--dark .df-card__title,
.df .df-section--dark .df-shead__more {
	color: #ffffff;
}
.df .df-section--dark .df-kicker {
	color: #a9abff;
}
.df-section--dark .df-meta {
	color: #9aa1ad;
}
.df-section--dark .df-card__media {
	background: rgb(255 255 255 / 6%);
}
.df-more {
	display: flex;
	justify-content: center;
	margin-top: 8px;
	padding-top: 24px;
	border-top: 1px solid var(--df-line);
}

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

.df-archive-head {
	margin-bottom: 30px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--df-line);
}
.df .df-archive-head__label {
	margin: 0 0 8px;
	font: 800 12px/1.2 var(--df-font);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--df-link);
}
.df .df-archive-head__title {
	margin: 0;
	font: 800 clamp(32px, 4vw, 50px)/1.06 var(--df-font-display);
	letter-spacing: -0.032em;
	color: var(--df-ink);
}
.df-archive-head__desc {
	max-width: 720px;
	margin-top: 12px;
	font-size: 17px;
	color: var(--df-muted);
}
.df-archive-head__desc p {
	margin: 0 0 0.6em;
}
.df .df-archive-head__count {
	margin: 12px 0 0;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--df-subtle);
}
.df-archive-head__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 12px;
}
.df-archive-head__row .df-archive-head__count {
	margin: 0;
}
.df-author-head {
	display: flex;
	align-items: center;
	gap: 22px;
}
.df-author-head__avatar {
	flex: none;
	border-radius: 50%;
}
.df-empty {
	padding: 32px;
	border: 1px dashed var(--df-line);
	border-radius: var(--df-radius);
	text-align: center;
}
.df-empty__title {
	margin: 0 0 6px;
	font: 800 22px/1.2 var(--df-font-display);
	color: var(--df-ink);
}
.df-empty .df-sform {
	max-width: 560px;
	margin: 18px auto 0;
}

.df-pagination {
	margin-top: 8px;
	padding-top: 28px;
	border-top: 1px solid var(--df-line);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
}
.df-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border-radius: 999px;
	font: 700 14.5px/1 var(--df-font);
	color: var(--df-ink);
	text-decoration: none;
	box-shadow: inset 0 0 0 1px var(--df-line);
}
.df-pagination a.page-numbers:hover {
	color: var(--df-link);
	box-shadow: inset 0 0 0 1.5px var(--df-link);
}
.df-pagination .current {
	background: var(--df-ink);
	color: var(--df-bg);
	box-shadow: none;
}
.df-pagination .dots {
	box-shadow: none;
}
.df-pagination .df-icon {
	width: 18px;
	height: 18px;
}

/* --------------------------------------------------- Articles and pages */

.df-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
}
.df-crumbs li {
	margin: 0;
	color: var(--df-subtle);
}
.df-crumbs li + li::before {
	content: "/";
	margin-right: 8px;
	color: var(--df-line);
	font-weight: 400;
}
:root[data-theme="dark"] .df-crumbs li + li::before {
	color: var(--df-subtle);
}
.df .df-crumbs a {
	color: var(--df-muted);
	text-decoration: none;
}
.df .df-crumbs a:hover {
	color: var(--df-link);
}
.single-post .df-crumbs li:last-child a {
	color: var(--df-link);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 800;
}

.single-post .inside-article,
.single-post .df-related,
.single-post .comments-area {
	max-width: 780px;
}
.df .entry-header .entry-title {
	margin: 0;
	font: 800 clamp(30px, 4vw, 46px)/1.1 var(--df-font-display);
	letter-spacing: -0.03em;
	color: var(--df-ink);
	text-wrap: balance;
}
.df-dek {
	margin: 16px 0 0;
	font-size: clamp(18px, 1.9vw, 20.5px);
	line-height: 1.5;
	color: var(--df-muted);
	text-wrap: pretty;
}
.df-byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 14px;
	margin-top: 22px;
	padding: 14px 0;
	border-top: 1px solid var(--df-line);
	border-bottom: 1px solid var(--df-line);
}
.df-byline__avatar {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
}
.df-byline__text {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	font-size: 14px;
	line-height: 1.35;
}
.df-byline__by {
	color: var(--df-muted);
}
.df .df-byline__by a {
	font-weight: 700;
	color: var(--df-ink);
	text-decoration: none;
}
.df .df-byline__by a:hover {
	color: var(--df-link);
}
.df-byline__date {
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--df-subtle);
}
.df-byline__date > * + *::before {
	content: "·";
	margin: 0 7px;
}

.df-share {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 0 auto;
	padding: 0;
	list-style: none;
}
.df-share li {
	margin: 0;
}
.df .df-share__btn {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--df-bg);
	color: var(--df-ink);
	box-shadow: inset 0 0 0 1px var(--df-line);
	cursor: pointer;
	text-decoration: none;
	transition: color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.df .df-share__btn:hover,
.df .df-share__btn:focus-visible {
	color: var(--df-link);
	box-shadow: inset 0 0 0 1.5px var(--df-link);
}
.df-share__btn .df-icon {
	width: 17px;
	height: 17px;
}
.df-share--icons .df-share__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
.df-native-item {
	display: none;
}
.df-can-share .df-native-item {
	display: block;
}
.df .df-share--labeled .df-share__btn {
	display: inline-flex;
	gap: 8px;
	width: auto;
	padding: 0 15px;
	font: 600 13.5px/1 var(--df-font);
}

.df-featured {
	margin: 24px 0 0;
}
.df .df-featured__img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--df-radius);
	background: var(--df-bg-2);
}
.df-featured figcaption {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 16px;
	margin-top: 10px;
	font-size: 13px;
	line-height: 1.45;
	color: var(--df-subtle);
}
.df-featured__credit {
	margin-left: auto;
}

/* Article text. Element rules sit in a zero-specificity :where() layer so that
   component styles (plugins, shortcodes, the table of contents) always win. */
:where(.df .entry-content) {
	font-size: 18px;
	line-height: 1.75;
	color: var(--df-text);
	overflow-wrap: break-word;
}
:where(.df .entry-content) p {
	margin: 0 0 1.35em;
}
:where(.df .entry-content) > :last-child {
	margin-bottom: 0;
}
:where(.df .entry-content) h2 {
	margin: 1.9em 0 0.65em;
	font-size: clamp(24px, 2.4vw, 29px);
	font-weight: 800;
	line-height: 1.24;
	letter-spacing: -0.022em;
}
:where(.df .entry-content) h3 {
	margin: 1.6em 0 0.55em;
	font-size: clamp(20px, 2vw, 23px);
	font-weight: 750;
	line-height: 1.3;
	letter-spacing: -0.016em;
}
:where(.df .entry-content) h4 {
	margin: 1.5em 0 0.5em;
	font-size: 19px;
	font-weight: 750;
	line-height: 1.35;
}
:where(.df .entry-content) :is(h2, h3, h4)[id] {
	scroll-margin-top: calc(var(--df-header-h) + 24px);
}
:where(.df .entry-content) a:where(:not(.df-btn, .wp-block-button__link)) {
	color: var(--df-link);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
}
:where(.df .entry-content) a:where(:not(.df-btn, .wp-block-button__link)):hover {
	color: var(--df-link-hover);
	text-decoration-color: currentColor;
}
:where(.df .entry-content) :is(ul, ol) {
	margin: 0 0 1.35em;
	padding-left: 1.35em;
}
:where(.df .entry-content) li {
	margin-bottom: 0.5em;
	padding-left: 0.2em;
}
:where(.df .entry-content) li::marker {
	color: var(--df-link);
	font-weight: 700;
}
:where(.df .entry-content) strong {
	font-weight: 700;
}
:where(.df .entry-content) :is(blockquote, .wp-block-quote) {
	margin: 1.8em 0;
	padding: 2px 0 2px 24px;
	border: 0;
	border-left: 4px solid var(--df-btn);
	background: none;
	font-size: 20.5px;
	font-style: normal;
	line-height: 1.55;
	color: var(--df-ink);
}
:where(.df .entry-content) blockquote p:last-child {
	margin-bottom: 0;
}
:where(.df .entry-content) blockquote :is(cite, footer) {
	display: block;
	margin-top: 10px;
	font-size: 14px;
	font-style: normal;
	color: var(--df-muted);
}
:where(.df .entry-content) .wp-block-pullquote {
	padding: 28px 0;
	border-top: 3px solid var(--df-rule);
	border-bottom: 1px solid var(--df-line);
}
:where(.df .entry-content) figure {
	margin: 1.8em 0;
}
:where(.df .entry-content) :is(.wp-block-image, figure) img {
	border-radius: var(--df-radius-sm);
}
:where(.df .entry-content) :is(figcaption, .wp-caption-text) {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.45;
	text-align: center;
	color: var(--df-subtle);
}
:where(.df .entry-content) table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	border: 0;
	font-size: 15.5px;
	line-height: 1.5;
}
:where(.df .entry-content) > table {
	display: block;
	overflow-x: auto;
	margin-bottom: 1.6em;
}
:where(.df .entry-content) .wp-block-table {
	overflow-x: auto;
	border: 1px solid var(--df-line);
	border-radius: var(--df-radius-sm);
}
:where(.df .entry-content) :is(th, td) {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid var(--df-line);
	text-align: left;
	vertical-align: top;
}
:where(.df .entry-content) :is(thead th, tr:first-child th) {
	background: var(--df-bg-2);
	font-weight: 700;
	color: var(--df-ink);
}
:where(.df .entry-content) tbody tr:last-child td {
	border-bottom: 0;
}
:where(.df .entry-content) code {
	padding: 0.15em 0.4em;
	border-radius: 6px;
	background: var(--df-bg-2);
	font-family: var(--df-mono);
	font-size: 0.86em;
	color: var(--df-ink);
}
:where(.df .entry-content) pre {
	margin: 1.6em 0;
	padding: 16px 18px;
	overflow-x: auto;
	border: 1px solid var(--df-line);
	border-radius: 10px;
	background: var(--df-bg-2);
	font-family: var(--df-mono);
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--df-ink);
}
:where(.df .entry-content) pre code {
	padding: 0;
	background: none;
}
:where(.df .entry-content) hr {
	margin: 2.4em 0;
	border: 0;
	border-top: 1px solid var(--df-line);
}
.df .entry-content .wp-block-separator:not(.is-style-dots):not(.has-text-color):not(.has-background) {
	height: 0;
	border: 0;
	border-top: 1px solid var(--df-line);
	background: none;
	opacity: 1;
}
:where(.df .entry-content) iframe {
	max-width: 100%;
}
:where(.df .entry-content) .wp-block-embed iframe {
	border-radius: 10px;
}
.df .entry-content .wp-block-button__link {
	border-radius: 999px;
	background: var(--df-btn);
	color: #ffffff;
	font-weight: 700;
	text-decoration: none;
}

/* WordPress table blocks: row lines only, no grid. */
.df .entry-content .wp-block-table :is(th, td) {
	border: 0;
	border-bottom: 1px solid var(--df-line);
}
.df .entry-content .wp-block-table :is(thead, tfoot) {
	border: 0;
}
.df .entry-content .wp-block-table tbody tr:last-child td {
	border-bottom: 0;
}
.df .entry-content .wp-block-table.is-style-stripes {
	border-bottom: 0;
}
.df .entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background-color: var(--df-bg-2);
}
.df .entry-content .wp-block-table.is-style-stripes :is(th, td) {
	border-color: transparent;
}

/* Shortcodes Ultimate (older posts): its styles use !important, so these do too. */
.df .entry-content .su-box {
	overflow: hidden;
	border-radius: var(--df-radius) !important;
}
.df .entry-content .su-box-content {
	background: var(--df-bg);
	color: var(--df-text);
}
.df .entry-content .su-table table {
	border: 1px solid var(--df-line) !important;
}
.df .entry-content .su-table table :is(th, td) {
	border: 0 !important;
	border-bottom: 1px solid var(--df-line) !important;
	background: var(--df-bg) !important;
	color: var(--df-text) !important;
	text-align: left !important;
}
.df .entry-content .su-table table th {
	background: var(--df-bg-2) !important;
	color: var(--df-ink) !important;
}
.df .entry-content .su-table-alternate table tr:nth-child(even) td {
	background: var(--df-bg-2) !important;
}
.df .entry-content .su-button {
	border-radius: 999px !important;
}
.df .entry-content .su-button span {
	border-radius: 999px !important;
}

/* WP-Appbox app cards */
.df .entry-content div.wpappbox {
	border: 1px solid var(--df-line);
	border-radius: var(--df-radius);
	background: var(--df-bg-2);
	color: var(--df-text);
	font-family: var(--df-font);
	overflow: hidden;
}
.df .entry-content div.wpappbox :is(div.appicon, div.applinks, div.appdetails) {
	border-color: var(--df-line);
	background: transparent;
	color: inherit;
}
.df .entry-content div.wpappbox .apptitle a {
	font-family: var(--df-font-display);
	font-weight: 750;
	color: var(--df-ink);
	text-decoration: none;
}
.df .entry-content div.wpappbox .appdetails :is(a, div, span) {
	color: inherit;
}
.df .entry-content div.wpappbox .appbuttons :is(a, span) {
	border-radius: 999px;
	background: var(--df-bg);
	color: var(--df-ink);
	box-shadow: inset 0 0 0 1px var(--df-line);
	text-decoration: none;
}
/* The QR code used to need jQuery on hover; this does it without scripts. */
.df div.wpappbox:has(.appbuttons span:hover) .qrcode {
	display: block;
}

/* Boxes written by the news automation plugin: keep its layout, use the theme's colours. */
.df .entry-content :is(.dfn-key-points, .dfn-related, .dfn-attribution--card, .dfn-attribution--minimal) {
	--dfn-accent: var(--df-link);
}
.df .entry-content .dfn-key-points {
	margin: 1.6em 0 2em;
	padding: 20px 24px 20px 28px;
	border: 1px solid var(--df-brand-line);
	background: var(--df-brand-soft);
}
.df .entry-content :is(.dfn-key-points, .dfn-related) .wp-block-group__inner-container {
	max-width: none;
	margin: 0;
	padding: 0;
}
.df .entry-content :is(.dfn-key-points, .dfn-related) :is(.wp-block-group__inner-container, .is-layout-constrained) > * {
	max-width: none;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.df .entry-content .dfn-key-points .dfn-key-points__title {
	margin: 0 0 10px;
	font: 800 12.5px/1.2 var(--df-font);
	letter-spacing: 0.1em;
	color: var(--df-link);
	opacity: 1;
}
.df .entry-content .dfn-key-points .dfn-key-points__title strong {
	color: inherit;
}
.df .entry-content .dfn-key-points li {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.6;
}
.df .entry-content .dfn-key-points li + li {
	margin-top: 8px;
}
.df .entry-content .dfn-attribution--card {
	border-color: var(--df-line);
	background: var(--df-bg-2);
}
.df .entry-content .dfn-related {
	border-color: var(--df-line);
	background: var(--df-bg-2);
}

/* Old shortcodes from removed themes/plugins, drawn by inc/legacy-shortcodes.php */
.df .entry-content .df-callout {
	margin: 1.6em 0;
	padding: 16px 20px;
	border: 1px solid var(--df-brand-line);
	border-left: 4px solid var(--df-link);
	border-radius: var(--df-radius-sm);
	background: var(--df-brand-soft);
	font-size: 16.5px;
	line-height: 1.65;
}
.df .entry-content .df-callout p {
	margin: 0 0 0.6em;
}
.df .entry-content .df-callout > :last-child {
	margin-bottom: 0;
}
.df .entry-content .df-callout--warning {
	border-color: #f3d9a4;
	border-left-color: #d97706;
	background: #fff8eb;
}
.df .entry-content .df-callout--success {
	border-color: #c6ead2;
	border-left-color: #16a34a;
	background: #effaf3;
}
:root[data-theme="dark"] .df .entry-content .df-callout--warning {
	border-color: #4a3514;
	border-left-color: #f59e0b;
	background: #241b0c;
}
:root[data-theme="dark"] .df .entry-content .df-callout--success {
	border-color: #1d4a2d;
	border-left-color: #22c55e;
	background: #0e2116;
}
.df .entry-content .df-sc-cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0 32px;
	margin: 1.4em 0;
}
.df .entry-content .df-sc-col > :last-child {
	margin-bottom: 0;
}
.df .entry-content .df-sc-button {
	margin: 1.4em 0;
}
.df .entry-content .df-sc-pullquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--df-btn);
	font-size: 21px;
	line-height: 1.5;
	color: var(--df-ink);
}
.df .entry-content .df-sc-pullquote p {
	margin: 0;
}
.df .entry-content .df-sc-related {
	margin: 1.8em 0;
	padding: 18px 22px;
	border: 1px solid var(--df-line);
	border-radius: var(--df-radius);
	background: var(--df-bg-2);
}
.df .entry-content .df-sc-related__title {
	margin: 0 0 8px;
	font: 800 12.5px/1.2 var(--df-font);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--df-link);
}
.df .entry-content .df-sc-related ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.df .entry-content .df-sc-related li {
	margin: 0;
	padding: 8px 0;
	border-top: 1px solid var(--df-line);
	font-weight: 600;
	line-height: 1.45;
}
.df .entry-content .df-sc-related li:first-child {
	border-top: 0;
	padding-top: 0;
}
.df .entry-content .df-sc-related a {
	color: var(--df-ink);
	text-decoration: none;
}
.df .entry-content .df-sc-related a:hover {
	color: var(--df-link);
}

/* Table of contents */
.df-toc {
	margin: 2em 0;
	border: 1px solid var(--df-line);
	border-radius: var(--df-radius);
	background: var(--df-bg-2);
}
.df-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 20px;
	list-style: none;
	cursor: pointer;
	font: 800 12.5px/1.2 var(--df-font);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--df-ink);
}
.df-toc summary::-webkit-details-marker {
	display: none;
}
.df-toc summary .df-icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s ease;
}
.df-toc details[open] summary .df-icon {
	transform: rotate(180deg);
}
.df .df-toc ol {
	margin: 0;
	padding: 0 20px 14px;
	list-style: none;
	counter-reset: df-toc;
}
.df .df-toc li {
	margin: 0;
	padding: 0;
}
.df .df-toc li::marker {
	content: none;
}
.df .df-toc a {
	text-decoration: none;
	display: flex;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--df-line);
	font-size: 15.5px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--df-text);
	text-decoration: none;
}
.df .df-toc .df-toc__h2 {
	counter-increment: df-toc;
}
.df .df-toc .df-toc__h2 a::before {
	content: counter(df-toc, decimal-leading-zero);
	flex: none;
	min-width: 22px;
	padding-top: 2px;
	font-size: 12.5px;
	font-weight: 800;
	color: var(--df-link);
	font-variant-numeric: tabular-nums;
}
.df .df-toc .df-toc__h3 a {
	padding-left: 34px;
	font-size: 14.5px;
	color: var(--df-muted);
}
.df .df-toc a:hover,
.df .df-toc a.is-active {
	color: var(--df-link);
}

/* After the article */
.df-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 36px;
}
.df-tags__label {
	font: 800 11.5px/1.2 var(--df-font);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--df-muted);
}
.df-sharebox {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-top: 28px;
	padding: 18px 20px;
	border: 1px solid var(--df-line);
	border-radius: var(--df-radius);
}
.df .df-sharebox__title {
	margin: 0;
	font: 800 17px/1.3 var(--df-font-display);
	color: var(--df-ink);
}
.df-sharebox .df-share {
	margin: 0;
}
.df-follow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: 16px;
	padding: 20px 22px;
	border-radius: var(--df-radius);
	background: var(--df-brand-soft);
	border: 1px solid var(--df-brand-line);
}
.df-follow__text {
	flex: 1 1 300px;
}
.df .df-follow__title {
	margin: 0;
	font: 800 18px/1.3 var(--df-font-display);
	color: var(--df-ink);
}
.df .df-follow__sub {
	margin: 4px 0 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--df-muted);
}
.df-follow__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.df-follow .df-btn--ghost {
	background: var(--df-bg);
}
.df-authorbox {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 18px;
	margin-top: 16px;
	padding: 22px;
	border-radius: var(--df-radius);
	background: var(--df-bg-2);
}
.df-authorbox__avatar img {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 50%;
}
.df .df-authorbox__label {
	margin: 2px 0 0;
	font: 800 11px/1.2 var(--df-font);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--df-muted);
}
.df .df-authorbox__name {
	margin: 4px 0 6px;
	font: 800 20px/1.25 var(--df-font-display);
}
.df .df-authorbox__name a {
	color: var(--df-ink);
	text-decoration: none;
}
.df .df-authorbox__bio {
	margin: 0 0 12px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--df-text);
}
.df-authorbox__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.df .df-authorbox__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font: 700 14px/1 var(--df-font);
	text-decoration: none;
}
.df-authorbox__more .df-icon {
	width: 16px;
	height: 16px;
}
.df-after-widgets {
	margin-top: 32px;
}
.df-related {
	margin-top: 48px;
}

/* Pages */
.page.df:not(.elementor-page) .site-main {
	max-width: 820px;
	margin-inline: auto;
}
.page.df .entry-header .entry-title {
	margin-bottom: 8px;
}

/* Comments */
.df .comments-area {
	margin-top: 48px;
	padding: 0;
	background: transparent;
}
.df .comments-title,
.df .comment-reply-title {
	margin: 0 0 20px;
	padding-top: 12px;
	border-top: 3px solid var(--df-rule);
	font: 800 22px/1.3 var(--df-font-display);
	letter-spacing: -0.02em;
	color: var(--df-ink);
}
.df .comment-list .comment-body {
	padding: 18px 0;
	border-bottom: 1px solid var(--df-line);
}
.df .comment-author .avatar {
	border-radius: 50%;
}
.df .comment-meta,
.df .comment-metadata a {
	font-size: 13px;
	color: var(--df-subtle);
}
.df .comment-form input[type="text"],
.df .comment-form input[type="email"],
.df .comment-form input[type="url"],
.df .comment-form textarea,
.df .wpcf7 input[type="text"],
.df .wpcf7 input[type="email"],
.df .wpcf7 input[type="url"],
.df .wpcf7 input[type="tel"],
.df .wpcf7 textarea,
.df .wpcf7 select {
	width: 100%;
	padding: 12px 14px;
	border: 1.5px solid var(--df-line);
	border-radius: 10px;
	background: var(--df-bg);
	color: var(--df-ink);
	font: 16px/1.5 var(--df-font);
	transition: border-color 0.15s ease;
}
.df .comment-form input:focus,
.df .comment-form textarea:focus,
.df .wpcf7 input:focus,
.df .wpcf7 textarea:focus {
	border-color: var(--df-btn);
	outline: 0;
}

/* ---------------------------------------------------------------- Widgets */

.df .widget-area .widget,
.df .df-sidebar .widget {
	margin: 0 0 36px;
	padding: 0;
	background: transparent;
	font-size: 15px;
}
.df .widget-title {
	margin: 0 0 12px;
	padding-top: 10px;
	border-top: 3px solid var(--df-rule);
	font: 800 18px/1.3 var(--df-font-display);
	letter-spacing: -0.012em;
	text-transform: none;
	color: var(--df-ink);
}
.df .widget ul {
	margin: 0;
}
.df .widget ul li {
	list-style: none;
}
.df-sticky,
.df .inside-right-sidebar > .widget:last-child,
.df-sidebar > .widget:last-child {
	position: sticky;
	top: calc(var(--df-header-h) + 24px);
}
.admin-bar .df-sticky,
.admin-bar.df .inside-right-sidebar > .widget:last-child,
.admin-bar .df-sidebar > .widget:last-child {
	top: calc(var(--df-header-h) + 56px);
}
.df-wlist .df-card--stack:first-child,
.df-wlist .df-card--grid + .df-card--stack {
	border-top: 0;
	padding-top: 0;
}
.df-wlist .df-card--grid {
	margin-bottom: 16px;
}
.df-wlist .df-card--grid + .df-card--stack {
	padding-top: 16px;
	border-top: 1px solid var(--df-line);
}
.df-ad {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
}
.df-ad__label {
	margin-bottom: 6px;
	font: 600 10px/1 var(--df-font);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--df-subtle);
}
.df-ad__slot {
	flex: 1;
	width: 100%;
	border-radius: var(--df-radius-sm);
	background: var(--df-bg-2);
	overflow: hidden;
}
.df-followgrid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
}
.df-followgrid li {
	margin: 0;
}
.df .df-followgrid__link {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	box-shadow: inset 0 0 0 1px var(--df-line);
	font: 600 14px/1 var(--df-font);
	color: var(--df-ink);
	text-decoration: none;
	transition: box-shadow 0.15s ease, color 0.15s ease;
}
.df .df-followgrid__link:hover {
	color: var(--df-link);
	box-shadow: inset 0 0 0 1.5px var(--df-link);
}
.df-followgrid__link .df-icon {
	width: 18px;
	height: 18px;
}
.df-newsletter--card {
	padding: 22px;
	border-radius: var(--df-radius);
	background: var(--df-brand-soft);
	border: 1px solid var(--df-brand-line);
}
.df .df-newsletter__title {
	margin: 0;
	font: 800 19px/1.25 var(--df-font-display);
	letter-spacing: -0.015em;
	color: var(--df-ink);
}
.df .df-newsletter__text {
	margin: 6px 0 14px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--df-muted);
}
.df-newsletter__form {
	display: flex;
	gap: 8px;
	margin: 0;
}
.df .df-newsletter__form input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 16px;
	border: 1.5px solid var(--df-line);
	border-radius: 999px;
	background: var(--df-bg);
	color: var(--df-ink);
	font: 500 15px var(--df-font);
}
.df .df-newsletter__form input[type="email"]:focus {
	border-color: var(--df-btn);
	outline: 0;
}
.df-newsletter--card .df-newsletter__form,
.df-newsletter--footer .df-newsletter__form {
	flex-wrap: wrap;
}
.df-newsletter--card .df-newsletter__form input[type="email"] {
	flex: 1 1 100%;
}
.df-newsletter--card .df-newsletter__form .df-btn {
	width: 100%;
}

/* Social icon list */
.df-social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.df-social li {
	margin: 0;
}
.df .df-social__link {
	display: inline-grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: transparent;
	color: var(--df-ink);
	box-shadow: inset 0 0 0 1px var(--df-line);
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.df .df-social__link:hover {
	background: var(--df-btn);
	color: #ffffff;
	box-shadow: none;
}
.df-social__link .df-icon {
	width: 16px;
	height: 16px;
}

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

.df .site-footer {
	background: var(--df-footer);
}
.df-footer {
	color: #aab0bb;
	font-size: 15px;
	line-height: 1.6;
	background: var(--df-footer);
	--df-logo-mark: #6366f1;
	--df-logo-ink: #ffffff;
	--df-logo-knock: var(--df-footer);
}
.df .df-footer a {
	color: #dfe2e8;
	text-decoration: none;
}
.df .df-footer a:hover {
	color: #ffffff;
}
.df-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px 64px;
	align-items: start;
	padding: 56px 0 44px;
	border-bottom: 1px solid rgb(255 255 255 / 9%);
}
.df-footer .df-logo-svg {
	height: 34px;
}
.df .df-footer__about {
	max-width: 480px;
	margin: 18px 0 22px;
	color: #a3a9b5;
}
.df .df-social--footer .df-social__link {
	color: #dfe2e8;
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 15%);
}
.df .df-social--footer .df-social__link:hover {
	background: var(--df-btn);
	color: #ffffff;
	box-shadow: none;
}
.df-newsletter--footer {
	padding: 26px 28px;
	border-radius: var(--df-radius);
	background: rgb(255 255 255 / 4%);
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 9%);
}
.df .df-newsletter--footer .df-newsletter__title {
	color: #ffffff;
	font-size: 21px;
}
.df .df-newsletter--footer .df-newsletter__text {
	color: #a3a9b5;
}
.df .df-newsletter--footer input[type="email"] {
	border-color: rgb(255 255 255 / 16%);
	background: rgb(255 255 255 / 6%);
	color: #ffffff;
}
.df .df-newsletter--footer input[type="email"]::placeholder {
	color: #8a909b;
}
.df-footer__cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
	padding: 44px 0 48px;
}
.df .df-fcol h2 {
	margin: 0 0 16px;
	font: 800 12px/1.2 var(--df-font);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ffffff;
}
.df-fcol ul {
	display: grid;
	gap: 11px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.df-fcol li {
	margin: 0;
}
.df .df-fcol a {
	color: #aab0bb;
}
.df .df-fcol a:hover {
	color: #ffffff;
}
.df .df-fcol__follow a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.df-fcol__follow .df-icon {
	width: 16px;
	height: 16px;
}
.df-footer__bottom {
	border-top: 1px solid rgb(255 255 255 / 9%);
	font-size: 13.5px;
	color: #868c98;
}
.df-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	padding-block: 20px;
}
.df .df-footer__copy {
	margin: 0;
}
.df .df-footer__links a {
	color: #a3a9b5;
}

/* GeneratePress back-to-top button */
.df .generate-back-to-top {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--df-ink);
	color: var(--df-bg);
	box-shadow: var(--df-shadow);
}
.df .generate-back-to-top:hover,
.df .generate-back-to-top:focus {
	background: var(--df-btn);
	color: #ffffff;
}

/* Copy-link toast */
.df-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 1000;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--df-ink);
	color: var(--df-bg);
	font: 600 14px/1 var(--df-font);
	box-shadow: var(--df-shadow);
	transform: translateX(-50%);
	animation: df-toast-in 0.2s ease-out;
	transition: opacity 0.4s ease;
}
.df-toast.is-out {
	opacity: 0;
}
@keyframes df-toast-in {
	from { transform: translate(-50%, 10px); opacity: 0; }
	to { transform: translateX(-50%); opacity: 1; }
}

/* ------------------------------------------------------------------- 404 */

.df-404 {
	max-width: 680px;
	margin: 0 auto;
	padding: 24px 0 48px;
	text-align: center;
}
.df-404__code {
	margin: 0;
	font: 900 clamp(84px, 14vw, 150px)/1 var(--df-font-display);
	letter-spacing: -0.06em;
	color: var(--df-brand-line);
}
.df .df-404__title {
	margin: 12px 0 10px;
	font: 800 clamp(26px, 3.4vw, 36px)/1.15 var(--df-font-display);
	letter-spacing: -0.026em;
}
.df-404__text {
	color: var(--df-muted);
}
.df-404 .df-sform {
	margin-inline: auto;
}

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

@media (max-width: 1180px) {
	:root {
		--df-side: 300px;
	}
	.df-header__inner {
		gap: 18px;
	}
	.df-menu > li > a {
		padding: 0 9px;
		font-size: 14.5px;
	}
	.df-menu > li > a::before {
		left: 9px;
		right: 9px;
	}
	.df-split,
	.df.one-container .site-content {
		gap: 36px;
	}
}

@media (max-width: 1080px) {
	.df-nav {
		display: none;
	}
	.df-burger {
		display: inline-grid;
	}
	.df-header__inner {
		gap: 10px;
	}
	.df-logo {
		margin-right: auto;
	}
	.df-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.df-footer__cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.df.one-container .site-content {
		flex-direction: column;
	}
	.df .site-content .is-right-sidebar {
		flex: none;
		width: 100%;
	}
	.df .inside-right-sidebar > .widget:last-child,
	.df-sidebar > .widget:last-child,
	.df-sticky {
		position: static;
	}
	.df-hero,
	.df-split,
	.df-feature {
		grid-template-columns: minmax(0, 1fr);
	}
	.df-hero {
		gap: 24px;
	}
	.df-hero__side .df-label {
		display: none;
	}
	.df-hero__side .df-card--stack:nth-child(2) {
		border-top: 1px solid var(--df-line);
	}
	.single-post .inside-article,
	.single-post .df-related,
	.single-post .comments-area {
		max-width: none;
	}
	.df-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.df-grid--stack .df-card--stack:nth-child(3) {
		border-top: 1px solid var(--df-line);
		padding-top: 15px;
	}
	.df-footer__top {
		grid-template-columns: minmax(0, 1fr);
	}
	.df-topbar__links {
		display: none;
	}
}

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

@media (max-width: 680px) {
	:root {
		--df-gutter: 16px;
		--df-header-h: 58px;
	}
	body.df {
		font-size: 16px;
	}
	.df-logo-svg {
		height: 28px;
	}
	.df .df-actions__btn,
	.df-topbar {
		display: none;
	}
	.df.one-container .site-content {
		padding-top: 20px;
	}
	.df-trending__inner {
		height: 42px;
		gap: 12px;
	}
	.df-trending__list a {
		line-height: 42px;
		font-size: 13.5px;
	}
	.df-search__panel {
		padding: 16px 0 22px;
	}
	.df .df-search .df-sform__btn {
		display: none;
	}

	.df-card--list {
		grid-template-columns: minmax(0, 1fr) 112px;
		gap: 14px;
		padding: 16px 0;
	}
	.df-card--list .df-card__media {
		order: 2;
		aspect-ratio: 4 / 3;
		border-radius: 10px;
	}
	.df .df-card--list .df-card__title {
		font-size: 16.5px;
		line-height: 1.3;
	}
	.df-card--list .df-card__dek,
	.df-card--list .df-meta__by,
	.df-card--list .df-meta__by + *::before {
		display: none;
	}
	.df-card--list .df-kicker {
		font-size: 10.5px;
		margin-bottom: 5px;
	}
	.df-card--hlead {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
		padding-bottom: 20px;
	}
	.df-card--lead .df-card__dek {
		font-size: 16px;
	}

	/* Strip under the hero: swipe sideways instead of stacking. */
	.df-grid--scroll {
		grid-auto-flow: column;
		grid-template-columns: none;
		grid-auto-columns: 74%;
		gap: 16px;
		margin-inline: calc(-1 * var(--df-gutter));
		padding: 0 var(--df-gutter) 6px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: var(--df-gutter);
		scrollbar-width: none;
	}
	.df-grid--scroll::-webkit-scrollbar {
		display: none;
	}
	.df-grid--scroll > * {
		scroll-snap-align: start;
	}
	.df-strip {
		padding: 24px 0 32px;
	}
	.df-grid--4,
	.df-grid--3 {
		gap: 22px 14px;
	}
	.df .df-grid--4 .df-card--grid .df-card__title,
	.df .df-grid--3 .df-card--grid .df-card__title {
		font-size: 15.5px;
	}
	.df-grid--stack {
		grid-template-columns: minmax(0, 1fr);
	}
	.df-grid--stack .df-card--stack:nth-child(2) {
		border-top: 1px solid var(--df-line);
		padding-top: 15px;
	}
	.df-section {
		padding-top: 32px;
	}
	.df-section--dark {
		padding: 32px 0 36px;
	}
	.df .df-shead__title {
		font-size: 21px;
	}

	.df .entry-content {
		font-size: 17px;
		line-height: 1.72;
	}
	.df-byline .df-share {
		margin-left: 0;
		width: 100%;
	}
	.df-featured {
		margin-inline: calc(-1 * var(--df-gutter));
	}
	.df .df-featured__img {
		border-radius: 0;
	}
	.df-featured figcaption {
		padding-inline: var(--df-gutter);
	}
	.df-sharebox,
	.df-follow,
	.df-authorbox {
		padding: 18px;
	}
	.df-authorbox {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 14px;
	}
	.df-authorbox__avatar img {
		width: 56px;
		height: 56px;
	}
	.df-author-head {
		align-items: flex-start;
		gap: 16px;
	}
	.df-author-head__avatar {
		width: 64px;
		height: 64px;
	}
	.df-footer__cols {
		gap: 32px 20px;
	}
	.df-newsletter--footer {
		padding: 20px;
	}
	.df .df-newsletter--footer .df-newsletter__form input[type="email"],
	.df-newsletter--footer .df-newsletter__form .df-btn {
		flex: 1 1 100%;
	}
}

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

@media print {
	.df-topbar,
	.df-header,
	.df-trending,
	.df-below-header,
	.df-share,
	.df-sharebox,
	.df-follow,
	.df-related,
	.df-toc,
	.df-ad,
	.site-footer,
	.is-right-sidebar,
	.comments-area,
	.generate-back-to-top {
		display: none !important;
	}
	body.df {
		background: #ffffff;
		color: #000000;
	}
}
