:root {
	--hkf-green-deep: #0e3b24;
	--hkf-green-mid: #1c5c3b;
	--hkf-cream: #f4ecda;
	--hkf-cream-soft: #faf5e9;
	--hkf-white: #ffffff;
	--hkf-gold: #b68d40;
	--hkf-gold-soft: #d9b872;
	--hkf-ink: #20291f;
	--hkf-muted: #5a5142;
	--hkf-border: rgba(0, 0, 0, 0.06);
	--hkf-fs-base: 15px;
	--hkf-space-xs: 0.5rem;
	--hkf-space-sm: 0.75rem;
	--hkf-space-md: 1rem;
	--hkf-space-lg: 1.75rem;
	--hkf-space-xl: 2.5rem;
	--hkf-radius-sm: 8px;
	--hkf-radius-md: 12px;
	--hkf-radius-lg: 18px;
	--hkf-shadow-sm: 0 2px 14px rgba(0, 0, 0, 0.12);
	--hkf-shadow-md: 0 18px 40px -14px rgba(14, 59, 36, 0.25);
	--hkf-container: 1180px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
	font-size: var(--hkf-fs-base);
	line-height: 1.7;
	color: var(--hkf-ink);
	background: var(--hkf-cream-soft);
}

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

a {
	color: var(--hkf-green-deep);
}

a:hover,
a:focus {
	color: var(--hkf-green-mid);
}

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

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: var(--hkf-cream);
	border-radius: var(--hkf-radius-sm);
	box-shadow: var(--hkf-shadow-sm);
	clip: auto !important;
	clip-path: none;
	color: var(--hkf-green-deep);
	display: block;
	font-size: 0.875rem;
	font-weight: 600;
	height: auto;
	left: 0.5rem;
	line-height: normal;
	padding: 0.75rem 1rem;
	text-decoration: none;
	top: 0.5rem;
	width: auto;
	z-index: 100000;
}

.hkf-container {
	width: min(100% - 2rem, var(--hkf-container));
	margin-inline: auto;
}

.site-main {
	min-height: 40vh;
}

.entry__title,
.theme-test-section__title,
.error-404__title {
	margin: 0 0 var(--hkf-space-sm);
	color: var(--hkf-green-deep);
	font-weight: 800;
	line-height: 1.5;
}

.entry__content > :first-child {
	margin-top: 0;
}

.theme-test-section {
	padding: var(--hkf-space-xl) 0;
}

.theme-test-section__message {
	margin: 0;
	color: var(--hkf-muted);
	max-width: 42rem;
}

.error-404 {
	padding: var(--hkf-space-xl) 0;
}

.error-404__message {
	color: var(--hkf-muted);
}

.error-404__link {
	font-weight: 700;
	text-decoration: none;
}

body.mobile-nav-open {
	overflow: hidden;
}

.custom-logo-link {
	display: none;
}
