/* ========================================================
   Decore Pequeno — Main Stylesheet
   Paleta: sálvia, bege, branco gelo, terracota, dourado fosco
   ======================================================== */

:root {
	--sage: #A8B5A0;
	--sage-deep: #7E907A;
	--beige: #EFE7DA;
	--beige-soft: #F5F0E6;
	--ice: #FBFAF7;
	--terracotta: #C97B5E;
	--terracotta-soft: #E2A98F;
	--gold: #B89A5B;
	--ink: #2B2A28;
	--ink-soft: #5C5A55;
	--muted: #8A877F;
	--line: #E7E2D6;

	--bg: var(--ice);
	--surface: #FFFFFF;
	--text: var(--ink);
	--text-soft: var(--ink-soft);
	--border: var(--line);
	--primary: var(--sage-deep);
	--accent: var(--terracotta);

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(43,42,40,.05), 0 2px 8px rgba(43,42,40,.04);
	--shadow: 0 8px 30px rgba(43,42,40,.08);
	--shadow-lg: 0 20px 60px rgba(43,42,40,.12);

	--container: 1200px;
	--font-serif: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
	--font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	--ease: cubic-bezier(.2,.7,.2,1);
}

.is-dark {
	--bg: #1A1B19;
	--surface: #232422;
	--text: #F2EFE8;
	--text-soft: #C8C4BA;
	--border: #34352F;
	--beige: #2D2C28;
	--beige-soft: #26251F;
	--ice: #1A1B19;
	--primary: #B7C6AF;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--text); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
	font-family: var(--font-serif);
	font-weight: 600;
	color: var(--text);
	letter-spacing: -.01em;
	line-height: 1.2;
	margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; color: var(--text-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.screen-reader-text {
	position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}
.skip-link {
	position: absolute; left: -9999px; top: 8px; z-index: 999;
	background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ----------------- Buttons ----------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 14px;
	letter-spacing: .02em; cursor: pointer; border: 1px solid transparent;
	transition: transform .25s var(--ease), background .25s var(--ease), color .25s, box-shadow .25s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--beige-soft); color: var(--text); }

/* ----------------- Header ----------------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in oklab, var(--bg) 92%, transparent);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--border);
}
.header-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; min-height: 72px;
}
.branding .site-title { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; }
.logo-mark { color: var(--sage-deep); font-size: 1.4em; }
.is-dark .logo-mark { color: var(--primary); }
/* Custom logo: keep visual size fixed regardless of uploaded image dimensions */
.branding .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.branding .custom-logo {
	height: 44px !important;
	width: auto !important;
	max-height: 44px;
	max-width: 220px;
	object-fit: contain;
	display: block;
}
@media (max-width: 640px) {
	.branding .custom-logo { height: 36px !important; max-width: 160px; }
}

.site-nav .primary-menu {
	list-style: none; margin: 0; padding: 0;
	display: flex; align-items: center; gap: 28px;
}
.primary-menu a {
	font-size: 14px; font-weight: 500; color: var(--text-soft);
	position: relative;
}
.primary-menu a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
	height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.primary-menu a:hover, .primary-menu .current-menu-item > a { color: var(--text); }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after { transform: scaleX(1); }

.header-tools { display: flex; gap: 6px; align-items: center; }
.theme-toggle, .search-toggle, .nav-toggle {
	background: transparent; border: 1px solid var(--border); border-radius: 999px;
	width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
	cursor: pointer; color: var(--text); transition: all .25s var(--ease);
}
.theme-toggle:hover, .search-toggle:hover { background: var(--beige-soft); border-color: var(--text); }
.theme-toggle .icon-moon { display: none; }
.is-dark .theme-toggle .icon-sun { display: none; }
.is-dark .theme-toggle .icon-moon { display: inline; }

.nav-toggle { display: none; }
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle-bars span { width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: all .3s var(--ease); }

.search-panel { border-bottom: 1px solid var(--border); background: var(--surface); padding: 22px 0; }
.search-form { display: flex; gap: 8px; }
.search-form .search-field {
	flex: 1; padding: 14px 18px; border: 1px solid var(--border); background: var(--bg);
	border-radius: 999px; font: inherit; color: var(--text);
}
.search-form .search-field:focus { outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 4px color-mix(in oklab, var(--sage) 30%, transparent); }
.search-submit {
	padding: 14px 22px; border: 0; border-radius: 999px; background: var(--ink); color: #fff;
	font-weight: 600; cursor: pointer;
}

/* ----------------- Hero ----------------- */
.hero {
	position: relative; padding: clamp(60px, 9vw, 120px) 0;
	background: radial-gradient(1200px 600px at 80% -10%, color-mix(in oklab, var(--sage) 35%, transparent), transparent 60%),
				radial-gradient(900px 500px at -10% 110%, color-mix(in oklab, var(--terracotta) 22%, transparent), transparent 60%),
				var(--beige-soft);
	overflow: hidden;
}
.is-dark .hero { background: radial-gradient(1200px 600px at 80% -10%, rgba(168,181,160,.18), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(201,123,94,.18), transparent 60%), var(--surface); }
.hero-inner { position: relative; max-width: 820px; }
.hero-eyebrow {
	display: inline-block; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--gold); margin-bottom: 18px;
}
.hero-title { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: .35em; }
.hero-subtitle { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-soft); max-width: 620px; }
.hero-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-decor {
	position: absolute; right: -120px; top: 50%; transform: translateY(-50%);
	width: 480px; height: 480px; border-radius: 50%;
	border: 1px solid color-mix(in oklab, var(--sage-deep) 35%, transparent);
	pointer-events: none;
}
.hero-decor::before, .hero-decor::after {
	content: ""; position: absolute; inset: 40px; border-radius: 50%;
	border: 1px dashed color-mix(in oklab, var(--gold) 50%, transparent);
}
.hero-decor::after { inset: 90px; border-style: solid; border-color: color-mix(in oklab, var(--terracotta) 35%, transparent); }

/* ----------------- Section ----------------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.section-title { margin: 0; }
.section-sub { color: var(--muted); margin: 0; }
.section-link { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ----------------- Featured grid ----------------- */
.featured-grid {
	display: grid; gap: 28px;
	grid-template-columns: 1.4fr 1fr;
	grid-template-rows: auto auto;
}
.featured-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s; }
.featured-card.is-large { grid-row: span 2; }
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.featured-card .card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--beige); }
.featured-card.is-large .card-media { aspect-ratio: 4 / 5; }
.featured-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.featured-card:hover .card-media img { transform: scale(1.05); }
.featured-card .card-body { padding: 22px 24px 26px; }

@media (max-width: 860px) {
	.featured-grid { grid-template-columns: 1fr; }
	.featured-card.is-large { grid-row: auto; }
}

/* ----------------- Card grid ----------------- */
.card-grid {
	display: grid; gap: 28px;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.post-card { background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .card-media { aspect-ratio: 4 / 3; background: var(--beige); overflow: hidden; }
.post-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .card-media img { transform: scale(1.06); }
.post-card .card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.card-cat {
	display: inline-block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--accent); font-weight: 600; margin-bottom: 4px;
}
.card-title { font-size: 1.2rem; margin: 0; }
.card-title a:hover { color: var(--accent); }
.card-excerpt { color: var(--text-soft); font-size: .95rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { color: var(--muted); font-size: 12.5px; margin: 8px 0 0; }
.card-media-fallback { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--sage) 0%, var(--beige) 100%); }

/* ----------------- Categories ----------------- */
.category-grid {
	display: grid; gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.category-card {
	display: flex; flex-direction: column; gap: 6px;
	padding: 22px 22px; border-radius: var(--radius); border: 1px solid var(--border);
	background: var(--surface); transition: all .3s var(--ease);
}
.category-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.cat-name { font-family: var(--font-serif); font-size: 1.15rem; color: var(--text); }
.cat-count { font-size: 12px; color: var(--muted); }

/* ----------------- Two col / popular / newsletter ----------------- */
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

.popular-list { list-style: none; margin: 0; padding: 0; counter-reset: pop; display: grid; gap: 18px; }
.popular-list li { counter-increment: pop; position: relative; }
.popular-list li::before {
	content: counter(pop, decimal-leading-zero);
	position: absolute; left: 0; top: 4px; font-family: var(--font-serif); color: var(--gold);
	font-size: 1.4rem;
}
.pop-item { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding-left: 56px; align-items: center; }
.pop-thumb { width: 80px; height: 80px; border-radius: 12px; overflow: hidden; background: var(--beige); }
.pop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pop-title { display: block; font-family: var(--font-serif); font-size: 1.05rem; color: var(--text); line-height: 1.3; }
.pop-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }

.newsletter-card {
	background: linear-gradient(140deg, var(--sage) 0%, color-mix(in oklab, var(--sage) 65%, var(--beige)) 100%);
	color: var(--ink); padding: 36px; border-radius: var(--radius-lg); box-shadow: var(--shadow);
	position: sticky; top: 100px;
}
.is-dark .newsletter-card { background: linear-gradient(140deg, #3a463a 0%, #2a322a 100%); color: var(--text); }
.newsletter-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: inherit; }
.newsletter-card p { color: inherit; opacity: .85; margin-bottom: 18px; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 8px; }
.newsletter-form input {
	flex: 1 1 200px; padding: 13px 16px; border: 1px solid rgba(0,0,0,.1); border-radius: 999px;
	background: rgba(255,255,255,.85); font: inherit;
}
.newsletter-form input:focus { outline: none; border-color: var(--ink); }
.newsletter-form button {
	padding: 13px 22px; border: 0; background: var(--ink); color: #fff;
	border-radius: 999px; font-weight: 600; cursor: pointer; transition: all .25s var(--ease);
}
.newsletter-form button:hover { background: var(--accent); }
.newsletter-success { width: 100%; margin: 8px 0 0; font-size: .9rem; color: var(--ink); }

/* ----------------- Layout w/ sidebar ----------------- */
.layout-with-sidebar {
	display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px;
	padding-top: 56px; padding-bottom: 80px;
}
@media (max-width: 980px) { .layout-with-sidebar { grid-template-columns: 1fr; } }
.layout-narrow { max-width: 820px; margin: 0 auto; padding: 56px 24px 80px; }

.widget-area .widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.widget-title { font-family: var(--font-serif); font-size: 1.1rem; margin: 0 0 14px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.widget li:last-child { border: 0; }

/* ----------------- Breadcrumbs ----------------- */
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 24px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li::after { content: "/"; margin-left: 6px; color: var(--border); }
.breadcrumbs li:last-child::after, .breadcrumbs li.current::after { content: ""; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }

/* ----------------- Single post ----------------- */
.archive-header { margin-bottom: 32px; }
.archive-title { margin: 0; }
.single-header { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.post-cat { display: inline-block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.single-title { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 18px; }
.post-meta { display: inline-flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: 14px; justify-content: center; }
.post-meta img { border-radius: 50%; }
.meta-author { display: inline-flex; align-items: center; gap: 8px; }
.single-cover { margin: 0 0 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.single-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

.entry-content { max-width: 720px; margin: 0 auto; font-size: 1.08rem; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img, .entry-content figure { border-radius: var(--radius); overflow: hidden; }
.entry-content blockquote {
	border-left: 3px solid var(--accent);
	padding: 6px 0 6px 22px; margin: 28px 0;
	font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--text);
}
.entry-content a { color: var(--accent); border-bottom: 1px solid color-mix(in oklab, var(--accent) 30%, transparent); }
.entry-content a:hover { border-color: var(--accent); }
.entry-content code { background: var(--beige-soft); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.entry-content pre { background: var(--beige-soft); padding: 18px; border-radius: var(--radius); overflow: auto; }

/* Index (TOC) */
.toc {
	background: var(--beige-soft); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 22px 26px; margin: 0 0 32px; max-width: 720px; margin-left: auto; margin-right: auto;
}
.toc-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-family: var(--font-sans); font-weight: 600; margin: 0 0 12px; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { padding: 4px 0; }
.toc-level-3 { padding-left: 18px !important; font-size: .95em; }
.toc a { color: var(--text); border-bottom: 1px dotted var(--border); }
.toc a:hover { color: var(--accent); }

.single-footer { max-width: 720px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.post-tags a { font-size: 12px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 999px; margin: 0 4px; color: var(--text-soft); }
.post-tags a:hover { color: var(--accent); border-color: var(--accent); }

.social-share { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted); }
.share { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 12.5px; font-weight: 600; }
.share:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.related-posts { padding: 60px 0 0; max-width: var(--container); margin: 60px auto 0; border-top: 1px solid var(--border); }
.related-posts .section-title { text-align: center; margin-bottom: 36px; }

/* Comments */
.comments-area { max-width: 720px; margin: 60px auto 0; padding: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.comments-title { margin: 0 0 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 32px; }
.comment-item { border-top: 1px solid var(--border); padding: 22px 0; }
.comment-item:first-child { border: 0; padding-top: 0; }
.comment-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.comment-meta img { border-radius: 50%; }
.comment-author { font-weight: 600; display: block; }
.comment-date { font-size: 12px; color: var(--muted); }
.comment-form { display: grid; gap: 12px; }
.comment-form p { margin: 0; }
.comment-form input, .comment-form textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
	background: var(--bg); font: inherit; color: var(--text);
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--sage-deep); }

/* Pagination */
.pagination, .navigation.pagination { margin-top: 48px; display: flex; justify-content: center; }
.nav-links { display: inline-flex; gap: 6px; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px;
	border-radius: 999px; border: 1px solid var(--border); color: var(--text); font-weight: 600;
}
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-numbers:hover:not(.current) { border-color: var(--accent); color: var(--accent); }

/* Forms */
.contact-form { display: grid; gap: 16px; max-width: 600px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-row input, .form-row textarea {
	padding: 13px 14px; border: 1px solid var(--border); border-radius: 10px;
	background: var(--surface); font: inherit; color: var(--text);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 4px color-mix(in oklab, var(--sage) 30%, transparent); }
.contact-success { color: var(--sage-deep); font-weight: 600; }

/* Ads */
.ad-slot {
	margin: 36px auto; padding: 20px; text-align: center;
	background: var(--beige-soft); border-radius: var(--radius);
	max-width: var(--container); min-height: 100px;
	display: flex; align-items: center; justify-content: center;
	color: var(--muted); font-size: 12px;
}
.ad-slot::before { content: "Publicidade"; position: absolute; opacity: 0; }

/* 404 */
.error-404 { padding: 100px 0; text-align: center; }
.error-404 .eyebrow { font-family: var(--font-serif); font-size: 5rem; color: var(--accent); margin: 0; }
.error-404 h1 { margin: 10px 0; }
.error-404 .search-form { max-width: 480px; margin: 24px auto; }
.error-actions { margin-top: 18px; }

/* Footer */
.site-footer { background: var(--ink); color: #DDD8CC; padding: 70px 0 30px; margin-top: 80px; }
.is-dark .site-footer { background: #111110; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col .widget { background: transparent; border: 0; padding: 0; margin: 0; }
.footer-col .widget-title { color: #fff; font-family: var(--font-sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .18em; }
.footer-col a { color: #B8B2A4; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding-top: 30px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-serif); font-size: 1.2rem; color: #fff; }
.footer-menu { display: flex; list-style: none; gap: 22px; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-menu a { font-size: 13.5px; color: #B8B2A4; }
.footer-menu a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link { font-size: 12px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); color: #DDD8CC; }
.social-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-copy { width: 100%; text-align: center; font-size: 12.5px; color: #8B8779; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.06); }

/* ----------------- Animations ----------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-inner > *, .section-head, .post-card, .featured-card, .category-card { animation: fadeUp .8s var(--ease) both; }
.post-card:nth-child(2) { animation-delay: .05s; }
.post-card:nth-child(3) { animation-delay: .1s; }
.post-card:nth-child(4) { animation-delay: .15s; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ----------------- Mobile ----------------- */
@media (max-width: 880px) {
	.nav-toggle { display: inline-flex; }
	.site-nav .primary-menu {
		position: fixed; inset: 72px 0 0; flex-direction: column; align-items: flex-start;
		background: var(--bg); padding: 30px 28px; gap: 4px;
		transform: translateY(-10px); opacity: 0; pointer-events: none;
		transition: opacity .3s var(--ease), transform .3s var(--ease);
		border-top: 1px solid var(--border);
	}
	.site-nav.is-open .primary-menu { transform: none; opacity: 1; pointer-events: auto; }
	.primary-menu a { font-size: 1.4rem; font-family: var(--font-serif); color: var(--text); padding: 10px 0; }
	.primary-menu a::after { display: none; }
	.section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 540px) {
	.hero-decor { display: none; }
	.featured-grid { gap: 18px; }
	.card-grid { gap: 18px; }
	.newsletter-card { padding: 26px; position: static; }
}

/* WP core alignments */
.alignwide { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }
