/*
Theme Name: Wood Burning Patterns
Theme URI: https://woodburningpatterns.com
Author: Wood Burning Patterns
Description: Rustic workshop theme for Wood Burning Patterns. Hero image and logo come from the Media Library, separate header and footer menus, sliding three-card post carousels on the home page, posts page and category pages. Comments and post dates are switched off.
Version: 1.0.3
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wood-burning-patterns
*/

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Zilla Slab"; src: url("assets/fonts/zilla-slab-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("assets/fonts/zilla-slab-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("assets/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Dancing Script"; src: url("assets/fonts/dancing-script-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens: taken from the hero (walnut planks, lantern amber, birch, leaves) ---------- */
:root {
	--walnut-900: #1f130b;
	--walnut-800: #2b1a10;
	--walnut-700: #3d2617;
	--walnut-600: #5a3820;
	--umber: #7a4520;
	--ember: #9c4a12;
	--ember-hover: #7f3a0c;
	--amber: #e2a24c;
	--honey: #f0c27b;
	--birch: #f3e6cc;
	--birch-200: #ead6b1;
	--parchment: #fbf6ec;
	--paper: #fffdf8;
	--leaf: #56702f;
	--ink: #2e2219;
	--muted: #6a5646;
	--line: #e2cda6;

	--font-head: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
	--font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-script: "Dancing Script", "Brush Script MT", cursive;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(43, 26, 16, .08), 0 8px 24px -8px rgba(43, 26, 16, .22);
	--shadow-lg: 0 2px 4px rgba(43, 26, 16, .1), 0 22px 48px -16px rgba(43, 26, 16, .38);
	--gutter: clamp(16px, 4vw, 40px);
	--max: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	background: var(--parchment);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ember); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ember-hover); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; color: var(--walnut-800); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; background: var(--paper); color: var(--walnut-800); font-weight: 600; border-radius: var(--radius-sm); box-shadow: var(--shadow); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.wrap--medium { max-width: calc(960px + 2 * var(--gutter)); }

.eyebrow {
	font-family: var(--font-script);
	font-weight: 700;
	font-size: clamp(1.35rem, 2.4vw, 1.7rem);
	color: var(--umber);
	line-height: 1;
	margin: 0 0 .35em;
}

/* ---------- Buttons ---------- */
.button, .wp-block-button__link {
	display: inline-flex; align-items: center; gap: .5em;
	font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; line-height: 1.2;
	padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.button--ember, .wp-block-button__link { background: var(--ember); color: #fff; box-shadow: 0 6px 18px -8px rgba(156, 74, 18, .7); }
.button--ember:hover, .wp-block-button__link:hover { background: var(--ember-hover); color: #fff; transform: translateY(-1px); }
.button--outline { background: transparent; color: var(--walnut-800); border-color: var(--walnut-700); }
.button--outline:hover { background: var(--walnut-800); color: var(--birch); }

/* ---------- Header ---------- */
.site-header {
	position: relative; z-index: 50;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 9px),
		linear-gradient(180deg, var(--walnut-700), var(--walnut-800));
	color: var(--birch);
	border-bottom: 3px solid var(--walnut-900);
	box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .5);
}
.site-header__inner { max-width: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 84px; }
.site-header__inner .primary-nav { grid-column: 2; justify-self: center; }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.site-branding { position: relative; z-index: 60; align-self: start; grid-column: 1; justify-self: start; }
.site-logo { display: block; line-height: 0; }
.site-header .site-logo { margin-top: 10px; margin-bottom: -40px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); transition: transform .3s; }
.site-header .site-logo:hover { transform: rotate(-4deg) scale(1.03); }
.site-header .site-logo__img { width: 108px; height: 108px; object-fit: contain; }
.site-logo--text { font-family: var(--font-head); font-size: 1.5rem; color: var(--birch); text-decoration: none; line-height: 84px; }

.primary-nav__list, .footer-nav__list { list-style: none; margin: 0; padding: 0; }
.primary-nav__list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; }
.primary-nav__list > li { position: relative; }
.primary-nav a {
	display: block; padding: 10px 16px; border-radius: 999px;
	color: var(--birch); text-decoration: none; font-weight: 600; font-size: 1.02rem; letter-spacing: .01em;
	transition: background-color .2s, color .2s;
}
.primary-nav a:hover, .primary-nav .current-menu-item > a, .primary-nav .current_page_item > a, .primary-nav .current-menu-ancestor > a {
	background: rgba(240, 194, 123, .14); color: var(--honey);
}
.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--walnut-800); border: 1px solid var(--walnut-600); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { border-radius: 6px; }

.nav-toggle {
	display: none; align-items: center; gap: 10px; padding: 10px 14px;
	background: transparent; color: var(--birch); border: 1px solid rgba(243, 230, 204, .35); border-radius: 999px;
	font: 600 1rem var(--font-body); cursor: pointer;
}
.search-toggle {
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
	background: transparent; color: var(--birch); border: 1px solid rgba(243, 230, 204, .35);
	transition: background-color .2s, color .2s, border-color .2s;
}
.search-toggle:hover, .search-toggle[aria-expanded="true"] { background: rgba(240, 194, 123, .14); color: var(--honey); border-color: rgba(240, 194, 123, .5); }
.search-toggle__close { display: none; }
.search-toggle[aria-expanded="true"] .search-toggle__open { display: none; }
.search-toggle[aria-expanded="true"] .search-toggle__close { display: block; }
.header-search {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 55;
	background: var(--walnut-800); border-top: 1px solid var(--walnut-600); box-shadow: var(--shadow-lg);
	padding: 18px 0 22px;
}
.header-search[hidden] { display: none; }
.header-search .search-form { margin: 0 auto; max-width: 640px; }
.header-search .search-field { background: var(--parchment); border-color: transparent; padding: 14px 20px; font-size: 1.05rem; }
.header-search .search-submit { background: var(--ember); color: #fff; }
.header-search .search-submit:hover { background: var(--ember-hover); }
.nav-toggle__bars { display: grid; gap: 4px; }
.nav-toggle__bars span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
	.site-header__inner { min-height: 68px; grid-template-columns: 1fr auto; }
	.header-actions { grid-column: 2; }
	.header-search { padding-top: 40px; }
	.site-header .site-logo { margin-top: 8px; margin-bottom: -30px; }
	.site-header .site-logo__img { width: 78px; height: 78px; }
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
		background: var(--walnut-800); border-top: 1px solid var(--walnut-600); box-shadow: var(--shadow-lg);
		padding: 12px var(--gutter) 20px; display: none;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav__list { flex-direction: column; align-items: stretch; }
	.primary-nav a { padding: 12px 14px; border-radius: var(--radius-sm); }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: transparent; }
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__media { position: relative; overflow: hidden; }
.hero__media::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(31, 19, 11, .35) 0%, rgba(31, 19, 11, 0) 22%, rgba(31, 19, 11, 0) 60%, rgba(31, 19, 11, .55) 100%);
}
.hero__img { width: 100%; height: 46vw; min-height: 300px; object-fit: cover; object-position: 60% 100%; }
.hero__plaque { position: relative; z-index: 2; margin-top: -48px; }
@media (max-width: 640px) { .hero__plaque { margin-top: -28px; } }
.plaque {
	max-width: 780px; margin-inline: auto; text-align: center;
	padding: clamp(26px, 4vw, 44px) clamp(22px, 5vw, 56px);
	background:
		radial-gradient(120% 90% at 50% 40%, rgba(255, 253, 248, 0) 55%, rgba(122, 69, 32, .16) 100%),
		repeating-linear-gradient(0deg, rgba(122, 69, 32, .035) 0 2px, transparent 2px 7px),
		var(--birch);
	border-radius: 22px;
	border: 1px solid #d9bf92;
	box-shadow: inset 0 0 0 6px var(--birch), inset 0 0 0 8px rgba(90, 56, 32, .55), var(--shadow-lg);
}
.plaque__title { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: .3em; color: var(--walnut-800); }
.plaque__text { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: var(--muted); max-width: 40ch; margin: 0 auto 1.3em; }
.hero--no-image { padding-top: 120px; }

/* ---------- Home intro (page content) ---------- */
.home-intro { padding: clamp(36px, 5vw, 64px) 0 clamp(36px, 5vw, 64px); }
.home-intro .entry-content > p:first-of-type { font-size: 1.24rem; color: var(--walnut-700); }

/* ---------- Content typography ---------- */
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content li::marker { color: var(--umber); }
.entry-content blockquote { margin: 1.6em 0; padding: 1em 1.4em; border-left: 4px solid var(--amber); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.entry-content img, .entry-content .wp-block-image img { border-radius: var(--radius-sm); }
.entry-content figure { margin: 1.8em 0; }
.entry-content figcaption { font-size: .92rem; color: var(--muted); text-align: center; margin-top: .6em; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 1rem; background: var(--paper); }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: .6em .8em; text-align: left; }
.entry-content th { background: var(--birch); font-family: var(--font-head); }
.entry-content hr { border: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 2.4em 0; }
.entry-content .alignwide { margin-inline: calc(-1 * min(120px, 8vw)); }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; }
.page-links { margin: 2em 0; font-weight: 600; }

/* ---------- Page hero (posts page, categories, single) ---------- */
.page-hero { padding: clamp(64px, 9vw, 110px) 0 clamp(28px, 4vw, 44px); text-align: center; }
.page-hero__title { margin-bottom: .25em; }
.page-hero__intro { color: var(--muted); font-size: 1.15rem; max-width: 62ch; margin-inline: auto; }
.page-hero__intro > :last-child { margin-bottom: 0; }
.page-hero--post { padding-bottom: clamp(20px, 3vw, 32px); }
.page-hero--post .card__cat { margin-bottom: 14px; }
.single__media { margin: 0 auto clamp(28px, 4vw, 44px); }
.single__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.single .entry-content { padding-bottom: clamp(40px, 6vw, 72px); }
.single__tags { padding-bottom: 48px; }
.page-entry .entry-content { padding-bottom: 72px; }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--grain {
	background:
		repeating-linear-gradient(0deg, rgba(122, 69, 32, .04) 0 1px, transparent 1px 11px),
		linear-gradient(180deg, var(--birch) 0%, #f6ecd8 100%);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.section__cta { text-align: center; margin: clamp(28px, 4vw, 44px) 0 0; }

/* ---------- Carousel ---------- */
.carousel { --gap: clamp(16px, 2.2vw, 28px); --per: 3; }
.carousel__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(18px, 3vw, 28px); }
.carousel__heading { margin: 0; }
.carousel__controls { display: flex; gap: 10px; flex-shrink: 0; }
.carousel__btn {
	width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
	background: var(--paper); color: var(--walnut-800); border: 2px solid var(--walnut-700);
	transition: background-color .2s, color .2s, opacity .2s, transform .2s;
}
.carousel__btn:hover:not(:disabled) { background: var(--walnut-800); color: var(--honey); transform: translateY(-1px); }
.carousel__btn:disabled { opacity: .35; cursor: default; }
.carousel.is-static .carousel__controls, .carousel.is-static .carousel__progress { visibility: hidden; }

.carousel__viewport { margin-inline: -8px; }
.carousel__track {
	list-style: none; margin: 0; padding: 8px 8px 22px;
	display: grid; grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
	gap: var(--gap);
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory; scroll-padding-inline: 8px;
	scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.carousel__track:focus-visible { outline-offset: -2px; }
.carousel__slide { scroll-snap-align: start; display: flex; min-width: 0; }
.carousel__progress { position: relative; height: 4px; border-radius: 4px; background: rgba(90, 56, 32, .15); overflow: hidden; margin-top: 4px; }
.carousel__progress span { position: absolute; inset: 0 auto 0 0; width: 33%; border-radius: 4px; background: linear-gradient(90deg, var(--umber), var(--amber)); transition: transform .15s linear, width .2s; }
.carousel__empty { text-align: center; color: var(--muted); font-size: 1.1rem; padding: 32px 0; margin: 0; }

@media (max-width: 1024px) { .carousel { --per: 2; } }
@media (max-width: 640px) {
	.carousel { --per: 1.12; }
	.carousel__btn { width: 44px; height: 44px; }
}

/* ---------- Cards ---------- */
.card {
	position: relative; display: flex; flex-direction: column; width: 100%;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow);
	transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--birch-200); }
.card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img { transform: scale(1.04); }
.card__placeholder {
	display: block; width: 100%; height: 100%;
	background:
		radial-gradient(ellipse at 30% 40%, rgba(122, 69, 32, .18) 0 8%, transparent 9% 14%, rgba(122, 69, 32, .12) 15% 17%, transparent 18%),
		repeating-linear-gradient(8deg, rgba(122, 69, 32, .08) 0 2px, transparent 2px 9px),
		linear-gradient(135deg, #f1dfbd, #e2c494);
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.card__cat {
	align-self: flex-start; display: inline-block; margin-bottom: 10px;
	padding: 4px 12px; border-radius: 999px;
	background: #f3dfbf; color: #6e340b;
	font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
	position: relative; z-index: 2;
}
.card__cat:hover { background: var(--walnut-800); color: var(--honey); }
.card__title { font-size: 1.28rem; line-height: 1.25; margin: 0 0 10px; }
.card__title a { color: var(--walnut-800); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__title a:hover { color: var(--ember); }
.card__excerpt { color: var(--muted); font-size: 1rem; line-height: 1.6; margin: 0 0 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card__more { display: inline-flex; align-items: center; gap: 6px; color: var(--ember); font-weight: 600; text-decoration: none; margin-top: auto; }
.card__more svg { transition: transform .2s; }
.card:hover .card__more svg { transform: translateX(4px); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(16px, 2.2vw, 28px); }

/* ---------- Category chips ---------- */
.chips { margin-top: clamp(36px, 5vw, 56px); text-align: center; }
.chips__title { font-size: 1.2rem; margin-bottom: 14px; }
.chips__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip {
	display: inline-block; padding: 8px 16px; border-radius: 999px;
	background: var(--paper); border: 1px solid var(--line); color: var(--walnut-700);
	font-weight: 600; font-size: .98rem; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover, .chip.is-current { background: var(--walnut-800); border-color: var(--walnut-800); color: var(--honey); }

/* ---------- Search form ---------- */
.search-form { display: flex; gap: 8px; max-width: 460px; margin: 20px auto 0; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; font-size: 1rem; color: var(--ink); }
.search-submit { padding: 12px 20px; border: 0; border-radius: 999px; background: var(--walnut-800); color: var(--birch); font: 600 1rem var(--font-body); cursor: pointer; }
.search-submit:hover { background: var(--ember); color: #fff; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 40px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--walnut-700); text-decoration: none; font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--walnut-800); color: var(--honey); border-color: var(--walnut-800); }

/* ---------- Footer ---------- */
.site-footer {
	position: relative; color: #e8d7b8;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .016) 0 2px, transparent 2px 10px),
		linear-gradient(180deg, var(--walnut-800), var(--walnut-900));
	padding-top: clamp(48px, 6vw, 72px);
}
.site-footer__burn { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--umber), var(--amber), var(--umber)); opacity: .85; }
.site-footer__inner { display: flex; justify-content: center; padding-bottom: 28px; }
.site-footer__brand { display: flex; gap: 22px; align-items: center; max-width: 760px; }
.site-footer__nav { padding-top: 18px; padding-bottom: 18px; border-top: 1px solid rgba(243, 230, 204, .14); }
.site-footer .site-logo__img { width: 96px; height: 96px; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .4)); }
.site-footer .site-logo--text { line-height: 1.2; }
.site-footer__text { margin: 0; color: #d6c1a0; font-size: 1.02rem; max-width: 46ch; }
.footer-nav__list { display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px; }
.footer-nav li { flex: 0 0 auto; }
.footer-nav a { display: inline-block; white-space: nowrap; padding: 8px 14px; border-radius: 999px; color: var(--birch); text-decoration: none; font-weight: 600; font-size: 1rem; border: 1px solid rgba(243, 230, 204, .18); }
.footer-nav a:hover, .footer-nav .current-menu-item > a { background: rgba(240, 194, 123, .14); color: var(--honey); border-color: rgba(240, 194, 123, .35); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(243, 230, 204, .14); font-size: .95rem; color: #bda886; }
.site-footer__bottom p { margin: 0; }
.to-top { color: var(--honey); text-decoration: none; font-weight: 600; }
.to-top:hover { color: #fff; }

@media (max-width: 800px) {
	.footer-nav__list { flex-wrap: wrap; }
	.site-footer__brand { flex-direction: column; text-align: center; }
	.site-footer__bottom { justify-content: center; text-align: center; }
}

/* ---------- WordPress core classes ---------- */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption-text { font-size: .92rem; color: var(--muted); }
.sticky .card__cat::before { content: "\2605  "; }
