/*
Theme Name: Zigzag
Theme URI: https://wordpress.org/themes/
Author: Zigzag
Description: An energetic timeline blogging theme for guest-post sites. Recent posts alternate left and right along a colourful centre line, with a right sidebar of Categories, Pages and 10 shuffled posts (image, title, 100-word preview) that change on every visit. Self-hosted fonts, no theme JavaScript.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 7.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zigzag
Update URI: false
Tags: blog, news, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, theme-options
*/

/* Fonts (self-hosted, no Google requests) */
@font-face {
	font-family: "Baloo 2";
	src: url("assets/fonts/baloo-2.woff2") format("woff2");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Mulish";
	src: url("assets/fonts/mulish.woff2") format("woff2");
	font-weight: 200 900;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Base (shared structure; the theme section below sets the look)
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--zz-bg);
	color: var(--zz-ink);
	font-family: var(--zz-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, video, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.5em;
	font-family: var(--zz-display);
	line-height: 1.15;
	text-wrap: balance;
}

:focus-visible { outline: 3px solid var(--zz-focus, currentColor); outline-offset: 3px; border-radius: 4px; }

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

.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,
.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	left: 12px;
	top: 12px;
	z-index: 1000;
	padding: 12px 18px;
	background: var(--zz-accent);
	color: var(--zz-on-accent);
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
}

/* Buttons */
.zz-btn,
.comment-form .submit {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.7em 1.25em;
	background: var(--zz-accent);
	color: var(--zz-on-accent);
	border: 0;
	border-radius: var(--zz-btn-radius, 8px);
	font-family: var(--zz-display);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.zz-btn:hover,
.comment-form .submit:hover { transform: translateY(-2px); }

/* Mobile menu toggle (pure CSS checkbox) */
.zz-nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.zz-nav-button { display: none; }
.zz-burger { position: relative; width: 18px; height: 12px; }
.zz-burger::before,
.zz-burger::after,
.zz-burger span {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}
.zz-burger::before { top: 0; }
.zz-burger span { top: 5px; }
.zz-burger::after { top: 10px; }
.zz-nav-toggle:checked + .zz-nav-button .zz-burger::before { transform: translateY(5px) rotate(45deg); }
.zz-nav-toggle:checked + .zz-nav-button .zz-burger span { opacity: 0; }
.zz-nav-toggle:checked + .zz-nav-button .zz-burger::after { transform: translateY(-5px) rotate(-45deg); }
.zz-nav-toggle:focus-visible + .zz-nav-button { outline: 3px solid currentColor; outline-offset: 3px; }

.zz-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.zz-menu li { position: relative; }
.zz-menu a { display: block; text-decoration: none; }
.zz-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 60;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.zz-menu li:hover > .sub-menu,
.zz-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* Thumbnails */
.zz-thumb {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	text-decoration: none;
	background: var(--zz-soft);
}
.zz-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
a.zz-thumb:hover img { transform: scale(1.04); }
.zz-thumb__fallback {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: var(--zz-tone, var(--zz-soft));
	font-family: var(--zz-display);
	font-weight: 700;
	font-size: clamp(2.6rem, 7vw, 4.2rem);
	line-height: 1;
	color: var(--zz-tone-ink, var(--zz-ink));
}

/* Chips + meta */
.zz-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.zz-chip { text-decoration: none; }
.zz-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; color: var(--zz-muted); font-size: 0.88rem; }
.zz-meta__item + .zz-meta__item::before { content: "·"; margin: 0 8px; }
.zz-meta a { color: var(--zz-ink); font-weight: 700; text-decoration: none; }
.zz-meta a:hover { text-decoration: underline; }
.zz-meta__avatar { width: 40px; height: 40px; margin-right: 10px; border-radius: 50%; }

/* Lists in boxes */
.zz-catlist,
.zz-pagelist,
.zz-randlist { margin: 0; padding: 0; list-style: none; }
.zz-pagelist .children { display: none; }
.zz-cat,
.zz-pagelist a { text-decoration: none; }
.zz-randlist,
.zz-rand,
.zz-rand__media { position: relative; }
.zz-rand__title { margin: 0 0 6px; }
.zz-rand__title a,
.zz-card__title a,
.zz-full__title a { text-decoration: none; }
.zz-rand__text { margin: 0 0 8px; }
.zz-rand__more { font-weight: 700; }
.widget.zz-box > :not(.zz-box__title) { margin: 16px 18px; }
.widget.zz-box ul { padding-left: 1.1em; }

/* Article content */
.zz-entry { font-size: 1.075rem; line-height: 1.78; overflow-wrap: break-word; }
.zz-entry > * { margin-block: 0 1.15em; }
.zz-entry > *:last-child { margin-bottom: 0; }
.zz-entry h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); margin-top: 1.6em; }
.zz-entry h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin-top: 1.5em; }
.zz-entry h4 { font-size: 1.15rem; margin-top: 1.4em; }
.zz-entry a { color: var(--zz-link, var(--zz-ink)); font-weight: 600; text-decoration: underline; text-decoration-color: var(--zz-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.zz-entry a:hover { text-decoration-thickness: 4px; }
.zz-entry ul,
.zz-entry ol { padding-left: 1.4em; }
.zz-entry li { margin-bottom: 0.4em; }
.zz-entry li::marker { color: var(--zz-accent); }
.zz-entry blockquote { margin-inline: 0; }
.zz-entry blockquote p:last-child { margin-bottom: 0; }
.zz-entry blockquote cite { display: block; margin-top: 10px; font-size: 0.9rem; font-style: normal; color: var(--zz-muted); }
.zz-entry img { border-radius: var(--zz-img-radius, 8px); }
.zz-entry figure { margin-inline: 0; }
.zz-entry figcaption,
.wp-caption-text,
.wp-element-caption { margin-top: 8px; color: var(--zz-muted); font-size: 0.88rem; text-align: center; }
.zz-entry code,
.zz-entry kbd { padding: 0.12em 0.4em; background: var(--zz-soft); border-radius: 6px; font-family: var(--zz-mono); font-size: 0.88em; }
.zz-entry pre { padding: 20px 22px; background: #15131c; color: #f3f0e8; border-radius: 10px; overflow-x: auto; font-family: var(--zz-mono); font-size: 0.9rem; line-height: 1.6; }
.zz-entry pre code { padding: 0; background: none; color: inherit; }
.zz-entry table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.zz-entry th,
.zz-entry td { padding: 10px 12px; border: 1px solid var(--zz-line); text-align: left; }
.zz-entry th { background: var(--zz-soft); }
.zz-entry .wp-block-table { overflow-x: auto; }
.zz-entry hr { border: 0; height: 1px; background: var(--zz-line); margin: 2.4em 0; }
.zz-entry .more-link { display: inline-block; margin-top: 4px; font-family: var(--zz-display); font-weight: 700; }
.zz-pagelinks { margin-top: 22px; font-weight: 700; }
.zz-pagelinks a,
.zz-pagelinks > span:not(:first-child) { margin-left: 6px; }

.zz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.zz-tags a { padding: 0.3em 0.75em; border-radius: 6px; background: var(--zz-soft); font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.zz-tags a::before { content: "#"; color: var(--zz-accent); margin-right: 1px; }

/* WordPress core classes */
.alignleft { float: left; margin: 0.3em 1.4em 1em 0; }
.alignright { float: right; margin: 0.3em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide,
.alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.gallery-caption { font-size: 0.85rem; }
.sticky { position: relative; }
.bypostauthor > .comment-body { outline: 2px solid var(--zz-accent); }

/* Single post */
.zz-single__thumb { margin: 0; }
.zz-single__thumb img { display: block; width: 100%; height: auto; }
.zz-single .zz-tags { margin-top: 30px; }
.zz-author { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; margin-top: 32px; padding: 22px; }
.zz-author__avatar { width: 88px; height: 88px; border-radius: 50%; }
.zz-author__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--zz-muted); }
.zz-author__name { margin: 2px 0 6px; font-size: 1.35rem; }
.zz-author__name a { text-decoration: none; }
.zz-author__bio { margin: 0 0 8px; font-size: 0.98rem; color: var(--zz-muted); }
.zz-author__site { font-weight: 700; font-size: 0.92rem; }
@media (max-width: 520px) {
	.zz-author { grid-template-columns: 1fr; }
	.zz-author__avatar { width: 64px; height: 64px; }
}

.zz-postnav { margin-top: 36px; }
.zz-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.zz-postnav .nav-next { grid-column: 2; text-align: right; }
.zz-postnav a { display: block; height: 100%; padding: 18px 20px; text-decoration: none; }
.zz-postnav__label { display: block; margin-bottom: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--zz-muted); }
.zz-postnav__title { font-family: var(--zz-display); font-weight: 700; line-height: 1.3; }
@media (max-width: 640px) {
	.zz-postnav .nav-links { grid-template-columns: 1fr; }
	.zz-postnav .nav-next { grid-column: auto; }
}

/* Pagination */
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding: 0 12px;
	font-family: var(--zz-display);
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.page-numbers.dots { background: transparent !important; border-color: transparent !important; }

/* Archive header */
.zz-archive-head { margin-bottom: 32px; }
.zz-archive-head__title { margin: 10px 0 8px; font-size: clamp(2.1rem, 5vw, 3.2rem); }
.zz-archive-head__desc { color: var(--zz-muted); max-width: 60ch; }
.zz-archive-head .zz-search { margin-top: 18px; max-width: 520px; }

/* Search + comments */
.zz-search { display: flex; gap: 8px; }
.zz-search__input,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: var(--zz-paper);
	color: var(--zz-ink);
	border: 1px solid var(--zz-line);
	border-radius: var(--zz-input-radius, 8px);
	font: inherit;
	font-size: 1rem;
}
.zz-search__input:focus,
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--zz-accent); box-shadow: 0 0 0 3px var(--zz-ring, rgba(0, 0, 0, 0.12)); }
.zz-search__btn {
	flex: none;
	display: grid;
	place-items: center;
	width: 50px;
	background: var(--zz-accent);
	color: var(--zz-on-accent);
	border: 0;
	border-radius: var(--zz-input-radius, 8px);
	cursor: pointer;
}

.zz-comments { margin-top: 44px; }
.zz-comments__title { font-size: 1.6rem; margin-bottom: 20px; }
.zz-comment-list,
.zz-comment-list .children { margin: 0; padding: 0; list-style: none; }
.zz-comment-list .children { margin-left: clamp(14px, 4vw, 34px); }
.comment-body { margin-bottom: 16px; padding: 18px 20px; background: var(--zz-paper); border: 1px solid var(--zz-line); border-radius: var(--zz-radius); }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--zz-display); font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { margin: 4px 0 10px; font-size: 0.82rem; }
.comment-metadata a { color: var(--zz-muted); text-decoration: none; }
.comment-content { font-size: 1rem; }
.reply a { font-size: 0.85rem; font-weight: 700; }
.comment-respond { padding: clamp(20px, 4vw, 30px); background: var(--zz-paper); border: 1px solid var(--zz-line); border-radius: var(--zz-radius); }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 600; font-size: 0.92rem; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-reply-title small { margin-left: 10px; font-size: 0.85rem; }

/* 404 + empty */
.zz-404,
.zz-empty { padding: clamp(28px, 5vw, 48px); text-align: center; background: var(--zz-paper); border-radius: var(--zz-radius); }
.zz-404__num { margin: 0; font-family: var(--zz-display); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--zz-accent); }
.zz-404 .zz-search,
.zz-empty .zz-search { max-width: 460px; margin: 18px auto 22px; }

/* Footer widgets */
.zz-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; padding-bottom: 32px; margin-bottom: 32px; }
.zz-footer-widget ul { padding-left: 1.1em; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { transition: none !important; animation: none !important; }
}


/* ==========================================================================
   Zigzag look
   ========================================================================== */
:root {
	--zz-bg: #fffaf4;
	--zz-paper: #ffffff;
	--zz-ink: #24193a;
	--zz-muted: #5f5670;
	--zz-soft: #fff0e4;
	--zz-line: #f1e4d6;
	--zz-teal: #12b5a5;
	--zz-sun: #ffc23d;
	--zz-grape: #7b5cff;
	--zz-accent: #ff6b4a;
	--zz-on-accent: #15131c;
	--zz-link: #d9432a;
	--zz-radius: 22px;
	--zz-btn-radius: 999px;
	--zz-input-radius: 999px;
	--zz-img-radius: 16px;
	--zz-focus: #7b5cff;
	--zz-ring: rgba(255, 107, 74, 0.25);
	--zz-shadow: 0 2px 0 var(--zz-line), 0 12px 30px rgba(36, 25, 58, 0.07);
	--zz-display: "Baloo 2", ui-rounded, system-ui, sans-serif;
	--zz-body: "Mulish", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--zz-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--zz-wrap: 1320px;
}

body { font-size: 1rem; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; letter-spacing: -0.01em; line-height: 1.12; }
.zz-t0 { --zz-tone: #ff6b4a; --zz-tone-bg: #ffe3da; }
.zz-t1 { --zz-tone: #0e8f83; --zz-tone-bg: #d7f5f1; }
.zz-t2 { --zz-tone: #a36a00; --zz-tone-bg: #fff0c7; }
.zz-t3 { --zz-tone: #5b3fe0; --zz-tone-bg: #e9e3ff; }
.zz-t4 { --zz-tone: #c0347a; --zz-tone-bg: #ffe0ef; }
.zz-thumb__fallback { background: var(--zz-tone-bg); color: var(--zz-tone); font-weight: 800; }
.zz-btn { font-family: var(--zz-display); font-weight: 700; font-size: 1rem; box-shadow: 0 4px 0 #c8452c; }
.zz-btn:hover { color: var(--zz-on-accent); box-shadow: 0 6px 0 #c8452c; }

/* Header */
.zz-header { position: relative; background: var(--zz-ink); color: #ffffff; }
.zz-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding-block: 22px 14px; }
.zz-brand { margin-right: auto; }
.zz-brand__title { margin: 0; font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1; }
.zz-brand__title a { display: flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; }
.zz-brand__mark { color: var(--zz-accent); }
.zz-brand__tagline { margin: 6px 0 0 46px; font-size: 0.88rem; color: #d7cfe8; }
.custom-logo { max-height: 60px; width: auto; }
.zz-header__panel { display: flex; align-items: center; gap: 14px; }
.zz-menu { gap: 2px; }
.zz-menu a { padding: 8px 14px; border-radius: 999px; font-family: var(--zz-display); font-size: 1.05rem; font-weight: 600; color: #ffffff; }
.zz-menu a:hover { background: rgba(255, 255, 255, 0.1); }
.zz-menu .current-menu-item > a,
.zz-menu .current_page_item > a { background: var(--zz-sun); color: var(--zz-ink); }
.zz-menu .sub-menu { background: var(--zz-paper); border-radius: 16px; box-shadow: var(--zz-shadow); }
.zz-menu .sub-menu a { color: var(--zz-ink); }
.zz-header .zz-search__input { width: 190px; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.25); color: #ffffff; }
.zz-header .zz-search__input::placeholder { color: rgba(255, 255, 255, 0.7); }
.zz-header .zz-search__btn { border-radius: 50%; width: 46px; }
.zz-cta { white-space: nowrap; }
.zz-wave { height: 26px; background: radial-gradient(circle at 13px -6px, var(--zz-ink) 16px, transparent 17px) 0 0 / 26px 26px repeat-x; }
.zz-wave { position: absolute; left: 0; right: 0; top: 100%; }
@media (max-width: 1080px) {
	.zz-nav-button { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--zz-sun); color: var(--zz-ink); font-family: var(--zz-display); font-weight: 700; cursor: pointer; }
	.zz-header__panel { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 10px; }
	.zz-nav-toggle:checked ~ .zz-header__panel { display: flex; }
	.zz-menu { flex-direction: column; align-items: stretch; }
	.zz-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding-left: 14px; }
	.zz-menu .sub-menu a { color: #ffffff; }
	.zz-header .zz-search__input { width: 100%; }
	.zz-cta { align-self: flex-start; }
}

/* Layout */
.zz-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-block: 64px 70px; }
.zz-main { min-width: 0; }
@media (max-width: 1080px) {
	.zz-layout { grid-template-columns: minmax(0, 1fr); gap: 56px; }
}

/* Centre timeline */
.zz-timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.zz-timeline::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 6px;
	margin-left: -3px;
	border-radius: 6px;
	background: repeating-linear-gradient(180deg, var(--zz-accent) 0 120px, var(--zz-teal) 120px 240px, var(--zz-sun) 240px 360px, var(--zz-grape) 360px 480px);
}
.zz-node { position: relative; width: 50%; padding-right: 48px; }
.zz-node + .zz-node { margin-top: -110px; }
.zz-node:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 48px; }
.zz-node__date {
	position: absolute;
	top: 26px;
	right: -32px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 4px solid var(--zz-bg);
	border-radius: 50%;
	background: var(--zz-ink);
	color: #ffffff;
	line-height: 1;
}
.zz-node:nth-child(even) .zz-node__date { right: auto; left: -32px; }
.zz-node:nth-child(4n + 2) .zz-node__date { background: var(--zz-teal); }
.zz-node:nth-child(4n + 3) .zz-node__date { background: var(--zz-accent); color: var(--zz-ink); }
.zz-node:nth-child(4n + 4) .zz-node__date { background: var(--zz-grape); }
.zz-node__date span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.zz-node__date strong { font-family: var(--zz-display); font-size: 1.45rem; font-weight: 800; }

.zz-card {
	position: relative;
	background: var(--zz-paper);
	border-radius: var(--zz-radius);
	box-shadow: var(--zz-shadow);
	padding: 12px;
	transition: transform 0.2s ease;
}
.zz-card::after { content: ""; position: absolute; top: 44px; right: -10px; width: 20px; height: 20px; background: var(--zz-paper); transform: rotate(45deg); border-radius: 3px; }
.zz-node:nth-child(even) .zz-card::after { right: auto; left: -10px; }
.zz-node:nth-child(odd) .zz-card:hover { transform: translateX(-6px) rotate(-0.6deg); }
.zz-node:nth-child(even) .zz-card:hover { transform: translateX(6px) rotate(0.6deg); }
.zz-card__thumb { aspect-ratio: 16 / 10; border-radius: 16px; }
.zz-card__body { padding: 16px 10px 8px; }
.zz-card__title { margin: 0 0 8px; font-size: 1.45rem; }
.zz-card__title a:hover { color: var(--zz-link); }
.zz-card__excerpt { color: var(--zz-muted); font-size: 0.95rem; line-height: 1.6; }
.zz-card__excerpt p { margin: 0 0 10px; }
.zz-card .zz-meta { font-size: 0.8rem; }
.zz-card .zz-meta__item:nth-child(2) { display: none; }
.zz-chip { display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--zz-tone-bg); color: var(--zz-tone); font-size: 0.76rem; font-weight: 800; }
.zz-chip:hover { background: var(--zz-tone); color: #ffffff; }
.zz-meta a { color: var(--zz-ink); }

@media (max-width: 760px) {
	.zz-timeline::before { left: 24px; }
	.zz-node,
	.zz-node:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 0 66px; }
	.zz-node + .zz-node { margin-top: 30px; }
	.zz-node__date,
	.zz-node:nth-child(even) .zz-node__date { left: -6px; right: auto; width: 60px; height: 60px; }
	.zz-card::after,
	.zz-node:nth-child(even) .zz-card::after { left: -10px; right: auto; }
}

/* Archive / search cards */
.zz-feed--cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.zz-feed--cards .zz-card::after { display: none; }
@media (max-width: 640px) {
	.zz-feed--cards { grid-template-columns: minmax(0, 1fr); }
}

/* Full posts */
.zz-feed--full { display: flex; flex-direction: column; gap: 30px; }
.zz-full { background: var(--zz-paper); border-radius: var(--zz-radius); box-shadow: var(--zz-shadow); overflow: hidden; }
.zz-full__body { padding: clamp(22px, 4vw, 34px); }
.zz-full__title { margin: 0 0 10px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.zz-full__title a:hover { color: var(--zz-link); }
.zz-full .zz-meta { margin-bottom: 18px; }
.zz-full__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 22px; }
.zz-btn--ghost { background: var(--zz-soft); color: var(--zz-ink); box-shadow: none; }
.zz-btn--ghost:hover { box-shadow: none; background: var(--zz-sun); }

/* Sidebar */
.zz-sidebar { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.zz-box { padding: 22px; background: var(--zz-paper); border-radius: var(--zz-radius); box-shadow: var(--zz-shadow); }
.zz-box__title,
.zz-box__heading { margin: 0 0 14px; font-size: 1.4rem; font-weight: 800; }
.zz-box--cats .zz-box__title::after,
.zz-box--pages .zz-box__title::after { content: ""; display: block; width: 52px; height: 6px; margin-top: 6px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--zz-accent) 0 13px, var(--zz-teal) 13px 26px, var(--zz-sun) 26px 39px, var(--zz-grape) 39px 52px); }
.zz-catlist { display: flex; flex-wrap: wrap; gap: 8px; }
.zz-cat { display: inline-flex; align-items: center; gap: 8px; padding: 7px 7px 7px 14px; border-radius: 999px; background: var(--zz-tone-bg); color: var(--zz-ink); font-weight: 700; font-size: 0.92rem; transition: transform 0.15s ease; }
.zz-cat:hover,
.zz-cat.is-current { transform: rotate(-3deg) scale(1.04); }
.zz-count { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--zz-tone); color: #ffffff; font-size: 0.72rem; }
.zz-pagelist a { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 2px dashed var(--zz-line); font-weight: 700; }
.zz-pagelist a::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--zz-accent); }
.zz-pagelist li:nth-child(4n + 2) a::before { background: var(--zz-teal); }
.zz-pagelist li:nth-child(4n + 3) a::before { background: var(--zz-sun); }
.zz-pagelist li:nth-child(4n + 4) a::before { background: var(--zz-grape); }
.zz-pagelist a:hover,
.zz-pagelist .current_page_item > a { color: var(--zz-link); }

.zz-box--random { background: var(--zz-ink); color: #e6dff2; }
.zz-box--random .zz-box__title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px; }
.zz-box--random .zz-box__heading { margin: 0; color: #ffffff; }
.zz-box__hint { padding: 2px 10px; border-radius: 999px; background: var(--zz-sun); color: var(--zz-ink); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.zz-randlist { position: relative; }
.zz-rand { position: relative; padding: 0 0 20px 26px; }
.zz-rand::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: -6px; width: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.15); }
.zz-rand:last-child::before { display: none; }
.zz-rand::after { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--zz-accent); }
.zz-rand:nth-child(4n + 2)::after { background: var(--zz-teal); }
.zz-rand:nth-child(4n + 3)::after { background: var(--zz-sun); }
.zz-rand:nth-child(4n + 4)::after { background: var(--zz-grape); }
.zz-rand__thumb { aspect-ratio: 16 / 10; margin-bottom: 10px; border-radius: 14px; }
.zz-rand__num { position: absolute; top: 8px; right: 8px; padding: 1px 9px; border-radius: 999px; background: var(--zz-paper); color: var(--zz-ink); font-size: 0.72rem; font-weight: 800; }
.zz-rand__title { font-size: 1.15rem; }
.zz-rand__title a { color: #ffffff; }
.zz-rand__title a:hover { color: var(--zz-sun); }
.zz-rand__text { font-size: 0.86rem; line-height: 1.55; color: #c9c0dc; }
.zz-rand__more { color: var(--zz-sun); font-size: 0.88rem; text-decoration: none; }
.zz-rand__more:hover { text-decoration: underline; }
.widget.zz-box > :not(.zz-box__title) { margin: 10px 0; }
@media (max-width: 1080px) {
	.zz-sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
	.zz-box--random { grid-column: 1 / -1; }
	.zz-randlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 24px; }
	.zz-rand::before { display: none; }
}

/* Single + page */
.zz-single { background: var(--zz-paper); border-radius: 28px; box-shadow: var(--zz-shadow); overflow: hidden; }
.zz-single__head { padding: clamp(24px, 5vw, 44px) clamp(22px, 5vw, 44px) 20px; }
.zz-single__title { margin: 6px 0 16px; font-size: clamp(2.1rem, 4.6vw, 3.2rem); font-weight: 800; line-height: 1.02; }
.zz-single__thumb { margin-inline: clamp(12px, 3vw, 22px); }
.zz-single__thumb img { border-radius: 20px; }
.zz-single__body { padding: 30px clamp(22px, 5vw, 44px) clamp(24px, 5vw, 44px); }
.zz-entry a { color: var(--zz-link); }
.zz-entry h2,
.zz-entry h3 { font-weight: 800; }
.zz-entry blockquote,
.zz-entry .wp-block-quote { padding: 22px 26px; border-radius: 22px; background: var(--zz-soft); font-family: var(--zz-display); font-size: 1.4rem; font-weight: 600; line-height: 1.3; }
.zz-entry li::marker { color: var(--zz-accent); }
.zz-author { background: var(--zz-soft); border-radius: 20px; }
.zz-postnav a { background: var(--zz-paper); border-radius: 20px; box-shadow: var(--zz-shadow); }
.zz-postnav a:hover .zz-postnav__title { color: var(--zz-link); }
.page-numbers { border-radius: 999px; background: var(--zz-paper); box-shadow: var(--zz-shadow); color: var(--zz-ink); }
a.page-numbers:hover { background: var(--zz-sun); }
.page-numbers.current { background: var(--zz-ink); color: #ffffff; }
.pagination .nav-links { justify-content: center; }
.zz-kicker { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--zz-sun); font-weight: 800; font-size: 0.82rem; }
.zz-404,
.zz-empty { box-shadow: var(--zz-shadow); }
.zz-404__num { color: var(--zz-accent); text-shadow: 6px 6px 0 var(--zz-sun); }
.comment-body,
.comment-respond { border: 0; box-shadow: var(--zz-shadow); }

/* Footer */
.zz-footer { position: relative; margin-top: 40px; background: var(--zz-ink); color: #ffffff; padding-block: 46px 30px; }
.zz-wave--up { top: auto; bottom: 100%; transform: scaleY(-1); }
.zz-footer a { color: inherit; text-decoration: none; }
.zz-footer a:hover { color: var(--zz-sun); }
.zz-footer__widgets { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.zz-footer-widget__title { font-size: 1.2rem; color: var(--zz-sun); }
.zz-footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.zz-footer__brand { font-family: var(--zz-display); font-size: 1.9rem; font-weight: 800; }
.zz-footer__menu { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font-weight: 700; }
.zz-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 0.88rem; color: #cfc6e0; }
.zz-footer__bottom p { margin: 0; }
