/*
Theme Name: Stevie Writes
Theme URI: https://steviewrites.com/
Author: Stevie Writes
Description: Custom theme for Steve Schellert's author website (The Man in the Forest): Home, About, Books, Blog and Contact pages with scroll animations, a mobile menu and working forms.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: stevie-writes
*/

/* ---------- Base (from the page files) ---------- */
html, body { margin: 0; background: #14271F; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
a { color: #8A5212; }
a:hover { color: #5E3709; }
input::placeholder, textarea::placeholder { color: #6B7268; }
img { max-width: 100%; }
::selection { background: #E0A458; color: #1E2A22; }

.sw-shell {
	background: #F5EFE3; color: #1E2A22;
	font-family: 'Figtree', system-ui, sans-serif; font-size: 17px; line-height: 1.6;
	overflow-x: clip;
}
#sw-main { display: block; }
.sw-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: #E0A458; color: #1E2A22; padding: 10px 16px; border-radius: 4px; font: 600 14px/1 'Figtree', sans-serif; text-decoration: none;
}
.sw-skip:focus { top: 12px; }
:focus-visible { outline: 2px solid #E0A458; outline-offset: 3px; }

/* ---------- Sticky header ---------- */
.sw-shell > header { position: sticky; top: 0; z-index: 90; transition: box-shadow .4s ease; }
.admin-bar .sw-shell > header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sw-shell > header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sw-shell > header { top: 0; } }
html[data-sw-scrolled] .sw-shell > header { box-shadow: 0 14px 34px -18px rgba(8, 18, 13, .75); }
.sw-shell > header nav[aria-label="Main"] > a:first-child svg { transition: transform .6s cubic-bezier(.2,.65,.25,1); }
.sw-shell > header nav[aria-label="Main"] > a:first-child:hover svg { transform: rotate(-8deg) scale(1.06); }

/* Desktop menu: gold underline that draws in on hover */
@media (min-width: 1101px) {
	.sw-shell > header nav[aria-label="Main"] > div > a:not(:last-child):not([aria-current]) {
		background: linear-gradient(#E0A458, #E0A458) no-repeat 50% calc(100% - 4px) / 0 2px;
		transition: background-size .35s cubic-bezier(.2,.65,.25,1), color .3s ease;
	}
	.sw-shell > header nav[aria-label="Main"] > div > a:not(:last-child):not([aria-current]):hover {
		background-size: calc(100% - 24px) 2px; color: #F2C88A !important;
	}
}

/* ---------- Mobile & tablet menu ---------- */
.sw-burger { display: none; }
@media (max-width: 1100px) {
	.sw-shell > header nav[aria-label="Main"] { flex-wrap: nowrap !important; padding-top: 14px !important; padding-bottom: 14px !important; }
	.sw-burger {
		display: inline-flex; flex: none; position: relative; z-index: 92; margin-left: auto;
		width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer;
		background: transparent; color: #F5EFE3; border: 1px solid #4E6B5B;
		transition: border-color .3s ease, background-color .3s ease, color .3s ease;
	}
	.sw-burger:hover { border-color: #E0A458; color: #F2C88A; }
	.sw-burger span {
		position: absolute; left: 14px; right: 14px; height: 1.6px; border-radius: 2px; background: currentColor;
		transition: transform .45s cubic-bezier(.7,0,.2,1), opacity .25s ease;
	}
	.sw-burger span:nth-child(1) { top: 17px; }
	.sw-burger span:nth-child(2) { top: 23px; }
	.sw-burger span:nth-child(3) { top: 29px; }
	html[data-sw-menu] .sw-burger { background: #E0A458; border-color: #E0A458; color: #1E2A22; }
	html[data-sw-menu] .sw-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
	html[data-sw-menu] .sw-burger span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
	html[data-sw-menu] .sw-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

	.sw-shell > header nav[aria-label="Main"] > div {
		position: fixed; left: 0; right: 0; top: var(--sw-top, 0px); bottom: 0; z-index: 91;
		flex-direction: column; flex-wrap: nowrap !important; align-items: stretch !important; justify-content: flex-start;
		gap: 0 !important; margin: 0; overflow-y: auto; -webkit-overflow-scrolling: touch;
		padding: 18px clamp(20px, 6vw, 56px) 40px;
		background: radial-gradient(120% 70% at 100% 0%, #2B4A3B 0%, #1F3A2E 55%, #14271F 100%);
		opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .35s ease, transform .5s cubic-bezier(.2,.65,.25,1), visibility 0s linear .5s;
	}
	html[data-sw-menu] .sw-shell > header nav[aria-label="Main"] > div {
		opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
	}
	.sw-shell > header nav[aria-label="Main"] > div > a {
		font-family: 'Fraunces', Georgia, serif !important; font-size: clamp(26px, 6.4vw, 34px) !important; font-weight: 400 !important;
		color: #F5EFE3 !important; text-decoration: none !important; padding: 14px 2px !important; line-height: 1.2;
		border-bottom: 1px solid rgba(78, 107, 91, .6);
		display: flex; align-items: center; justify-content: space-between;
		opacity: 0; transform: translateY(16px);
		transition: opacity .45s ease, transform .6s cubic-bezier(.2,.65,.25,1), color .25s ease;
	}
	.sw-shell > header nav[aria-label="Main"] > div > a::after { content: '→'; font-family: 'Figtree', sans-serif; font-size: 18px; color: #E0A458; opacity: .7; }
	.sw-shell > header nav[aria-label="Main"] > div > a[aria-current] { color: #F2C88A !important; }
	.sw-shell > header nav[aria-label="Main"] > div > a:hover { color: #F2C88A !important; }
	.sw-shell > header nav[aria-label="Main"] > div > a:last-child {
		margin: 30px 0 0 !important; justify-content: center; border-bottom: 0;
		font-family: 'Figtree', sans-serif !important; font-size: 15px !important; font-weight: 700 !important;
		color: #1E2A22 !important; padding: 18px 22px !important;
	}
	.sw-shell > header nav[aria-label="Main"] > div > a:last-child::after { content: none; }
	html[data-sw-menu] .sw-shell > header nav[aria-label="Main"] > div > a { opacity: 1; transform: none; }
	html[data-sw-menu] .sw-shell > header nav[aria-label="Main"] > div > a:nth-child(1) { transition-delay: .06s; }
	html[data-sw-menu] .sw-shell > header nav[aria-label="Main"] > div > a:nth-child(2) { transition-delay: .10s; }
	html[data-sw-menu] .sw-shell > header nav[aria-label="Main"] > div > a:nth-child(3) { transition-delay: .14s; }
	html[data-sw-menu] .sw-shell > header nav[aria-label="Main"] > div > a:nth-child(4) { transition-delay: .18s; }
	html[data-sw-menu] .sw-shell > header nav[aria-label="Main"] > div > a:nth-child(5) { transition-delay: .22s; }
	html[data-sw-menu] .sw-shell > header nav[aria-label="Main"] > div > a:nth-child(6) { transition-delay: .26s; }
	html[data-sw-menu] .sw-shell > header nav[aria-label="Main"] > div > a:nth-child(7) { transition-delay: .30s; }
	html[data-sw-menu] .sw-shell > header nav[aria-label="Main"] > div > a:nth-child(8) { transition-delay: .36s; }
	html[data-sw-menu] { overflow: hidden; }
}
@media (max-width: 420px) {
	.sw-shell > header nav[aria-label="Main"] { gap: 12px !important; }
	.sw-shell > header nav[aria-label="Main"] > a:first-child { gap: 10px !important; }
	.sw-shell > header nav[aria-label="Main"] > a:first-child svg { width: 42px; height: 42px; }
	.sw-shell > header nav[aria-label="Main"] > a:first-child > span > span:first-child { font-size: 25px !important; }
	.sw-shell > header nav[aria-label="Main"] > a:first-child > span > span:last-child { font-size: 9px !important; letter-spacing: .22em !important; margin-top: 6px !important; }
	.sw-burger { width: 44px; height: 44px; }
	.sw-burger span { left: 13px; right: 13px; }
	.sw-burger span:nth-child(1) { top: 15px; } .sw-burger span:nth-child(2) { top: 21px; } .sw-burger span:nth-child(3) { top: 27px; }
}

/* ---------- Small-screen tidy-ups for the page layouts ---------- */
@media (max-width: 600px) {
	.sw-shell > div:first-child { font-size: 13px !important; padding: 9px 16px !important; }
	#dc-root h1 { overflow-wrap: break-word; }
	#dc-root section { scroll-margin-top: 84px; }
	#dc-root form button[type="submit"], #dc-root form input[type="submit"] { width: 100%; justify-content: center; }
}
#dc-root [id] { scroll-margin-top: 110px; }

/* ---------- Buttons, cards, inputs ---------- */
#dc-root a[style*="text-transform: uppercase"][style*="padding"],
#dc-root button[style*="text-transform: uppercase"],
.sw-shell > footer a[style*="text-transform: uppercase"],
.sw-shell > header a[style*="text-transform: uppercase"] {
	transition: transform .3s cubic-bezier(.2,.65,.25,1), box-shadow .3s ease, filter .3s ease, background-color .3s ease;
}
#dc-root a[style*="text-transform: uppercase"][style*="padding"]:hover,
#dc-root button[style*="text-transform: uppercase"]:hover,
.sw-shell > footer a[style*="text-transform: uppercase"]:hover,
.sw-shell > header a[style*="text-transform: uppercase"]:hover {
	transform: translateY(-2px); box-shadow: 0 14px 26px -14px rgba(20, 39, 31, .7); filter: brightness(1.06);
}
#dc-root a[style*="text-transform: uppercase"]:active, #dc-root button:active { transform: translateY(0) scale(.98); }
#dc-root a svg, #dc-root button svg { transition: transform .35s cubic-bezier(.2,.65,.25,1); }
#dc-root a:hover svg[width="16"], #dc-root a:hover svg[width="14"], #dc-root a:hover svg[width="18"], #dc-root button:hover svg[width="16"], #dc-root button:hover svg[width="14"] { transform: translateX(4px); }
#dc-root button[aria-label*="revious"]:hover svg, #dc-root button[aria-label*="rev"]:hover svg { transform: translateX(-4px); }
#dc-root button[aria-pressed] { transition: transform .25s ease, box-shadow .25s ease, background-color .3s ease, color .3s ease, border-color .3s ease; }
#dc-root button[aria-pressed]:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(20, 39, 31, .6); }
#dc-root a[style*="underline"] { transition: color .25s ease, text-underline-offset .25s ease; }
#dc-root a[style*="underline"]:hover { text-underline-offset: 6px !important; }
.sw-shell > footer a:not([style*="uppercase"]) { transition: color .25s ease, padding-left .3s ease; }
.sw-shell > footer nav a:hover, .sw-shell > footer div > a[style*="padding: 4px 0"]:hover { color: #F2C88A !important; padding-left: 6px !important; }

#dc-root article { transition: transform .45s cubic-bezier(.2,.65,.25,1); }
#dc-root article:hover { transform: translateY(-4px); }
#dc-root a img, #dc-root article img { transition: transform 1s cubic-bezier(.2,.65,.25,1), filter .5s ease; }
#dc-root a:hover img, #dc-root article:hover img { filter: saturate(1.08) brightness(1.04); }
#dc-root [data-sw-zoom] { overflow: hidden; }
#dc-root [data-sw-zoom]:hover img, #dc-root article:hover [data-sw-zoom] img { transform: scale(1.05); }

#dc-root input, #dc-root textarea, #dc-root select { transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease; }
#dc-root input:focus, #dc-root textarea:focus, #dc-root select:focus {
	outline: none; border-color: #C98A3A !important; box-shadow: 0 0 0 4px rgba(224, 164, 88, .28) !important;
}

/* ---------- Scroll progress & back to top ---------- */
.sw-progress {
	position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 999; pointer-events: none;
	background: linear-gradient(90deg, #C98A3A, #F2C88A); transform: scaleX(0); transform-origin: 0 50%;
}
.admin-bar .sw-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .sw-progress { top: 46px; } }
.sw-totop {
	position: fixed; right: clamp(14px, 3vw, 28px); bottom: clamp(14px, 3vw, 28px); z-index: 80;
	width: 50px; height: 50px; border-radius: 50%; border: 1px solid #E0A458; cursor: pointer;
	background: #1F3A2E; color: #F2C88A; display: grid; place-items: center;
	box-shadow: 0 14px 30px -14px rgba(8, 18, 13, .8);
	opacity: 0; visibility: hidden; transform: translateY(18px) scale(.9);
	transition: opacity .35s ease, transform .45s cubic-bezier(.2,.65,.25,1), visibility 0s linear .45s, background-color .3s ease;
}
.sw-totop:hover { background: #E0A458; color: #1E2A22; }
html[data-sw-past] .sw-totop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html[data-sw-menu] .sw-totop { opacity: 0; visibility: hidden; }

/* ---------- Motion (only when the visitor allows motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
	@keyframes swPageIn { from { opacity: 0; } to { opacity: 1; } }
	html.sw-motion .sw-shell { animation: swPageIn .7s ease both; }
	html[data-sw-leaving] .sw-shell { opacity: 0; transition: opacity .26s ease; }

	html.sw-motion [data-sw-reveal] {
		opacity: 0; transform: translate3d(0, 30px, 0);
		transition: opacity .9s cubic-bezier(.2,.65,.25,1), transform 1.05s cubic-bezier(.2,.65,.25,1), clip-path 1.2s cubic-bezier(.7,0,.2,1);
		transition-delay: var(--sw-d, 0ms);
	}
	html.sw-motion [data-sw-reveal="zoom"] { transform: scale(.94); }
	html.sw-motion [data-sw-reveal="left"] { transform: translate3d(-40px, 0, 0); }
	html.sw-motion [data-sw-reveal="right"] { transform: translate3d(40px, 0, 0); }
	html.sw-motion [data-sw-reveal="rise"] { transform: translate3d(0, 60%, 0); transition-duration: 1.2s, 1.6s; }
	html.sw-motion [data-sw-reveal="mask"] { clip-path: inset(0 0 100% 0); transform: translate3d(0, 24px, 0); }
	html.sw-motion [data-sw-reveal][data-sw-in] { opacity: 1; transform: none; }
	html.sw-motion [data-sw-reveal="mask"][data-sw-in] { clip-path: inset(-20% -10% -25% -10%); }
	html.sw-motion [data-sw-delay="1"] { --sw-d: 90ms; }
	html.sw-motion [data-sw-delay="2"] { --sw-d: 180ms; }
	html.sw-motion [data-sw-delay="3"] { --sw-d: 270ms; }
	html.sw-motion [data-sw-delay="4"] { --sw-d: 360ms; }
	html.sw-motion [data-sw-delay="5"] { --sw-d: 450ms; }
	html.sw-motion [data-sw-delay="6"] { --sw-d: 520ms; }
	html.sw-motion [data-sw-delay="7"] { --sw-d: 590ms; }
	html.sw-motion [data-sw-delay="8"] { --sw-d: 650ms; }

	html.sw-motion [data-sw-line] { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.7,0,.2,1) .35s; }
	html.sw-motion [data-sw-line][data-sw-in] { transform: none; }

	@keyframes swKen { from { transform: scale(1.14); } to { transform: scale(1); } }
	html.sw-motion img[data-sw-ken] { animation: swKen 2.8s cubic-bezier(.2,.65,.25,1) both; }

	@keyframes swFloat { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -8px, 0); } }
	html.sw-motion [data-sw-float] { animation: swFloat 6s ease-in-out 1.6s infinite; }

	@supports (animation-timeline: view()) {
		@keyframes swParallax { from { transform: translate3d(0, -6%, 0) scale(1.14); } to { transform: translate3d(0, 6%, 0) scale(1.14); } }
		html.sw-motion img[data-sw-parallax] { animation: swParallax linear both; animation-timeline: view(); }
	}

	@keyframes swPulse { 0% { box-shadow: 0 0 0 0 rgba(224, 164, 88, .55); } 70% { box-shadow: 0 0 0 14px rgba(224, 164, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(224, 164, 88, 0); } }
	html.sw-motion .sw-shell > header nav[aria-label="Main"] > div > a:last-child { animation: swPulse 2.6s ease-out 2.2s 2; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Generic pages (privacy policy, posts, 404) ---------- */
.sw-generic { background: #F5EFE3; padding: clamp(56px, 8vw, 110px) clamp(20px, 4vw, 64px); }
.sw-generic__inner { max-width: 760px; margin: 0 auto; }
.sw-generic h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 28px; color: #1E2A22; }
.sw-generic h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; margin: 44px 0 14px; color: #1E2A22; }
.sw-generic h2 a { color: inherit; text-decoration: none; }
.sw-generic p, .sw-generic li { color: #3B4A40; }
.sw-generic .sw-prose + .sw-prose { margin-top: 48px; padding-top: 40px; border-top: 1px solid #E3D9C6; }
.sw-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #8A5212; margin-bottom: 16px; }
.sw-btn {
	display: inline-block; background: #1F3A2E; color: #F5EFE3 !important; text-decoration: none; font-size: 14px; font-weight: 700;
	letter-spacing: .06em; text-transform: uppercase; padding: 15px 24px; border-radius: 4px; transition: transform .3s ease, background-color .3s ease;
}
.sw-btn:hover { background: #14271F; transform: translateY(-2px); }
.sw-fallback-header { background: #1F3A2E; padding: 24px; }
.sw-fallback-header a { color: #F5EFE3; font: 500 28px 'Fraunces', Georgia, serif; text-decoration: none; }

/* ---------- Blog posts & archives ---------- */
.sw-post-hero { background: #1F3A2E; color: #F5EFE3; padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 64px) clamp(110px, 12vw, 170px); }
.sw-post-hero--short { padding-bottom: clamp(56px, 7vw, 96px); }
.sw-post-hero__inner { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.sw-post-hero .sw-eyebrow { color: #F2C88A; margin: 6px 0 0; }
.sw-post-hero h1 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1.06; letter-spacing: -.02em; }
.sw-post-hero__deck { margin: 0; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: #D6DCCF; max-width: 680px; }
.sw-post-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; color: #B9C4B4; }
.sw-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #B9C4B4; }
.sw-crumbs a { color: #F5EFE3; text-decoration: none; }
.sw-crumbs a:hover { color: #F2C88A; }
.sw-post-media { margin: clamp(-130px, -9vw, -70px) auto 0; padding: 0 clamp(20px, 4vw, 64px); max-width: 1120px; box-sizing: content-box; }
.sw-post-media img { display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover; border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(10, 20, 15, .55); background: #E3D9C6; }
.sw-post-body { padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 64px) clamp(56px, 7vw, 96px); }
.sw-prose { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: #2B3A30; }
.sw-prose > * { margin: 0 0 1.25em; }
.sw-prose h2, .sw-prose h3, .sw-prose h4 { font-family: 'Fraunces', Georgia, serif; font-weight: 500; color: #1E2A22; line-height: 1.2; margin: 1.8em 0 .6em; }
.sw-prose h2 { font-size: clamp(26px, 3vw, 34px); }
.sw-prose h3 { font-size: clamp(22px, 2.4vw, 27px); }
.sw-prose a { color: #8A5212; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .25s ease, text-underline-offset .25s ease; }
.sw-prose a:hover { color: #5E3709; text-underline-offset: 5px; }
.sw-prose img, .sw-prose video { max-width: 100%; height: auto; border-radius: 6px; }
.sw-prose figure { margin: 2em 0; }
.sw-prose figcaption, .sw-prose .wp-element-caption { font-size: 14px; color: #5B6559; text-align: center; margin-top: 10px; }
.sw-prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid #E0A458; font-family: 'Fraunces', Georgia, serif; font-style: italic; font-size: 1.2em; line-height: 1.5; color: #1E2A22; }
.sw-prose ul, .sw-prose ol { padding-left: 1.3em; }
.sw-prose li { margin: .35em 0; }
.sw-prose hr { border: 0; border-top: 1px solid #E3D9C6; margin: 2.5em 0; }
.sw-prose iframe, .sw-prose .wp-block-embed__wrapper iframe { max-width: 100%; border-radius: 6px; }
.sw-prose .wp-block-embed { margin: 2em 0; }
.sw-prose > *:first-child { margin-top: 0; }
.sw-prose > p:first-child::first-letter { font-family: 'Fraunces', Georgia, serif; float: left; font-size: 3.4em; line-height: .9; padding: 6px 10px 0 0; color: #8A5212; }
.sw-author { max-width: 720px; margin: clamp(40px, 6vw, 64px) auto 0; padding: 26px; display: flex; gap: 22px; align-items: center; background: #FFFCF6; border: 1px solid #E3D9C6; border-radius: 8px; }
.sw-author img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.sw-author .sw-eyebrow { font-size: 12px; margin-bottom: 6px; }
.sw-author p { margin: 0 0 8px; font-size: 16px; color: #3B4A40; }
.sw-author__links { display: flex; flex-wrap: wrap; gap: 18px; }
.sw-author__links a { color: #1E2A22; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; text-underline-offset: 6px; }
.sw-post-nav { max-width: 720px; margin: 32px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sw-post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid #E3D9C6; border-radius: 8px; text-decoration: none; color: #1E2A22; font-family: 'Fraunces', Georgia, serif; font-size: 18px; line-height: 1.3; transition: border-color .3s ease, transform .3s ease, background-color .3s ease; }
.sw-post-nav a span { font-family: 'Figtree', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8A5212; }
.sw-post-nav a:hover { border-color: #C98A3A; background: #FFFCF6; transform: translateY(-2px); }
.sw-post-nav__next { text-align: right; align-items: flex-end; }
.sw-more { background: #EFE7D7; padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 64px); }
.sw-more--archive { background: #F5EFE3; }
.sw-more__head { max-width: 1180px; margin: 0 auto 36px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.sw-more__head h2 { margin: 6px 0 0; font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.sw-more__head .sw-eyebrow { margin: 0; }
.sw-cards { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.sw-card { display: flex; flex-direction: column; gap: 12px; transition: transform .45s cubic-bezier(.2,.65,.25,1); }
.sw-card:hover { transform: translateY(-4px); }
.sw-card__media { display: block; overflow: hidden; border-radius: 6px; background: #CFD8C9; aspect-ratio: 4 / 3; }
.sw-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.65,.25,1), filter .5s ease; }
.sw-card:hover .sw-card__media img { transform: scale(1.05); filter: saturate(1.08) brightness(1.04); }
.sw-card__meta { display: flex; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8A5212; }
.sw-card__meta span:last-child { color: #5B6559; font-weight: 600; }
.sw-card h3 { margin: 0; font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: 22px; line-height: 1.25; }
.sw-card h3 a { color: #1E2A22; text-decoration: none; background: linear-gradient(#C98A3A, #C98A3A) no-repeat 0 100% / 0 1px; transition: background-size .4s ease; }
.sw-card h3 a:hover { background-size: 100% 1px; }
.sw-card p { margin: 0; font-size: 16px; color: #4A5A4F; }
.sw-more .nav-links { max-width: 1180px; margin: 48px auto 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sw-more .page-numbers { padding: 10px 16px; border: 1px solid #B9AD94; border-radius: 4px; color: #1E2A22; text-decoration: none; font-weight: 600; }
.sw-more .page-numbers.current, .sw-more a.page-numbers:hover { background: #1F3A2E; border-color: #1F3A2E; color: #F5EFE3; }
.sw-empty { max-width: 1180px; margin: 0 auto; font-size: 18px; }
@media (max-width: 600px) {
	.sw-author { flex-direction: column; align-items: flex-start; }
	.sw-post-nav { grid-template-columns: 1fr; }
	.sw-post-nav__next { text-align: left; align-items: flex-start; }
	.sw-prose { font-size: 17px; }
}
