/* ==========================================================================
   DIY Fall Decorations — main stylesheet
   Cozy fall editorial design system: tokens, typography, components, layouts.
   No external dependencies. No remote fonts. Mobile-first.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
	/* Colors — cream linen, bark brown text, pumpkin and harvest accents.
	   --dfd-accent is a deepened pumpkin so links and buttons pass WCAG AA;
	   the brighter --dfd-pumpkin and --dfd-mustard are decorative only. */
	--dfd-paper: #fbf5ea;
	--dfd-paper-deep: #f3e7d3;
	--dfd-surface: #fffaf1;
	--dfd-ink: #3b2a20;
	--dfd-ink-soft: #5c4636;
	--dfd-ink-muted: #6f5a48;
	--dfd-line: #e6d7bd;
	--dfd-line-strong: #cdb891;
	--dfd-field-border: #9a8160;
	--dfd-accent: #a8430f;
	--dfd-accent-hover: #84330c;
	--dfd-accent-soft: #fbe9d7;
	--dfd-pumpkin: #c8591b;
	--dfd-rust: #9c3d1a;
	--dfd-mustard: #d9a441;
	--dfd-mustard-soft: #fcf1d6;
	--dfd-mustard-ink: #7a5200;
	--dfd-olive: #6b7a3f;
	--dfd-second: #55622f;
	--dfd-second-soft: #eef0dc;
	--dfd-burgundy: #7a2e2e;
	--dfd-burgundy-soft: #f7e6e1;
	--dfd-focus: #3b2a20;

	/* Typography — system stacks only, nothing is downloaded */
	--dfd-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--dfd-font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
	--dfd-font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

	--dfd-text-xs: 0.8rem;
	--dfd-text-sm: 0.9rem;
	--dfd-text-base: 1rem;
	--dfd-text-md: 1.0625rem;
	--dfd-text-lg: 1.1875rem;
	--dfd-text-xl: 1.375rem;
	--dfd-text-2xl: 1.75rem;
	--dfd-text-3xl: 2.125rem;
	--dfd-text-4xl: 2.75rem;

	--dfd-leading-tight: 1.18;
	--dfd-leading-snug: 1.35;
	--dfd-leading-normal: 1.65;
	--dfd-leading-relaxed: 1.75;

	/* Spacing — 4px scale */
	--dfd-s1: 0.25rem;
	--dfd-s2: 0.5rem;
	--dfd-s3: 0.75rem;
	--dfd-s4: 1rem;
	--dfd-s5: 1.5rem;
	--dfd-s6: 2rem;
	--dfd-s7: 2.5rem;
	--dfd-s8: 3rem;
	--dfd-s9: 4rem;
	--dfd-s10: 5rem;

	/* Shapes and shadows — soft and rounded */
	--dfd-radius-sm: 8px;
	--dfd-radius: 14px;
	--dfd-radius-lg: 22px;
	--dfd-shadow-sm: 0 1px 2px rgba(59, 42, 32, 0.07);
	--dfd-shadow: 0 6px 18px rgba(59, 42, 32, 0.1);
	--dfd-shadow-lg: 0 14px 34px rgba(59, 42, 32, 0.16);

	/* Harvest plaid ribbon, reused by the header, footer and dividers */
	--dfd-plaid:
		linear-gradient(rgba(255, 250, 241, 0.28) 0 50%, rgba(59, 42, 32, 0.12) 50% 100%),
		repeating-linear-gradient(90deg, #7a2e2e 0 14px, #c8591b 14px 30px, #d9a441 30px 38px, #c8591b 38px 54px, #6b7a3f 54px 68px);

	/* Layout */
	--dfd-container: 1180px;
	--dfd-container-narrow: 760px;
	--dfd-measure: 68ch;
	--dfd-gutter: var(--dfd-s4);

	color-scheme: light;
}

@media (min-width: 48em) {
	:root {
		--dfd-gutter: var(--dfd-s6);
	}
}

/* --------------------------------------------------------------------------
   2. Gentle reset
   -------------------------------------------------------------------------- */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background-color: var(--dfd-paper);
	/* Linen weave: two faint crossed hairline patterns, pure CSS. */
	background-image:
		repeating-linear-gradient(0deg, rgba(59, 42, 32, 0.022) 0 1px, transparent 1px 4px),
		repeating-linear-gradient(90deg, rgba(59, 42, 32, 0.022) 0 1px, transparent 1px 4px);
	color: var(--dfd-ink);
	font-family: var(--dfd-font-body);
	font-size: var(--dfd-text-md);
	line-height: var(--dfd-leading-normal);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-wrap: break-word;
}

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

img {
	display: block;
}

figure {
	margin: 0;
}

hr {
	border: 0;
	border-top: 2px dashed var(--dfd-line-strong);
	margin: var(--dfd-s7) 0;
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--dfd-font-head);
	color: var(--dfd-ink);
	line-height: var(--dfd-leading-tight);
	margin: 0 0 var(--dfd-s4);
	font-weight: 700;
	letter-spacing: -0.005em;
	overflow-wrap: break-word;
}

h1 {
	font-size: clamp(1.9rem, 1.35rem + 2.4vw, var(--dfd-text-4xl));
}

h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, var(--dfd-text-3xl));
}

h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.7vw, var(--dfd-text-xl));
}

h4 {
	font-size: var(--dfd-text-lg);
}

h5,
h6 {
	font-family: var(--dfd-font-body);
	font-size: var(--dfd-text-sm);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dfd-ink-soft);
}

p {
	margin: 0 0 var(--dfd-s4);
}

a {
	color: var(--dfd-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--dfd-accent-hover);
}

strong,
b {
	font-weight: 700;
}

small {
	font-size: var(--dfd-text-sm);
}

mark {
	background: var(--dfd-mustard-soft);
	color: inherit;
	padding: 0 0.15em;
	border-radius: 3px;
}

code,
kbd,
samp {
	font-family: var(--dfd-font-mono);
	font-size: 0.9em;
	background: var(--dfd-paper-deep);
	border: 1px solid var(--dfd-line);
	border-radius: 5px;
	padding: 0.1em 0.35em;
}

pre {
	font-family: var(--dfd-font-mono);
	font-size: var(--dfd-text-sm);
	background: var(--dfd-paper-deep);
	border: 1px solid var(--dfd-line);
	border-radius: var(--dfd-radius-sm);
	padding: var(--dfd-s4);
	overflow-x: auto;
	line-height: 1.5;
}

pre code {
	background: none;
	border: 0;
	padding: 0;
}

blockquote {
	margin: var(--dfd-s6) 0;
	padding: var(--dfd-s4) var(--dfd-s5);
	background: var(--dfd-surface);
	border-left: 5px solid var(--dfd-mustard);
	border-radius: 0 var(--dfd-radius) var(--dfd-radius) 0;
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-lg);
	font-style: italic;
	color: var(--dfd-ink-soft);
}

blockquote p:last-child {
	margin-bottom: 0;
}

blockquote cite {
	display: block;
	margin-top: var(--dfd-s2);
	font-family: var(--dfd-font-body);
	font-size: var(--dfd-text-sm);
	font-style: normal;
	color: var(--dfd-ink-muted);
}

/* --------------------------------------------------------------------------
   4. Accessibility
   -------------------------------------------------------------------------- */

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--dfd-focus);
	outline-offset: 2px;
	border-radius: 4px;
	box-shadow: 0 0 0 6px rgba(217, 164, 65, 0.55);
}

/* On the dark footer and the burgundy call to action the ring turns cream. */
.dfd-site-footer :where(a, button, input):focus-visible,
.dfd-cta :where(a, button):focus-visible {
	outline-color: #fffaf1;
}

/* The main landmark receives focus from the skip link; no ring around it. */
.dfd-site-main:focus {
	outline: none;
	box-shadow: none;
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--dfd-surface);
	border-radius: var(--dfd-radius-sm);
	box-shadow: var(--dfd-shadow);
	clip-path: none;
	color: var(--dfd-accent);
	display: block;
	font-size: var(--dfd-text-sm);
	font-weight: 700;
	height: auto;
	left: var(--dfd-s4);
	line-height: normal;
	padding: var(--dfd-s3) var(--dfd-s4);
	text-decoration: none;
	top: var(--dfd-s4);
	width: auto;
	z-index: 100000;
}

.dfd-skip-link:focus {
	position: fixed;
	outline: 3px solid var(--dfd-focus);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   5. Layout
   -------------------------------------------------------------------------- */

.dfd-container {
	width: 100%;
	max-width: var(--dfd-container);
	margin-inline: auto;
	padding-inline: var(--dfd-gutter);
}

.dfd-container--narrow {
	max-width: var(--dfd-container-narrow);
}

.dfd-site-main {
	flex: 1 0 auto;
	padding-block: var(--dfd-s7) var(--dfd-s9);
	min-width: 0;
}

/* Used on the home page, where the hero touches the header. */
.dfd-site-main--flush {
	padding-top: 0;
}

/* minmax(0, 1fr) keeps wide content (tables, long words, images) from
   stretching the column past the viewport on small screens. */
.dfd-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--dfd-s7);
}

.dfd-layout > * {
	min-width: 0;
}

@media (min-width: 62em) {
	.dfd-layout--with-sidebar {
		grid-template-columns: minmax(0, 1fr) 20rem;
		gap: var(--dfd-s8);
		align-items: start;
	}
}

.dfd-stack > * + * {
	margin-top: var(--dfd-s4);
}

.dfd-section {
	margin-block: var(--dfd-s9);
}

.dfd-section:first-child {
	margin-top: var(--dfd-s8);
}

.dfd-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--dfd-s2) var(--dfd-s4);
	margin-bottom: var(--dfd-s5);
	padding-bottom: var(--dfd-s3);
	border-bottom: 2px dashed var(--dfd-line-strong);
}

/* Section headings carry a small leaf, drawn as an inline SVG background. */
.dfd-section__title {
	margin: 0;
	font-size: clamp(1.5rem, 1.25rem + 1vw, var(--dfd-text-2xl));
	padding-left: 1.55em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20C4 10 10 4 21 3c-1 11-7 17-17 17z' fill='%23c8591b'/%3E%3Cpath d='M4 20 14 10' fill='none' stroke='%23fffaf1' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 0.12em / 1.1em 1.1em;
}

.dfd-section__description {
	flex: 0 0 100%;
	margin: 0;
	color: var(--dfd-ink-soft);
	font-size: var(--dfd-text-base);
}

.dfd-section__link {
	font-family: var(--dfd-font-body);
	font-size: var(--dfd-text-sm);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.dfd-section__link:hover {
	text-decoration: underline;
}

.dfd-section__link::after {
	content: " →";
}

/* --------------------------------------------------------------------------
   6. Header and navigation
   -------------------------------------------------------------------------- */

.dfd-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--dfd-surface);
	box-shadow: 0 2px 10px rgba(59, 42, 32, 0.06);
}

/* Plaid ribbon under the header. */
.dfd-site-header::after {
	content: "";
	display: block;
	height: 6px;
	background: var(--dfd-plaid);
}

.dfd-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--dfd-s4);
	min-height: 4.25rem;
}

.dfd-branding {
	display: flex;
	align-items: center;
	gap: var(--dfd-s3);
	min-width: 0;
}

.dfd-branding__mark {
	flex: 0 0 auto;
	width: 2.75rem;
	height: 2.75rem;
}

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

.dfd-branding__title {
	font-family: var(--dfd-font-head);
	font-size: clamp(1.15rem, 1rem + 0.8vw, 1.45rem);
	font-weight: 700;
	line-height: 1.1;
	margin: 0;
}

.dfd-branding__title a {
	color: var(--dfd-ink);
	text-decoration: none;
}

.dfd-branding__title a:hover {
	color: var(--dfd-accent);
}

.dfd-branding__tagline {
	margin: 0.2rem 0 0;
	font-size: var(--dfd-text-xs);
	font-style: italic;
	color: var(--dfd-ink-muted);
	line-height: 1.3;
}

.dfd-custom-logo-link img,
.custom-logo-link img {
	max-height: 3rem;
	width: auto;
}

/* Mobile menu button */
.dfd-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: var(--dfd-s2);
	flex: 0 0 auto;
	background: var(--dfd-surface);
	border: 1.5px solid var(--dfd-field-border);
	border-radius: 999px;
	color: var(--dfd-ink);
	cursor: pointer;
	font: inherit;
	font-size: var(--dfd-text-sm);
	font-weight: 700;
	padding: var(--dfd-s2) var(--dfd-s4);
}

.dfd-menu-toggle:hover {
	background: var(--dfd-accent-soft);
	border-color: var(--dfd-accent);
	color: var(--dfd-accent);
}

.dfd-menu-toggle__bars {
	display: block;
	position: relative;
	width: 1.125rem;
	height: 2px;
	background: currentColor;
}

.dfd-menu-toggle__bars::before,
.dfd-menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
}

.dfd-menu-toggle__bars::before {
	top: -6px;
}

.dfd-menu-toggle__bars::after {
	top: 6px;
}

.dfd-header__panel {
	display: none;
	padding-bottom: var(--dfd-s5);
}

.dfd-header__panel.is-open {
	display: block;
}

.dfd-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dfd-nav__list li {
	position: relative;
}

.dfd-nav__list a {
	display: block;
	padding: var(--dfd-s3) 0;
	border-bottom: 1px dashed var(--dfd-line-strong);
	color: var(--dfd-ink);
	font-size: var(--dfd-text-base);
	font-weight: 600;
	text-decoration: none;
}

.dfd-nav__list a:hover {
	color: var(--dfd-accent);
}

.dfd-nav__list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0 0 0 var(--dfd-s4);
}

.dfd-nav .current-menu-item > a,
.dfd-nav .current-menu-ancestor > a,
.dfd-nav .current_page_item > a {
	color: var(--dfd-accent);
}

.dfd-header__search {
	margin-top: var(--dfd-s4);
}

/* Notice shown only to users who can edit menus, when no menu is assigned to
   the primary location. Visitors never see this block. */
.dfd-nav--empty {
	margin: 0;
	padding: var(--dfd-s3) 0;
	font-size: var(--dfd-text-sm);
}

@media (min-width: 62em) {
	.dfd-menu-toggle {
		display: none;
	}

	/* Single-row header: brand on the left, navigation and search on the
	   right. `flex-wrap` is the escape hatch: when the menu grows and one
	   row no longer fits, the panel drops to a second row instead of
	   overflowing the page width. */
	.dfd-site-header .dfd-container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 0 var(--dfd-s6);
	}

	.dfd-header__inner {
		flex: 0 0 auto;
		min-height: 4.75rem;
	}

	.dfd-header__panel {
		display: flex !important;
		flex: 1 1 auto;
		flex-wrap: wrap;
		min-width: 0;
		align-items: center;
		justify-content: flex-end;
		gap: var(--dfd-s3) var(--dfd-s5);
		padding-block: var(--dfd-s3);
	}

	.dfd-nav__list {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--dfd-s1);
	}

	.dfd-nav__list a {
		border-bottom: 0;
		border-radius: 999px;
		padding: var(--dfd-s2) var(--dfd-s3);
		font-size: var(--dfd-text-sm);
		white-space: nowrap;
	}

	.dfd-nav__list a:hover {
		background: var(--dfd-accent-soft);
	}

	.dfd-nav .current-menu-item > a,
	.dfd-nav .current-menu-ancestor > a {
		background: var(--dfd-accent-soft);
	}

	/* Submenus (one level) */
	.dfd-nav__list .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 13rem;
		background: var(--dfd-surface);
		border: 1px solid var(--dfd-line);
		border-radius: var(--dfd-radius);
		box-shadow: var(--dfd-shadow-lg);
		padding: var(--dfd-s2);
		z-index: 60;
	}

	.dfd-nav__list li:hover > .sub-menu,
	.dfd-nav__list li:focus-within > .sub-menu {
		display: block;
	}

	.dfd-nav__list .sub-menu a {
		white-space: normal;
		border-radius: var(--dfd-radius-sm);
	}

	.dfd-header__search {
		margin-top: 0;
		flex: 0 1 13.5rem;
		min-width: 9rem;
	}
}

/* --------------------------------------------------------------------------
   7. Forms
   -------------------------------------------------------------------------- */

label {
	display: block;
	font-size: var(--dfd-text-sm);
	font-weight: 700;
	margin-bottom: var(--dfd-s2);
}

.dfd-field {
	margin-bottom: var(--dfd-s5);
}

.dfd-field__hint {
	display: block;
	margin-top: var(--dfd-s2);
	font-size: var(--dfd-text-xs);
	font-weight: 400;
	color: var(--dfd-ink-muted);
}

.dfd-required {
	color: var(--dfd-accent);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
select,
textarea {
	width: 100%;
	max-width: 100%;
	background: #fffdf8;
	border: 1.5px solid var(--dfd-field-border);
	border-radius: var(--dfd-radius-sm);
	color: var(--dfd-ink);
	font: inherit;
	font-size: var(--dfd-text-base);
	padding: var(--dfd-s3);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--dfd-accent);
}

textarea {
	min-height: 11rem;
	resize: vertical;
	line-height: var(--dfd-leading-normal);
}

input::placeholder,
textarea::placeholder {
	color: var(--dfd-ink-muted);
	opacity: 1;
}

/* Search field */
.dfd-search-form {
	display: flex;
	gap: var(--dfd-s2);
}

.dfd-search-form__field {
	flex: 1 1 auto;
	min-width: 0;
}

.dfd-search-form input[type="search"] {
	padding: var(--dfd-s2) var(--dfd-s4);
	border-radius: 999px;
}

.dfd-search-form .dfd-search-form__submit {
	flex: 0 0 auto;
	min-width: 2.75rem;
	background: var(--dfd-paper-deep);
	border: 1.5px solid var(--dfd-field-border);
	border-radius: 999px;
	color: var(--dfd-ink);
	padding: var(--dfd-s2) var(--dfd-s3);
}

.dfd-search-form .dfd-search-form__submit:hover {
	background: var(--dfd-accent-soft);
	border-color: var(--dfd-accent);
	color: var(--dfd-accent);
}

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */

.dfd-button,
.dfd-button--primary,
button,
input[type="submit"],
input[type="button"],
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--dfd-s2);
	background: var(--dfd-accent);
	border: 1.5px solid var(--dfd-accent);
	border-radius: 999px;
	color: #fffaf1;
	cursor: pointer;
	font-family: var(--dfd-font-body);
	font-size: var(--dfd-text-base);
	font-weight: 700;
	line-height: 1.3;
	padding: var(--dfd-s3) var(--dfd-s5);
	text-align: center;
	text-decoration: none;
	transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.dfd-button:hover,
button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
	background: var(--dfd-accent-hover);
	border-color: var(--dfd-accent-hover);
	color: #fffaf1;
}

.dfd-button--primary {
	box-shadow: 0 3px 0 var(--dfd-accent-hover);
}

.dfd-button--primary:hover {
	transform: translateY(1px);
	box-shadow: 0 2px 0 #5f2408;
}

.dfd-button--secondary,
.dfd-menu-toggle {
	background: var(--dfd-surface);
	border-color: var(--dfd-field-border);
	color: var(--dfd-ink);
}

.dfd-button--secondary:hover {
	background: var(--dfd-accent-soft);
	border-color: var(--dfd-accent);
	color: var(--dfd-accent-hover);
}

.dfd-button--small {
	font-size: var(--dfd-text-sm);
	padding: var(--dfd-s2) var(--dfd-s4);
}

.dfd-button[disabled],
button[disabled] {
	cursor: not-allowed;
	opacity: 0.55;
}

/* --------------------------------------------------------------------------
   9. Labels, categories, metadata
   -------------------------------------------------------------------------- */

.dfd-eyebrow {
	display: inline-block;
	font-family: var(--dfd-font-body);
	font-size: var(--dfd-text-xs);
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--dfd-accent);
	text-decoration: none;
	margin-bottom: var(--dfd-s2);
}

a.dfd-eyebrow:hover {
	text-decoration: underline;
}

.dfd-chip {
	display: inline-flex;
	align-items: center;
	gap: var(--dfd-s1);
	background: var(--dfd-second-soft);
	border: 1px solid #d5dab5;
	border-radius: 999px;
	color: var(--dfd-second);
	font-size: var(--dfd-text-sm);
	font-weight: 600;
	padding: 0.25rem 0.8rem;
	text-decoration: none;
}

a.dfd-chip:hover {
	background: var(--dfd-accent-soft);
	border-color: #eec9a8;
	color: var(--dfd-accent-hover);
}

.dfd-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--dfd-s2) var(--dfd-s4);
	color: var(--dfd-ink-muted);
	font-size: var(--dfd-text-sm);
	list-style: none;
	margin: 0;
	padding: 0;
}

.dfd-meta__item {
	display: inline-flex;
	align-items: center;
	gap: var(--dfd-s2);
}

.dfd-meta a {
	color: inherit;
}

.dfd-meta svg {
	flex: 0 0 auto;
	color: var(--dfd-pumpkin);
}

.dfd-icon {
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	vertical-align: -0.125em;
}

/* --------------------------------------------------------------------------
   10. Cards and grids
   -------------------------------------------------------------------------- */

.dfd-grid {
	display: grid;
	gap: var(--dfd-s5);
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 36em) {
	.dfd-grid--2,
	.dfd-grid--3,
	.dfd-grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.dfd-grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

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

.dfd-card {
	display: flex;
	flex-direction: column;
	background: var(--dfd-surface);
	border: 1px solid var(--dfd-line);
	border-radius: var(--dfd-radius);
	box-shadow: var(--dfd-shadow-sm);
	overflow: hidden;
	height: 100%;
	min-width: 0;
	transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.dfd-card:hover {
	border-color: var(--dfd-line-strong);
	box-shadow: var(--dfd-shadow);
	transform: translateY(-3px);
}

.dfd-card__media {
	display: block;
	background: var(--dfd-paper-deep);
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-bottom: 3px solid var(--dfd-mustard);
}

.dfd-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Posts without a featured image get a quiet gingham swatch. */
.dfd-card__media--placeholder,
.dfd-card-row__media--placeholder {
	background-color: var(--dfd-paper-deep);
	background-image:
		repeating-linear-gradient(0deg, rgba(200, 89, 27, 0.14) 0 16px, transparent 16px 32px),
		repeating-linear-gradient(90deg, rgba(200, 89, 27, 0.14) 0 16px, transparent 16px 32px);
}

.dfd-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: var(--dfd-s2);
	padding: var(--dfd-s4) var(--dfd-s5) var(--dfd-s5);
}

.dfd-card__body .dfd-eyebrow {
	margin-bottom: 0;
}

.dfd-card__title {
	font-size: var(--dfd-text-lg);
	line-height: var(--dfd-leading-snug);
	margin: 0;
}

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

.dfd-card__title a:hover {
	color: var(--dfd-accent);
	text-decoration: underline;
}

.dfd-card__excerpt {
	color: var(--dfd-ink-soft);
	font-size: var(--dfd-text-sm);
	line-height: var(--dfd-leading-normal);
	margin: 0;
}

.dfd-card__footer {
	margin-top: auto;
	padding-top: var(--dfd-s3);
	border-top: 1px dashed var(--dfd-line-strong);
}

/* Horizontal card (lists and search results) */
.dfd-card-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--dfd-s4);
	background: var(--dfd-surface);
	border: 1px solid var(--dfd-line);
	border-radius: var(--dfd-radius);
	box-shadow: var(--dfd-shadow-sm);
	padding: var(--dfd-s4);
}

@media (min-width: 36em) {
	.dfd-card-row {
		grid-template-columns: 13rem minmax(0, 1fr);
		align-items: start;
		padding: var(--dfd-s5);
	}
}

.dfd-card-row__media {
	display: block;
	background: var(--dfd-paper-deep);
	border-radius: var(--dfd-radius-sm);
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.dfd-card-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* min-width: 0 keeps long titles from stretching the grid column. */
.dfd-card-row__body {
	min-width: 0;
}

.dfd-card-row__title {
	font-size: var(--dfd-text-xl);
	margin: var(--dfd-s1) 0 var(--dfd-s2);
	overflow-wrap: break-word;
}

.dfd-card-row__title a {
	color: var(--dfd-ink);
	text-decoration: none;
}

.dfd-card-row__title a:hover {
	color: var(--dfd-accent);
	text-decoration: underline;
}

.dfd-card-row__excerpt {
	color: var(--dfd-ink-soft);
	font-size: var(--dfd-text-base);
	margin: 0 0 var(--dfd-s3);
}

.dfd-card-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--dfd-s5);
}

/* Compact numbered list (home sections that use the "steps" layout) */
.dfd-steps {
	list-style: none;
	counter-reset: dfd-step;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--dfd-s4);
	margin: 0;
	padding: 0;
}

.dfd-steps > li {
	counter-increment: dfd-step;
	display: grid;
	grid-template-columns: 2.5rem minmax(0, 1fr);
	gap: var(--dfd-s4);
	align-items: start;
	background: var(--dfd-surface);
	border: 1px solid var(--dfd-line);
	border-radius: var(--dfd-radius);
	padding: var(--dfd-s4);
}

.dfd-steps > li::before {
	content: counter(dfd-step);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--dfd-accent);
	border-radius: 50%;
	color: #fffaf1;
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-lg);
	font-weight: 700;
}

.dfd-steps__title {
	font-size: var(--dfd-text-lg);
	margin: 0 0 var(--dfd-s1);
}

.dfd-steps__title a {
	color: var(--dfd-ink);
	text-decoration: none;
}

.dfd-steps__title a:hover {
	color: var(--dfd-accent);
	text-decoration: underline;
}

.dfd-steps p {
	color: var(--dfd-ink-soft);
	font-size: var(--dfd-text-sm);
	margin: 0;
}

/* --------------------------------------------------------------------------
   11. Home — hero and sections
   -------------------------------------------------------------------------- */

.dfd-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--dfd-paper-deep);
	/* Soft gingham over a warm glow. */
	background-image:
		radial-gradient(ellipse at 85% 20%, rgba(217, 164, 65, 0.3), transparent 60%),
		repeating-linear-gradient(0deg, rgba(200, 89, 27, 0.045) 0 22px, transparent 22px 44px),
		repeating-linear-gradient(90deg, rgba(200, 89, 27, 0.045) 0 22px, transparent 22px 44px);
	border-bottom: 2px dashed var(--dfd-line-strong);
	padding-block: var(--dfd-s7) var(--dfd-s6);
}

.dfd-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--dfd-s6);
	align-items: center;
}

@media (min-width: 62em) {
	.dfd-hero {
		padding-block: var(--dfd-s8);
	}

	.dfd-hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		gap: var(--dfd-s8);
	}
}

.dfd-hero__title {
	font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin-bottom: var(--dfd-s4);
	max-width: 14ch;
}

.dfd-hero__text {
	color: var(--dfd-ink-soft);
	font-size: var(--dfd-text-lg);
	line-height: var(--dfd-leading-relaxed);
	max-width: 44ch;
	margin-bottom: var(--dfd-s5);
}

.dfd-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--dfd-s3);
}

/* Decorative fall still life (inline SVG, no image request). */
.dfd-hero__figure {
	position: relative;
	max-width: 19rem;
	margin-inline: auto;
	width: 100%;
}

@media (min-width: 36em) {
	.dfd-hero__figure {
		max-width: 24rem;
	}
}

@media (min-width: 62em) {
	.dfd-hero__figure {
		max-width: 31rem;
	}
}

.dfd-hero__figure svg {
	display: block;
	width: 100%;
	height: auto;
}

/* Category cards */
.dfd-topics {
	display: grid;
	gap: var(--dfd-s4);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.dfd-topic {
	display: flex;
	flex-direction: column;
	gap: var(--dfd-s2);
	background: var(--dfd-surface);
	border: 1px solid var(--dfd-line);
	border-radius: var(--dfd-radius);
	box-shadow: var(--dfd-shadow-sm);
	padding: var(--dfd-s5) var(--dfd-s4);
	text-decoration: none;
	height: 100%;
	transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.dfd-topic:hover {
	border-color: var(--dfd-pumpkin);
	box-shadow: var(--dfd-shadow);
	transform: translateY(-2px);
}

.dfd-topic__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	background: var(--dfd-accent-soft);
	border-radius: 50%;
	color: var(--dfd-accent);
}

.dfd-topic__icon .dfd-icon {
	width: 1.4rem;
	height: 1.4rem;
}

/* A different harvest tint on each card. */
.dfd-topics > li:nth-child(4n + 2) .dfd-topic__icon {
	background: var(--dfd-mustard-soft);
	color: var(--dfd-mustard-ink);
}

.dfd-topics > li:nth-child(4n + 3) .dfd-topic__icon {
	background: var(--dfd-second-soft);
	color: var(--dfd-second);
}

.dfd-topics > li:nth-child(4n + 4) .dfd-topic__icon {
	background: var(--dfd-burgundy-soft);
	color: var(--dfd-burgundy);
}

.dfd-topic__name {
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-lg);
	font-weight: 700;
	color: var(--dfd-ink);
}

.dfd-topic:hover .dfd-topic__name {
	color: var(--dfd-accent);
}

.dfd-topic__desc {
	color: var(--dfd-ink-soft);
	font-size: var(--dfd-text-sm);
	line-height: var(--dfd-leading-normal);
}

.dfd-topic__count {
	margin-top: auto;
	padding-top: var(--dfd-s2);
	color: var(--dfd-ink-muted);
	font-size: var(--dfd-text-xs);
	font-weight: 600;
}

/* Closing call to action — burgundy panel with a stitched inner border. */
.dfd-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--dfd-s5);
	align-items: center;
	background-color: var(--dfd-burgundy);
	background-image:
		repeating-linear-gradient(0deg, rgba(255, 250, 241, 0.045) 0 20px, transparent 20px 40px),
		repeating-linear-gradient(90deg, rgba(255, 250, 241, 0.045) 0 20px, transparent 20px 40px);
	border-radius: var(--dfd-radius-lg);
	color: #f6e9d8;
	padding: var(--dfd-s7) var(--dfd-s5);
	outline: 2px dashed rgba(252, 241, 214, 0.5);
	outline-offset: -10px;
}

@media (min-width: 48em) {
	.dfd-cta {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: var(--dfd-s8);
	}
}

.dfd-cta__title {
	color: #fffaf1;
	margin-bottom: var(--dfd-s3);
}

.dfd-cta__text {
	color: #f6e9d8;
	margin: 0;
	max-width: 54ch;
}

.dfd-cta__topics {
	display: flex;
	flex-wrap: wrap;
	gap: var(--dfd-s2);
	list-style: none;
	margin: var(--dfd-s5) 0 0;
	padding: 0;
}

.dfd-cta__topics a {
	display: inline-block;
	border: 1px solid rgba(252, 241, 214, 0.55);
	border-radius: 999px;
	color: #fffaf1;
	font-size: var(--dfd-text-sm);
	font-weight: 600;
	padding: 0.25rem 0.8rem;
	text-decoration: none;
}

.dfd-cta__topics a:hover {
	background: #fffaf1;
	border-color: #fffaf1;
	color: var(--dfd-burgundy);
}

.dfd-cta .dfd-button {
	background: var(--dfd-mustard);
	border-color: var(--dfd-mustard);
	color: var(--dfd-ink);
	white-space: nowrap;
}

.dfd-cta .dfd-button:hover {
	background: #fffaf1;
	border-color: #fffaf1;
	color: var(--dfd-burgundy);
}

/* --------------------------------------------------------------------------
   12. Article
   -------------------------------------------------------------------------- */

.dfd-breadcrumbs {
	margin-bottom: var(--dfd-s5);
	font-size: var(--dfd-text-sm);
	color: var(--dfd-ink-muted);
}

.dfd-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--dfd-s1) var(--dfd-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.dfd-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: var(--dfd-s2);
	min-width: 0;
}

.dfd-breadcrumbs li + li::before {
	content: "›";
	color: var(--dfd-pumpkin);
	font-weight: 700;
}

.dfd-breadcrumbs a {
	color: var(--dfd-ink-soft);
	text-decoration: none;
}

.dfd-breadcrumbs a:hover {
	color: var(--dfd-accent);
	text-decoration: underline;
}

.dfd-breadcrumbs [aria-current="page"] {
	color: var(--dfd-ink-muted);
}

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

.dfd-article__header {
	margin-bottom: var(--dfd-s6);
}

.dfd-article__title {
	margin-bottom: var(--dfd-s4);
}

.dfd-article__summary {
	color: var(--dfd-ink-soft);
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-xl);
	font-style: italic;
	line-height: 1.55;
	max-width: var(--dfd-measure);
	margin-bottom: var(--dfd-s4);
}

.dfd-article__meta {
	padding-top: var(--dfd-s4);
	border-top: 2px dashed var(--dfd-line-strong);
}

.dfd-article__figure {
	margin-bottom: var(--dfd-s6);
}

.dfd-article__figure img {
	border-radius: var(--dfd-radius);
	box-shadow: var(--dfd-shadow);
	width: 100%;
}

.dfd-article__figure figcaption,
.dfd-content figcaption,
.wp-block-image figcaption,
.wp-caption-text {
	margin-top: var(--dfd-s3);
	padding-left: var(--dfd-s3);
	border-left: 3px solid var(--dfd-mustard);
	color: var(--dfd-ink-muted);
	font-size: var(--dfd-text-sm);
	font-style: italic;
	line-height: var(--dfd-leading-snug);
	text-align: left;
}

/* Body text */
.dfd-content {
	font-size: var(--dfd-text-md);
	line-height: var(--dfd-leading-relaxed);
	min-width: 0;
}

.dfd-content > * {
	max-width: var(--dfd-measure);
}

.dfd-content > .alignwide,
.dfd-content > .alignfull,
.dfd-content > .dfd-tutorial-facts,
.dfd-content > .dfd-toc,
.dfd-content > figure,
.dfd-content > .wp-block-image,
.dfd-content > .wp-block-gallery,
.dfd-content > .wp-block-table,
.dfd-content > .dfd-table-wrap,
.dfd-content > .dfd-ad-slot {
	max-width: none;
}

.dfd-content h2 {
	margin-top: var(--dfd-s8);
	padding-bottom: var(--dfd-s2);
	border-bottom: 2px dashed var(--dfd-line-strong);
}

.dfd-content h3 {
	margin-top: var(--dfd-s6);
	color: var(--dfd-rust);
}

.dfd-content h4 {
	margin-top: var(--dfd-s5);
}

.dfd-content > h2:first-child,
.dfd-content > h3:first-child {
	margin-top: 0;
}

.dfd-content ul,
.dfd-content ol {
	margin: 0 0 var(--dfd-s4);
	padding-left: 1.4em;
}

.dfd-content li + li {
	margin-top: var(--dfd-s2);
}

.dfd-content li > ul,
.dfd-content li > ol {
	margin-top: var(--dfd-s2);
	margin-bottom: 0;
}

.dfd-content ul:not([class]) > li::marker {
	color: var(--dfd-pumpkin);
}

.dfd-content ol li::marker {
	color: var(--dfd-accent);
	font-weight: 700;
}

/* Step lists: plain ordered lists in a tutorial get numbered pumpkin discs.
   Lists with `start`/`reversed`, nested lists and lists with a class keep
   the browser's own numbering. */
.dfd-content > ol:not([class]):not([start]):not([reversed]) {
	list-style: none;
	counter-reset: dfd-ol;
	padding-left: 0;
}

.dfd-content > ol:not([class]):not([start]):not([reversed]) > li {
	counter-increment: dfd-ol;
	position: relative;
	min-height: 2rem;
	padding-left: 2.85rem;
}

.dfd-content > ol:not([class]):not([start]):not([reversed]) > li + li {
	margin-top: var(--dfd-s4);
}

.dfd-content > ol:not([class]):not([start]):not([reversed]) > li::before {
	content: counter(dfd-ol);
	position: absolute;
	left: 0;
	top: -0.05em;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	background: var(--dfd-accent);
	border-radius: 50%;
	box-shadow: 0 0 0 3px var(--dfd-accent-soft);
	color: #fffaf1;
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-base);
	font-weight: 700;
	line-height: 1;
}

.dfd-content figure,
.dfd-content .wp-block-image {
	margin-block: var(--dfd-s6);
}

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

.dfd-content figure img {
	background-color: var(--dfd-surface);
	border: 1px solid var(--dfd-line);
	border-radius: var(--dfd-radius);
	box-shadow: var(--dfd-shadow-sm);
}

.dfd-content a {
	text-decoration: underline;
}

/* Tables — the table itself never widens the page: it scrolls sideways
   inside .dfd-table-wrap (added by the theme around every article table)
   or inside the block editor's own figure wrapper. */
.dfd-table-wrap,
.wp-block-table {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin-block: var(--dfd-s6);
	border: 1px solid var(--dfd-line-strong);
	border-radius: var(--dfd-radius);
	background: var(--dfd-surface);
}

.dfd-content table,
.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--dfd-text-sm);
	margin: 0;
}

.dfd-content th,
.dfd-content td,
.wp-block-table th,
.wp-block-table td {
	border: 0;
	border-bottom: 1px solid var(--dfd-line);
	min-width: 6.5rem;
	padding: var(--dfd-s3) var(--dfd-s4);
	text-align: left;
	vertical-align: top;
}

.dfd-content th + th,
.dfd-content td + td,
.dfd-content th + td,
.wp-block-table th + th,
.wp-block-table td + td {
	border-left: 1px dashed var(--dfd-line);
}

.dfd-content tr:last-child > td,
.wp-block-table tr:last-child > td {
	border-bottom: 0;
}

.dfd-content tbody tr:nth-child(even),
.wp-block-table tbody tr:nth-child(even) {
	background: rgba(243, 231, 211, 0.45);
}

.dfd-content thead th,
.wp-block-table thead th {
	background: var(--dfd-paper-deep);
	border-bottom: 2px solid var(--dfd-mustard);
	color: var(--dfd-ink);
	font-family: var(--dfd-font-body);
	font-size: var(--dfd-text-xs);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.dfd-content tbody th {
	font-weight: 700;
	color: var(--dfd-ink);
}

.dfd-content table caption {
	caption-side: bottom;
	padding: var(--dfd-s2) var(--dfd-s4);
	color: var(--dfd-ink-muted);
	font-size: var(--dfd-text-xs);
	text-align: left;
}

/* Callouts — classes used in article bodies:
   <div class="dfd-callout dfd-callout--tip"><p class="dfd-callout__title">Tip</p>…</div>
   <div class="dfd-callout dfd-callout--warning"><p class="dfd-callout__title">Safety note</p>…</div> */
.dfd-callout {
	background: var(--dfd-accent-soft);
	border: 1px solid #f0cfae;
	border-left: 6px solid var(--dfd-pumpkin);
	border-radius: var(--dfd-radius);
	padding: var(--dfd-s4) var(--dfd-s5);
	margin-block: var(--dfd-s6);
}

.dfd-callout > :last-child {
	margin-bottom: 0;
}

.dfd-callout__title {
	display: flex;
	align-items: center;
	gap: var(--dfd-s2);
	font-family: var(--dfd-font-body);
	font-size: var(--dfd-text-sm);
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--dfd-accent-hover);
	margin-bottom: var(--dfd-s2);
}

.dfd-callout__title::before {
	content: "";
	flex: 0 0 auto;
	width: 1.35rem;
	height: 1.35rem;
	background: no-repeat center / contain;
}

.dfd-callout--tip {
	background: var(--dfd-second-soft);
	border-color: #d5dab5;
	border-left-color: var(--dfd-olive);
}

.dfd-callout--tip .dfd-callout__title {
	color: var(--dfd-second);
}

/* Leaf */
.dfd-callout--tip .dfd-callout__title::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 20C4 10 10 4 21 3c-1 11-7 17-17 17z' fill='%2355622f'/%3E%3Cpath d='M4 20 14 10' fill='none' stroke='%23eef0dc' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.dfd-callout--warning {
	background: var(--dfd-mustard-soft);
	border-color: #ecd49a;
	border-left-color: var(--dfd-burgundy);
}

.dfd-callout--warning .dfd-callout__title {
	color: var(--dfd-burgundy);
}

/* Warning triangle */
.dfd-callout--warning .dfd-callout__title::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3 22.500 21h-21z' fill='%237a2e2e'/%3E%3Cpath d='M12 9.500v5.500' fill='none' stroke='%23fcf1d6' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='18' r='1.300' fill='%23fcf1d6'/%3E%3C/svg%3E");
}

/* A callout without a modifier has no icon. */
.dfd-callout:not(.dfd-callout--tip):not(.dfd-callout--warning) .dfd-callout__title::before {
	display: none;
}

/* Tutorial facts (difficulty, time, project type, finished size, materials) */
.dfd-tutorial-facts {
	background: var(--dfd-surface);
	border: 1px solid var(--dfd-line);
	border-radius: var(--dfd-radius);
	box-shadow: var(--dfd-shadow-sm);
	padding: var(--dfd-s6) var(--dfd-s5) var(--dfd-s5);
	margin-bottom: var(--dfd-s6);
	outline: 1.5px dashed var(--dfd-line-strong);
	outline-offset: -8px;
}

.dfd-tutorial-facts__title {
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-xl);
	font-weight: 700;
	color: var(--dfd-ink);
	margin: 0 0 var(--dfd-s4);
	padding: 0;
	border: 0;
}

.dfd-facts {
	display: grid;
	gap: var(--dfd-s4);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
	margin: 0;
}

.dfd-facts__item {
	display: flex;
	align-items: flex-start;
	gap: var(--dfd-s3);
	min-width: 0;
}

.dfd-facts__icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--dfd-accent-soft);
	border-radius: 50%;
	color: var(--dfd-accent);
}

.dfd-facts__icon .dfd-icon {
	width: 1.25rem;
	height: 1.25rem;
}

.dfd-facts__label {
	display: block;
	font-family: var(--dfd-font-body);
	font-size: var(--dfd-text-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dfd-ink-muted);
}

.dfd-facts__value {
	display: block;
	font-size: var(--dfd-text-base);
	font-weight: 700;
	line-height: var(--dfd-leading-snug);
	margin-top: 0.1rem;
}

.dfd-materials {
	margin-top: var(--dfd-s5);
	padding-top: var(--dfd-s4);
	border-top: 2px dashed var(--dfd-line-strong);
}

.dfd-materials__title {
	display: flex;
	align-items: center;
	gap: var(--dfd-s2);
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-lg);
	font-weight: 700;
	color: var(--dfd-ink);
	margin: 0 0 var(--dfd-s3);
}

.dfd-materials__title .dfd-icon {
	width: 1.25rem;
	height: 1.25rem;
	color: var(--dfd-pumpkin);
}

.dfd-materials__list {
	list-style: none;
	display: grid;
	gap: var(--dfd-s2) var(--dfd-s5);
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
	margin: 0;
	padding: 0;
	font-size: var(--dfd-text-base);
}

.dfd-materials__list li {
	display: flex;
	align-items: flex-start;
	gap: var(--dfd-s2);
	margin: 0;
	min-width: 0;
}

.dfd-materials__list li::before {
	content: "";
	flex: 0 0 auto;
	width: 0.6rem;
	height: 0.6rem;
	margin-top: 0.5em;
	background: var(--dfd-pumpkin);
	border-radius: 60% 0 60% 0;
}

/* Table of contents */
.dfd-toc {
	background: var(--dfd-paper-deep);
	border: 1px solid var(--dfd-line-strong);
	border-radius: var(--dfd-radius);
	padding: var(--dfd-s5);
	margin-bottom: var(--dfd-s6);
}

.dfd-toc__title {
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-lg);
	font-weight: 700;
	color: var(--dfd-ink);
	margin: 0 0 var(--dfd-s3);
	padding: 0;
	border: 0;
}

.dfd-toc ol {
	counter-reset: dfd-toc;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--dfd-text-base);
}

.dfd-toc > ol > li {
	counter-increment: dfd-toc;
	margin: 0;
}

.dfd-toc > ol > li + li {
	margin-top: var(--dfd-s2);
}

.dfd-toc > ol > li > a::before {
	content: counter(dfd-toc) ". ";
	color: var(--dfd-accent);
	font-weight: 700;
}

.dfd-toc a {
	color: var(--dfd-ink);
	text-decoration: none;
}

.dfd-toc a:hover {
	color: var(--dfd-accent);
	text-decoration: underline;
}

.dfd-toc ol ol {
	margin: var(--dfd-s2) 0 0 var(--dfd-s5);
	font-size: var(--dfd-text-sm);
}

.dfd-toc ol ol li + li {
	margin-top: var(--dfd-s1);
}

.dfd-toc ol ol a {
	color: var(--dfd-ink-soft);
}

/* FAQ */
.dfd-faq {
	margin-top: var(--dfd-s8);
}

.dfd-faq > h2 {
	padding-bottom: var(--dfd-s2);
	border-bottom: 2px dashed var(--dfd-line-strong);
}

.dfd-faq__item {
	background: var(--dfd-surface);
	border: 1px solid var(--dfd-line);
	border-left: 5px solid var(--dfd-mustard);
	border-radius: var(--dfd-radius);
	margin-bottom: var(--dfd-s3);
	padding: var(--dfd-s4) var(--dfd-s5);
}

.dfd-faq__question {
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-lg);
	font-weight: 700;
	margin: 0 0 var(--dfd-s2);
}

.dfd-faq__answer {
	color: var(--dfd-ink-soft);
}

.dfd-faq__answer > :last-child {
	margin-bottom: 0;
}

/* Article footer */
.dfd-article__footer {
	margin-top: var(--dfd-s8);
	padding-top: var(--dfd-s5);
	border-top: 2px dashed var(--dfd-line-strong);
}

.dfd-article__footer:empty {
	display: none;
}

.dfd-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--dfd-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.dfd-tags__label {
	font-size: var(--dfd-text-sm);
	font-weight: 700;
	color: var(--dfd-ink-soft);
}

.dfd-author-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--dfd-s4);
	align-items: start;
	background: var(--dfd-paper-deep);
	border-radius: var(--dfd-radius);
	padding: var(--dfd-s5);
	margin-top: var(--dfd-s6);
}

@media (min-width: 36em) {
	.dfd-author-box {
		grid-template-columns: auto minmax(0, 1fr);
	}
}

.dfd-author-box img {
	border-radius: 50%;
}

.dfd-author-box__name {
	font-size: var(--dfd-text-lg);
	margin: 0 0 var(--dfd-s2);
}

.dfd-author-box__bio {
	color: var(--dfd-ink-soft);
	font-size: var(--dfd-text-sm);
	margin: 0;
}

/* Previous / next navigation */
.dfd-post-nav {
	margin-top: var(--dfd-s7);
}

.dfd-post-nav__links {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--dfd-s4);
}

@media (min-width: 48em) {
	.dfd-post-nav__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* When only "next" exists it sits in the right-hand column, where the
	   text alignment and the reader's mental arrow expect it. */
	.dfd-post-nav__link--next:only-child {
		grid-column: 2;
	}
}

.dfd-post-nav__link {
	display: block;
	background: var(--dfd-surface);
	border: 1px solid var(--dfd-line);
	border-radius: var(--dfd-radius);
	box-shadow: var(--dfd-shadow-sm);
	padding: var(--dfd-s4) var(--dfd-s5);
	text-decoration: none;
	height: 100%;
}

.dfd-post-nav__link:hover {
	border-color: var(--dfd-pumpkin);
}

.dfd-post-nav__direction {
	display: block;
	font-size: var(--dfd-text-xs);
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--dfd-accent);
	margin-bottom: var(--dfd-s2);
}

.dfd-post-nav__title {
	display: block;
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-lg);
	font-weight: 700;
	color: var(--dfd-ink);
	line-height: var(--dfd-leading-snug);
}

.dfd-post-nav__link:hover .dfd-post-nav__title {
	color: var(--dfd-accent);
}

.dfd-post-nav__link--prev {
	text-align: left;
}

.dfd-post-nav__link--next {
	text-align: right;
}

/* --------------------------------------------------------------------------
   13. Sidebar and widgets
   -------------------------------------------------------------------------- */

.dfd-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--dfd-s5);
	min-width: 0;
}

@media (min-width: 62em) {
	.dfd-sidebar--sticky {
		position: sticky;
		top: 7rem;
	}
}

.dfd-widget {
	background: var(--dfd-surface);
	border: 1px solid var(--dfd-line);
	border-top: 4px solid var(--dfd-mustard);
	border-radius: var(--dfd-radius);
	box-shadow: var(--dfd-shadow-sm);
	padding: var(--dfd-s5);
	font-size: var(--dfd-text-base);
	min-width: 0;
}

.dfd-widget__title,
.dfd-widget .widget-title,
.dfd-widget .wp-block-heading {
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-lg);
	font-weight: 700;
	color: var(--dfd-ink);
	margin: 0 0 var(--dfd-s4);
}

.dfd-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dfd-widget li + li {
	margin-top: var(--dfd-s3);
	padding-top: var(--dfd-s3);
	border-top: 1px dashed var(--dfd-line-strong);
}

.dfd-widget a {
	color: var(--dfd-ink);
	text-decoration: none;
}

.dfd-widget a:hover {
	color: var(--dfd-accent);
	text-decoration: underline;
}

.dfd-widget .children,
.dfd-widget .sub-menu {
	margin-top: var(--dfd-s3);
	padding-left: var(--dfd-s4);
}

/* --------------------------------------------------------------------------
   14. Archives, pagination, search, 404
   -------------------------------------------------------------------------- */

.dfd-archive-header {
	margin-bottom: var(--dfd-s7);
	padding-bottom: var(--dfd-s5);
	border-bottom: 2px dashed var(--dfd-line-strong);
}

.dfd-archive-header__title {
	margin-bottom: var(--dfd-s3);
}

.dfd-archive-header__description {
	color: var(--dfd-ink-soft);
	font-size: var(--dfd-text-lg);
	line-height: var(--dfd-leading-relaxed);
	max-width: var(--dfd-measure);
}

.dfd-archive-header__description > :last-child {
	margin-bottom: 0;
}

.dfd-archive-header__count {
	display: inline-block;
	margin: var(--dfd-s4) 0 0;
	background: var(--dfd-mustard-soft);
	border: 1px solid #ecd49a;
	border-radius: 999px;
	color: var(--dfd-mustard-ink);
	font-size: var(--dfd-text-sm);
	font-weight: 600;
	padding: 0.2rem 0.85rem;
}

.dfd-subcategories {
	display: flex;
	flex-wrap: wrap;
	gap: var(--dfd-s2);
	list-style: none;
	margin: var(--dfd-s4) 0 0;
	padding: 0;
}

.dfd-pagination {
	margin-top: var(--dfd-s8);
	padding-top: var(--dfd-s5);
	border-top: 2px dashed var(--dfd-line-strong);
}

.dfd-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--dfd-s2);
}

.dfd-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--dfd-s2);
	list-style: none;
	margin: 0;
	padding: 0;
}

.dfd-pagination a.page-numbers,
.dfd-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	height: 2.75rem;
	padding-inline: var(--dfd-s3);
	background: var(--dfd-surface);
	border: 1.5px solid var(--dfd-line-strong);
	border-radius: 999px;
	color: var(--dfd-ink);
	font-size: var(--dfd-text-sm);
	font-weight: 700;
	text-decoration: none;
}

.dfd-pagination a.page-numbers:hover {
	background: var(--dfd-accent-soft);
	border-color: var(--dfd-accent);
	color: var(--dfd-accent-hover);
}

.dfd-pagination span.page-numbers.current {
	background: var(--dfd-accent);
	border-color: var(--dfd-accent);
	color: #fffaf1;
}

.dfd-pagination span.page-numbers.dots {
	border-color: transparent;
	background: none;
}

/* Search */
.dfd-search-intro {
	margin-bottom: var(--dfd-s6);
}

.dfd-search-intro .dfd-search-form {
	max-width: 32rem;
	margin-top: var(--dfd-s4);
}

.dfd-no-results {
	background: var(--dfd-surface);
	border: 1px solid var(--dfd-line);
	border-radius: var(--dfd-radius);
	box-shadow: var(--dfd-shadow-sm);
	padding: var(--dfd-s6) var(--dfd-s5);
}

.dfd-no-results .dfd-search-form {
	max-width: 32rem;
	margin-top: var(--dfd-s5);
}

.dfd-no-results__suggestions {
	display: grid;
	gap: var(--dfd-s2);
	list-style: none;
	margin: var(--dfd-s4) 0 var(--dfd-s5);
	padding: 0;
}

.dfd-no-results__suggestions li {
	padding-left: 1.4em;
	position: relative;
}

.dfd-no-results__suggestions li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 0.6rem;
	height: 0.6rem;
	background: var(--dfd-pumpkin);
	border-radius: 60% 0 60% 0;
}

/* 404 */
.dfd-error-404 {
	text-align: center;
	max-width: 46rem;
	margin-inline: auto;
}

.dfd-error-404__code {
	font-family: var(--dfd-font-head);
	font-size: clamp(4rem, 2rem + 10vw, 7rem);
	font-weight: 700;
	line-height: 1;
	color: var(--dfd-mustard);
	text-shadow: 3px 3px 0 var(--dfd-paper-deep), 5px 5px 0 var(--dfd-line-strong);
	margin: 0 0 var(--dfd-s4);
}

.dfd-error-404 .dfd-search-form {
	max-width: 26rem;
	margin: var(--dfd-s5) auto 0;
	text-align: left;
}

.dfd-error-404 .dfd-subcategories {
	justify-content: center;
	margin-top: var(--dfd-s4);
}

.dfd-error-404 .dfd-section__head {
	justify-content: center;
}

.dfd-error-404 .dfd-grid {
	text-align: left;
}

.dfd-error-404__headline {
	margin-top: var(--dfd-s7);
	font-size: var(--dfd-text-xl);
}

/* --------------------------------------------------------------------------
   15. Pages and contact form
   -------------------------------------------------------------------------- */

.dfd-page__header {
	margin-bottom: var(--dfd-s6);
	padding-bottom: var(--dfd-s5);
	border-bottom: 2px dashed var(--dfd-line-strong);
}

.dfd-page__header .dfd-page__title {
	margin-bottom: 0;
}

.dfd-page__updated {
	margin: var(--dfd-s3) 0 0;
	color: var(--dfd-ink-muted);
	font-size: var(--dfd-text-sm);
}

.dfd-form-notice {
	border-radius: var(--dfd-radius);
	padding: var(--dfd-s4) var(--dfd-s5);
	margin-bottom: var(--dfd-s5);
	border: 1px solid;
}

.dfd-form-notice > :last-child {
	margin-bottom: 0;
}

.dfd-form-notice--success {
	background: var(--dfd-second-soft);
	border-color: #c9d0a0;
	color: #3d4722;
}

.dfd-form-notice--error {
	background: var(--dfd-burgundy-soft);
	border-color: #e6bdb4;
	color: #6a2020;
}

.dfd-form-notice__list {
	margin: var(--dfd-s2) 0 0;
	padding-left: 1.2em;
}

.dfd-form {
	max-width: 36rem;
}

.dfd-form input[aria-invalid="true"],
.dfd-form textarea[aria-invalid="true"] {
	border-color: #a3301f;
}

.dfd-field__error {
	display: block;
	margin-top: var(--dfd-s2);
	color: #8a2a1c;
	font-size: var(--dfd-text-sm);
	font-weight: 700;
}

.dfd-form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   16. Comments
   -------------------------------------------------------------------------- */

.dfd-comments {
	margin-top: var(--dfd-s9);
	padding-top: var(--dfd-s6);
	border-top: 2px dashed var(--dfd-line-strong);
}

.dfd-comments__title {
	font-size: var(--dfd-text-2xl);
}

.dfd-comments .comment-list {
	list-style: none;
	margin: 0 0 var(--dfd-s7);
	padding: 0;
}

.dfd-comments .comment-list ol.children {
	list-style: none;
	margin: var(--dfd-s4) 0 0 var(--dfd-s5);
	padding: 0;
}

.dfd-comments .comment-body {
	background: var(--dfd-surface);
	border: 1px solid var(--dfd-line);
	border-radius: var(--dfd-radius);
	padding: var(--dfd-s5);
	margin-bottom: var(--dfd-s4);
}

.dfd-comments .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--dfd-s2) var(--dfd-s3);
	font-size: var(--dfd-text-sm);
	color: var(--dfd-ink-muted);
	margin-bottom: var(--dfd-s3);
}

.dfd-comments .comment-author img {
	border-radius: 50%;
	margin-right: var(--dfd-s2);
	vertical-align: middle;
}

.dfd-comments .reply {
	font-size: var(--dfd-text-sm);
	font-weight: 700;
}

.comment-respond .comment-form-cookies-consent label,
.comment-respond .comment-notes {
	font-weight: 400;
	font-size: var(--dfd-text-sm);
	color: var(--dfd-ink-soft);
	display: inline;
}

.comment-form p {
	margin-bottom: var(--dfd-s4);
}

/* --------------------------------------------------------------------------
   17. Ad slots (empty and disabled by default)
   -------------------------------------------------------------------------- */

.dfd-ad-slot {
	margin-block: var(--dfd-s6);
	max-width: 100%;
	overflow: hidden;
	text-align: center;
}

.dfd-ad-slot__label {
	display: block;
	margin-bottom: var(--dfd-s2);
	color: var(--dfd-ink-muted);
	font-size: var(--dfd-text-xs);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dfd-ad-slot--sidebar {
	margin-block: 0;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.dfd-site-footer {
	background: var(--dfd-ink);
	color: #e9d9bf;
	margin-top: auto;
	padding-block: 0 var(--dfd-s6);
}

/* Plaid ribbon across the top of the footer. */
.dfd-site-footer::before {
	content: "";
	display: block;
	height: 8px;
	margin-bottom: var(--dfd-s8);
	background: var(--dfd-plaid);
}

.dfd-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--dfd-s6);
	margin-bottom: var(--dfd-s6);
}

@media (min-width: 48em) {
	.dfd-footer__grid {
		grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--dfd-s8);
	}
}

.dfd-footer__about p {
	color: #e9d9bf;
	font-size: var(--dfd-text-sm);
	max-width: 44ch;
	margin-bottom: 0;
}

.dfd-footer__nav {
	min-width: 0;
}

.dfd-footer__heading {
	font-family: var(--dfd-font-head);
	font-size: var(--dfd-text-lg);
	font-weight: 700;
	color: #f0c467;
	margin: 0 0 var(--dfd-s3);
}

.dfd-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--dfd-text-sm);
}

.dfd-footer__menu li + li {
	margin-top: var(--dfd-s2);
}

.dfd-footer__menu a {
	color: #fbf5ea;
	text-decoration: none;
}

.dfd-footer__menu a:hover {
	color: #f0c467;
	text-decoration: underline;
}

.dfd-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--dfd-s3);
	padding-top: var(--dfd-s5);
	border-top: 1px dashed rgba(233, 217, 191, 0.4);
	color: #d9c7ab;
	font-size: var(--dfd-text-sm);
}

.dfd-footer__bottom p {
	margin: 0;
}

.dfd-site-footer a {
	color: #fbf5ea;
}

/* --------------------------------------------------------------------------
   19. Utilities and editor alignments
   -------------------------------------------------------------------------- */

.dfd-visually-balanced {
	max-width: var(--dfd-measure);
}

.dfd-text-center {
	text-align: center;
}

.dfd-mt-0 {
	margin-top: 0;
}

.dfd-mb-0 {
	margin-bottom: 0;
}

.alignleft {
	float: left;
	margin: 0 var(--dfd-s5) var(--dfd-s4) 0;
}

.alignright {
	float: right;
	margin: 0 0 var(--dfd-s4) var(--dfd-s5);
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide,
.alignfull {
	margin-inline: auto;
}

@media (max-width: 35.99em) {
	.alignleft,
	.alignright {
		float: none;
		margin: 0 0 var(--dfd-s4);
	}
}

.wp-block-embed__wrapper {
	position: relative;
}

.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	aspect-ratio: 16 / 9;
}

.wp-block-embed.wp-embed-aspect-16-9 iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: var(--dfd-radius);
}

/* --------------------------------------------------------------------------
   20. Print — tutorials that read well on paper
   -------------------------------------------------------------------------- */

@media print {
	.dfd-site-header,
	.dfd-site-footer,
	.dfd-ad-slot,
	.dfd-post-nav,
	.dfd-comments,
	.dfd-sidebar,
	.dfd-related,
	.dfd-skip-link,
	.dfd-breadcrumbs {
		display: none !important;
	}

	body {
		background: #fff;
		font-size: 11pt;
	}

	.dfd-content > * {
		max-width: none;
	}

	.dfd-table-wrap,
	.wp-block-table {
		overflow: visible;
	}

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

	.dfd-content h2,
	.dfd-content h3 {
		break-after: avoid;
	}

	figure,
	.dfd-callout,
	.dfd-tutorial-facts,
	.dfd-facts__item {
		break-inside: avoid;
	}
}

/* Meta row: publish and update dates share one list item. */
.dfd-meta li {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.9rem;
}

/* Block search widget button follows the theme accent, not the core default. */
.wp-block-search__button {
	background: #a8430f;
	border: 1px solid #a8430f;
	border-radius: 999px;
	color: #fffaf1;
	font-weight: 600;
	padding: 0.5rem 1rem;
	cursor: pointer;
}

.wp-block-search__button:hover,
.wp-block-search__button:focus-visible {
	background: #84330c;
	border-color: #84330c;
}
