/*
Theme Name: Green Vineyard
Author: Matteo Enna
Author URI: https://matteoenna.it/
Description: A starter theme for the Vineyard project.
Version: 0.1.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: green-vineyard
Domain Path: /languages
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Copyright: 2026 Matteo Enna
Tags: blog, custom-logo, featured-images
*/

/* Visual design tokens */
:root {
	--bg: #f6f8f7;
	--surface: #ffffff;
	--text: #111814;
	--muted: #516157;
	--border: rgba(17, 24, 20, 0.07);

	--primary: #1f6f4a;
	--primary-ink: #0e3b26;
	--primary-rgb: 31, 111, 74;
	--primary-ink-rgb: 14, 59, 38;

	--link: var(--primary);
	--sun: #f7c84b;
	--focus: var(--sun);

	--radius: 8px;
	--shadow: 0 2px 12px rgba(12, 30, 21, 0.04);
	--shadow-lg: 0 10px 32px rgba(12, 30, 21, 0.08);
}

/* Basic starter styling */
html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	line-height: 1.55;
	color: var(--text);
	background: var(--bg);
	letter-spacing: -0.01em;
}

a {
	color: var(--link);
	text-decoration: underline;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--primary-ink);
}

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

.site {
	max-width: none;
	margin: 0 auto;
	padding: 12px 32px 64px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-bottom: 1px solid rgba(17, 24, 20, 0.06);
	padding: 11px 0;
	background: rgba(246, 248, 247, 0.86);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 1px 0 rgba(17, 24, 20, 0.04);
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	height: 36px;
	width: 44px;
	padding: 0;
	border-radius: 12px;
	border: 1px solid rgba(17, 24, 20, 0.08);
	background: rgba(255, 255, 255, 0.7);
	color: var(--primary-ink);
	font-weight: 650;
	letter-spacing: -0.01em;
	position: relative;
	flex: 0 0 auto;
}

.menu-toggle-label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.menu-toggle::before {
	content: "";
	width: 18px;
	height: 12px;
	display: block;
	background:
		linear-gradient(currentColor, currentColor) 0 0 / 100% 2px,
		linear-gradient(currentColor, currentColor) 0 50% / 100% 2px,
		linear-gradient(currentColor, currentColor) 0 100% / 100% 2px;
	background-repeat: no-repeat;
	opacity: 0.9;
	flex: 0 0 auto;
}

.menu-toggle:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 2px;
}

.menu-toggle-label {
	font-size: 0.9rem;
}

.brand {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.brand-link {
	text-decoration: none;
	color: inherit;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.brand .custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.brand .custom-logo {
	max-height: 56px;
	width: auto;
	height: auto;
}

.brand-mark {
	width: 52px;
	height: 52px;
	display: inline-block;
	flex: 0 0 auto;
}

.brand-name {
	font-weight: 820;
	font-size: 0.96rem;
	letter-spacing: -0.01em;
	color: var(--primary-ink);
	text-transform: none;
}

.brand-tagline {
	margin: 0;
	color: var(--muted);
	font-size: 0.8rem;
}

.site-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	gap: 18px;
	align-items: center;
}

/* Hard override to prevent unexpected vertical menus on desktop. */
.site-header .site-nav ul.menu {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
}

.site-header .site-nav ul.menu > li {
	display: inline-flex !important;
	align-items: center;
}

.site-header .site-nav ul.menu > li > a {
	display: inline-flex !important;
	width: auto !important;
}

.site-nav .menu li {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.site-nav .menu a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 0;
	border-radius: 0;
	color: var(--primary-ink);
	text-decoration: none;
	font-weight: 750;
	border: 0;
	background: transparent;
	position: relative;
}

.site-nav .menu a:hover,
.site-nav .menu .current-menu-item > a,
.site-nav .menu .current-menu-ancestor > a {
	background: transparent;
	color: var(--primary);
}

.site-nav .menu a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 2px;
	border-radius: 2px;
	background: rgba(var(--primary-rgb), 0.32);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 160ms ease, background 160ms ease;
}

.site-nav .menu a:hover::after,
.site-nav .menu .current-menu-item > a::after,
.site-nav .menu .current-menu-ancestor > a::after {
	transform: scaleX(1);
	background: rgba(var(--primary-rgb), 0.55);
}

/* Hide child menu items until user interaction. */
.site-nav .menu .sub-menu {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 200px;
	margin: 0;
	padding: 8px;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(17, 24, 20, 0.08);
	border-radius: 10px;
	box-shadow: 0 12px 30px rgba(12, 30, 21, 0.12);
	z-index: 20;
}

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

.site-nav .menu .sub-menu li {
	display: block !important;
}

.site-nav .menu .sub-menu a {
	display: flex !important;
	padding: 8px 10px;
	border-radius: 8px;
}

.header-social {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.header-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 8px;
	border-radius: 999px;
	border: 1px solid rgba(var(--primary-rgb), 0.14);
	background: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	color: var(--primary-ink);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.header-social a:hover {
	background: rgba(var(--primary-rgb), 0.10);
	border-color: rgba(var(--primary-rgb), 0.26);
}

.header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--sun);
	color: var(--primary-ink);
	border: 1px solid rgba(255, 213, 106, 0.35);
	text-decoration: none;
	font-weight: 700;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

.header-cta:hover {
	background: #ffcd4f;
}

.header-cover {
	position: relative;
	margin-top: 10px;
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(17, 24, 20, 0.06);
	box-shadow: 0 6px 20px rgba(12, 30, 21, 0.09);
}

.header-cover-img {
	display: block;
	width: 100%;
	height: clamp(280px, 40vw, 560px);
	object-fit: cover;
}

.header-cover-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 28px;
	background: linear-gradient(
		180deg,
		rgba(17, 24, 20, 0.08) 0%,
		rgba(17, 24, 20, 0.62) 100%
	);
}

.header-cover-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.header-cover-top {
	position: absolute;
	top: 16px;
	right: 16px;
}

.cover-top-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(17, 24, 20, 0.35);
	color: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	text-decoration: none;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.cover-top-cta:hover {
	background: rgba(17, 24, 20, 0.46);
	border-color: rgba(255, 255, 255, 0.26);
}

.header-kicker {
	margin: 0 0 6px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.74rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.header-cover-title {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 4.8vw, 3.6rem);
	letter-spacing: -0.04em;
}

.header-cover-subtitle {
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.86);
	max-width: 70ch;
	line-height: 1.5;
}

.header-cover-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.button-secondary {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.26);
}

.button-secondary:hover {
	background: rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

@media (max-width: 560px) {
	html,
	body {
		overflow-x: hidden;
	}

	.site-header {
		position: sticky;
		top: 0;
		z-index: 80;
		flex-direction: row;
		align-items: center;
		flex-wrap: wrap;
		padding: 8px 0;
		overflow: visible;
	}

	.brand {
		flex-direction: row;
		align-items: center;
		gap: 10px;
	}

	.brand-tagline {
		display: none;
	}

	.header-actions {
		width: auto;
		margin-left: auto;
		align-items: center;
		justify-content: flex-end;
		position: relative;
	}

	.menu-toggle {
		display: inline-flex;
		height: 40px;
		width: 40px;
	}

	.site-nav {
		width: auto;
		order: 0;
		box-sizing: border-box;
	}

	.site-nav .menu {
		display: none;
		width: auto;
		flex-direction: column;
		gap: 0;
		margin-top: 0;
		padding: 10px;
		border-radius: 16px;
		border: 1px solid rgba(17, 24, 20, 0.08);
		background: rgba(255, 255, 255, 0.92);
		backdrop-filter: blur(10px);
		-webkit-backdrop-filter: blur(10px);
		box-shadow: 0 18px 50px rgba(12, 30, 21, 0.16);
		box-sizing: border-box;
		position: fixed;
		left: 16px;
		right: 16px;
		top: 64px;
		z-index: 90;
		max-height: calc(100dvh - 64px - 16px);
		overflow: auto;
	}

	.site-nav .menu a {
		justify-content: flex-start;
		width: 100%;
		padding: 12px 12px;
		border-radius: 12px;
		font-weight: 800;
		color: var(--primary-ink);
	}

	.site-nav .menu li + li {
		margin-top: 6px;
	}

	.site-nav .menu a::after {
		display: none;
	}

	.site-nav .menu a:hover,
	.site-nav .menu .current-menu-item > a,
	.site-nav .menu .current-menu-ancestor > a {
		background: rgba(var(--primary-rgb), 0.08);
		color: var(--primary-ink);
	}

	.nav-open .site-nav .menu {
		display: flex;
	}

	/* Override the desktop hard rules inside mobile. */
	.site-header .site-nav ul.menu {
		display: none !important;
		flex-direction: column !important;
		width: 100% !important;
	}

	.nav-open .site-header .site-nav ul.menu {
		display: flex !important;
	}

	.header-social {
		margin-top: 10px;
		order: 10;
	}

	.header-cta {
		order: 11;
		margin-top: 10px;
		height: 38px;
		padding: 0 14px;
	}

	.site {
		padding: 10px 16px 40px;
	}
}

main.content {
	padding: 22px 0 0;
}

.layout-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: start;
}

.layout-main {
	min-width: 0;
}

.sidebar {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.7);
	padding: 16px;
}

.widget {
	margin: 0 0 18px;
}

.widget:last-child {
	margin-bottom: 0;
}

.widget-title {
	margin: 0 0 10px;
	font-size: 1.02rem;
	letter-spacing: -0.02em;
}

@media (min-width: 980px) {
	.content.layout-left .layout-inner,
	.content.layout-right .layout-inner {
		grid-template-columns: 320px 1fr;
	}

	.content.layout-left .sidebar-left {
		order: 0;
	}

	.content.layout-left .layout-main {
		order: 1;
	}

	.content.layout-right .layout-main {
		order: 0;
	}

	.content.layout-right .sidebar-right {
		order: 1;
	}

	.content.layout-both .layout-inner {
		grid-template-columns: 280px 1fr 280px;
	}
}

.hero {
	position: relative;
	border-radius: calc(var(--radius) + 6px);
	overflow: hidden;
	background: linear-gradient(145deg, rgba(var(--primary-rgb), 0.92), rgba(var(--primary-ink-rgb), 0.96));
	color: #fff;
	box-shadow: var(--shadow-lg);
	border: 1px solid rgba(255, 255, 255, 0.2);
	margin: 6px 0 18px;
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(
			135deg,
			rgba(255, 213, 106, 0.18) 0px,
			rgba(255, 213, 106, 0.18) 1px,
			transparent 1px,
			transparent 10px
		);
	opacity: 0.1;
	pointer-events: none;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.02) 0%,
			rgba(0, 0, 0, 0.16) 100%
		);
	pointer-events: none;
}

.hero-inner {
	position: relative;
	padding: 46px 34px;
	max-width: 1200px;
	margin: 0 auto;
}

.hero-title {
	font-size: clamp(1.8rem, 3.2vw, 2.8rem);
	letter-spacing: -0.03em;
	margin: 0 0 10px;
	text-shadow: none;
}

.hero-tagline {
	margin: 0 0 18px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.14rem;
	max-width: 60ch;
	text-shadow: none;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 800;
	letter-spacing: -0.01em;
	border: 1px solid transparent;
}

.button-primary {
	background: var(--sun);
	color: var(--primary-ink);
	box-shadow: none;
	border: 1px solid rgba(255, 213, 106, 0.35);
}

.button-primary:hover {
	background: #ffd56a;
	border-color: rgba(255, 213, 106, 0.55);
	transform: translateY(-1px);
}

.button-primary,
.button-secondary {
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.section {
	margin: 26px 0;
}

.section-title {
	font-size: 1.42rem;
	letter-spacing: -0.02em;
	margin: 0 0 18px;
}

.section-subtitle {
	margin: -6px 0 18px;
	color: var(--muted);
	max-width: 70ch;
}


.section-divider {
	height: 1px;
	background: rgba(17, 24, 20, 0.06);
	margin: 36px 0;
}

.highlights {
	margin-top: 14px;
}

.highlights-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 14px;
}

.highlight-card {
	grid-column: span 12;
	border: 1px solid rgba(17, 24, 20, 0.08);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.66);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 18px 16px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 150px;
	transition: transform 160ms ease, box-shadow 160ms ease;
	box-shadow: 0 8px 26px rgba(12, 30, 21, 0.06);
}

.highlight-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 34px rgba(12, 30, 21, 0.10);
}

.highlight-card--1 {
	background: rgba(255, 255, 255, 0.72);
}

.highlight-card--2 {
	background: rgba(var(--primary-rgb), 0.08);
}

.highlight-card--3 {
	background: rgba(255, 213, 106, 0.18);
}

.highlight-kicker {
	margin: 0;
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(17, 24, 20, 0.62);
}

.highlight-title {
	margin: 0;
	font-weight: 850;
	letter-spacing: -0.03em;
	color: var(--primary-ink);
	font-size: 1.08rem;
}

.highlight-text {
	margin: 0;
	color: var(--muted);
	line-height: 1.65;
	font-size: 0.98rem;
}

@media (min-width: 960px) {
	.highlight-card {
		grid-column: span 4;
		padding: 18px 18px;
	}
}

.band {
	border: 1px solid rgba(17, 24, 20, 0.06);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.72);
	padding: 18px;
}

.band.band-alt {
	background: rgba(255, 255, 255, 0.52);
}

.section--bottles .section-title {
	font-size: clamp(1.8rem, 3.2vw, 2.4rem);
	letter-spacing: -0.04em;
}

.bottle-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.gallery-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.section--tasting .intro-card {
	background:
		linear-gradient(
			135deg,
			rgba(var(--primary-rgb), 0.10),
			rgba(255, 255, 255, 0.72)
		);
	border-color: rgba(var(--primary-rgb), 0.14);
}

.section--tasting .feature-card {
	background: rgba(255, 255, 255, 0.78);
	border-color: rgba(17, 24, 20, 0.08);
	box-shadow: 0 8px 22px rgba(12, 30, 21, 0.08);
	transition: transform 160ms ease, box-shadow 160ms ease;
}

.section--tasting .feature-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(12, 30, 21, 0.12);
}

.split-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	align-items: stretch;
}

.split-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.split-visual {
	background: linear-gradient(
		135deg,
		rgba(var(--primary-rgb), 0.18),
		rgba(255, 255, 255, 0.6)
	);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 18px;
	box-shadow: none;
	overflow: hidden;
	min-height: 320px;
}

.split-visual-link {
	display: block;
	color: inherit;
	text-decoration: none;
	height: 100%;
}

.split-visual svg {
	display: block;
	width: 100%;
	height: auto;
}

.split-visual-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: calc(var(--radius) - 4px);
}

.visual-rows {
	fill: none;
	stroke: rgba(var(--primary-rgb), 0.55);
	stroke-width: 2;
	stroke-linecap: round;
}

.lead-text {
	color: var(--muted);
	line-height: 1.7;
	font-size: 1.02rem;
}

.section--philosophy .lead-text {
	color: rgba(17, 24, 20, 0.82);
	font-size: clamp(1.02rem, 1.7vw, 1.18rem);
	line-height: 1.75;
	max-width: 62ch;
}

.quote-box {
	margin-top: 14px;
	padding: 14px 16px;
	border-radius: calc(var(--radius) - 2px);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.6);
}

.icon-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
}

.icon-card {
	grid-column: span 12;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 18px;
}

.icon-card svg {
	display: block;
	width: 44px;
	height: 44px;
	color: var(--primary-ink);
	margin-bottom: 10px;
}

.icon-title {
	margin: 0 0 6px;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
}

.icon-text {
	margin: 0;
	color: var(--muted);
	line-height: 1.6;
}

.bottle-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
}

.bottle-card {
	grid-column: span 12;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.85),
		rgba(255, 255, 255, 0.55)
	);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: none;
	padding: 22px;
	text-align: left;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

@media (min-width: 840px) {
	.bottle-card {
		padding: 28px;
	}

	.bottle-label {
		font-size: 1.28rem;
	}
}

.bottle-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 6px;
	width: 100%;
}

.bottle-img {
	width: 100%;
	max-width: none;
	height: 360px;
	object-fit: contain;
	display: block;
}

.bottle-svg {
	width: 110px;
	height: 220px;
}

.bottle-label {
	margin: 0;
	color: var(--primary-ink);
	font-weight: 800;
	letter-spacing: -0.01em;
	font-size: clamp(1.18rem, 2.2vw, 1.48rem);
}

/* Make bottle notes feel more "meaty" than the short icons. */
.bottle-card .icon-text {
	color: var(--muted);
	font-size: 1.05rem;
	line-height: 1.75;
}

@media (min-width: 840px) {
	.split-grid {
		grid-template-columns: 7fr 5fr;
	}

	.icon-card {
		grid-column: span 6;
	}

	.bottle-card {
		grid-column: span 4;
	}
}

@media (min-width: 840px) {
	.bottle-img {
		height: 420px;
	}
}

@media (min-width: 1080px) {
	.icon-card {
		grid-column: span 3;
	}
}

.intro-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: none;
	padding: 20px;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 20px;
}

.post-card {
	grid-column: span 12;
}

@media (min-width: 680px) {
	.post-card {
		grid-column: span 6;
	}
}

@media (min-width: 1000px) {
	.post-card {
		grid-column: span 4;
	}
}

.post-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 22px;
}

.post-card-header {
	margin-bottom: 8px;
}

.post-thumb {
	margin-bottom: 12px;
	border-radius: calc(var(--radius) - 4px);
	overflow: hidden;
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.6);
}

.post-thumb-img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
}

.post-thumb--placeholder {
	height: 220px;
	background:
		linear-gradient(
			135deg,
			rgba(var(--primary-rgb), 0.20),
			rgba(0, 0, 0, 0.12)
		),
		repeating-linear-gradient(
			135deg,
			rgba(255, 213, 106, 0.12) 0px,
			rgba(255, 213, 106, 0.12) 1px,
			transparent 1px,
			transparent 10px
		);
}

.post-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.tag-pill {
	display: inline-flex;
	align-items: center;
	padding: 7px 10px;
	border-radius: 999px;
	border: 1px solid rgba(var(--primary-rgb), 0.22);
	background: rgba(var(--primary-rgb), 0.06);
}

.tag-pill a {
	color: var(--primary-ink);
	text-decoration: none;
	font-weight: 750;
}

.tag-pill a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.feature-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
	margin-top: 16px;
}

.feature-card {
	grid-column: span 12;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 18px;
}

.feature-title {
	margin: 0 0 8px;
	font-size: 1.05rem;
	letter-spacing: -0.01em;
}

.feature-text {
	margin: 0;
	color: var(--muted);
	line-height: 1.6;
}

@media (min-width: 900px) {
	.feature-card {
		grid-column: span 4;
	}
}

.post-title {
	margin: 0 0 8px;
	font-size: 1.15rem;
	line-height: 1.25;
}

.post-meta {
	color: var(--muted);
	font-size: 0.95rem;
}

.post-excerpt {
	color: var(--muted);
	line-height: 1.6;
}

.post-readmore {
	margin-top: 14px;
}

.link-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid rgba(var(--primary-rgb), 0.25);
	background: rgba(var(--primary-rgb), 0.06);
	text-decoration: none;
	font-weight: 800;
	color: var(--primary-ink);
}

.link-button:hover {
	background: rgba(var(--primary-rgb), 0.12);
}

.archive-header {
	margin: 10px 0 18px;
}

.archive-description {
	margin-top: 8px;
	color: var(--muted);
}

.pagination {
	margin: 24px 0 4px;
}

.pagination a,
.pagination span {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 999px;
	border: 1px solid var(--border);
	color: var(--text);
	text-decoration: none;
	margin-right: 8px;
	margin-bottom: 8px;
}

.pagination a:hover {
	border-color: rgba(var(--primary-rgb), 0.35);
	color: var(--primary-ink);
}

.pagination .current {
	background: rgba(var(--primary-rgb), 0.08);
	border-color: rgba(var(--primary-rgb), 0.35);
}

article {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 22px;
	margin-bottom: 18px;
}

.entry-title {
	font-size: 2rem;
	margin: 0 0 12px;
	letter-spacing: -0.02em;
}

.entry-content p {
	margin: 0 0 1rem;
	color: var(--muted);
}

.entry-content h2,
.entry-content h3 {
	color: var(--text);
	line-height: 1.25;
}

.entry-content a:visited {
	color: var(--primary);
}

.page-links {
	margin: 0 0 14px;
	color: var(--muted);
}

.page-links a {
	color: var(--primary);
}

/* Footer is defined later (modern footer). */

.comments-area {
	margin-top: 34px;
}

.comments-area .comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 14px;
}

.comments-area .comment {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: none;
	padding: 16px;
}

.comments-area .comment-author {
	font-weight: 700;
	color: var(--primary-ink);
}

.comments-area .comment-meta {
	color: var(--muted);
	font-size: 0.95rem;
	margin-bottom: 10px;
}

.comments-area .comment-content {
	color: var(--muted);
}

.comments-area .comment-reply-link {
	display: inline-block;
	margin-top: 6px;
}

.comments-area #commentform label {
	display: block;
	font-weight: 650;
	margin-bottom: 6px;
	color: var(--primary-ink);
}

.comments-area #commentform input[type="text"],
.comments-area #commentform input[type="email"],
.comments-area #commentform textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 12px 12px;
	background: var(--bg);
	color: var(--text);
}

.comments-area #commentform textarea {
	min-height: 140px;
	resize: vertical;
}

.comments-area .form-submit input[type="submit"] {
	border: 0;
	border-radius: var(--radius);
	padding: 12px 16px;
	background: var(--primary);
	color: #fff;
	font-weight: 750;
	cursor: pointer;
}

.comments-area .form-submit input[type="submit"]:hover {
	background: var(--primary-ink);
}

.site-footer {
	margin-top: 50px;
	border: 1px solid rgba(255, 255, 255, 0.10);
	background:
		radial-gradient(circle at 15% 20%, rgba(247, 200, 75, 0.18), transparent 55%),
		radial-gradient(circle at 70% 0%, rgba(31, 111, 74, 0.35), transparent 52%),
		linear-gradient(180deg, #0b2418 0%, #081b12 100%);
	color: rgba(255, 255, 255, 0.92);
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 26px 70px rgba(12, 30, 21, 0.24);
}

.footer-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	padding: 42px 24px;
}

.footer-col {
	min-width: 0;
}

.footer-brand {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	gap: 10px 12px;
	align-items: center;
}

.footer-mark {
	width: 44px;
	height: 44px;
	grid-row: span 2;
}

.footer-name {
	margin: 0 0 6px;
	font-weight: 800;
	letter-spacing: -0.02em;
	font-size: 1.02rem;
	color: rgba(255, 255, 255, 0.96);
}

.footer-tagline {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.6;
}

.footer-title {
	margin: 0 0 8px;
	font-weight: 900;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.80);
	font-size: 0.78rem;
}

.footer-text {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	line-height: 1.6;
}

.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

@media (min-width: 860px) {
	.footer-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
}

.footer-links a {
	color: rgba(255, 255, 255, 0.90);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	padding: 8px 10px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.06);
}

.footer-links a:hover {
	background: rgba(255, 255, 255, 0.10);
	border-color: rgba(255, 255, 255, 0.22);
}

.footer-bottom {
	padding: 12px 24px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.10);
	background: rgba(255, 255, 255, 0.04);
}

.footer-copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.66);
}

.footer-signature {
	margin-left: 8px;
	white-space: nowrap;
}

.footer-signature a {
	color: rgba(255, 255, 255, 0.82);
	text-decoration: underline;
	text-underline-offset: 3px;
}


/* Recommended classic WP classes for content compatibility. */
.wp-caption {
	max-width: 100%;
	margin: 0 0 1rem;
}

.wp-caption-text {
	margin-top: 0.4rem;
	color: var(--muted);
	font-size: 0.9rem;
}

.alignleft {
	float: left;
	margin: 0 1rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1rem;
}

.aligncenter {
	display: block;
	margin: 0 auto 1rem;
}

.sticky {
	outline: 2px solid rgba(var(--primary-rgb), 0.25);
	outline-offset: 3px;
}

.bypostauthor {
	font-weight: inherit;
}

.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 !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	position: static !important;
	padding: 0.5rem 0.75rem;
	background: #fff;
	color: #000;
	z-index: 100000;
}

.entry-tags {
	margin-top: 12px;
	color: var(--muted);
}

@media (min-width: 860px) {
	.footer-inner {
		grid-template-columns: 2fr 1.3fr 1fr;
		align-items: start;
	}
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px;
}

.gallery-card {
	grid-column: span 12;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: none;
	overflow: hidden;
}

.gallery-img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
	background: rgba(255, 255, 255, 0.6);
}

.gallery-img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 240px;
	background:
		radial-gradient(circle at 15% 25%, rgba(var(--primary-rgb), 0.20), transparent 55%),
		repeating-linear-gradient(
			135deg,
			rgba(255, 213, 106, 0.16) 0px,
			rgba(255, 213, 106, 0.16) 1px,
			transparent 1px,
			transparent 10px
		);
}

.gallery-placeholder-icon {
	color: var(--primary-ink);
	opacity: 0.9;
}

.gallery-caption {
	padding: 14px 16px;
	margin: 0;
	color: var(--muted);
	font-weight: 650;
	line-height: 1.4;
}

@media (min-width: 900px) {
	.gallery-card {
		grid-column: span 4;
	}
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.skip-link:focus {
	position: absolute;
	left: 8px;
	top: 8px;
	width: auto;
	height: auto;
	padding: 10px 12px;
	background: #fff;
	color: #111;
	z-index: 9999;
	border: 2px solid #111;
	border-radius: 4px;
}

