/* ==========================================================================
   Sweet Home Decor: main stylesheet
   1. Fonts   2. Tokens   3. Base   4. Layout   5. Header   6. Search overlay
   7. Buttons & forms   8. Homepage   9. Cards   10. Archives   11. Single post
   12. Content (Gutenberg)   13. Sidebar & widgets   14. Comments   15. Footer
   16. Utilities   17. Motion & print
   ========================================================================== */

/* 1. Fonts ---------------------------------------------------------------- */
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/playfair-display-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Playfair Display";
	font-style: normal;
	font-weight: 400 900;
	font-display: swap;
	src: url("../fonts/playfair-display-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-adjusted fallbacks so text doesn't jump when the web fonts arrive. */
@font-face {
	font-family: "Inter Fallback";
	src: local("Arial");
	size-adjust: 107.4%;
	ascent-override: 90.2%;
	descent-override: 22.5%;
	line-gap-override: 0%;
}
@font-face {
	font-family: "Playfair Display Fallback";
	src: local("Georgia");
	size-adjust: 110.5%;
	ascent-override: 88%;
	descent-override: 20%;
	line-gap-override: 0%;
}

/* 2. Tokens --------------------------------------------------------------- */
:root {
	--shd-bg: #faf9f6;
	--shd-bg-alt: #f0ebe3;
	--shd-white: #fff;
	--shd-ink: #292824;
	--shd-muted: #77736b;       /* palette secondary text (decorative / large text) */
	--shd-muted-text: #69655e;  /* same hue, darkened slightly to pass AA for small text */
	--shd-border: #e9e4dc;
	--shd-accent: #a18465;
	--shd-accent-hover: #8b7053;
	--shd-accent-text: #7a6247;
	--shd-button: #8b7053;
	--shd-button-hover: #75604a;
	--shd-font-heading: "Playfair Display", "Playfair Display Fallback", Georgia, serif;
	--shd-font-body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--shd-base-size: 17px;
	--shd-logo-width: 180px;
	--shd-radius: 4px;
	--shd-radius-lg: 20px;
	--shd-gutter: 20px;
	--shd-header-h: 80px;
	--shd-sticky-top: 112px;
}
.header-centered { --shd-sticky-top: 176px; }
.admin-bar { --shd-sticky-top: 144px; }
.admin-bar.header-centered { --shd-sticky-top: 208px; }

/* 3. Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 130px;
}
body {
	margin: 0;
	background: var(--shd-bg);
	color: var(--shd-ink);
	font-family: var(--shd-font-body);
	font-size: var(--shd-base-size);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--shd-accent-hover); }
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--shd-font-heading);
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -.01em;
	text-wrap: balance;
}
p { margin: 0 0 1.2em; }
ul, ol { padding-left: 1.3em; }
[hidden] { display: none !important; }

:focus-visible {
	outline: 2px solid var(--shd-button);
	outline-offset: 3px;
	border-radius: 2px;
}

/* 4. Layout --------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: 1220px;
	margin-inline: auto;
	padding-inline: var(--shd-gutter);
}
.container--narrow { max-width: 820px; }
.container--post { max-width: 1180px; }
.site-content { min-height: 50vh; outline: 0; }
.site-content > .container:last-child { padding-bottom: 72px; }

.layout { display: block; }
@media (min-width: 1024px) {
	.layout--sidebar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 64px;
		align-items: start;
	}
}

.section { padding: 64px 0; }
.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 36px;
}
.section-title {
	margin: 0;
	font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}
.section-title--small { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: 28px; }
.section-intro { max-width: 60ch; margin: 10px 0 0; color: var(--shd-muted-text); }
.eyebrow {
	margin: 0 0 14px;
	color: var(--shd-accent-text);
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
}
.text-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--shd-accent-text);
	font-weight: 600;
	font-size: .92rem;
	text-decoration: none;
}
.text-link:hover { text-decoration: underline; color: var(--shd-ink); }

/* 5. Header --------------------------------------------------------------- */
.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	clip: auto !important;
	clip-path: none;
	width: auto;
	height: auto;
	padding: 12px 18px;
	background: var(--shd-white);
	color: var(--shd-ink);
	font-weight: 600;
	box-shadow: 0 0 0 2px var(--shd-button);
}
.site-header {
	position: relative;
	z-index: 60;
	background: var(--shd-bg);
	border-bottom: 1px solid var(--shd-border);
}
.site-header.is-sticky { position: sticky; top: 0; }
.admin-bar .site-header.is-sticky { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header.is-sticky { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header.is-sticky { top: 0; } }

.topbar {
	background: var(--shd-bg-alt);
	color: var(--shd-ink);
	font-size: .82rem;
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 38px;
}
.topbar__text { margin: 0; padding: 6px 0; line-height: 1.4; }
.topbar__text a { text-decoration: none; }
.topbar__text a:hover { text-decoration: underline; }

.social-links { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.social-links a {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	color: var(--shd-ink);
	border-radius: 50%;
	transition: color .2s, background-color .2s;
}
.social-links a:hover { color: var(--shd-white); background: var(--shd-button); }
.social-links--topbar a { width: 30px; height: 30px; }
.social-links--topbar svg { width: 16px; height: 16px; }
.social-links--footer { margin-top: 20px; }
.social-links--footer a, .social-links--inline a { border: 1px solid var(--shd-border); background: var(--shd-white); }

.header-main__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--shd-header-h);
}
.site-logo { margin: 0; line-height: 1; }
.site-logo a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.site-logo .custom-logo-link { display: block; }
.site-logo .custom-logo { width: var(--shd-logo-width); max-width: 60vw; height: auto; max-height: 70px; object-fit: contain; }
.logo-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--shd-accent); border-radius: 50%; color: var(--shd-accent-text); }
.logo-text {
	font-family: var(--shd-font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: -.01em;
	white-space: nowrap;
}
.site-logo--footer .logo-text { font-size: 1.4rem; }

.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--shd-ink);
	cursor: pointer;
	border-radius: 50%;
	transition: background-color .2s;
}
.icon-btn:hover { background: var(--shd-bg-alt); color: var(--shd-ink); }

/* Mobile navigation: slide-out panel */
.primary-nav {
	position: fixed;
	inset: 0 0 0 auto;
	z-index: 120;
	width: min(88vw, 360px);
	padding: 16px 24px 32px;
	overflow-y: auto;
	background: var(--shd-white);
	box-shadow: -12px 0 32px rgba(41, 40, 36, .12);
	transform: translateX(100%);
	visibility: hidden;
	transition: transform .28s ease, visibility 0s linear .28s;
}
.nav-open .primary-nav { transform: none; visibility: visible; transition: transform .28s ease; }
.nav-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(41, 40, 36, .45); }
.nav-close { margin-left: auto; margin-bottom: 8px; display: grid; }
.nav-open { overflow: hidden; }

.primary-nav .menu, .primary-nav .sub-menu { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu > li { border-bottom: 1px solid var(--shd-border); }
.primary-nav .menu-item { display: flex; flex-wrap: wrap; align-items: center; }
.primary-nav .menu-item > a {
	flex: 1;
	padding: 14px 0;
	font-size: 1.05rem;
	font-weight: 500;
	text-decoration: none;
}
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_item > a { color: var(--shd-accent-text); }
.submenu-toggle {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.submenu-toggle svg { transition: transform .2s; }
.submenu-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.primary-nav .sub-menu { display: none; flex-basis: 100%; padding: 0 0 10px 14px; }
.primary-nav .is-open > .sub-menu { display: block; }
.primary-nav .sub-menu a { display: block; padding: 8px 0; font-size: .98rem; text-decoration: none; color: var(--shd-muted-text); }

/* No-JS: show the menu inline so nothing is unreachable. */
.no-js .nav-toggle, .no-js .nav-close { display: none; }
.no-js .primary-nav { position: static; width: auto; transform: none; visibility: visible; box-shadow: none; padding: 0 0 12px; }
.no-js .header-main__inner { flex-wrap: wrap; }
.no-js .primary-nav { order: 3; flex-basis: 100%; }
.no-js .primary-nav .sub-menu { display: block; }

@media (min-width: 960px) {
	.nav-toggle, .nav-close, .nav-backdrop { display: none !important; }
	.header-main__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; }
	.primary-nav {
		position: static;
		z-index: auto;
		width: auto;
		padding: 0;
		overflow: visible;
		background: transparent;
		box-shadow: none;
		transform: none;
		visibility: visible;
		justify-self: center;
	}
	.primary-nav .menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 6px; }
	.primary-nav .menu > li { border: 0; }
	.primary-nav .menu-item { position: relative; flex-wrap: nowrap; }
	.primary-nav .menu-item > a { flex: none; padding: 10px 11px; font-size: .94rem; position: relative; }
	.primary-nav .menu > li > a::after {
		content: "";
		position: absolute;
		left: 11px;
		right: 11px;
		bottom: 6px;
		height: 1.5px;
		background: var(--shd-accent);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform .25s;
	}
	.primary-nav .menu > li > a:hover::after,
	.primary-nav .menu > li.current-menu-item > a::after,
	.primary-nav .menu > li.current-menu-ancestor > a::after,
	.primary-nav .menu > li.current_page_item > a::after { transform: scaleX(1); }
	.primary-nav .menu > li.menu-item-has-children > a { padding-right: 2px; }
	.submenu-toggle { width: 28px; height: 36px; }
	.primary-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 30;
		display: block;
		min-width: 230px;
		padding: 8px 0;
		background: var(--shd-white);
		border: 1px solid var(--shd-border);
		border-radius: var(--shd-radius);
		box-shadow: 0 10px 28px rgba(41, 40, 36, .08);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity .18s, transform .18s, visibility 0s linear .18s;
	}
	.primary-nav .menu-item:hover > .sub-menu,
	.primary-nav .menu-item:focus-within > .sub-menu,
	.primary-nav .menu-item.is-open > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity .18s, transform .18s;
	}
	.primary-nav .menu-item.is-dismissed > .sub-menu { opacity: 0; visibility: hidden; }
	.primary-nav .sub-menu .menu-item { display: block; }
	.primary-nav .sub-menu a { padding: 9px 20px; color: var(--shd-ink); }
	.primary-nav .sub-menu a:hover { background: var(--shd-bg-alt); }
	.no-js .primary-nav { flex-basis: auto; order: 0; }
	.no-js .header-main__inner { display: grid; }

	/* Centered layout */
	.header--centered .header-main__inner {
		grid-template-columns: 1fr auto 1fr;
		grid-template-areas: ". logo actions" "nav nav nav";
		gap: 0 32px;
		padding-block: 14px 4px;
	}
	.header--centered .site-logo { grid-area: logo; justify-self: center; }
	.header--centered .header-actions { grid-area: actions; justify-self: end; }
	.header--centered .primary-nav { grid-area: nav; }
}
@media (max-width: 959px) {
	.topbar__text { font-size: .78rem; }
}

/* 6. Search overlay ------------------------------------------------------- */
.search-overlay {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 18vh var(--shd-gutter) 24px;
	background: rgba(250, 249, 246, .98);
}
.search-overlay__inner { position: relative; width: 100%; max-width: 720px; }
.search-overlay__close { position: absolute; top: -12vh; right: 0; }
.search-overlay__title {
	margin: 0 0 20px;
	font-family: var(--shd-font-heading);
	font-size: clamp(1.6rem, 4vw, 2.4rem);
	line-height: 1.2;
}
.search-open { overflow: hidden; }

.search-form { display: flex; gap: 8px; width: 100%; max-width: 560px; }
.search-overlay .search-form { max-width: none; }
.search-form__field { position: relative; flex: 1; }
.search-field {
	width: 100%;
	height: 52px;
	padding: 0 46px 0 16px;
	border: 1px solid #cfc7ba;
	border-radius: var(--shd-radius);
	background: var(--shd-white);
	color: var(--shd-ink);
	font: inherit;
	font-size: 1rem;
	appearance: none;
}
.search-field::-webkit-search-cancel-button { appearance: none; }
.search-clear {
	position: absolute;
	top: 4px;
	right: 4px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--shd-muted-text);
	cursor: pointer;
}
.search-submit {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 0;
	border-radius: var(--shd-radius);
	background: var(--shd-button);
	color: #fff;
	cursor: pointer;
}
.search-submit:hover { background: var(--shd-button-hover); }

/* 7. Buttons & forms ------------------------------------------------------ */
.button,
.wp-block-button__link,
.comment-form .submit,
button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: .9em 1.7em;
	border: 0;
	border-radius: var(--shd-radius);
	background: var(--shd-button);
	color: #fff;
	font: inherit;
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s;
}
.button:hover,
.wp-block-button__link:hover,
.comment-form .submit:hover { background: var(--shd-button-hover); color: #fff; }

input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cfc7ba;
	border-radius: var(--shd-radius);
	background: var(--shd-white);
	color: var(--shd-ink);
	font: inherit;
}
textarea { min-height: 150px; }
label { font-weight: 500; }

/* 8. Homepage ------------------------------------------------------------- */
.hero { padding: 40px 0 56px; }
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}
.hero__title {
	margin: 0 0 22px;
	font-size: clamp(2.5rem, 7vw, 4.4rem);
	line-height: 1.06;
	letter-spacing: -.02em;
}
.hero__desc { max-width: 46ch; margin: 0 0 32px; color: var(--shd-muted-text); font-size: 1.1rem; }
.hero__cta { margin: 0; }
.hero__media { position: relative; }
.hero__media::before {
	content: "";
	position: absolute;
	inset: 22px -14px -22px 14px;
	z-index: 0;
	border-radius: var(--shd-radius-lg);
	background: var(--shd-bg-alt);
}
.hero__img {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--shd-radius-lg);
	background: var(--shd-bg-alt);
}
@media (min-width: 960px) {
	.hero { padding: 64px 0 88px; }
	.hero__inner { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 72px; }
	.hero__img { aspect-ratio: 1100 / 1200; max-height: 640px; }
}

.section--picks, .section--diy { background: var(--shd-white); }
.section--budget, .section--newsletter { background: var(--shd-bg-alt); }
.section--budget { padding: 80px 0; }
.section--categories { padding-top: 24px; }

.cat-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 28px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat-block {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: var(--shd-white);
	border: 1px solid var(--shd-border);
	border-radius: var(--shd-radius);
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	transition: border-color .2s;
}
.cat-block:hover { border-color: var(--shd-accent); color: inherit; }
.cat-block__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--shd-bg-alt); }
.cat-block__media { position: relative; }
.cat-block__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cat-block:hover .cat-block__media img { transform: scale(1.03); }
.cat-block__body { display: flex; flex: 1; flex-direction: column; gap: 6px; padding: 20px 22px 22px; }
.cat-block__title { font-family: var(--shd-font-heading); font-size: 1.4rem; font-weight: 500; line-height: 1.2; }
.cat-block__desc { color: var(--shd-muted-text); font-size: .94rem; line-height: 1.55; }
.cat-block__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; color: var(--shd-accent-text); font-size: .88rem; font-weight: 600; }

.picks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: start; }
.picks__side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 960px) {
	.picks { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; }
	.picks--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
	.picks--reverse > .card--lead { order: 2; }
}
.section--room-reverse { background: var(--shd-white); }
.section--room { padding: 56px 0; }

.budget { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: center; }
.budget__posts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.budget .card--horizontal { padding: 14px; background: var(--shd-white); border-radius: var(--shd-radius); }
.check-list { margin: 22px 0 28px; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 9px 0 9px 32px; border-bottom: 1px solid #ddd5c8; font-weight: 500; }
.check-list li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 17px;
	width: 14px;
	height: 7px;
	border-left: 2px solid var(--shd-accent-text);
	border-bottom: 2px solid var(--shd-accent-text);
	transform: rotate(-45deg);
}
.budget .section-intro, .budget .eyebrow { color: #5d5951; }
.budget .eyebrow { color: var(--shd-accent-text); }
@media (min-width: 960px) {
	.budget { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; }
}

.org-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 40px; margin-top: 32px; }
@media (min-width: 960px) { .org-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.section--org .chip-list { margin-top: 0; }

.newsletter {
	max-width: 720px;
	margin-inline: auto;
	padding: 44px 28px;
	background: var(--shd-white);
	border: 1px solid var(--shd-border);
	border-radius: var(--shd-radius);
	text-align: center;
}
.newsletter__title { margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.newsletter__text { margin: 0 auto 24px; max-width: 48ch; color: var(--shd-muted-text); }
.newsletter-form { display: flex; flex-direction: column; gap: 10px; max-width: 520px; margin-inline: auto; }
.newsletter-form input[type="email"] { height: 52px; }
.newsletter-form .button { height: 52px; }
.newsletter-note { margin: 14px 0 0; color: var(--shd-muted-text); font-size: .82rem; }
.newsletter-embed { max-width: 520px; margin-inline: auto; text-align: left; }
@media (min-width: 560px) { .newsletter-form { flex-direction: row; } .newsletter-form input[type="email"] { flex: 1; } }

.admin-note {
	margin: 0 0 20px;
	padding: 12px 16px;
	border: 1px dashed var(--shd-accent);
	background: var(--shd-white);
	color: var(--shd-ink);
	font-size: .88rem;
	line-height: 1.5;
}

/* 9. Cards ---------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 28px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.post-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { .post-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1024px) and (max-width: 1099px) { .post-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--shd-radius);
	background: var(--shd-bg-alt);
}
.card__media { position: relative; width: 100%; }
.card__media img, .card__media .thumb-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card__media img { transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.thumb-fallback { display: grid; place-items: center; color: var(--shd-accent); background: var(--shd-bg-alt); }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.card__cat { margin: 0 0 8px; line-height: 1.2; }
.cat-label {
	color: var(--shd-accent-text);
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-decoration: none;
}
.cat-label:hover { color: var(--shd-ink); text-decoration: underline; }
.card__title { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.28; }
.card__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s; }
.card__title a:hover { color: inherit; background-size: 100% 1px; }
.card__excerpt { margin: 0 0 14px; color: var(--shd-muted-text); font-size: .95rem; line-height: 1.6; }
.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	margin: auto 0 0;
	color: var(--shd-muted-text);
	font-size: .82rem;
	line-height: 1.4;
}
.post-meta a { text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }
.meta-item + .meta-item::before { content: "·"; margin-right: 14px; margin-left: -8px; }
.meta-author { display: inline-flex; align-items: center; gap: 8px; }
.meta-avatar { width: 28px; height: 28px; border-radius: 50%; }
.meta-author + .meta-item::before { margin-left: 0; }

.card--lead .card__title { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.card--lead .card__media { aspect-ratio: 4 / 3; }
.card--lead .card__excerpt { font-size: 1rem; }
.card--horizontal { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 18px; align-items: start; }
.card--horizontal .card__media { aspect-ratio: 1 / 1; }
.card--horizontal .card__body { padding-top: 0; }
.card--horizontal .card__title { font-size: 1.15rem; }
.card--horizontal .card__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .9rem; margin-bottom: 10px; }
@media (min-width: 640px) { .card--horizontal { grid-template-columns: 200px 1fr; } }
@media (min-width: 640px) and (max-width: 959px) { .card--horizontal { grid-template-columns: 220px 1fr; } }

/* 10. Archives ------------------------------------------------------------ */
.breadcrumbs { padding: 22px 0 6px; font-size: .84rem; color: var(--shd-muted-text); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin: 0 10px; color: #b3ac9f; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; color: var(--shd-accent-text); }
.breadcrumbs--plugin a { text-decoration: none; }

.archive-header { max-width: 780px; padding: 28px 0 44px; }
.archive-header--author { display: flex; gap: 24px; align-items: center; max-width: none; }
.archive-header__avatar img { width: 96px; height: 96px; border-radius: 50%; }
.archive-header__title { margin: 0 0 14px; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.1; }
.archive-header__desc { color: var(--shd-muted-text); max-width: 62ch; }
.archive-header__desc p:last-child { margin-bottom: 0; }
.archive-header .search-form { margin-top: 24px; }
.archive-header__count { margin: 14px 0 0; color: var(--shd-muted-text); font-size: .9rem; }
.archive-header .chip-list { margin-top: 22px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.chip {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid #d9d1c4;
	border-radius: 999px;
	background: var(--shd-white);
	color: var(--shd-ink);
	font-size: .86rem;
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}
a.chip:hover { border-color: var(--shd-accent); background: var(--shd-bg-alt); color: var(--shd-ink); }
.chip--static { background: var(--shd-bg); }

.pagination { margin-top: 56px; }
.pagination .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination .page-numbers li { margin: 0; }
.pagination a.page-numbers, .pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--shd-border);
	border-radius: var(--shd-radius);
	background: var(--shd-white);
	font-size: .92rem;
	text-decoration: none;
}
.pagination a.page-numbers:hover { border-color: var(--shd-accent); }
.pagination .current { background: var(--shd-button); border-color: var(--shd-button); color: #fff; }
.pagination .dots { border-color: transparent; background: transparent; }

.no-results { max-width: 720px; padding: 8px 0 24px; }
.no-results__title { font-size: 1.8rem; }
.no-results__sub { margin-top: 36px; font-size: 1.1rem; }
.error-404 { padding: 48px 0 32px; }
.error-404 .search-form { margin: 24px 0; }
.error-404__recent { margin-top: 40px; }

/* 11. Single post & pages ------------------------------------------------- */
.post-header { max-width: 860px; margin: 0 auto; padding: 16px 0 32px; text-align: center; }
.post-header__cat { margin: 0 0 16px; }
.post-title { margin: 0 0 20px; font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.12; letter-spacing: -.02em; }
.post-intro { max-width: 62ch; margin: 0 auto 22px; color: var(--shd-muted-text); font-size: 1.2rem; line-height: 1.6; }
.post-intro p:last-child { margin: 0; }
.post-header .post-meta { justify-content: center; margin: 0; font-size: .88rem; }

.post-figure--hero { max-width: 1100px; margin: 0 auto 48px; }
.post-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--shd-radius); background: var(--shd-bg-alt); }
.page-article .post-figure { margin-bottom: 32px; }
.post-figure figcaption, .entry-content figcaption, .wp-caption-text {
	margin-top: 10px;
	color: var(--shd-muted-text);
	font-size: .86rem;
	line-height: 1.5;
	text-align: center;
}

.post-layout { max-width: 760px; margin-inline: auto; }
.post-layout.layout--sidebar { max-width: 1124px; }
@media (min-width: 1100px) {
	.post-layout--sticky-toc {
		display: grid;
		grid-template-columns: minmax(0, 760px) 280px;
		gap: 64px;
		max-width: 1104px;
		align-items: start;
	}
	.post-layout--sticky-toc > .toc { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--shd-sticky-top) + 8px); align-self: start; }
	.post-layout--sticky-toc > .post-body { grid-column: 1; grid-row: 1; }
}

.toc {
	margin: 0 0 40px;
	padding: 22px 26px;
	background: var(--shd-white);
	border: 1px solid var(--shd-border);
	border-left: 3px solid var(--shd-accent);
	border-radius: var(--shd-radius);
}
.toc__summary { cursor: pointer; font-family: var(--shd-font-heading); font-size: 1.2rem; font-weight: 500; list-style-position: inside; }
.toc__summary::-webkit-details-marker { color: var(--shd-accent-text); }
.toc__list { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: toc; }
.toc__item { margin: 0; }
.toc__item--h2 { counter-increment: toc; }
.toc__item--h2 a::before { content: counter(toc) ". "; color: var(--shd-muted-text); }
.toc__item a { display: block; padding: 5px 0; color: var(--shd-ink); font-size: .94rem; line-height: 1.45; text-decoration: none; }
.toc__item--h3 { padding-left: 18px; }
.toc__item--h3 a { color: var(--shd-muted-text); font-size: .9rem; }
.toc__item a:hover, .toc__item a.is-active { color: var(--shd-accent-text); text-decoration: underline; }

.post-tags { margin: 36px 0 0; }
.share { margin: 44px 0 0; padding: 24px 0; border-block: 1px solid var(--shd-border); }
.share-title { margin: 0 0 14px; font-family: var(--shd-font-body); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.share-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.share-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid #d9d1c4;
	border-radius: var(--shd-radius);
	background: var(--shd-white);
	color: var(--shd-ink);
	font: inherit;
	font-size: .88rem;
	font-weight: 500;
	text-decoration: none;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.share-btn:hover { border-color: var(--shd-accent); background: var(--shd-bg-alt); color: var(--shd-ink); }

.author-box { display: flex; gap: 22px; align-items: flex-start; margin: 40px 0 0; padding: 28px; background: var(--shd-white); border: 1px solid var(--shd-border); border-radius: var(--shd-radius); }
.author-box__avatar img { width: 84px; height: 84px; border-radius: 50%; }
.author-box .eyebrow { margin-bottom: 4px; }
.author-box__name { margin: 0 0 6px; font-family: var(--shd-font-heading); font-size: 1.35rem; }
.author-box__name a { text-decoration: none; }
.author-box__bio { margin: 0; color: var(--shd-muted-text); font-size: .95rem; line-height: 1.65; }

.post-nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .post-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-nav__link { display: block; padding: 18px 20px; border: 1px solid var(--shd-border); border-radius: var(--shd-radius); background: var(--shd-white); text-decoration: none; transition: border-color .2s; }
.post-nav__link:hover { border-color: var(--shd-accent); color: inherit; }
.post-nav__link--next { text-align: right; grid-column: 2; }
.post-nav__link--prev:only-child { grid-column: 1; }
.post-nav__label { display: block; margin-bottom: 4px; color: var(--shd-accent-text); font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.post-nav__title { display: block; font-family: var(--shd-font-heading); font-size: 1.1rem; line-height: 1.35; }
@media (max-width: 639px) { .post-nav__link--next { grid-column: auto; } }

.related { margin-top: 72px; padding-top: 56px; border-top: 1px solid var(--shd-border); }
.comments-wrap { max-width: 760px; margin: 64px auto 0; }

.page-header { padding: 24px 0 24px; }
.page-title { margin: 0; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.12; }
.page-article .entry-content { max-width: 760px; }

/* 12. Entry content (Gutenberg & classic) -------------------------------- */
.entry-content { font-size: 1.0625rem; line-height: 1.8; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.5em; }
.entry-content a { color: var(--shd-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--shd-ink); }
.entry-content .wp-block-button__link, .entry-content .button { color: #fff; text-decoration: none; }
.entry-content h2 { margin: 2.2em 0 .6em; font-size: clamp(1.7rem, 3.4vw, 2.1rem); }
.entry-content h3 { margin: 1.9em 0 .5em; font-size: clamp(1.35rem, 2.6vw, 1.55rem); }
.entry-content h4 { margin: 1.7em 0 .4em; font-size: 1.2rem; }
.entry-content h5, .entry-content h6 { margin: 1.5em 0 .4em; font-family: var(--shd-font-body); font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.entry-content ul, .entry-content ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.entry-content li { margin-bottom: .5em; padding-left: .2em; }
.entry-content li::marker { color: var(--shd-accent-text); }
.entry-content li > ul, .entry-content li > ol { margin: .6em 0 0; }
.entry-content img { height: auto; border-radius: var(--shd-radius); }
.entry-content figure { margin: 2em 0; }
.entry-content .wp-block-image img { width: auto; max-width: 100%; }
.entry-content hr, .entry-content .wp-block-separator { margin: 2.6em auto; border: 0; border-top: 1px solid var(--shd-border); max-width: 120px; }

.entry-content blockquote, .entry-content .wp-block-quote {
	margin: 2em 0;
	padding: 6px 0 6px 28px;
	border: 0;
	border-left: 3px solid var(--shd-accent);
	font-family: var(--shd-font-heading);
	font-size: 1.35rem;
	font-style: italic;
	line-height: 1.55;
}
.entry-content blockquote p { margin-bottom: .6em; }
.entry-content blockquote cite, .entry-content .wp-block-quote cite { display: block; margin-top: .6em; color: var(--shd-muted-text); font-family: var(--shd-font-body); font-size: .88rem; font-style: normal; }
.entry-content .wp-block-pullquote { border-block: 1px solid var(--shd-border); padding: 2em 0; text-align: center; }

.entry-content table { width: 100%; margin: 2em 0; border-collapse: collapse; font-size: .96rem; line-height: 1.55; }
.entry-content th, .entry-content td { padding: 12px 14px; border: 1px solid var(--shd-border); text-align: left; vertical-align: top; }
.entry-content th { background: var(--shd-bg-alt); font-weight: 600; }
.entry-content tbody tr:nth-child(even) td { background: rgba(240, 235, 227, .35); }
.entry-content .wp-block-table { margin: 2em 0; overflow-x: auto; }
.entry-content .wp-block-table table { margin: 0; }
@media (max-width: 760px) {
	.entry-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

.entry-content .wp-block-gallery, .entry-content .gallery { margin: 2em 0; }
.entry-content .gallery { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.entry-content .gallery-item { margin: 0; }
.entry-content .gallery-caption { font-size: .8rem; color: var(--shd-muted-text); }
.entry-content .wp-block-gallery figcaption { text-align: left; }
.entry-content .alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) { .entry-content .alignleft, .entry-content .alignright { float: none; max-width: 100%; margin: 1.5em 0; } }
@media (min-width: 900px) {
	.post-layout:not(.layout--sidebar):not(.post-layout--sticky-toc) .entry-content .alignwide,
	.post-layout:not(.layout--sidebar):not(.post-layout--sticky-toc) .entry-content .alignfull {
		position: relative;
		left: 50%;
		width: min(1060px, calc(100vw - 48px));
		max-width: none;
		transform: translateX(-50%);
	}
}

.entry-content .wp-block-button { margin: 1.6em 0; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--shd-accent-text); box-shadow: inset 0 0 0 1.5px var(--shd-accent); }
.entry-content .is-style-outline .wp-block-button__link:hover { background: var(--shd-bg-alt); color: var(--shd-ink); }
.entry-content pre { overflow-x: auto; padding: 18px; background: var(--shd-bg-alt); border-radius: var(--shd-radius); font-size: .88rem; line-height: 1.6; }
.entry-content code { padding: .1em .35em; background: var(--shd-bg-alt); border-radius: 3px; font-size: .9em; }
.entry-content pre code { padding: 0; background: none; }
.entry-content .wp-block-embed iframe, .entry-content iframe { max-width: 100%; }
.entry-content .wp-block-embed__wrapper { position: relative; }
.entry-content .has-background { padding: 1.2em 1.4em; border-radius: var(--shd-radius); }

/* FAQ: core Details block, Yoast and Rank Math FAQ blocks, or a manual .faq wrapper. */
.entry-content details,
.entry-content .schema-faq-section,
.entry-content .rank-math-list-item { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--shd-border); }
.entry-content details:first-of-type { border-top: 1px solid var(--shd-border); }
.entry-content details summary { cursor: pointer; font-family: var(--shd-font-heading); font-size: 1.15rem; font-weight: 500; line-height: 1.4; }
.entry-content details[open] summary { margin-bottom: .6em; color: var(--shd-accent-text); }
.entry-content details > *:last-child { margin-bottom: 0; }
.entry-content .schema-faq-question, .entry-content .rank-math-question { display: block; margin: 0 0 .4em; font-family: var(--shd-font-heading); font-size: 1.2rem; font-weight: 500; line-height: 1.4; }
.entry-content .schema-faq-answer p, .entry-content .rank-math-answer p { margin-bottom: 0; color: var(--shd-muted-text); }
.entry-content .faq { margin: 2.4em 0; }
.entry-content .faq h3 { margin-top: 1.4em; }

.page-links { margin: 2em 0; font-size: .92rem; }
.page-links > span { margin-right: 8px; font-weight: 600; }
.page-links a { display: inline-block; min-width: 36px; padding: 6px 10px; border: 1px solid var(--shd-border); text-align: center; text-decoration: none; }

/* 13. Sidebar & widgets --------------------------------------------------- */
.sidebar { font-size: .94rem; }
@media (max-width: 1023px) { .sidebar { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--shd-border); } }
@media (min-width: 1024px) { .sidebar { position: sticky; top: calc(var(--shd-sticky-top) + 8px); } body:not(.has-sticky-header) .sidebar { top: 24px; } }
.widget { margin: 0 0 40px; }
.widget-title {
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--shd-border);
	font-family: var(--shd-font-heading);
	font-size: 1.2rem;
	font-weight: 500;
}
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--shd-border); }
.widget li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; }
.widget a:hover { text-decoration: underline; }
.widget .search-form { max-width: none; }
.widget .search-field { height: 46px; }
.widget .search-submit { width: 46px; height: 46px; }
.widget .newsletter-form { flex-direction: column; }
.widget-posts { counter-reset: popular; }
.widget-post { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; }
.widget-post__thumb { display: block; width: 72px; height: 72px; overflow: hidden; border-radius: var(--shd-radius); background: var(--shd-bg-alt); }
.widget-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.widget-post__title { display: block; font-family: var(--shd-font-heading); font-size: 1rem; line-height: 1.35; }
.widget-post__date, .widget .post-date { display: block; margin-top: 2px; color: var(--shd-muted-text); font-size: .8rem; }
.widget .wp-block-search__label, .widget .wp-block-heading { font-family: var(--shd-font-heading); font-size: 1.2rem; font-weight: 500; margin-bottom: 12px; }
.widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.widget .wp-block-search__input { flex: 1; min-width: 0; height: 46px; }
.widget .wp-block-search__button { height: 46px; margin: 0; padding: 0 16px; border: 0; border-radius: var(--shd-radius); background: var(--shd-button); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.widget .wp-block-latest-posts__list, .widget .wp-block-categories-list { margin: 0; padding: 0; list-style: none; }
.widget_categories .children, .widget_nav_menu .sub-menu { padding-left: 14px; }

/* 14. Comments ------------------------------------------------------------ */
.comments-title, .comment-reply-title { margin: 0 0 24px; font-size: 1.6rem; }
.comment-list { margin: 0 0 40px; padding: 0; list-style: none; }
.comment-list .children { margin: 0; padding-left: 24px; list-style: none; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--shd-border); }
.comment-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; margin-bottom: 8px; font-size: .86rem; }
.comment-author .avatar { float: left; margin-right: 12px; border-radius: 50%; }
.comment-author .fn { font-weight: 600; font-style: normal; }
.comment-metadata a { color: var(--shd-muted-text); text-decoration: none; }
.reply a { font-size: .84rem; font-weight: 600; color: var(--shd-accent-text); }
.comment-form p { margin-bottom: 1.1em; }
.comment-form label { display: block; margin-bottom: 4px; font-size: .9rem; }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent input { margin-top: 6px; }
.comment-form-cookies-consent label { margin: 0; }

/* 15. Footer -------------------------------------------------------------- */
.site-footer { margin-top: 24px; background: var(--shd-bg-alt); border-top: 1px solid var(--shd-border); font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 64px 48px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; /* fr tracks of text content */ gap: 56px; } }
.footer-desc { margin: 16px 0 0; max-width: 40ch; color: #55514a; line-height: 1.65; }
.footer-title { margin: 0 0 18px; font-family: var(--shd-font-body); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.footer-list, .legal-list, .footer-contact { margin: 0; padding: 0; list-style: none; }
.footer-list li { margin: 0 0 9px; }
.footer-list a, .legal-list a, .footer-contact a { text-decoration: none; }
.footer-list a:hover, .legal-list a:hover, .footer-contact a:hover { color: var(--shd-accent-text); text-decoration: underline; }
.footer-contact { margin-top: 16px; }
.footer-contact li { margin-bottom: 10px; line-height: 1.55; }
.footer-contact__label { display: block; color: #55514a; font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom { border-top: 1px solid #ddd5c8; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px; padding-block: 22px; font-size: .86rem; }
.copyright { margin: 0; color: #55514a; }
.legal-list { display: flex; flex-wrap: wrap; gap: 6px 22px; }

/* 16. Utilities ----------------------------------------------------------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus { clip: auto; clip-path: none; }
.alignleft { float: left; }
.alignright { float: right; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky .card__title::before { content: none; }
.bypostauthor > .comment-body { border-left: 2px solid var(--shd-accent); padding-left: 14px; }

/* Wide-screen refinements */
@media (min-width: 1600px) {
	.container { max-width: 1320px; }
	.container--post { max-width: 1240px; }
}
@media (max-width: 480px) {
	:root { --shd-gutter: 16px; }
	.section { padding: 48px 0; }
	.author-box { flex-direction: column; padding: 22px; }
	.archive-header--author { flex-direction: column; align-items: flex-start; }
	.hero__media::before { inset: 14px -8px -14px 8px; }
	.logo-text { font-size: 1.3rem; }
	.logo-mark { width: 36px; height: 36px; }
}
@media (max-width: 359px) {
	.logo-text { font-size: 1.15rem; }
	.header-main__inner { gap: 8px; }
	.icon-btn { width: 40px; height: 40px; }
}

/* 17. Motion & print ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
		scroll-behavior: auto !important;
	}
	.card:hover .card__media img, .cat-block:hover .cat-block__media img { transform: none; }
}
@media print {
	.site-header, .site-footer, .sidebar, .share, .post-nav, .related, .comments-wrap, .search-overlay, .toc { display: none !important; }
	body { background: #fff; font-size: 12pt; }
	.entry-content a::after { content: " (" attr(href) ")"; font-size: .8em; }
}
@media (min-width: 1100px) { body:not(.has-sticky-header) .post-layout--sticky-toc > .toc { top: 24px; } }
