/*
Theme Name: Willow Harbor Journal
Author: Rowan Vale Works
Description: A classic PHP WordPress theme with a clean image-led marketing layout, editable homepage copy, and dynamic WordPress categories.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mka-theme
*/

:root {
	--mka-cream: #fbf8ef;
	--mka-paper: #fffdf7;
	--mka-mint: #d9eee4;
	--mka-mint-strong: #a8d8c6;
	--mka-teal: #1e6b60;
	--mka-teal-dark: #183d36;
	--mka-ink: #1f2d29;
	--mka-muted: #68746e;
	--mka-line: rgba(31, 45, 41, 0.14);
	--mka-coral: #e99072;
	--mka-shadow: 0 24px 70px rgba(31, 61, 54, 0.14);
	--mka-shell: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body.mka-site {
	margin: 0;
	background: var(--mka-cream);
	color: var(--mka-ink);
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

body.mka-menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
	font: inherit;
}

.mka-shell {
	width: min(100% - 32px, var(--mka-shell));
	margin-inline: auto;
}

.mka-screen-reader-text,
.mka-skip-link {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.mka-skip-link:focus {
	top: 14px;
	left: 14px;
	z-index: 10000;
	width: auto;
	height: auto;
	margin: 0;
	padding: 10px 14px;
	clip: auto;
	background: var(--mka-teal-dark);
	color: #ffffff;
	border-radius: 6px;
}

.mka-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(251, 248, 239, 0.92);
	border-bottom: 1px solid var(--mka-line);
	backdrop-filter: blur(18px);
}

.mka-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 72px;
}

.mka-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: var(--mka-ink);
	text-decoration: none;
}

.mka-logo-wrap {
	display: inline-flex;
	align-items: center;
	max-width: 220px;
}

.mka-logo-wrap img {
	max-height: 54px;
	width: auto;
}

.mka-brand-mark {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: 0 0 42px;
	background: var(--mka-teal);
	color: #ffffff;
	border-radius: 8px;
	font-weight: 800;
}

.mka-brand-copy {
	display: grid;
	min-width: 0;
}

.mka-brand-title,
.mka-footer-title {
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
}

.mka-brand-tagline {
	max-width: 220px;
	overflow: hidden;
	color: var(--mka-muted);
	font-size: 0.78rem;
	line-height: 1.2;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mka-menu-toggle {
	position: relative;
	z-index: 70;
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(31, 45, 41, 0.18);
	background: var(--mka-paper);
	border-radius: 8px;
	cursor: pointer;
}

.mka-toggle-line {
	display: block;
	width: 20px;
	height: 2px;
	margin: 2px 0;
	background: var(--mka-ink);
	border-radius: 2px;
	transition: transform 180ms ease, opacity 180ms ease;
}

.mka-menu-open .mka-toggle-line:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.mka-menu-open .mka-toggle-line:nth-child(2) {
	opacity: 0;
}

.mka-menu-open .mka-toggle-line:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.mka-navigation {
	position: fixed;
	inset: 72px 16px auto 16px;
	z-index: 60;
	display: none;
	max-height: calc(100vh - 96px);
	overflow-y: auto;
	padding: 16px;
	background: var(--mka-paper);
	border: 1px solid var(--mka-line);
	border-radius: 8px;
	box-shadow: var(--mka-shadow);
}

.mka-navigation-open {
	display: block;
}

.mka-menu,
.mka-footer-menu,
.mka-sub-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.mka-menu {
	display: grid;
	gap: 6px;
}

.mka-menu-link,
.mka-sub-menu-link {
	display: flex;
	align-items: center;
	min-height: 44px;
	padding: 10px 12px;
	color: var(--mka-ink);
	border-radius: 6px;
	font-size: 0.96rem;
	font-weight: 700;
	text-decoration: none;
}

.mka-menu-link:hover,
.mka-menu-link:focus,
.mka-sub-menu-link:hover,
.mka-sub-menu-link:focus,
.mka-menu-item-active > .mka-menu-link {
	background: var(--mka-mint);
	color: var(--mka-teal-dark);
	outline: none;
}

.mka-sub-menu {
	display: grid;
	gap: 4px;
	padding: 4px 0 4px 14px;
}

.mka-sub-menu-link {
	min-height: 38px;
	color: var(--mka-muted);
	font-size: 0.9rem;
	font-weight: 650;
}

.mka-main {
	min-height: 65vh;
}

.mka-hero {
	position: relative;
	display: grid;
	min-height: 680px;
	overflow: hidden;
	background: var(--mka-mint);
}

.mka-hero-media {
	position: absolute;
	inset: 0;
}

.mka-hero-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.mka-hero::after {
	position: absolute;
	inset: 0;
	content: "";
	background: linear-gradient(90deg, rgba(251, 248, 239, 0.96) 0%, rgba(251, 248, 239, 0.82) 37%, rgba(251, 248, 239, 0.16) 74%);
}

.mka-hero-inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	padding-block: 80px 58px;
}

.mka-hero-panel {
	width: min(100%, 620px);
}

.mka-eyebrow {
	margin: 0 0 12px;
	color: var(--mka-teal);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.mka-hero-title,
.mka-section-title,
.mka-single-title {
	margin: 0;
	color: var(--mka-teal-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: 0;
}

.mka-hero-title {
	max-width: 12ch;
	font-size: 3.05rem;
}

.mka-hero-text {
	max-width: 560px;
	margin: 20px 0 0;
	color: #46564f;
	font-size: 1.08rem;
	line-height: 1.75;
}

.mka-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.mka-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-weight: 800;
	text-decoration: none;
	transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.mka-button:hover,
.mka-button:focus {
	transform: translateY(-1px);
	outline: none;
}

.mka-button-primary {
	background: var(--mka-teal);
	color: #ffffff;
	box-shadow: 0 12px 24px rgba(30, 107, 96, 0.2);
}

.mka-button-primary:hover,
.mka-button-primary:focus {
	background: var(--mka-teal-dark);
}

.mka-button-secondary {
	background: rgba(255, 253, 247, 0.86);
	color: var(--mka-teal-dark);
	border-color: rgba(31, 45, 41, 0.16);
}

.mka-button-secondary:hover,
.mka-button-secondary:focus {
	background: var(--mka-paper);
	border-color: var(--mka-teal);
}

.mka-widget-area {
	display: grid;
	gap: 18px;
	padding-top: 42px;
}

.mka-widget {
	padding: 24px;
	background: var(--mka-paper);
	border: 1px solid var(--mka-line);
	border-radius: 8px;
}

.mka-widget-title {
	margin: 0 0 12px;
	font-size: 1.3rem;
	line-height: 1.25;
}

.mka-section {
	position: relative;
	overflow: hidden;
	padding-block: 64px;
}

.mka-section::before,
.mka-section::after {
	position: absolute;
	z-index: 0;
	width: 360px;
	height: 360px;
	content: "";
	background: radial-gradient(circle, rgba(168, 216, 198, 0.46), rgba(168, 216, 198, 0));
	border-radius: 50%;
	pointer-events: none;
}

.mka-section::before {
	top: -170px;
	right: -120px;
}

.mka-section::after {
	bottom: -210px;
	left: -160px;
	background: radial-gradient(circle, rgba(233, 144, 114, 0.22), rgba(233, 144, 114, 0));
}

.mka-section > .mka-shell {
	position: relative;
	z-index: 1;
}

.mka-section-head {
	display: grid;
	gap: 22px;
	margin-bottom: 34px;
	padding: 22px;
	background: linear-gradient(135deg, rgba(255, 253, 247, 0.8), rgba(217, 238, 228, 0.54));
	border: 1px solid rgba(30, 107, 96, 0.12);
	border-radius: 8px;
	box-shadow: 0 18px 60px rgba(31, 61, 54, 0.08);
}

.mka-section-head-simple {
	margin-bottom: 34px;
}

.mka-section-title {
	font-size: 2.25rem;
}

.mka-archive-description {
	max-width: 720px;
	color: var(--mka-muted);
}

.mka-topic-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

.mka-topic-pill,
.mka-card-category,
.mka-single-category {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	min-height: 32px;
	padding: 7px 10px;
	background: rgba(217, 238, 228, 0.86);
	color: var(--mka-teal-dark);
	border: 1px solid rgba(30, 107, 96, 0.14);
	border-radius: 8px;
	font-size: 0.78rem;
	font-weight: 800;
	text-decoration: none;
}

.mka-topic-pill:hover,
.mka-topic-pill:focus,
.mka-card-category:hover,
.mka-card-category:focus,
.mka-single-category:hover,
.mka-single-category:focus {
	background: var(--mka-teal);
	color: #ffffff;
	outline: none;
}

.mka-post-grid {
	display: grid;
	gap: 20px;
}

.mka-post-card {
	display: grid;
	overflow: hidden;
	background: var(--mka-paper);
	border: 1px solid var(--mka-line);
	border-radius: 8px;
	box-shadow: 0 14px 45px rgba(31, 61, 54, 0.08);
}

.mka-card-media {
	display: block;
	overflow: hidden;
	background: var(--mka-mint);
	aspect-ratio: 1.22;
	text-decoration: none;
}

.mka-card-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
}

.mka-post-card:hover .mka-card-image {
	transform: scale(1.035);
}

.mka-card-body {
	display: grid;
	gap: 12px;
	padding: 20px;
}

.mka-card-meta,
.mka-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	color: var(--mka-muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.mka-meta-dot {
	width: 4px;
	height: 4px;
	background: var(--mka-coral);
	border-radius: 50%;
}

.mka-card-title {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.45rem;
	line-height: 1.16;
}

.mka-card-title a {
	color: var(--mka-teal-dark);
	text-decoration: none;
}

.mka-card-title a:hover,
.mka-card-title a:focus {
	color: var(--mka-teal);
	outline: none;
}

.mka-card-excerpt {
	margin: 0;
	color: #53625b;
}

.mka-read-link {
	width: fit-content;
	color: var(--mka-teal);
	font-size: 0.9rem;
	font-weight: 850;
	text-decoration: none;
}

.mka-read-link:hover,
.mka-read-link:focus {
	color: var(--mka-teal-dark);
	text-decoration: underline;
	outline: none;
}

.mka-empty {
	position: relative;
	display: grid;
	gap: 28px;
	min-height: 380px;
	overflow: hidden;
	padding: 28px;
	background:
		linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(217, 238, 228, 0.82)),
		var(--mka-paper);
	border: 1px solid rgba(30, 107, 96, 0.14);
	border-radius: 8px;
	box-shadow: 0 26px 90px rgba(31, 61, 54, 0.14);
	isolation: isolate;
}

.mka-empty::before {
	position: absolute;
	inset: -1px;
	z-index: -2;
	content: "";
	background:
		linear-gradient(90deg, rgba(30, 107, 96, 0.08) 1px, transparent 1px),
		linear-gradient(0deg, rgba(30, 107, 96, 0.08) 1px, transparent 1px);
	background-size: 34px 34px;
	mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.5), transparent 66%);
}

.mka-empty::after {
	position: absolute;
	right: -120px;
	bottom: -170px;
	z-index: -1;
	width: 420px;
	height: 420px;
	content: "";
	background: radial-gradient(circle, rgba(30, 107, 96, 0.24), rgba(30, 107, 96, 0));
	border-radius: 50%;
}

.mka-empty-copy {
	position: relative;
	z-index: 2;
	display: grid;
	align-content: center;
	max-width: 520px;
}

.mka-empty h2,
.mka-empty p,
.mka-empty-kicker {
	margin: 0;
}

.mka-empty-kicker {
	width: fit-content;
	margin-bottom: 12px;
	padding: 7px 10px;
	background: rgba(30, 107, 96, 0.1);
	color: var(--mka-teal);
	border: 1px solid rgba(30, 107, 96, 0.16);
	border-radius: 8px;
	font-size: 0.74rem;
	font-weight: 850;
	text-transform: uppercase;
}

.mka-empty h2 {
	color: var(--mka-teal-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 2.1rem;
	line-height: 1.05;
}

.mka-empty p {
	max-width: 480px;
	margin-top: 12px;
	color: #4d5e57;
	font-size: 1.03rem;
	line-height: 1.7;
}

.mka-empty-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-height: 44px;
	margin-top: 22px;
	padding: 10px 16px;
	background: var(--mka-teal);
	color: #ffffff;
	border-radius: 8px;
	font-weight: 850;
	text-decoration: none;
	box-shadow: 0 16px 32px rgba(30, 107, 96, 0.22);
}

.mka-empty-button:hover,
.mka-empty-button:focus {
	background: var(--mka-teal-dark);
	outline: none;
}

.mka-empty-art {
	position: relative;
	z-index: 1;
	min-height: 260px;
}

.mka-empty-image {
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
	object-position: center;
	border: 8px solid rgba(255, 253, 247, 0.78);
	border-radius: 8px;
	box-shadow: 0 24px 70px rgba(31, 61, 54, 0.2);
}

.mka-empty-card {
	position: absolute;
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 10px 14px;
	background: rgba(255, 253, 247, 0.9);
	color: var(--mka-teal-dark);
	border: 1px solid rgba(255, 255, 255, 0.62);
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(31, 61, 54, 0.18);
	font-size: 0.86rem;
	font-weight: 850;
	backdrop-filter: blur(14px);
}

.mka-empty-card-one {
	top: 18px;
	left: 18px;
}

.mka-empty-card-two {
	right: 18px;
	bottom: 18px;
}

.mka-pagination {
	margin-top: 34px;
}

.mka-pagination-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: space-between;
}

.mka-pagination-link {
	min-width: 0;
}

.mka-pagination a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 8px 12px;
	background: var(--mka-paper);
	border: 1px solid var(--mka-line);
	border-radius: 8px;
	color: var(--mka-teal-dark);
	font-weight: 800;
	text-decoration: none;
}

.mka-pagination a:hover,
.mka-pagination a:focus {
	background: var(--mka-teal);
	color: #ffffff;
	outline: none;
}

.mka-single {
	padding-block: 54px 72px;
}

.mka-single-wrap {
	width: min(80vw, 980px);
	margin-inline: auto;
}

.mka-single-header {
	display: grid;
	gap: 16px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--mka-line);
}

.mka-single-title {
	font-size: 2.7rem;
}

.mka-entry-content {
	padding-top: 30px;
	color: #2f3c37;
	font-size: 1.05rem;
}

.mka-entry-content > * {
	margin-top: 0;
	margin-bottom: 1.25em;
}

.mka-entry-content h2,
.mka-entry-content h3,
.mka-entry-content h4 {
	margin-top: 1.8em;
	color: var(--mka-teal-dark);
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.16;
}

.mka-entry-content h2 {
	font-size: 2rem;
}

.mka-entry-content h3 {
	font-size: 1.55rem;
}

.mka-entry-content p {
	line-height: 1.78;
}

.mka-entry-content img,
.mka-entry-content figure {
	max-width: 100%;
	border-radius: 8px;
}

.mka-entry-content blockquote {
	margin: 1.6em 0;
	padding: 18px 20px;
	background: var(--mka-paper);
	border-left: 4px solid var(--mka-teal);
	border-radius: 8px;
	color: var(--mka-teal-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.24rem;
}

.mka-entry-content a {
	color: var(--mka-teal);
	font-weight: 750;
}

.mka-tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.mka-tag-list a {
	display: inline-flex;
	padding: 7px 10px;
	background: var(--mka-paper);
	border: 1px solid var(--mka-line);
	border-radius: 8px;
	color: var(--mka-teal-dark);
	font-size: 0.82rem;
	font-weight: 800;
	text-decoration: none;
}

.mka-post-nav {
	display: grid;
	gap: 12px;
	margin-top: 42px;
	padding-top: 30px;
	border-top: 1px solid var(--mka-line);
}

.mka-post-nav-item a {
	display: grid;
	gap: 5px;
	padding: 16px;
	background: var(--mka-paper);
	border: 1px solid var(--mka-line);
	border-radius: 8px;
	text-decoration: none;
}

.mka-post-nav-label {
	color: var(--mka-muted);
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
}

.mka-post-nav-title {
	color: var(--mka-teal-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
}

.mka-footer {
	position: relative;
	overflow: hidden;
	padding-block: 62px 28px;
	background:
		radial-gradient(circle at 12% 10%, rgba(168, 216, 198, 0.24), transparent 30%),
		radial-gradient(circle at 86% 0%, rgba(233, 144, 114, 0.18), transparent 28%),
		linear-gradient(135deg, #102c27 0%, #173f37 54%, #0f2925 100%);
	color: rgba(255, 255, 255, 0.86);
}

.mka-footer::before {
	position: absolute;
	inset: 0;
	content: "";
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 72%);
	pointer-events: none;
}

.mka-footer > .mka-shell {
	position: relative;
	z-index: 1;
}

.mka-footer-grid {
	display: grid;
	gap: 28px;
}

.mka-footer-title {
	display: inline-flex;
	margin-bottom: 12px;
	color: #ffffff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.35rem;
	text-decoration: none;
}

.mka-footer-text {
	max-width: 430px;
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
}

.mka-footer-heading,
.mka-footer-widget-title {
	margin: 0 0 12px;
	color: #ffffff;
	font-size: 0.95rem;
	line-height: 1.25;
}

.mka-footer-social {
	position: relative;
	padding: 20px;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 42px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(14px);
}

.mka-footer-social::after {
	position: absolute;
	right: 16px;
	top: 16px;
	width: 54px;
	height: 54px;
	content: "";
	background: radial-gradient(circle, rgba(168, 216, 198, 0.36), rgba(168, 216, 198, 0));
	border-radius: 50%;
	pointer-events: none;
}

.mka-footer-social-text {
	max-width: 320px;
	margin: 0 0 16px;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.94rem;
	line-height: 1.6;
}

.mka-social-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.mka-social-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	padding: 8px 10px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 8px;
	font-size: 0.86rem;
	font-weight: 800;
	text-decoration: none;
	transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.mka-social-link:hover,
.mka-social-link:focus {
	transform: translateY(-1px);
	background: rgba(168, 216, 198, 0.18);
	border-color: rgba(168, 216, 198, 0.36);
	outline: none;
}

.mka-social-icon {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
	background: linear-gradient(135deg, rgba(168, 216, 198, 0.9), rgba(255, 253, 247, 0.86));
	color: #143a33;
	border-radius: 8px;
	font-size: 0.72rem;
	font-weight: 900;
	line-height: 1;
}

.mka-social-label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mka-footer-menu {
	display: grid;
	gap: 8px;
}

.mka-footer-menu .mka-menu-link,
.mka-footer-menu a,
.mka-footer .mka-topic-pill {
	color: rgba(255, 255, 255, 0.82);
}

.mka-footer .mka-topic-list {
	align-items: flex-start;
}

.mka-footer .mka-topic-pill {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.12);
}

.mka-footer .mka-topic-pill:hover,
.mka-footer .mka-topic-pill:focus {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

.mka-footer-widget {
	color: rgba(255, 255, 255, 0.76);
}

.mka-footer-bottom {
	margin-top: 36px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.58);
	font-size: 0.86rem;
}

.mka-footer-bottom p {
	margin: 0;
}

@media (max-width: 520px) {
	.mka-shell {
		width: min(100% - 24px, var(--mka-shell));
	}

	.mka-brand-tagline {
		display: none;
	}

	.mka-hero {
		min-height: 620px;
	}

	.mka-hero::after {
		background: rgba(251, 248, 239, 0.82);
	}

	.mka-hero-inner {
		align-items: end;
		padding-block: 96px 42px;
	}

	.mka-hero-title {
		max-width: 100%;
		font-size: 2.35rem;
	}

	.mka-hero-text {
		font-size: 1rem;
	}

	.mka-button {
		width: 100%;
	}

	.mka-section-title {
		font-size: 1.9rem;
	}

	.mka-section-head {
		padding: 18px;
	}

	.mka-empty {
		padding: 18px;
	}

	.mka-empty h2 {
		font-size: 1.75rem;
	}

	.mka-empty-card {
		max-width: calc(100% - 36px);
	}

	.mka-single-wrap {
		width: 80vw;
	}

	.mka-single-title {
		font-size: 2.15rem;
	}
}

@media (min-width: 700px) {
	.mka-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mka-post-card:first-child {
		grid-column: 1 / -1;
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	}

	.mka-post-card:first-child .mka-card-media {
		aspect-ratio: auto;
		min-height: 100%;
	}

	.mka-post-nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	body.mka-menu-open {
		overflow: auto;
	}

	.mka-menu-toggle {
		display: none;
	}

	.mka-navigation {
		position: static;
		display: block;
		max-height: none;
		overflow: visible;
		padding: 0;
		background: transparent;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.mka-menu {
		display: flex;
		align-items: center;
		gap: 4px;
	}

	.mka-menu-link {
		min-height: 40px;
		padding: 8px 10px;
		font-size: 0.9rem;
	}

	.mka-menu-item-parent {
		position: relative;
	}

	.mka-sub-menu {
		position: absolute;
		top: calc(100% + 8px);
		left: 0;
		display: none;
		min-width: 210px;
		padding: 8px;
		background: var(--mka-paper);
		border: 1px solid var(--mka-line);
		border-radius: 8px;
		box-shadow: var(--mka-shadow);
	}

	.mka-menu-item-parent:hover > .mka-sub-menu,
	.mka-menu-item-parent:focus-within > .mka-sub-menu {
		display: grid;
	}

	.mka-hero-title {
		font-size: 4.6rem;
	}

	.mka-section {
		padding-block: 82px;
	}

	.mka-section-head {
		grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
		align-items: end;
	}

	.mka-section-head-simple {
		grid-template-columns: 1fr;
	}

	.mka-empty {
		grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
		align-items: center;
		padding: 36px;
	}

	.mka-section-title {
		font-size: 3rem;
	}

	.mka-post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 22px;
	}

	.mka-post-card:first-child {
		grid-column: span 2;
	}

	.mka-footer-grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(190px, 0.48fr) minmax(300px, 0.78fr);
		align-items: start;
	}
}

@media (min-width: 1180px) {
	.mka-hero {
		min-height: 720px;
	}

	.mka-card-body {
		padding: 24px;
	}
}
