/* ==========================================================================
   VAB Addict - Theme CSS
   Modern, mobile-first, no vendor prefixes needed.
   ========================================================================== */

/* ---------- Reset & Base ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--wp--preset--color--text, #2d2d2d);
	background-color: var(--wp--preset--color--light, #f5f5f0);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--wp--preset--color--primary, #4A5D23);
	text-decoration: none;
	transition: color 0.2s;
}

a:hover {
	color: var(--wp--preset--color--primary-dark, #2C3E10);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--wp--preset--font-family--heading, 'Oswald', sans-serif);
	color: var(--wp--preset--color--primary-dark, #2C3E10);
	line-height: 1.25;
	margin-top: 0;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	background: #fff;
	padding: 1rem;
	z-index: 100000;
}

/* ---------- Layout ---------- */

.site-main__inner,
.site-header__inner,
.footer-widgets__inner,
.footer-bottom__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.site-main {
	padding: 2rem 0 4rem;
	min-height: 60vh;
}

/* Layout with sidebar */
.site-main__inner--with-sidebar {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

@media (min-width: 1024px) {
	.site-main__inner--with-sidebar {
		grid-template-columns: 1fr 320px;
	}
}

.content-area {
	min-width: 0;
}

/* ---------- Banner (branding area, NOT sticky) ---------- */

.site-header__banner {
	background-color: var(--wp--preset--color--dark, #1A1F0E);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	min-height: 140px;
	display: flex;
	align-items: center;
}

.site-header__banner::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(26, 31, 14, 0.65) 0%,
		rgba(26, 31, 14, 0.85) 100%
	);
	pointer-events: none;
}

.site-header__banner-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 1.5rem;
	width: 100%;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.site-branding .custom-logo-link {
	flex-shrink: 0;
}

.site-branding .custom-logo {
	max-height: 70px;
	width: auto;
}

.site-branding a,
.site-title {
	font-family: var(--wp--preset--font-family--heading, 'Oswald', sans-serif);
	font-size: 2.25rem;
	font-weight: 700;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	line-height: 1.1;
}

.site-description {
	color: var(--wp--preset--color--accent, #C2B280);
	font-size: 0.9rem;
	margin: 0.25rem 0 0;
	font-style: italic;
}

/* ---------- Header (sticky nav bar) ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--wp--preset--color--primary-dark, #2C3E10);
	transition: box-shadow 0.3s;
}

.site-header.is-scrolled {
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.site-header .site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

/* ---------- Navigation ---------- */

.primary-nav {
	flex: 1;
}

.primary-nav .nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 0;
}

.primary-nav .nav-menu a {
	display: block;
	padding: 0.85rem 1.25rem;
	color: rgba(255, 255, 255, 0.85);
	font-family: var(--wp--preset--font-family--heading, 'Oswald', sans-serif);
	font-size: 0.9rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: color 0.2s, background-color 0.2s;
	border-bottom: 3px solid transparent;
}

.primary-nav .nav-menu a:hover,
.primary-nav .nav-menu .current-menu-item > a {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.1);
	border-bottom-color: var(--wp--preset--color--accent, #C2B280);
}

/* Dropdown */
.primary-nav .nav-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--wp--preset--color--primary-dark, #2C3E10);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0 0 4px 4px;
	min-width: 220px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
	z-index: 10;
}

.primary-nav .nav-menu .sub-menu a {
	border-bottom: none;
	padding: 0.5rem 1.25rem;
	font-size: 0.85rem;
}

.primary-nav .nav-menu li {
	position: relative;
}

.primary-nav .nav-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Nav social icons */
.nav-social {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin-left: auto;
	padding-left: 1rem;
}

.nav-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.6);
	transition: color 0.2s, background 0.2s;
}

.nav-social__link:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

/* Mobile menu toggle */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.75rem;
	z-index: 10;
	margin-left: auto;
}

.hamburger {
	display: block;
	width: 26px;
	height: 2px;
	background: #fff;
	position: relative;
	transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
	content: '';
	display: block;
	width: 26px;
	height: 2px;
	background: #fff;
	position: absolute;
	left: 0;
	transition: transform 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.menu-toggle[aria-expanded="true"] .hamburger {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
	transform: rotate(45deg);
	top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
	transform: rotate(-45deg);
	top: 0;
}

@media (max-width: 768px) {
	.site-header__banner {
		min-height: 100px;
	}

	.site-title {
		font-size: 1.5rem;
	}

	.site-description {
		font-size: 0.8rem;
	}

	.menu-toggle {
		display: flex;
		align-items: center;
	}

	.primary-nav {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: var(--wp--preset--color--dark, #1A1F0E);
		padding: 5rem 1.5rem 2rem;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		overflow-y: auto;
		z-index: 9999;
	}

	.primary-nav.is-open {
		transform: translateX(0);
	}

	.primary-nav .nav-menu {
		flex-direction: column;
		gap: 0;
	}

	.primary-nav .nav-menu a {
		padding: 1rem 0.5rem;
		font-size: 1.15rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.06);
		border-left: 3px solid transparent;
		transition: border-color 0.2s, padding-left 0.2s;
	}

	.primary-nav .nav-menu a:hover,
	.primary-nav .nav-menu .current-menu-item > a {
		border-left-color: var(--wp--preset--color--accent, #C2B280);
		padding-left: 1rem;
		background: none;
		border-bottom-color: rgba(255, 255, 255, 0.06);
	}

	.primary-nav .nav-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: none;
		background: none;
		padding: 0 0 0 0.75rem;
		min-width: 0;
	}

	.primary-nav .nav-menu .sub-menu a {
		font-size: 1rem;
		padding: 0.75rem 0.5rem;
		color: rgba(255, 255, 255, 0.6);
	}

	/* Social icons: smaller on mobile, stay next to burger */
	.nav-social {
		margin-left: auto;
		padding-left: 0.5rem;
		gap: 0.125rem;
	}

	.nav-social__link {
		width: 30px;
		height: 30px;
	}

	.nav-social__link svg {
		width: 15px;
		height: 15px;
	}

	/* Menu toggle stays above overlay */
	.menu-toggle {
		position: relative;
		z-index: 10000;
	}

	body.nav-open {
		overflow: hidden;
	}
}

/* ---------- Hero Slider ---------- */

.hero-slider {
	position: relative;
	background: var(--wp--preset--color--dark, #1A1F0E);
	overflow: hidden;
}

.hero-slider__track {
	position: relative;
	height: 500px;
}

@media (max-width: 768px) {
	.hero-slider__track {
		height: 400px;
	}
}

.hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.8s ease;
	display: flex;
	align-items: center;
}

.hero-slide.is-active {
	opacity: 1;
	z-index: 1;
}

.hero-slide__image {
	position: absolute;
	inset: 0;
}

.hero-slide__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-slide__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(26, 31, 14, 0.85) 0%,
		rgba(26, 31, 14, 0.5) 50%,
		rgba(26, 31, 14, 0.2) 100%
	);
	z-index: 1;
}

.hero-slide__content {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem 1.5rem;
	width: 100%;
}

.hero-slide__content .post-categories a {
	background: rgba(74, 93, 35, 0.6);
	color: #fff;
}

.hero-slide__title {
	font-size: 2.5rem;
	color: #fff;
	margin-bottom: 0.75rem;
	max-width: 650px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-slide__title a {
	color: inherit;
}

.hero-slide__title a:hover {
	color: var(--wp--preset--color--accent, #C2B280);
}

@media (min-width: 768px) {
	.hero-slide__title {
		font-size: 3rem;
	}
}

.hero-slide__excerpt {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.05rem;
	max-width: 550px;
	margin-bottom: 1rem;
	line-height: 1.6;
}

.hero-slide__meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.85rem;
	margin-bottom: 1.25rem;
}

.hero-slide__link {
	display: inline-block;
}

/* Slider controls */
.hero-slider__controls {
	position: absolute;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hero-slider__arrow {
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.2s;
}

.hero-slider__arrow:hover {
	background: var(--wp--preset--color--primary, #4A5D23);
	border-color: var(--wp--preset--color--primary, #4A5D23);
}

.hero-slider__dots {
	display: flex;
	gap: 0.5rem;
}

.hero-slider__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	border: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
	padding: 0;
}

.hero-slider__dot.is-active {
	background: var(--wp--preset--color--accent, #C2B280);
	transform: scale(1.3);
}

.hero-slider__dot:hover {
	background: rgba(255, 255, 255, 0.7);
}

/* ---------- Page Header ---------- */

.page-header {
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 3px solid var(--wp--preset--color--primary, #4A5D23);
}

.page-title {
	font-size: 1.75rem;
	margin-bottom: 0.25rem;
}

.page-description {
	color: var(--wp--preset--color--text-light, #6b6b6b);
	font-size: 1rem;
	margin: 0;
}

/* ---------- Posts Grid (2 columns) ---------- */

.posts-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.posts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Card ---------- */

.card {
	background: #fff;
	border-radius: var(--wp--custom--border-radius, 4px);
	overflow: hidden;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	transition: transform 0.2s, box-shadow 0.2s;
	display: flex;
	flex-direction: column;
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.card__thumbnail {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.card__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.card:hover .card__thumbnail img {
	transform: scale(1.03);
}

.card__body {
	padding: 1.25rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.card__title {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
	line-height: 1.3;
}

.card__title a {
	color: var(--wp--preset--color--primary-dark, #2C3E10);
}

.card__title a:hover {
	color: var(--wp--preset--color--primary, #4A5D23);
}

.card__excerpt {
	font-size: 0.9rem;
	color: var(--wp--preset--color--text-light, #6b6b6b);
	line-height: 1.6;
	margin: 0 0 auto;
}

.card__meta {
	font-size: 0.8rem;
	color: var(--wp--preset--color--text-light, #6b6b6b);
	margin-top: 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid #eee;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.meta-sep {
	color: #ccc;
}

/* ---------- Sidebar ---------- */

.sidebar {
	min-width: 0;
}

@media (min-width: 1024px) {
	.sidebar {
		position: sticky;
		top: calc(52px + 1.5rem); /* sticky nav height + gap */
		align-self: start;
	}
}

/* Social links widget */
.widget-social {
	background: #fff;
	padding: 1.5rem;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
	margin-bottom: 1.5rem;
}

.social-links {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.social-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 0.875rem;
	border-radius: 6px;
	font-family: var(--wp--preset--font-family--heading, 'Oswald', sans-serif);
	font-size: 0.9rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff;
	transition: transform 0.15s, box-shadow 0.15s;
}

.social-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	color: #fff;
}

.social-link svg {
	flex-shrink: 0;
}

.social-link--facebook {
	background: #1877f2;
}

.social-link--facebook:hover {
	background: #166fe5;
}

.social-link--instagram {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-link--instagram:hover {
	background: linear-gradient(45deg, #e08025, #d55a30, #c92038, #b81e5b, #a8157a);
}

.social-link--youtube {
	background: #ff0000;
}

.social-link--youtube:hover {
	background: #e60000;
}

.sidebar .widget {
	background: #fff;
	padding: 1.5rem;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
	margin-bottom: 1.5rem;
	transition: box-shadow 0.2s;
}

.sidebar .widget:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.sidebar .widget-title {
	font-size: 0.85rem;
	margin-bottom: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: none;
	position: relative;
	letter-spacing: 0.08em;
}

.sidebar .widget-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 3px;
	background: var(--wp--preset--color--primary, #4A5D23);
	border-radius: 2px;
}

.sidebar .widget ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.sidebar .widget li {
	padding: 0;
	border-bottom: none;
	font-size: 0.9rem;
}

.sidebar .widget li a {
	display: flex;
	align-items: center;
	padding: 0.5rem 0.625rem;
	margin: 0 -0.625rem;
	border-radius: 4px;
	color: var(--wp--preset--color--text, #2d2d2d);
	transition: background 0.15s, color 0.15s;
}

.sidebar .widget li a:hover {
	background: rgba(74, 93, 35, 0.06);
	color: var(--wp--preset--color--primary, #4A5D23);
}

.sidebar .widget li.current-cat > a,
.sidebar .widget li.current-menu-item > a {
	color: var(--wp--preset--color--primary, #4A5D23);
	font-weight: 600;
	background: rgba(74, 93, 35, 0.06);
}

/* Sidebar post count badges */
.sidebar .widget li a .count,
.sidebar .widget li a .post-count {
	margin-left: auto;
	font-size: 0.75rem;
	background: var(--wp--preset--color--light, #f5f5f0);
	color: var(--wp--preset--color--text-light, #6b6b6b);
	padding: 0.1rem 0.5rem;
	border-radius: 10px;
	font-weight: 500;
}

/* Sidebar images (recent posts with thumbs, etc.) */
.sidebar .widget img {
	border-radius: 4px;
}

/* Sidebar search */
.sidebar .search-form {
	max-width: 100%;
}

/* Sidebar tag cloud */
.sidebar .tagcloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.sidebar .tagcloud a {
	display: inline-block;
	padding: 0.25rem 0.65rem;
	font-size: 0.8rem !important;
	border: 1px solid #e0e0e0;
	border-radius: 3px;
	color: var(--wp--preset--color--text-light, #6b6b6b);
	transition: all 0.15s;
	background: none;
	margin: 0;
}

.sidebar .tagcloud a:hover {
	border-color: var(--wp--preset--color--primary, #4A5D23);
	color: var(--wp--preset--color--primary, #4A5D23);
	background: rgba(74, 93, 35, 0.05);
}

/* Sidebar calendar */
.sidebar .widget_calendar table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
}

.sidebar .widget_calendar th,
.sidebar .widget_calendar td {
	padding: 0.35rem;
	text-align: center;
}

.sidebar .widget_calendar th {
	font-weight: 600;
	color: var(--wp--preset--color--primary-dark, #2C3E10);
	font-size: 0.75rem;
	text-transform: uppercase;
}

/* Sidebar text widget */
.sidebar .widget_text p:last-child {
	margin-bottom: 0;
}

/* ---------- Post Categories ---------- */

.post-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.5rem;
}

.post-categories a {
	font-family: var(--wp--preset--font-family--heading, 'Oswald', sans-serif);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--primary, #4A5D23);
	background: rgba(74, 93, 35, 0.1);
	padding: 0.15rem 0.6rem;
	border-radius: 2px;
}

.post-categories a:hover {
	background: var(--wp--preset--color--primary, #4A5D23);
	color: #fff;
}

/* ---------- Single Post ---------- */

.single-post {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.single-post__header {
	padding: 2rem 2rem 0;
}

.single-post__header .post-categories {
	margin-bottom: 0.75rem;
}

.single-post__title {
	font-size: 1.75rem;
	margin-bottom: 1rem;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.single-post__title {
		font-size: 2.25rem;
	}
}

.single-post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: var(--wp--preset--color--text-light, #6b6b6b);
	padding-bottom: 1.25rem;
	border-bottom: 1px solid #eee;
}

.single-post__author {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.single-post__author img {
	border-radius: 50%;
	width: 36px;
	height: 36px;
}

.single-post__author .posted-by {
	font-weight: 600;
	color: var(--wp--preset--color--primary-dark, #2C3E10);
}

.reading-time {
	font-style: italic;
}

.single-post__thumbnail {
	margin: 0;
}

.single-post__thumbnail img {
	width: 100%;
	aspect-ratio: 21 / 9;
	object-fit: cover;
}

.single-post__thumbnail figcaption {
	font-size: 0.8rem;
	color: var(--wp--preset--color--text-light, #6b6b6b);
	text-align: center;
	padding: 0.5rem 2rem;
	background: #fafafa;
	font-style: italic;
}

/* ---------- Entry Content ---------- */

.entry-content {
	padding: 2rem;
	max-width: none;
	margin: 0;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content p {
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.entry-content > p:first-of-type {
	font-size: 1.1rem;
	color: var(--wp--preset--color--text, #2d2d2d);
	line-height: 1.75;
}

.entry-content > p:first-of-type::first-letter {
	font-family: var(--wp--preset--font-family--heading, 'Oswald', sans-serif);
	font-size: 3.5rem;
	float: left;
	line-height: 0.8;
	margin: 0.05em 0.15em 0 0;
	color: var(--wp--preset--color--primary, #4A5D23);
	font-weight: 700;
}

.entry-content h2 {
	font-size: 1.5rem;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	padding-top: 1.5rem;
	border-top: 2px solid #eee;
}

.entry-content h3 {
	font-size: 1.2rem;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.entry-content h4 {
	font-size: 1rem;
	margin-top: 1.5rem;
	margin-bottom: 0.5rem;
}

.entry-content img {
	border-radius: 6px;
}

.entry-content figure {
	margin: 2rem 0;
}

.entry-content figcaption {
	font-size: 0.825rem;
	color: var(--wp--preset--color--text-light, #6b6b6b);
	text-align: center;
	margin-top: 0.5rem;
	font-style: italic;
}

.entry-content a {
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-color: rgba(74, 93, 35, 0.3);
	transition: text-decoration-color 0.2s, color 0.2s;
}

.entry-content a:hover {
	text-decoration-color: var(--wp--preset--color--primary, #4A5D23);
}

.entry-content blockquote {
	border-left: 4px solid var(--wp--preset--color--primary, #4A5D23);
	margin: 2rem 0;
	padding: 1.25rem 1.75rem;
	background: rgba(74, 93, 35, 0.04);
	border-radius: 0 6px 6px 0;
	position: relative;
}

.entry-content blockquote::before {
	content: '\201C';
	font-family: var(--wp--preset--font-family--heading, 'Oswald', sans-serif);
	font-size: 4rem;
	color: var(--wp--preset--color--primary, #4A5D23);
	opacity: 0.15;
	position: absolute;
	top: -0.25rem;
	left: 0.75rem;
	line-height: 1;
}

.entry-content blockquote p {
	font-style: italic;
	font-size: 1.05rem;
	line-height: 1.7;
}

.entry-content blockquote p:last-child {
	margin-bottom: 0;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.85rem;
	font-style: normal;
	color: var(--wp--preset--color--text-light, #6b6b6b);
	font-weight: 500;
}

.entry-content pre {
	background: var(--wp--preset--color--dark, #1A1F0E);
	color: #e0e0e0;
	padding: 1.5rem;
	border-radius: 6px;
	overflow-x: auto;
	font-family: var(--wp--preset--font-family--mono, monospace);
	font-size: 0.85rem;
	line-height: 1.6;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.entry-content code {
	font-family: var(--wp--preset--font-family--mono, monospace);
	font-size: 0.875em;
	background: rgba(74, 93, 35, 0.08);
	padding: 0.15em 0.4em;
	border-radius: 3px;
	color: var(--wp--preset--color--primary-dark, #2C3E10);
}

.entry-content pre code {
	background: none;
	padding: 0;
	border-radius: 0;
	color: inherit;
	font-size: inherit;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.5rem;
	padding-left: 1.5rem;
}

.entry-content li {
	margin-bottom: 0.4rem;
	line-height: 1.7;
}

.entry-content li::marker {
	color: var(--wp--preset--color--primary, #4A5D23);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 2rem 0;
	font-size: 0.9rem;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: 0 0 0 1px #e0e0e0;
}

.entry-content th,
.entry-content td {
	padding: 0.75rem 1rem;
	border: none;
	border-bottom: 1px solid #eee;
	text-align: left;
}

.entry-content th {
	background: var(--wp--preset--color--primary-dark, #2C3E10);
	color: #fff;
	font-family: var(--wp--preset--font-family--heading, 'Oswald', sans-serif);
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	font-weight: 600;
}

.entry-content tr:nth-child(even) td {
	background: rgba(0, 0, 0, 0.02);
}

.entry-content tr:hover td {
	background: rgba(74, 93, 35, 0.04);
}

.entry-content hr {
	border: none;
	height: 2px;
	background: linear-gradient(to right, transparent, var(--wp--preset--color--primary, #4A5D23), transparent);
	opacity: 0.2;
	margin: 2.5rem 0;
}

/* Galleries in content */
.entry-content .gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 0.75rem;
	margin: 2rem 0;
}

.entry-content .gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 1;
}

/* Embeds */
.entry-content .wp-block-embed {
	margin: 2rem 0;
}

.entry-content iframe {
	border-radius: 6px;
	max-width: 100%;
}

/* Wide/Full alignments */
.entry-content .alignwide,
.entry-content .alignfull {
	margin-left: -2rem;
	margin-right: -2rem;
	max-width: calc(100% + 4rem);
	width: calc(100% + 4rem);
}

.entry-content .alignwide img,
.entry-content .alignfull img {
	border-radius: 0;
}

/* ---------- Post Footer / Tags ---------- */

.single-post__footer {
	padding: 1.5rem 2rem;
	border-top: 2px solid #eee;
	background: #fafafa;
}

.post-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}

.post-tags__label {
	font-family: var(--wp--preset--font-family--heading, 'Oswald', sans-serif);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wp--preset--color--text-light, #6b6b6b);
	margin-right: 0.25rem;
}

.tag {
	font-size: 0.8rem;
	color: var(--wp--preset--color--text-light, #6b6b6b);
	border: 1px solid #ddd;
	padding: 0.25rem 0.75rem;
	border-radius: 3px;
	transition: all 0.15s;
	background: #fff;
}

.tag:hover {
	border-color: var(--wp--preset--color--primary, #4A5D23);
	color: var(--wp--preset--color--primary, #4A5D23);
	background: rgba(74, 93, 35, 0.05);
}

/* ---------- Post Navigation ---------- */

.post-navigation {
	margin-top: 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

@media (max-width: 640px) {
	.post-navigation {
		grid-template-columns: 1fr;
	}
}

.post-navigation a {
	display: block;
	padding: 1.25rem;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
	transition: box-shadow 0.2s, transform 0.2s;
}

.post-navigation a:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.nav-label {
	display: block;
	font-family: var(--wp--preset--font-family--heading, 'Oswald', sans-serif);
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--primary, #4A5D23);
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.nav-title {
	display: block;
	font-family: var(--wp--preset--font-family--body, 'Inter', sans-serif);
	color: var(--wp--preset--color--text, #2d2d2d);
	font-weight: 500;
	font-size: 0.9rem;
	line-height: 1.4;
	text-transform: none;
}

.post-navigation .nav-next {
	text-align: right;
}

/* ---------- Pagination ---------- */

.pagination,
.nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.25rem;
	margin-top: 3rem;
}

.pagination .page-numbers,
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.5rem;
	border-radius: var(--wp--custom--border-radius, 4px);
	font-size: 0.9rem;
	color: var(--wp--preset--color--text, #2d2d2d);
	transition: all 0.2s;
}

.pagination .page-numbers:hover,
.nav-links .page-numbers:hover {
	background: rgba(74, 93, 35, 0.1);
}

.pagination .page-numbers.current,
.nav-links .page-numbers.current {
	background: var(--wp--preset--color--primary, #4A5D23);
	color: #fff;
	font-weight: 600;
}

/* ---------- Comments ---------- */

.comments-area {
	margin-top: 2rem;
	padding: 2rem;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.comments-title {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.comment-list .comment {
	margin-bottom: 1.5rem;
}

.comment-list .children {
	list-style: none;
	padding-left: 2rem;
	margin-top: 1rem;
}

.comment-body {
	background: #fff;
	padding: 1.25rem;
	border-radius: var(--wp--custom--border-radius, 4px);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.comment-meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
}

.comment-meta img {
	border-radius: 50%;
}

.comment-author .fn {
	font-weight: 600;
	color: var(--wp--preset--color--primary-dark, #2C3E10);
}

.comment-metadata {
	color: var(--wp--preset--color--text-light, #6b6b6b);
	font-size: 0.8rem;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.comment-reply-link {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* Comment form - uses global input/button styles */
.comment-form p {
	margin-bottom: 1rem;
}

.comment-form .comment-notes {
	font-size: 0.85rem;
	color: var(--wp--preset--color--text-light, #6b6b6b);
}

.comment-form .required-field-message {
	font-size: 0.8rem;
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.comment-form .comment-form-cookies-consent input[type="checkbox"] {
	width: auto;
}

/* ---------- Form Elements (global) ---------- */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="date"],
textarea,
select {
	width: 100%;
	padding: 0.7rem 1rem;
	border: 2px solid #e0e0e0;
	border-radius: 6px;
	font-family: inherit;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--wp--preset--color--text, #2d2d2d);
	background: #fff;
	transition: border-color 0.2s, box-shadow 0.2s;
	appearance: none;
}

input:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary, #4A5D23);
	box-shadow: 0 0 0 3px rgba(74, 93, 35, 0.12);
}

input::placeholder,
textarea::placeholder {
	color: #aaa;
}

textarea {
	min-height: 120px;
	resize: vertical;
}

select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	padding-right: 2.5rem;
}

label {
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.35rem;
	color: var(--wp--preset--color--text, #2d2d2d);
}

/* ---------- Search Form ---------- */

.search-form {
	display: flex;
	max-width: 500px;
}

.search-form__input {
	flex: 1;
	border-right: none;
	border-radius: 6px 0 0 6px;
}

.search-form__submit {
	background: var(--wp--preset--color--primary, #4A5D23);
	color: #fff;
	border: 2px solid var(--wp--preset--color--primary, #4A5D23);
	padding: 0 1.1rem;
	border-radius: 0 6px 6px 0;
	cursor: pointer;
	transition: background-color 0.2s;
	display: flex;
	align-items: center;
}

.search-form__submit:hover {
	background: var(--wp--preset--color--primary-dark, #2C3E10);
	border-color: var(--wp--preset--color--primary-dark, #2C3E10);
}

/* ---------- Buttons ---------- */

.btn,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 2rem;
	font-family: var(--wp--preset--font-family--heading, 'Oswald', sans-serif);
	font-size: 0.9rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: 6px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.2s;
	text-align: center;
	text-decoration: none;
	line-height: 1.4;
}

.btn--primary,
button[type="submit"],
input[type="submit"] {
	background: var(--wp--preset--color--primary, #4A5D23);
	color: #fff;
	border-color: var(--wp--preset--color--primary, #4A5D23);
}

.btn--primary:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--wp--preset--color--primary-dark, #2C3E10);
	border-color: var(--wp--preset--color--primary-dark, #2C3E10);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(74, 93, 35, 0.25);
}

.btn--primary:active,
button[type="submit"]:active,
input[type="submit"]:active {
	transform: translateY(0);
	box-shadow: none;
}

.btn--outline {
	background: transparent;
	color: var(--wp--preset--color--primary, #4A5D23);
	border-color: var(--wp--preset--color--primary, #4A5D23);
}

.btn--outline:hover {
	background: var(--wp--preset--color--primary, #4A5D23);
	color: #fff;
}

/* ---------- Footer ---------- */

.site-footer {
	background: var(--wp--preset--color--dark, #1A1F0E);
	color: rgba(255, 255, 255, 0.8);
}

.footer-widgets {
	padding: 3rem 0 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

@media (min-width: 768px) {
	.footer-widgets__inner {
		grid-template-columns: repeat(3, 1fr);
	}
}

.footer-col .widget-title {
	font-size: 1rem;
	color: #fff;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--wp--preset--color--primary, #4A5D23);
}

.footer-col a {
	color: rgba(255, 255, 255, 0.7);
}

.footer-col a:hover {
	color: var(--wp--preset--color--primary-light, #8B9A46);
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-col li {
	padding: 0.25rem 0;
}

.footer-bottom {
	padding: 1.5rem 0;
}

.footer-bottom__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-bottom p {
	margin: 0;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.5);
}

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.5rem;
}

.footer-menu a {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.85rem;
}

.footer-menu a:hover {
	color: var(--wp--preset--color--primary-light, #8B9A46);
}

/* ---------- 404 ---------- */

.error-404 {
	text-align: center;
	padding: 4rem 0;
}

.error-404__code {
	font-size: 8rem;
	color: var(--wp--preset--color--primary, #4A5D23);
	opacity: 0.2;
	margin: 0;
	line-height: 1;
}

.error-404__title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.error-404__text {
	color: var(--wp--preset--color--text-light, #6b6b6b);
	margin-bottom: 2rem;
}

/* ---------- No Results ---------- */

.no-results {
	text-align: center;
	padding: 3rem 0;
}

/* ---------- WordPress Blocks Overrides ---------- */

.wp-block-image figcaption {
	font-size: 0.875rem;
	color: var(--wp--preset--color--text-light, #6b6b6b);
}

.wp-block-gallery {
	margin-bottom: 1.5rem;
}

.wp-block-separator {
	border-color: var(--wp--preset--color--primary, #4A5D23);
	opacity: 0.3;
}

/* ---------- Print ---------- */

@media print {
	.site-header,
	.site-footer,
	.post-navigation,
	.comments-area,
	.pagination,
	.sidebar,
	.hero-slider {
		display: none;
	}

	body {
		font-size: 12pt;
		color: #000;
		background: #fff;
	}
}
