/* DailyFact Design System v1 — modern clean magazine.
   Layers over Genesis / Authority Pro. Every rule is scoped to body.df-design,
   so deactivating the plugin restores the previous look instantly. */

body.df-design {
	--df-ink: #0f172a;
	--df-text: #1f2937;
	--df-muted: #5b6678;
	--df-accent: #c2410c;
	--df-accent-dark: #9a3412;
	--df-accent-soft: #fff1e6;
	--df-surface: #f6f4ef;
	--df-border: #e6e2d9;
	--df-radius: 16px;
	--df-wrap: 1200px;
	--df-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	--df-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--df-shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
	--df-shadow-hover: 0 2px 4px rgba(15, 23, 42, .08), 0 16px 40px rgba(15, 23, 42, .12);
	--df-bg: #fff;
	--df-card: #fff;
	--df-header-bg: rgba(255, 255, 255, .94);
	--df-deep: #0f172a;
	--df-footer: #0f172a;
	--df-accent-solid: #c2410c;
	--df-accent-solid-hover: #9a3412;
	--df-stripe: #fbfaf7;
	background: var(--df-bg);
	color: var(--df-text);
	font-family: var(--df-sans);
	font-size: 17px;
	line-height: 1.7;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
}

body.df-design *, body.df-design *::before, body.df-design *::after { box-sizing: border-box; }

body.df-design h1, body.df-design h2, body.df-design h3, body.df-design h4,
body.df-design .entry-title, body.df-design .archive-title {
	font-family: var(--df-serif);
	font-weight: 700;
	color: var(--df-ink);
	letter-spacing: -.015em;
	line-height: 1.2;
	text-transform: none;
}

body.df-design a { color: var(--df-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
body.df-design a:hover, body.df-design a:focus { color: var(--df-accent-dark); }
body.df-design :focus-visible { outline: 3px solid var(--df-accent); outline-offset: 2px; border-radius: 4px; }

body.df-design .site-container { overflow: visible; }

/* ---------- Header ---------- */
body.df-design .site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--df-header-bg);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid var(--df-border);
	box-shadow: none;
}
body.df-design.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.df-design.admin-bar .site-header { top: 46px; } }

body.df-design .site-header > .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: var(--df-wrap);
	padding: 10px 24px;
}
body.df-design .site-header .title-area,
body.df-design.wp-custom-logo .title-area {
	float: none;
	margin: 0;
	padding: 0;
	width: auto;
	max-width: none;
	flex: 0 0 auto;
}
body.df-design .site-header .custom-logo-link .custom-logo { max-height: 56px; width: auto; display: block; }

body.df-design .site-header .nav-primary { float: none; width: auto; max-width: none; margin-left: auto; }
body.df-design .site-header .nav-primary .wrap { padding: 0; max-width: none; }
body.df-design .genesis-nav-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
	width: auto;
	font-family: var(--df-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.4;
}
body.df-design .genesis-nav-menu > .menu-item { display: block; }
body.df-design .genesis-nav-menu a,
body.df-design .genesis-nav-menu > .first > a,
body.df-design .genesis-nav-menu > .last > a {
	color: var(--df-ink);
	padding: 9px 14px;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color .15s, color .15s;
}
body.df-design .genesis-nav-menu > .menu-item > a:hover,
body.df-design .genesis-nav-menu > .menu-item > a:focus { background: var(--df-surface); color: var(--df-ink); }
body.df-design .genesis-nav-menu .current-menu-item > a,
body.df-design .genesis-nav-menu .current-menu-ancestor > a { background: var(--df-accent-soft); color: var(--df-accent-dark); }

body.df-design .genesis-nav-menu .sub-menu {
	margin-top: 6px;
	padding: 8px;
	width: 240px;
	background: var(--df-card);
	border: 1px solid var(--df-border);
	border-radius: 14px;
	box-shadow: var(--df-shadow-hover);
}
body.df-design .genesis-nav-menu .sub-menu a {
	width: 100%;
	padding: 10px 14px;
	border: 0;
	border-radius: 10px;
	font-size: 14.5px;
	font-weight: 500;
	background: transparent;
}
body.df-design .genesis-nav-menu .sub-menu a:hover,
body.df-design .genesis-nav-menu .sub-menu a:focus { background: var(--df-surface); }

body.df-design .menu-toggle, body.df-design .sub-menu-toggle { display: none; }

/* Mobile navigation (Authority switches at 1075px) */
@media (max-width: 1075px) {
	body.df-design .site-header > .wrap { flex-wrap: wrap; padding: 10px 20px; }
	body.df-design .site-header .title-area,
	body.df-design.wp-custom-logo .title-area { max-width: 60%; }
	body.df-design .site-header .nav-primary { margin-left: 0; width: auto; flex: 0 0 auto; }
	body.df-design .menu-toggle {
		display: inline-flex;
		align-items: center;
		margin: 0;
		padding: 9px 16px;
		border: 1px solid var(--df-border);
		border-radius: 999px;
		background: var(--df-card);
		color: var(--df-ink);
		font: 600 14px/1.2 var(--df-sans);
		letter-spacing: 0;
		text-transform: none;
		box-shadow: none;
	}
	body.df-design .menu-toggle:hover, body.df-design .menu-toggle:focus { background: var(--df-surface); color: var(--df-ink); transform: none; }
	body.df-design .genesis-responsive-menu {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		width: 100%;
		background: var(--df-card);
		border-bottom: 1px solid var(--df-border);
		box-shadow: var(--df-shadow-hover);
		padding: 8px 20px 16px;
		max-height: calc(100vh - 80px);
		overflow-y: auto;
	}
	body.df-design .genesis-responsive-menu .genesis-nav-menu { display: block; }
	body.df-design .genesis-responsive-menu .menu-item { position: relative; display: block; }
	body.df-design .genesis-responsive-menu .genesis-nav-menu a { display: block; border-radius: 10px; padding: 12px 12px; font-size: 16px; }
	body.df-design .genesis-responsive-menu .genesis-nav-menu .sub-menu,
	body.df-design .genesis-responsive-menu .genesis-nav-menu .sub-menu a { width: 100%; }
	body.df-design .genesis-responsive-menu .genesis-nav-menu .sub-menu {
		margin: 0 0 6px 12px;
		padding: 0 0 0 10px;
		border: 0;
		border-left: 2px solid var(--df-border);
		border-radius: 0;
		box-shadow: none;
	}
	body.df-design .sub-menu-toggle {
		display: block;
		position: absolute;
		top: 4px;
		right: 0;
		margin: 0;
		padding: 8px 12px;
		border: 0;
		background: transparent;
		color: var(--df-ink);
		box-shadow: none;
	}
}

/* ---------- Page frame ---------- */
body.df-design .site-inner { max-width: none; padding: 0; }
body.df-design .content-sidebar-wrap { max-width: none; }
body.df-design .full-width-content .content,
body.df-design.full-width-content .content { float: none; width: 100%; max-width: none; margin: 0; }

body.df-design.df-home .entry-header, body.df-design.df-home .entry > .entry-header { display: none; }
body.df-design.df-home .entry-content { font-size: inherit; line-height: inherit; }

/* Inner pages: comfortable reading column */
body.df-design.page:not(.df-home):not(.page-template-front) .site-inner,
body.df-design.error404 .site-inner { padding: 56px 24px 96px; }
body.df-design.page:not(.df-home) .content {
	max-width: 760px;
	margin: 0 auto;
}
body.df-design.page:not(.df-home) .entry { padding: 0; margin: 0; background: none; box-shadow: none; }
body.df-design.page:not(.df-home) .entry-header { margin: 0 0 32px; text-align: left; }
body.df-design.page:not(.df-home) .entry-title { font-size: clamp(34px, 5vw, 52px); margin: 0 0 8px; }
body.df-design.page:not(.df-home) .entry-header::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	margin-top: 20px;
	background: var(--df-accent);
	border-radius: 4px;
}
body.df-design :where(.entry-content) { font-size: 18px; line-height: 1.75; color: var(--df-text); }
body.df-design :where(.entry-content) p { margin: 0 0 1.15em; }
body.df-design :where(.entry-content) .has-larger-font-size { font-size: inherit; }
body.df-design :where(.entry-content) h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 2em 0 .55em; }
body.df-design :where(.entry-content) h3 { font-size: clamp(21px, 2.4vw, 25px); margin: 1.6em 0 .5em; }
body.df-design :where(.entry-content) h1:empty { display: none; }
body.df-design :where(.entry-content) ul, body.df-design :where(.entry-content) ol { margin: 0 0 1.3em; padding-left: 1.3em; }
body.df-design :where(.entry-content) li { margin-bottom: .45em; }
body.df-design :where(.entry-content) a { font-weight: 500; }
body.df-design :where(.entry-content) blockquote {
	margin: 1.6em 0;
	padding: 4px 0 4px 20px;
	border-left: 4px solid var(--df-accent);
	font-family: var(--df-serif);
	font-size: 1.12em;
	color: var(--df-ink);
}
body.df-design :where(.entry-content) img { border-radius: 12px; height: auto; }
body.df-design :where(.entry-content) table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; line-height: 1.5; }
body.df-design :where(.entry-content) th, body.df-design :where(.entry-content) td { border: 1px solid var(--df-border); padding: 10px 12px; text-align: left; vertical-align: top; overflow-wrap: normal; word-break: normal; hyphens: none; }
body.df-design :where(.entry-content) th { background: var(--df-surface); font-weight: 700; color: var(--df-ink); }

/* Summary callout used at the top of policy pages */
body.df-design .df-summary {
	padding: 18px 22px;
	margin: 0 0 2em;
	background: var(--df-accent-soft);
	border-left: 4px solid var(--df-accent);
	border-radius: 0 12px 12px 0;
	color: var(--df-ink);
	font-size: 17px;
}
body.df-design .post-edit-link { display: none; }
body.df-design .df-meta, body.df-design .df-updated { color: var(--df-muted); font-size: 14.5px; }

/* Buttons */
body.df-design button[type="submit"],
body.df-design input[type="submit"],
body.df-design input[type="button"],
body.df-design .button,
body.df-design .df-button,
body.df-design .wpforms-submit {
	display: inline-block;
	padding: 13px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--df-accent-solid);
	color: #fff;
	font: 700 15px/1.2 var(--df-sans);
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: background-color .15s, transform .15s;
}
body.df-design button[type="submit"]:hover, body.df-design input[type="submit"]:hover,
body.df-design .button:hover, body.df-design .df-button:hover, body.df-design .wpforms-submit:hover {
	background: var(--df-accent-solid-hover);
	color: #fff;
	transform: translateY(-1px);
}

/* Forms (WPForms, comments, search) */
body.df-design input[type="text"], body.df-design input[type="email"], body.df-design input[type="url"],
body.df-design input[type="search"], body.df-design textarea, body.df-design select,
body.df-design .wpforms-container input[type="text"], body.df-design .wpforms-container input[type="email"],
body.df-design .wpforms-container textarea {
	width: 100%;
	max-width: 100%;
	padding: 13px 16px;
	border: 1px solid #cfcabd;
	border-radius: 12px;
	background: var(--df-card);
	color: var(--df-ink);
	font: 400 16px/1.4 var(--df-sans);
	box-shadow: none;
}
body.df-design input:focus, body.df-design textarea:focus, body.df-design select:focus {
	border-color: var(--df-accent);
	outline: 3px solid rgba(194, 65, 12, .18);
}
body.df-design .wpforms-field-label, body.df-design label { font-weight: 600; color: var(--df-ink); font-size: 15px; }
body.df-design .wpforms-field { padding: 0 0 18px; }
body.df-design .wpforms-container .wpforms-field-medium, body.df-design .wpforms-container .wpforms-field-large { max-width: 100%; width: 100%; }

/* ---------- Homepage ---------- */
body.df-design .df-section { padding: 64px 0; }
body.df-design .df-section .wp-block-group__inner-container,
body.df-design .df-hero__grid > .wp-block-group__inner-container,
body.df-design .df-card > .wp-block-group__inner-container,
body.df-design .df-card__body > .wp-block-group__inner-container { display: contents; }
body.df-design .df-band { background: var(--df-surface); }
body.df-design .df-wrap { max-width: var(--df-wrap); margin: 0 auto; padding: 0 24px; display: block; }
body.df-design .df-wrap > * + * { margin-top: 0; }

body.df-design .df-kicker, body.df-design .df-eyebrow {
	margin: 0 0 8px;
	color: var(--df-accent);
	font: 700 12.5px/1.2 var(--df-sans);
	letter-spacing: .12em;
	text-transform: uppercase;
}
body.df-design h1.df-kicker { margin: 0 0 18px; font: 700 12.5px/1.2 var(--df-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--df-accent-dark); }
body.df-design .df-hero { padding: 40px 0 56px; }
body.df-design .df-hero .df-kicker { margin-bottom: 18px; }
body.df-design .df-hero__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
body.df-design .df-hero__grid > * { margin: 0; }

/* Query loops reset */
body.df-design ul.wp-block-post-template { list-style: none; margin: 0; padding: 0; }
body.df-design ul.wp-block-post-template > li.wp-block-post,
body.df-design li.wp-block-post.entry {
	margin: 0;
	padding: 0;
	width: auto;
	float: none;
	background: none;
	box-shadow: none;
	border: 0;
	display: block;
	max-width: none;
}
body.df-design .df-grid ul.wp-block-post-template { display: grid; gap: 28px; }
body.df-design .df-grid--3 ul.wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.df-design .df-grid--3 ul.wp-block-post-template:has(> li:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Cards */
body.df-design .df-card__body > * { margin-block-start: 0 !important; }
body.df-design .df-card__body > .df-card__cat { margin-block-end: 12px !important; }
body.df-design .df-card__body > .df-card__title { margin-block-end: 10px !important; }
body.df-design .df-card__body > .df-card__excerpt { margin-block-end: 16px !important; }
body.df-design .df-card--row .df-card__body > .df-card__cat { margin-block-end: 8px !important; }
body.df-design .df-card--row .df-card__body > .df-card__title { margin-block-end: 6px !important; }
body.df-design .df-card--row .df-card__body > .df-card__date { margin-block-end: 0 !important; }
body.df-design .df-card__body > .df-card__date { margin-block-start: auto !important; }
body.df-design .df-card .wp-block-post-featured-image.df-noimage { background: linear-gradient(135deg, var(--df-accent-soft), #f1ebe0); }
body.df-design .df-card .df-noimage a { position: absolute; inset: 0; display: flex !important; flex-direction: row; align-items: center; justify-content: center; font: 800 34px/1 var(--df-serif); letter-spacing: -.02em; color: var(--df-accent-dark); text-decoration: none; }
body.df-design .df-card .df-noimage span { opacity: .75; }
body.df-design .df-card .df-noimage b { color: #ea580c; font-weight: 800; }
body.df-design .df-card--hero .df-noimage { background: linear-gradient(135deg, #1e293b, #0f172a); }
body.df-design .df-card--hero .df-noimage a { color: #fb923c; }

body.df-design .df-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--df-card);
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
body.df-design .df-band .df-card { border-color: transparent; box-shadow: var(--df-shadow); }
body.df-design .df-card:hover { transform: translateY(-3px); box-shadow: var(--df-shadow-hover); }
body.df-design .df-card .wp-block-post-featured-image { position: relative; margin: 0; overflow: hidden; background: var(--df-surface); aspect-ratio: 3 / 2; }
body.df-design .df-card .wp-block-post-featured-image a { display: block; position: absolute; inset: 0; }
body.df-design .df-card .wp-block-post-featured-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; aspect-ratio: auto; transition: transform .4s ease; }
body.df-design .df-card:hover .wp-block-post-featured-image img { transform: scale(1.035); }
body.df-design .df-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
body.df-design .df-card__cat { margin: 0 0 12px; line-height: 1; }
body.df-design .df-card__cat a {
	display: inline-block;
	padding: 6px 11px;
	border-radius: 999px;
	background: var(--df-accent-soft);
	color: var(--df-accent-dark);
	font: 700 11.5px/1 var(--df-sans);
	letter-spacing: .07em;
	text-transform: uppercase;
	text-decoration: none;
}
body.df-design .df-card__cat a:hover { background: var(--df-accent-solid); color: #fff; }
body.df-design .df-card__cat .wp-block-post-terms__separator,
body.df-design .df-card__cat a:not(:first-child) { display: none; }
body.df-design .df-card__title { margin: 0 0 10px; font-size: 22px; line-height: 1.25; }
body.df-design .df-card__title a { color: var(--df-ink); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s; }
body.df-design .df-card:hover .df-card__title a { background-size: 100% 1.5px; }
body.df-design .df-card__excerpt { margin: 0 0 16px; font-size: 15.5px; line-height: 1.6; color: var(--df-muted); }
body.df-design .df-card__excerpt p { margin: 0; }
body.df-design .df-card__date { margin: auto 0 0; font-size: 13.5px; color: var(--df-muted); }
/* Whole-card click target */
body.df-design .df-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
body.df-design .df-card__cat { position: relative; z-index: 2; }
body.df-design .df-card .wp-block-post-featured-image a { z-index: 0; }

/* Hero main card: image with overlaid headline */
body.df-design .df-hero__main, body.df-design .df-hero__side { min-width: 0; }
body.df-design .df-hero__main ul.wp-block-post-template, body.df-design .df-hero__main li.wp-block-post, body.df-design .df-hero__main .df-card { height: 100%; }
body.df-design .df-card--hero { min-height: 540px; border: 0; background: var(--df-deep); }
body.df-design .df-card--hero .wp-block-post-featured-image { position: absolute; inset: 0; aspect-ratio: auto; }
body.df-design .df-card--hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(15, 23, 42, .94) 0%, rgba(15, 23, 42, .6) 40%, rgba(15, 23, 42, 0) 75%);
	pointer-events: none;
}
body.df-design .df-card--hero .df-card__body { position: relative; z-index: 2; margin-top: auto; padding: 36px; }
body.df-design .df-card--hero .df-card__title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; }
body.df-design .df-card--hero .df-card__title a { color: #fff; }
body.df-design .df-card--hero .df-card__excerpt { color: #e2e8f0; font-size: 17px; max-width: 60ch; }
body.df-design .df-card--hero .df-card__date { color: #cbd5e1; }
body.df-design .df-card--hero .df-card__cat a { background: #fff; color: #9a3412; }

/* Hero side list: compact rows */
body.df-design .df-hero__side { height: 100%; }
body.df-design .df-hero__side ul.wp-block-post-template { display: grid; gap: 16px; height: 100%; grid-template-rows: repeat(3, minmax(0, 1fr)); }
body.df-design .df-card--row { flex-direction: row; align-items: stretch; }
body.df-design .df-card--row .wp-block-post-featured-image { flex: 0 0 38%; aspect-ratio: auto; min-height: 112px; }
body.df-design .df-card--row .df-card__body { justify-content: center; padding: 14px 18px; }
body.df-design .df-card--row .df-card__cat { margin-bottom: 8px; }
body.df-design .df-card--row .df-card__title { font-size: 18px; margin: 0 0 6px; }
body.df-design .df-card--row .df-card__date { margin: 0; }

/* Section heads */
body.df-design .df-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 28px; }
body.df-design .df-section-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 38px); }
body.df-design .df-viewall { font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
body.df-design .df-viewall:hover { text-decoration: underline; }

/* Topic chips */
body.df-design .df-topics { padding: 8px 0 24px; }
body.df-design .df-topics__inner { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid var(--df-border); border-bottom: 1px solid var(--df-border); }
body.df-design .df-topics__label { margin: 0; font: 700 12.5px/1 var(--df-sans); letter-spacing: .12em; text-transform: uppercase; color: var(--df-muted); }
body.df-design .df-chips { display: flex; flex-wrap: wrap; gap: 10px; }
body.df-design .df-chip {
	padding: 9px 16px;
	border: 1px solid var(--df-border);
	border-radius: 999px;
	background: var(--df-card);
	color: var(--df-ink);
	font: 600 14.5px/1.2 var(--df-sans);
	text-decoration: none;
	transition: background-color .15s, border-color .15s, color .15s;
}
body.df-design .df-chip:hover { background: var(--df-deep); border-color: var(--df-deep); color: #fff; }

/* Trust band */
body.df-design .df-trustband { padding: 72px 0; }
body.df-design .df-trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: center; padding: 48px; border-radius: 24px; background: var(--df-deep); color: #cbd5e1; }
body.df-design .df-trust h2 { margin: 0 0 14px; color: #fff; font-size: clamp(28px, 3.4vw, 38px); }
body.df-design .df-trust .df-eyebrow { color: #fdba74; }
body.df-design .df-trust p { margin: 0 0 22px; font-size: 17px; }
body.df-design .df-trust .df-button { background: #fff; color: #0f172a; }
body.df-design .df-trust .df-button:hover { background: var(--df-accent-soft); color: var(--df-ink); }
body.df-design .df-trust__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
body.df-design .df-trust__list li { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 18px 20px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 14px; background: rgba(255, 255, 255, .04); }
body.df-design .df-trust__list strong { color: #fff; font-size: 17px; }
body.df-design .df-trust__list span { font-size: 15.5px; line-height: 1.55; }

/* ---------- Archives ---------- */
body.df-design.archive .site-inner, body.df-design.search .site-inner, body.df-design.blog .site-inner { padding: 0 0 96px; }
body.df-design .archive-description {
	max-width: none;
	margin: 0 0 48px;
	padding: 64px 24px 52px;
	background: var(--df-surface);
	border: 0;
	border-bottom: 1px solid var(--df-border);
	text-align: center;
	box-shadow: none;
}
body.df-design .archive-description .archive-title { margin: 0 auto; max-width: var(--df-wrap); font-size: clamp(36px, 5vw, 58px); }
body.df-design .archive-description p { max-width: 640px; margin: 14px auto 0; color: var(--df-muted); }
body.df-design.archive .content, body.df-design.search .content, body.df-design.blog .content {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	max-width: var(--df-wrap);
	margin: 0 auto;
	padding: 0 24px;
	float: none;
}
body.df-design.archive .content > *, body.df-design.search .content > * { min-width: 0; }
body.df-design.archive .content .entry,
body.df-design.search .content .entry,
body.df-design.blog .content .entry {
	position: relative;
	display: flex;
	flex-direction: column;
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	background: var(--df-card);
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	overflow: hidden;
	box-shadow: none;
	clear: none;
	transition: transform .2s, box-shadow .2s;
}
body.df-design.archive .content .entry:hover { transform: translateY(-3px); box-shadow: var(--df-shadow-hover); }
body.df-design.archive .authority-featured-image, body.df-design.search .authority-featured-image { margin: 0; padding: 0; float: none; }
body.df-design.archive .authority-featured-image::before, body.df-design.archive .authority-featured-image::after { display: none; }
body.df-design.archive .entry-image-link { display: block; }
body.df-design.archive .entry-image { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 0; margin: 0; }
body.df-design.archive .entry-header, body.df-design.search .entry-header { margin: 0; padding: 20px 22px 0; text-align: left; }
body.df-design.archive .entry-header .entry-title { margin: 0 0 6px; font-size: 22px; line-height: 1.25; }
body.df-design.archive .entry-title a { color: var(--df-ink); text-decoration: none; }
body.df-design.archive .entry-title a::after { content: ""; position: absolute; inset: 0; }
body.df-design .entry-meta { margin: 0; font-size: 13.5px; color: var(--df-muted); text-transform: none; letter-spacing: 0; font-style: normal; }
body.df-design.archive .entry-content { padding: 8px 22px 0; font-size: 15.5px; line-height: 1.6; color: var(--df-muted); }
body.df-design.archive .entry-content p { margin: 0 0 12px; }
body.df-design.archive .more-link-wrap { display: none; }
body.df-design.archive .entry-footer { margin: auto 0 0; padding: 0 22px 20px; border: 0; }
body.df-design.archive .entry-footer .entry-tags { display: none; }
body.df-design.archive .entry-footer .entry-meta { font-size: 13px; }
body.df-design .archive-pagination, body.df-design .pagination { grid-column: 1 / -1; margin: 24px 0 0; text-align: center; }
body.df-design .archive-pagination ul { display: inline-flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
body.df-design .archive-pagination li a {
	display: block;
	min-width: 44px;
	padding: 10px 16px;
	border: 1px solid var(--df-border);
	border-radius: 999px;
	background: var(--df-card);
	color: var(--df-ink);
	font: 600 15px/1.2 var(--df-sans);
	text-decoration: none;
}
body.df-design .archive-pagination li a:hover, body.df-design .archive-pagination .active a { background: var(--df-deep); border-color: var(--df-deep); color: #fff; }


/* Beat Authority Pro's grid-archive rules (higher specificity) */
body.df-design.authority-grid.archive:not(.woocommerce-page) .content .entry,
body.df-design.authority-grid.archive:not(.woocommerce-page) .content .entry:nth-of-type(3n+1) { float: none; clear: none; width: auto; padding: 0; }
body.df-design.authority-grid.archive:not(.woocommerce-page) .entry-header { margin: 0; padding: 20px 22px 0; }
body.df-design.authority-grid.archive:not(.woocommerce-page) .entry-title { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; }
body.df-design.authority-grid.archive:not(.woocommerce-page) .entry-content p { margin: 0 0 12px; }
body.df-design.authority-grid.archive:not(.woocommerce-page) .authority-featured-image { margin: 0; padding: 0; }

body.df-design.authority-grid.archive:not(.woocommerce-page) .authority-featured-image::before,
body.df-design.authority-grid.archive:not(.woocommerce-page) .authority-featured-image::after { display: none; content: none; }
body.df-design.archive .entry-header .entry-meta { font-size: 0; }
body.df-design.archive .entry-header .entry-meta .entry-time { font-size: 13.5px; font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--df-muted); }
body.df-design.archive .entry-footer { display: none; }
body.df-design.archive .entry-content { padding-bottom: 22px; }

/* Placeholder tile for archive cards without a featured image */
body.df-design .df-noimage-wrap { position: relative; margin: 0; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--df-accent-soft), #f1ebe0); }
body.df-design .df-noimage-wrap a { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 30px/1 var(--df-serif); letter-spacing: -.02em; color: var(--df-accent-dark); text-decoration: none; }
body.df-design .df-noimage-wrap b { color: #ea580c; font-weight: 800; }
body.df-design .entry-content .df-card__excerpt:empty, body.df-design .df-card__excerpt:has(p:empty) { display: none; }

/* WPForms */
body.df-design .wpforms-container .wpforms-field.wpforms-two-thirds,
body.df-design .wpforms-container .wpforms-field.wpforms-one-half { width: 100% !important; float: none !important; margin-left: 0 !important; padding-right: 0 !important; }
body.df-design .wpforms-container .wpforms-form .wpforms-submit-container .wpforms-submit,
body.df-design .wpforms-container .wpforms-form button[type="submit"].wpforms-submit {
	padding: 14px 30px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--df-accent-solid) !important;
	color: #fff !important;
	font: 700 15px/1.2 var(--df-sans) !important;
}
body.df-design .wpforms-container .wpforms-form .wpforms-submit:hover { background: var(--df-accent-solid-hover) !important; }
body.df-design .wpforms-container .wpforms-form input[type="text"], body.df-design .wpforms-container .wpforms-form input[type="email"], body.df-design .wpforms-container .wpforms-form textarea { max-width: 100% !important; width: 100% !important; border: 1px solid #cfcabd !important; border-radius: 12px !important; padding: 13px 16px !important; }

/* ---------- Articles (baseline polish; full template comes next phase) ---------- */
body.df-design.single .site-inner { max-width: var(--df-wrap); padding: 40px 24px 80px; }
body.df-design.single .entry-title { font-size: clamp(32px, 4.6vw, 48px); }
body.df-design.single .sidebar .widget, body.df-design.single .sidebar .widget-wrap { border-radius: var(--df-radius); }
body.df-design .sidebar .widget { background: var(--df-card); border: 1px solid var(--df-border); box-shadow: none; padding: 22px; margin-bottom: 24px; }
body.df-design .sidebar .widget-title { font: 700 13px/1.2 var(--df-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--df-muted); }
body.df-design .tagcloud a { display: inline-block; margin: 0 6px 8px 0; padding: 5px 11px; border-radius: 999px; background: var(--df-surface); color: var(--df-ink) !important; font-size: 13px !important; text-decoration: none; }

/* ---------- Footer ---------- */
body.df-design .footer-widgets { display: none; }
body.df-design .site-footer {
	margin: 0;
	padding: 72px 0 0;
	background: var(--df-footer);
	color: #cbd5e1;
	font: 400 15px/1.65 var(--df-sans);
	letter-spacing: 0;
	text-transform: none;
}
body.df-design .site-footer > .wrap { max-width: var(--df-wrap); padding: 0 24px; }
body.df-design .df-footer { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
body.df-design .df-footer__logo { display: inline-block; margin-bottom: 14px; color: #fff; font: 800 28px/1 var(--df-serif); letter-spacing: -.02em; text-decoration: none; }
body.df-design .df-footer__logo span { color: #fb923c; }
body.df-design .df-footer__logo:hover { color: #fff; }
body.df-design .df-footer__brand p { max-width: 34ch; margin: 0; color: #cbd5e1; }
body.df-design .df-footer__title { margin: 0 0 14px; color: #fff; font: 700 12.5px/1.2 var(--df-sans); letter-spacing: .12em; text-transform: uppercase; }
body.df-design .df-footer ul { margin: 0; padding: 0; list-style: none; }
body.df-design .df-footer li { margin: 0 0 9px; }
body.df-design .df-footer a { color: #e2e8f0; text-decoration: none; }
body.df-design .df-footer a:hover, body.df-design .df-footer a:focus { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
body.df-design .df-footer__bottom {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 32px;
	margin-top: 24px;
	padding: 24px 0 32px;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: 13.5px;
	color: #94a3b8;
}
body.df-design .df-footer__bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	body.df-design .df-hero__grid { grid-template-columns: 1fr; }
	body.df-design .df-hero__side ul.wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; }
	body.df-design .df-card--row { flex-direction: column; }
	body.df-design .df-card--row .wp-block-post-featured-image { flex: none; aspect-ratio: 3 / 2; min-height: 0; }
	body.df-design .df-grid--3 ul.wp-block-post-template,
	body.df-design.archive .content, body.df-design.search .content, body.df-design.blog .content { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.df-design .df-trust { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
	body.df-design .df-footer { grid-template-columns: 1fr 1fr; }
	body.df-design .df-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
	body.df-design { font-size: 16.5px; }
	body.df-design .df-section { padding: 44px 0; }
	body.df-design .df-hero { padding: 24px 0 40px; }
	body.df-design .df-wrap, body.df-design.archive .content { padding-left: 18px; padding-right: 18px; }
	body.df-design .df-hero__side ul.wp-block-post-template { grid-template-columns: 1fr; }
	body.df-design .df-card--row { flex-direction: row; }
	body.df-design .df-card--row .wp-block-post-featured-image { flex: 0 0 36%; aspect-ratio: auto; min-height: 104px; }
	body.df-design .df-card--hero { min-height: 440px; }
	body.df-design .df-card--hero .df-card__body { padding: 22px; }
	body.df-design .df-card--hero .df-card__excerpt { display: none; }
	body.df-design .df-grid--3 ul.wp-block-post-template,
	body.df-design.archive .content, body.df-design.search .content, body.df-design.blog .content { grid-template-columns: 1fr; }
	body.df-design .df-section-head { align-items: flex-start; flex-direction: column; gap: 6px; }
	body.df-design .df-trust { padding: 26px 22px; }
	body.df-design .df-footer { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
	body.df-design.page:not(.df-home) .site-inner { padding: 36px 18px 72px; }
	body.df-design .archive-description { padding: 44px 18px 36px; }
	body.df-design :where(.entry-content) { font-size: 17px; }
	body.df-design :where(.entry-content) table { display: block; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
	body.df-design *, body.df-design *::before, body.df-design *::after { transition: none !important; animation: none !important; }
}

/* Sections whose query returns fewer than two cards stay hidden until there is enough content */
body.df-design .df-section:has(.df-grid):not(:has(.df-grid li:nth-child(2))) { display: none; }
body.df-design .sub-menu-toggle, body.df-design .sub-menu-toggle:focus, body.df-design .sub-menu-toggle.activated { border: 0 !important; box-shadow: none; }

/* ---------- Single article template ---------- */
body.df-article .site-inner > .authority-featured-image { display: none; }
body.df-article .site-inner { max-width: 1100px; margin: 0 auto; padding: 32px 24px 96px; }
body.df-article .content { float: none; width: 100%; max-width: none; margin: 0; }
body.df-article .entry { max-width: none; margin: 0; padding: 0; background: none; box-shadow: none; }
body.df-article .entry-header { margin: 0; padding: 0; text-align: left; }
body.df-article .entry-header::after { display: none; }
body.df-article .sidebar, body.df-article .after-entry, body.df-article .entry-comments, body.df-article .comment-respond { display: none; }

.df-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 3px; background: transparent; pointer-events: none; }
.df-progress span { display: block; height: 100%; background: var(--df-accent, #c2410c); transform: scaleX(0); transform-origin: 0 50%; }
body.admin-bar .df-progress { top: 32px; }
@media (max-width: 782px) { body.admin-bar .df-progress { top: 46px; } }

body.df-article .df-article__head { max-width: 820px; margin: 0 auto; padding: 28px 0 8px; text-align: center; }
body.df-article .df-article__cat {
	display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--df-accent-soft);
	color: var(--df-accent-dark); font: 700 12px/1 var(--df-sans); letter-spacing: .09em; text-transform: uppercase; text-decoration: none;
}
body.df-article .df-article__cat:hover { background: var(--df-accent-solid); color: #fff; }
body.df-article .df-article__title { margin: 18px 0 0; font-size: clamp(32px, 5vw, 52px); line-height: 1.1; letter-spacing: -.02em; }
body.df-article .df-article__dek { max-width: 680px; margin: 18px auto 0; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.55; color: var(--df-muted); }
body.df-article .df-article__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; margin-top: 22px; font-size: 14.5px; color: var(--df-muted); }
body.df-article .df-article__meta span + span::before { content: "\00b7"; margin: 0 10px; color: #b8b2a4; }
body.df-article .df-article__meta a { color: var(--df-ink); font-weight: 600; text-decoration: none; }
body.df-article .df-article__meta a:hover { text-decoration: underline; }

body.df-article .df-article__hero { max-width: 1100px; margin: 32px auto 0; }
body.df-article .df-article__img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 20px; }
body.df-article .df-article__hero figcaption { max-width: 720px; margin: 12px auto 0; font-size: 13.5px; line-height: 1.5; color: var(--df-muted); text-align: center; }
body.df-article .df-article__hero figcaption a { color: var(--df-muted); }

body.df-article .entry-content { max-width: 720px; margin: 44px auto 0; font-size: 19px; line-height: 1.75; }
body.df-article .entry-content > * { max-width: 100%; }
body.df-article .entry-content h2 { margin: 2.1em 0 .6em; padding-top: .2em; font-size: clamp(26px, 3.2vw, 34px); scroll-margin-top: 100px; }
body.df-article .entry-content h3 { margin: 1.7em 0 .5em; font-size: clamp(21px, 2.4vw, 26px); scroll-margin-top: 100px; }
body.df-article .entry-content p, body.df-article .entry-content li { overflow-wrap: break-word; }
body.df-article .entry-content > h2:first-of-type { margin-top: 0; }
body.df-article .entry-content figure { margin: 2em 0; }
body.df-article .entry-content figure img { display: block; width: 100%; height: auto; border-radius: 14px; }
body.df-article .entry-content figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--df-muted); text-align: center; }
body.df-article .entry-content figcaption a { color: var(--df-muted); }
body.df-article .entry-content figure.wp-block-table { margin: 1.8em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.df-article .entry-content table { min-width: 520px; margin: 0; font-size: 15.5px; }
body.df-article .entry-content ul, body.df-article .entry-content ol { padding-left: 1.3em; }
body.df-article .entry-content ul li::marker { color: var(--df-accent); }
body.df-article .entry-content p > a, body.df-article .entry-content li > a { text-decoration: underline; text-decoration-color: rgba(194, 65, 12, .35); text-underline-offset: 3px; }
body.df-article .entry-content p > a:hover, body.df-article .entry-content li > a:hover { text-decoration-color: currentColor; }

body.df-article .df-article__after { max-width: 720px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--df-border); }
body.df-article .df-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
body.df-article .df-share__label { margin-right: 4px; font: 700 12.5px/1 var(--df-sans); letter-spacing: .1em; text-transform: uppercase; color: var(--df-muted); }
body.df-article .df-share a, body.df-article .df-share button {
	padding: 9px 16px; border: 1px solid var(--df-border); border-radius: 999px; background: var(--df-card); color: var(--df-ink);
	font: 600 14px/1.2 var(--df-sans); text-decoration: none; cursor: pointer; transform: none;
}
body.df-article .df-share a:hover, body.df-article .df-share button:hover { background: var(--df-deep); border-color: var(--df-deep); color: #fff; transform: none; }
body.df-article .df-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
body.df-article .df-tags li { margin: 0; }
body.df-article .df-tags a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--df-surface); color: var(--df-ink); font-size: 13.5px; text-decoration: none; }
body.df-article .df-tags a:hover { background: var(--df-accent-soft); color: var(--df-accent-dark); }
body.df-article .df-note { margin: 24px 0 0; padding: 16px 20px; border-left: 4px solid var(--df-accent); border-radius: 0 12px 12px 0; background: var(--df-surface); font-size: 15px; line-height: 1.6; color: var(--df-text); }
body.df-article .df-note strong { color: var(--df-ink); }
body.df-article .df-byline { margin: 28px 0 0; padding: 20px 22px; border: 1px solid var(--df-border); border-radius: var(--df-radius); }
body.df-article .df-byline__text { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--df-muted); }
body.df-article .df-byline strong { color: var(--df-ink); font-size: 16px; }
body.df-article .df-byline a { color: var(--df-accent-dark); }

body.df-article .df-related { margin: 72px 0 0; padding: 56px 0 0; border-top: 1px solid var(--df-border); }
body.df-article .df-related h2 { margin: 0 0 28px; font-size: clamp(26px, 3.2vw, 34px); }
body.df-article .df-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
body.df-article .df-related__grid .df-card__title { font-size: 20px; }
body.df-article .df-related__grid .df-card__excerpt { font-size: 15px; }
@media (max-width: 900px) { body.df-article .df-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } body.df-article .df-related__grid .df-card:nth-child(3) { display: none; } }
@media (max-width: 680px) {
	body.df-article .site-inner { padding: 16px 18px 72px; }
	body.df-article .df-article__head { text-align: left; padding-top: 16px; }
	body.df-article .df-article__meta { justify-content: flex-start; }
	body.df-article .df-article__img { border-radius: 14px; max-height: 360px; }
	body.df-article .entry-content { font-size: 17.5px; margin-top: 32px; }
	body.df-article .df-related__grid { grid-template-columns: 1fr; }
	body.df-article .df-related__grid .df-card:nth-child(3) { display: flex; }
}
@media print { .df-progress, .df-share, .df-related, .site-header, .site-footer { display: none !important; } }

/* Article polish */
body.df-design .df-noimage a, body.df-design .df-noimage-wrap a { position: absolute !important; inset: 0 !important; height: auto !important; align-items: center; justify-content: center; }
body.df-article .df-article__hero figcaption, body.df-article .entry-content figcaption { font-family: var(--df-sans); font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; }
body.df-article .df-article__meta { gap: 4px 18px; }
body.df-article .df-article__meta span + span::before { content: none; }
body.df-article .entry-content > p:first-of-type, body.df-article .entry-content > p:first-child { font-style: normal; font-size: 1.1em; line-height: 1.7; color: var(--df-ink); letter-spacing: 0; }
body.df-article .entry-content em { font-style: italic; }

body.df-article .entry-content .df-table-wrap { margin: 1.8em 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.df-article .entry-content .df-table-wrap table { margin: 0; min-width: 520px; }

/* Inline code in policy tables (cookie names) */
body.df-design :where(.entry-content) code { padding: 2px 6px; border-radius: 6px; background: var(--df-surface); color: var(--df-ink); font: 600 .88em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; }
body.df-design .df-contact-email { font-weight: 600; }

/* ---------- Type scale tune-down (articles and pages) ---------- */
body.df-article .df-article__title { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.015em; }
body.df-article .df-article__dek { font-size: 17px; line-height: 1.5; margin-top: 14px; }
body.df-article .df-article__meta { font-size: 13.5px; margin-top: 16px; }
body.df-article .df-article__cat { font-size: 11px; padding: 6px 12px; }
body.df-article .entry-content { font-size: 17px; line-height: 1.7; margin-top: 32px; }
body.df-article .entry-content p, body.df-article .entry-content li, body.df-article .entry-content .has-larger-font-size { font-size: inherit; line-height: inherit; }
body.df-article .entry-content > p:first-of-type, body.df-article .entry-content > p:first-child { font-size: inherit; line-height: inherit; font-style: normal; color: var(--df-text); }
body.df-article .entry-content p { margin-bottom: 1em; }
body.df-article .entry-content h2 { font-size: clamp(22px, 2.4vw, 26px); line-height: 1.25; margin: 1.8em 0 .5em; }
body.df-article .entry-content h3 { font-size: clamp(18px, 1.9vw, 20px); line-height: 1.3; margin: 1.5em 0 .4em; }
body.df-article .entry-content h4 { font-size: 17px; }
body.df-article .entry-content table { font-size: 14.5px; line-height: 1.45; }
body.df-article .entry-content th, body.df-article .entry-content td { padding: 8px 10px; line-height: 1.45; }
body.df-article .entry-content figcaption, body.df-article .df-article__hero figcaption { font-size: 12.5px; line-height: 1.45; }
body.df-article .df-share a, body.df-article .df-share button { font-size: 13px; padding: 8px 14px; }
body.df-article .df-note, body.df-article .df-byline__text { font-size: 14px; }
body.df-article .df-related h2 { font-size: clamp(22px, 2.4vw, 26px); }
body.df-article .df-related__grid .df-card__title { font-size: 17px; }
body.df-article .df-related__grid .df-card__excerpt { font-size: 14px; }

body.df-design.page:not(.df-home) .entry-title { font-size: clamp(28px, 3.6vw, 40px); }
body.df-design.page:not(.df-home) :where(.entry-content) { font-size: 17px; line-height: 1.7; }
body.df-design.page:not(.df-home) :where(.entry-content) h2 { font-size: clamp(22px, 2.4vw, 26px); margin: 1.8em 0 .5em; }
body.df-design.page:not(.df-home) :where(.entry-content) h3 { font-size: clamp(18px, 1.9vw, 20px); }
body.df-design.page:not(.df-home) :where(.entry-content) table { font-size: 14px; }
body.df-design .df-summary { font-size: 16px; line-height: 1.6; }

@media (max-width: 680px) {
	body.df-design { font-size: 16px; }
	body.df-article .site-inner { padding: 12px 16px 64px; }
	body.df-article .df-article__head { padding-top: 12px; }
	body.df-article .df-article__title { font-size: 26px; line-height: 1.18; margin-top: 14px; }
	body.df-article .df-article__dek { font-size: 15.5px; line-height: 1.5; }
	body.df-article .df-article__meta { font-size: 12.5px; gap: 2px 14px; margin-top: 12px; }
	body.df-article .df-article__hero { margin-top: 20px; }
	body.df-article .entry-content { font-size: 16px; line-height: 1.65; margin-top: 24px; }
	body.df-article .entry-content h2 { font-size: 21px; margin: 1.6em 0 .45em; }
	body.df-article .entry-content h3 { font-size: 18px; margin: 1.4em 0 .4em; }
	body.df-article .entry-content table { font-size: 13px; min-width: 460px; }
	body.df-article .entry-content th, body.df-article .entry-content td { padding: 7px 8px; }
	body.df-article .entry-content figcaption, body.df-article .df-article__hero figcaption { font-size: 12px; }
	body.df-article .df-related h2 { font-size: 21px; }
	body.df-article .df-related__grid .df-card__title { font-size: 16px; }
	body.df-design.page:not(.df-home) .site-inner { padding: 28px 16px 64px; }
	body.df-design.page:not(.df-home) .entry-title { font-size: 26px; }
	body.df-design.page:not(.df-home) :where(.entry-content) { font-size: 16px; line-height: 1.65; }
	body.df-design.page:not(.df-home) :where(.entry-content) h2 { font-size: 21px; }
	body.df-design.page:not(.df-home) :where(.entry-content) h3 { font-size: 18px; }
	body.df-design.page:not(.df-home) :where(.entry-content) table { font-size: 13px; }
	body.df-design .df-summary { font-size: 15px; padding: 14px 16px; }
	body.df-design .archive-description .archive-title { font-size: 30px; }
	body.df-design .df-card__title { font-size: 18px; }
}

/* Specificity fixes for the type scale */
body.df-design.df-article h1.entry-title.df-article__title { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; }
body.df-design.df-article .entry-content p.has-larger-font-size,
body.df-design.df-article .entry-content p.has-large-font-size,
body.df-design.df-article .entry-content > p:first-of-type { font-size: inherit !important; line-height: inherit !important; font-style: normal; }
body.df-design.page:not(.df-home) .entry-content p.has-larger-font-size,
body.df-design.page:not(.df-home) .entry-content p.has-large-font-size { font-size: inherit !important; }
@media (max-width: 680px) {
	body.df-design.df-article h1.entry-title.df-article__title { font-size: 26px; line-height: 1.18; }
}

body.df-article .df-ai-note { max-width: 620px; margin: 16px auto 0; padding: 10px 14px; border: 1px solid var(--df-border); border-radius: 12px; background: var(--df-surface); font-size: 13px; line-height: 1.5; color: var(--df-muted); text-align: left; }
body.df-article .df-ai-note span { display: inline-block; margin-right: 6px; padding: 2px 8px; border-radius: 999px; background: var(--df-deep); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
body.df-article .df-ai-note a { color: var(--df-accent-dark); font-weight: 600; }
@media (max-width: 680px) { body.df-article .df-ai-note { font-size: 12.5px; margin-top: 12px; } }
