/*
Theme Name: Ochreline
Theme URI: https://www.vuonchonha.com
Author: Lê Hoàng Nam
Author URI: https://www.vuonchonha.com
Description: A grounded editorial design with deep green gradients, earthy accents, generous curves and quiet textured surfaces.
Version: 2.4.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--bg: #f6f0e3;
	--fg: #2b2925;
	--muted: #6f6a5e;
	--border: #ddd2bd;
	--radius: 18px;
	--shadow: 0 1px 2px rgba(43, 41, 37, 0.06);
	--accent: #b97a24;
	--green: #1e3d2a;
	--green-soft: #2d5a3d;
	--green-tint: #e6ecdc;
	--cream-deep: #efe6d1;
	--media-ratio: 16 / 9;
	--thumb-ratio: 4 / 3;
	--serif: "Noto Serif", Georgia, "Times New Roman", serif;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--bg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0.42 0 0 0 0 0.38 0 0 0 0 0.30 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23g)'/%3E%3C/svg%3E");
	color: var(--fg);
	font-family: var(--serif);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

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

a {
	color: var(--green-soft);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
	color: var(--accent);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--serif);
	line-height: 1.3;
	color: var(--green);
	margin: 1.4em 0 0.6em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.25rem; }

blockquote {
	margin: 1.6em 0;
	padding: 0.4em 1.4em;
	border-left: 3px solid var(--accent);
	background: var(--cream-deep);
	border-radius: 0 var(--radius) var(--radius) 0;
	color: var(--fg);
}

code, pre {
	font-family: Georgia, serif;
	background: var(--cream-deep);
	border-radius: 8px;
}

pre {
	padding: 1em 1.2em;
	overflow-x: auto;
	border: 1px solid var(--border);
}

table {
	border-collapse: collapse;
	width: 100%;
	margin: 1.4em 0;
}

th, td {
	border: 1px solid var(--border);
	padding: 0.55em 0.8em;
	text-align: left;
}

th {
	background: var(--green-tint);
}

/* ---------- Header (dark gradient) ---------- */

.tkzmv-site-header {
	background: linear-gradient(155deg, #17301f 0%, #1e3d2a 55%, #2d5a3d 100%);
	border-bottom: 4px solid var(--accent);
	box-shadow: 0 2px 10px rgba(23, 48, 31, 0.25);
	position: relative;
	z-index: 30;
}

.tkzmv-header-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0.85rem 1.4rem;
	display: flex;
	align-items: center;
	gap: 0.4rem 1.2rem;
	flex-wrap: wrap;
}

.tkzmv-brand {
	flex-shrink: 0;
	order: 1;
}

.tkzmv-site-name {
	margin: 0;
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.tkzmv-site-name a {
	color: #f3ecd9;
	text-decoration: none;
}

.tkzmv-site-name a:hover,
.tkzmv-site-name a:focus-visible {
	color: #e9c98a;
}

.tkzmv-brand .custom-logo-link img {
	max-height: 52px;
	width: auto;
}

.tkzmv-nav {
	order: 4;
}

.tkzmv-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.2rem;
}

.tkzmv-menu li {
	position: relative;
}

.tkzmv-menu a {
	display: block;
	padding: 0.5em 0.85em;
	color: #ece4cd;
	text-decoration: none;
	font-size: 0.95rem;
	white-space: nowrap;
	border-radius: 12px;
}

.tkzmv-menu a:hover,
.tkzmv-menu a:focus-visible {
	background: rgba(246, 240, 227, 0.12);
	color: #fff;
}

.tkzmv-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.5rem;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	min-width: 240px;
	background: #fbf7ec;
	border: 1px solid var(--border);
	border-top: 3px solid var(--accent);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: 0 14px 30px rgba(23, 48, 31, 0.22);
	display: none;
	z-index: 40;
}

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

.tkzmv-menu .sub-menu a {
	color: var(--fg);
	padding: 0.5em 0.8em;
	font-size: 0.92rem;
}

.tkzmv-menu .sub-menu a:hover,
.tkzmv-menu .sub-menu a:focus-visible {
	background: var(--green-tint);
	color: var(--green);
}

.tkzmv-nav-toggle {
	display: none;
	order: 3;
	background: transparent;
	border: 1px solid rgba(246, 240, 227, 0.4);
	border-radius: 12px;
	padding: 0.55em 0.7em;
	cursor: pointer;
}

.tkzmv-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #f3ecd9;
	margin: 5px 0;
	border-radius: 2px;
}

.tkzmv-search-box {
	position: relative;
	flex-shrink: 0;
	order: 2;
	margin-left: auto;
}

.tkzmv-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid rgba(246, 240, 227, 0.4);
	border-radius: 50%;
	color: #f3ecd9;
	cursor: pointer;
}

.tkzmv-search-toggle:hover,
.tkzmv-search-toggle:focus-visible,
.tkzmv-search-toggle[aria-expanded="true"] {
	background: rgba(246, 240, 227, 0.12);
	color: #fff;
}

.tkzmv-search-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	width: min(320px, 80vw);
	background: #fbf7ec;
	border: 1px solid var(--border);
	border-top: 3px solid var(--accent);
	border-radius: var(--radius);
	box-shadow: 0 14px 30px rgba(23, 48, 31, 0.22);
	padding: 0.9rem;
	z-index: 45;
}

/* ---------- Search form ---------- */

.search-form {
	display: flex;
	gap: 0.5rem;
	align-items: stretch;
}

.search-field {
	flex: 1;
	min-width: 0;
	font-family: var(--serif);
	font-size: 0.95rem;
	padding: 0.55em 0.9em;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: #fffdf7;
	color: var(--fg);
}

.search-field:focus {
	outline: 2px solid var(--green-soft);
	outline-offset: 1px;
}

.search-submit {
	font-family: var(--serif);
	font-size: 0.95rem;
	padding: 0.55em 1.1em;
	border: 1px solid var(--green);
	border-radius: 14px;
	background: var(--green);
	color: #f3ecd9;
	cursor: pointer;
}

.search-submit:hover,
.search-submit:focus-visible {
	background: var(--green-soft);
	border-color: var(--green-soft);
}

/* ---------- Layout skeleton (right sidebar) ---------- */

.tkzmv-main {
	max-width: 1180px;
	margin: 0 auto;
	padding: 1.8rem 1.4rem 3rem;
}

.tkzmv-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 2.4rem;
	align-items: start;
}

.tkzmv-content {
	min-width: 0;
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1.4rem;
}

.tkzmv-main .breadcrumb {
	padding: 0;
	margin-bottom: 1.2rem;
}

.breadcrumb .trail {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35em;
	font-size: 0.85rem;
	color: var(--muted);
}

.breadcrumb .crumb::after {
	content: "›";
	margin-left: 0.35em;
	color: var(--border);
}

.breadcrumb .crumb:last-child::after {
	content: "";
}

.breadcrumb .crumb a {
	color: var(--muted);
	text-decoration: none;
	border-bottom: 1px dashed var(--border);
}

.breadcrumb .crumb a:hover {
	color: var(--accent);
}

/* ---------- Homepage hero (featured-post highlight) ---------- */

.tkzmv-hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 0;
	background: var(--green-tint);
	border: 1px solid var(--border);
	border-radius: 20px 18px 22px 16px;
	overflow: hidden;
	margin-bottom: 2.2rem;
	box-shadow: var(--shadow);
}

.tkzmv-hero-media {
	position: relative;
	min-height: 260px;
}

.tkzmv-hero-media img,
.tkzmv-hero-media .tkzmv-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: var(--media-ratio);
}

.tkzmv-hero-body {
	padding: 1.8rem 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-left: 3px dashed var(--border);
}

.tkzmv-hero-kicker {
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 0.6rem;
}

.tkzmv-hero-title {
	margin: 0 0 0.7rem;
	font-size: 1.7rem;
}

.tkzmv-hero-title a {
	color: var(--green);
	text-decoration: none;
}

.tkzmv-hero-title a:hover {
	color: var(--accent);
}

.tkzmv-hero-excerpt {
	color: var(--fg);
	margin: 0 0 0.9rem;
}

.tkzmv-hero-meta {
	font-size: 0.82rem;
	color: var(--muted);
}

/* ---------- Post list rows ---------- */

.tkzmv-row {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 1.3rem;
	padding: 1.3rem 0;
	border-bottom: 1px dashed var(--border);
}

.tkzmv-row:first-of-type {
	padding-top: 0.4rem;
}

.tkzmv-row-media .tkzmv-thumb {
	width: 100%;
	aspect-ratio: var(--thumb-ratio);
	object-fit: cover;
	border-radius: 16px 18px 14px 17px;
	border: 1px solid var(--border);
}

.tkzmv-row-title {
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
}

.tkzmv-row-title a {
	color: var(--green);
	text-decoration: none;
}

.tkzmv-row-title a:hover {
	color: var(--accent);
}

.tkzmv-row-meta {
	font-size: 0.82rem;
	color: var(--muted);
	margin-bottom: 0.4rem;
}

.tkzmv-row-excerpt {
	margin: 0;
	color: var(--fg);
	font-size: 0.95rem;
}

.tkzmv-row-more {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.88rem;
	text-decoration: none;
	border-bottom: 1px dashed var(--accent);
}

/* ---------- Archive headers ---------- */

.tkzmv-archive-head {
	border-bottom: 3px dashed var(--border);
	padding-bottom: 1rem;
	margin-bottom: 0.6rem;
}

.tkzmv-archive-title {
	margin: 0 0 0.3rem;
}

.tkzmv-archive-desc {
	color: var(--muted);
	font-size: 0.95rem;
}

.tkzmv-archive-desc p {
	margin: 0.4em 0;
}

/* ---------- Pagination ---------- */

.tkzmv-pagination {
	margin-top: 2rem;
}

.tkzmv-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.tkzmv-pagination .page-numbers {
	display: inline-block;
	padding: 0.4em 0.9em;
	border: 1px solid var(--border);
	border-radius: 12px;
	background: #fbf7ec;
	color: var(--fg);
	text-decoration: none;
	font-size: 0.9rem;
}

.tkzmv-pagination .page-numbers.current {
	background: var(--green);
	border-color: var(--green);
	color: #f3ecd9;
}

.tkzmv-pagination a.page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* ---------- Single post ---------- */

.tkzmv-article {
	background: #fbf7ec;
	border: 1px solid var(--border);
	border-radius: 20px 17px 22px 18px;
	padding: 2.2rem 2.4rem;
	box-shadow: var(--shadow);
}

.tkzmv-entry-title {
	margin-top: 0;
}

.tkzmv-entry-meta {
	font-size: 0.85rem;
	color: var(--muted);
	margin-bottom: 1.4rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em 1.2em;
}

.tkzmv-entry-meta a {
	color: var(--muted);
	text-decoration: none;
	border-bottom: 1px dashed var(--border);
}

.tkzmv-entry-meta a:hover {
	color: var(--accent);
}

.tkzmv-author-link {
	color: var(--green-soft);
}

.tkzmv-featured {
	margin: 0 0 1.6rem;
}

.tkzmv-featured img {
	width: 100%;
	aspect-ratio: var(--media-ratio);
	object-fit: cover;
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

.tkzmv-featured figcaption {
	font-size: 0.82rem;
	color: var(--muted);
	padding-top: 0.5rem;
	text-align: center;
}

.tkzmv-entry-content {
	overflow-wrap: break-word;
}

.tkzmv-entry-content > *:first-child {
	margin-top: 0;
}

.tkzmv-table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.4em 0;
}

.tkzmv-table-scroll table {
	margin: 0;
}

.tkzmv-entry-content a {
	border-bottom: 1px dashed var(--accent);
	text-decoration: none;
}

.tkzmv-entry-content .wp-block-image img,
.tkzmv-entry-content img {
	border-radius: 14px;
}

.tkzmv-page-links {
	margin: 1.4rem 0;
	font-size: 0.9rem;
}

/* ---------- Article note ---------- */

.tkzmv-note {
	margin: 1.8rem 0;
	padding: 1rem 1.4rem;
	background: var(--cream-deep);
	border: 1px dashed var(--accent);
	border-radius: 16px 18px 14px 17px;
	font-size: 0.92rem;
	color: var(--fg);
}

/* ---------- Tags ---------- */

.tkzmv-tags {
	margin: 1.8rem 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.tkzmv-tags a {
	display: inline-block;
	padding: 0.3em 0.95em;
	font-size: 0.82rem;
	background: var(--green-tint);
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--green);
	text-decoration: none;
}

.tkzmv-tags a:hover {
	border-color: var(--accent);
	color: var(--accent);
}

/* ---------- Author bio ---------- */

.tkzmv-bio {
	display: flex;
	gap: 1.1rem;
	align-items: flex-start;
	margin: 2rem 0 0;
	padding: 1.3rem 1.5rem;
	background: var(--green-tint);
	border: 1px solid var(--border);
	border-radius: 18px 20px 16px 19px;
}

.tkzmv-bio .avatar {
	border-radius: 50%;
	border: 2px solid var(--accent);
	flex-shrink: 0;
}

.tkzmv-bio-name {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
}

.tkzmv-bio p {
	margin: 0;
	font-size: 0.92rem;
	color: var(--fg);
}

/* ---------- Related posts ---------- */

.tkzmv-related {
	margin-top: 2.2rem;
	border-top: 3px dashed var(--border);
	padding-top: 1.4rem;
}

.tkzmv-related-title {
	margin: 0 0 1rem;
	font-size: 1.2rem;
}

.tkzmv-related-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tkzmv-related-list li {
	background: var(--green-tint);
	border: 1px solid var(--border);
	border-radius: 16px 18px 14px 17px;
	padding: 0.9rem 1rem;
}

.tkzmv-related-list a {
	color: var(--green);
	text-decoration: none;
	font-size: 0.92rem;
	line-height: 1.45;
	display: block;
}

.tkzmv-related-list a:hover {
	color: var(--accent);
}

.tkzmv-related-date {
	display: block;
	font-size: 0.78rem;
	color: var(--muted);
	margin-top: 0.35rem;
}

/* ---------- Comments ---------- */

.tkzmv-comments {
	margin-top: 2.4rem;
}

.tkzmv-comments-title {
	border-bottom: 3px dashed var(--border);
	padding-bottom: 0.6rem;
}

.tkzmv-comment-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tkzmv-comment-list .children {
	list-style: none;
	margin: 0;
	padding-left: 1.6rem;
	border-left: 1px dashed var(--border);
}

.tkzmv-comment {
	margin: 1.1rem 0;
}

.tkzmv-comment-body {
	background: #fbf7ec;
	border: 1px solid var(--border);
	border-radius: 16px 18px 14px 17px;
	padding: 1.1rem 1.3rem;
}

.tkzmv-comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 1rem;
	margin-bottom: 0.5rem;
	font-size: 0.82rem;
	color: var(--muted);
}

.tkzmv-comment-author {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.tkzmv-comment-author .avatar {
	border-radius: 50%;
	border: 1px solid var(--border);
}

.tkzmv-comment-name {
	font-weight: 700;
	color: var(--green);
	font-size: 0.95rem;
}

.tkzmv-comment-date {
	color: var(--muted);
	text-decoration: none;
}

.tkzmv-comment-content {
	font-size: 0.95rem;
}

.tkzmv-comment-content p {
	margin: 0.5em 0;
}

.tkzmv-comment-awaiting {
	font-size: 0.85rem;
	color: var(--accent);
	font-style: italic;
}

.tkzmv-comment-reply {
	margin-top: 0.5rem;
	font-size: 0.85rem;
}

.tkzmv-comment-reply a {
	text-decoration: none;
	border-bottom: 1px dashed var(--accent);
}

.tkzmv-comments .comment-navigation {
	margin: 1rem 0;
}

.comment-respond {
	margin-top: 2rem;
	background: var(--cream-deep);
	border: 1px solid var(--border);
	border-radius: 18px 20px 16px 19px;
	padding: 1.5rem 1.7rem;
}

.comment-respond .comment-reply-title {
	margin-top: 0;
}

.comment-form label {
	display: block;
	font-size: 0.88rem;
	margin-bottom: 0.3rem;
	color: var(--fg);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	font-family: var(--serif);
	font-size: 0.95rem;
	padding: 0.55em 0.9em;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: #fffdf7;
	color: var(--fg);
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: 2px solid var(--green-soft);
	outline-offset: 1px;
}

.comment-form .submit {
	font-family: var(--serif);
	font-size: 0.95rem;
	padding: 0.6em 1.5em;
	border: 1px solid var(--green);
	border-radius: 14px;
	background: var(--green);
	color: #f3ecd9;
	cursor: pointer;
}

.comment-form .submit:hover {
	background: var(--green-soft);
}

/* ---------- Sidebar ---------- */

.tkzmv-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}

.tkzmv-widget {
	background: var(--green-tint);
	border: 1px solid var(--border);
	border-radius: 18px 20px 16px 19px;
	padding: 1.3rem 1.4rem;
	box-shadow: var(--shadow);
}

.tkzmv-widget-title {
	margin: 0 0 0.8rem;
	font-size: 1.05rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px dashed var(--accent);
}

.tkzmv-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tkzmv-widget ul li {
	padding: 0.3em 0;
	border-bottom: 1px dashed var(--border);
	font-size: 0.92rem;
}

.tkzmv-widget ul li:last-child {
	border-bottom: 0;
}

.tkzmv-widget ul li a {
	color: var(--fg);
	text-decoration: none;
}

.tkzmv-widget ul li a:hover {
	color: var(--accent);
}

.tkzmv-widget .search-form {
	margin-top: 0.2rem;
}

.tkzmv-widget .search-field {
	width: 100%;
}

/* ---------- Footer (grouped link blocks) ---------- */

.tkzmv-site-footer {
	background: linear-gradient(200deg, #2d5a3d 0%, #1e3d2a 55%, #17301f 100%);
	border-top: 4px solid var(--accent);
	color: #e8dfc6;
	margin-top: 2rem;
}

.tkzmv-footer-inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 2.6rem 1.4rem 1.8rem;
}

.tkzmv-foot-groups {
	list-style: none;
	margin: 0 0 2rem;
	padding: 0 0 1.8rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.6rem;
	border-bottom: 1px dashed rgba(246, 240, 227, 0.25);
}

.tkzmv-foot-heading {
	display: block;
	font-weight: 700;
	font-size: 1rem;
	color: #f3ecd9;
	margin-bottom: 0.7rem;
	padding-bottom: 0.4rem;
	border-bottom: 2px dashed rgba(233, 201, 138, 0.5);
	text-decoration: none;
}

a.tkzmv-foot-heading:hover {
	color: #e9c98a;
}

.tkzmv-foot-groups .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tkzmv-foot-item {
	padding: 0.28em 0;
}

.tkzmv-foot-item a {
	color: #d8cfb4;
	text-decoration: none;
	font-size: 0.9rem;
	border-bottom: 1px dashed transparent;
}

.tkzmv-foot-item a:hover,
.tkzmv-foot-item a:focus-visible {
	color: #e9c98a;
	border-bottom-color: rgba(233, 201, 138, 0.6);
}

.tkzmv-foot-note {
	margin: 0 0 0.7rem;
	font-size: 0.85rem;
	color: #c9bfa2;
}

.tkzmv-copy {
	margin: 0;
	font-size: 0.85rem;
	color: #c9bfa2;
}

/* ---------- Page / misc ---------- */

.tkzmv-empty {
	background: var(--cream-deep);
	border: 1px dashed var(--border);
	border-radius: var(--radius);
	padding: 1.8rem 2rem;
	text-align: center;
	color: var(--muted);
}

.tkzmv-404 {
	text-align: center;
	padding: 2.5rem 1rem;
}

.tkzmv-404-title {
	font-size: 3rem;
	margin: 0 0 0.6rem;
	color: var(--green);
}

.tkzmv-404 .search-form {
	max-width: 420px;
	margin: 1.4rem auto 0;
}

.tkzmv-search-head {
	border-bottom: 3px dashed var(--border);
	padding-bottom: 1rem;
	margin-bottom: 0.6rem;
}

.sticky .tkzmv-row-title::before {
	content: "●";
	color: var(--accent);
	margin-right: 0.35em;
	font-size: 0.7em;
	vertical-align: middle;
}

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

.alignleft { float: left; margin: 0.4em 1.2em 0.6em 0; }
.alignright { float: right; margin: 0.4em 0 0.6em 1.2em; }
.aligncenter { display: block; margin: 1.2em auto; }

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 0.82rem;
	color: var(--muted);
	text-align: center;
	padding-top: 0.4rem;
}

/* ---------- Responsive ---------- */

/* Desktop: deliberate two-row header — brand+search row, then full-width nav row */
@media (min-width: 1101px) {
	.tkzmv-nav {
		flex-basis: 100%;
		border-top: 1px dashed rgba(246, 240, 227, 0.28);
		margin-top: 0.45rem;
		padding-top: 0.5rem;
		padding-bottom: 0.15rem;
	}

	.tkzmv-menu {
		flex-wrap: wrap;
		justify-content: center;
		gap: 0 1.4rem;
	}

	.tkzmv-menu .sub-menu.is-edge {
		left: auto;
		right: 0;
		transform: none;
	}

	.tkzmv-menu .sub-menu.is-edge-l {
		left: 0;
		transform: none;
	}
}

@media (max-width: 1100px) {
	.tkzmv-header-inner {
		flex-wrap: nowrap;
	}

	.tkzmv-nav-toggle {
		display: block;
	}

	.tkzmv-search-panel {
		width: min(300px, 86vw);
	}

	.tkzmv-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: linear-gradient(180deg, #1e3d2a, #17301f);
		border-bottom: 4px solid var(--accent);
		padding: 0.8rem 1.4rem 1.2rem;
		margin-left: 0;
	}

	.tkzmv-nav.is-open {
		display: block;
	}

	.tkzmv-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.tkzmv-menu a {
		padding: 0.7em 0.4em;
		border-radius: 8px;
		white-space: normal;
	}

	.tkzmv-menu .sub-menu {
		position: static;
		display: none;
		left: auto;
		transform: none;
		box-shadow: none;
		background: rgba(246, 240, 227, 0.06);
		border: 1px dashed rgba(246, 240, 227, 0.3);
		border-radius: 12px;
		margin: 0.2rem 0 0.4rem 0.8rem;
	}

	.tkzmv-menu li.is-open > .sub-menu {
		display: block;
	}

	.tkzmv-menu .sub-menu a {
		color: #ece4cd;
	}

	.tkzmv-menu .sub-menu a:hover {
		background: rgba(246, 240, 227, 0.12);
		color: #fff;
	}

	.tkzmv-menu li.is-open > a {
		color: #e9c98a;
	}
}

@media (max-width: 960px) {
	.tkzmv-layout {
		grid-template-columns: 1fr;
	}

	.tkzmv-sidebar {
		margin-top: 1rem;
	}

	.tkzmv-hero {
		grid-template-columns: 1fr;
	}

	.tkzmv-hero-body {
		border-left: 0;
		border-top: 3px dashed var(--border);
	}

	.tkzmv-article {
		padding: 1.5rem 1.3rem;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	h1 {
		font-size: 1.7rem;
	}

	.tkzmv-hero-title {
		font-size: 1.35rem;
	}

	.tkzmv-site-name {
		font-size: 1.2rem;
	}

	.tkzmv-row {
		grid-template-columns: 110px minmax(0, 1fr);
		gap: 0.9rem;
	}
}
