/*
Theme Name: Zobo Blog
Theme URI: https://www.zobo.money
Author: Zobo Money
Description: The Zobo Diaspora Guide. A blog theme for Zobo Money with a category-filtered home page, featured story, "Our picks" carousel, long-form article layout with table of contents and reading progress, live search, and the Zobo footer.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
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: zobo
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------- Tokens ---------- */
:root {
	--z-cream: #FBF6EE;
	--z-ink: #1C0130;
	--z-ink-2: #2A1A38;
	--z-body: #43354E;
	--z-muted: #6E6377;
	--z-muted-2: #8A7A96;
	--z-dot: #C2B6CC;
	--z-purple: #5B0CB3;
	--z-pink: #ED0578;
	--z-lilac: #F4EEFB;
	--z-lilac-2: #E6DAF5;
	--z-line: #EDE3F4;
	--z-line-2: #E6DCEA;
	--z-line-3: #E3D8EA;
	--z-night: #190431;
	--z-footer-text: #E4D8EE;
	--z-footer-head: #F6C6E0;
	--z-gutter: clamp(20px, 4vw, 48px);
	--z-display: 'Atelia', 'Figtree', sans-serif;
	--z-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--z-ease: cubic-bezier(.4, 0, .2, 1);
}

@font-face {
	font-family: 'Atelia';
	src: url('assets/fonts/atelia.woff2') format('woff2'), url('assets/fonts/atelia.otf') format('opentype'), url('assets/fonts/atelia.ttf') format('truetype');
	font-weight: 400 900;
	font-display: swap;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--z-cream); }
body {
	font-family: var(--z-sans);
	color: var(--z-ink);
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
}
a { color: var(--z-purple); text-decoration: none; }
a:hover { color: var(--z-pink); }
::selection { background: #FDD9EA; }
input::placeholder { color: #9A8CA6; }
img { max-width: 100%; height: auto; }
button { font: inherit; }
.z-site { background: var(--z-cream); overflow-x: clip; }
.z-wrap { max-width: 1240px; margin: 0 auto; padding-left: var(--z-gutter); padding-right: var(--z-gutter); }
.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 {
	background: #fff; clip: auto !important; clip-path: none; color: var(--z-ink);
	display: block; font-size: 14px; font-weight: 700; height: auto; left: 8px; top: 8px;
	padding: 12px 20px; width: auto; z-index: 100000; border-radius: 999px;
}
:focus-visible { outline: 2px solid var(--z-pink); outline-offset: 2px; }
.z-display { font-family: var(--z-display); font-weight: 900; text-transform: uppercase; }
.z-eyebrow { font-weight: 600; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--z-muted-2); }
.z-arrow { display: inline-block; }

/* Underline-on-hover title effect used across cards */
.z-ul {
	text-decoration-line: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.22em;
	text-decoration-skip-ink: auto;
	transition: text-decoration-color .25s ease;
}
.z-card:hover .z-ul, .z-card:focus-visible .z-ul { text-decoration-color: var(--z-pink); }
.z-card:hover .z-card__title, .z-card:focus-visible .z-card__title { color: var(--z-pink); }

/* ---------- Header ---------- */
.z-header {
	display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
	padding: 18px var(--z-gutter);
	position: relative; z-index: 40;
}
.z-logo { display: flex; align-items: center; line-height: 0; flex-shrink: 0; }
.z-logo img, .z-logo svg { width: 102px; height: 29px; }
.z-logo .custom-logo { width: auto; max-height: 36px; }

/* Desktop nav: plain links, sub-items become a dropdown */
.z-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.z-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.z-menu > li { position: relative; }
.z-menu > li > a {
	display: flex; align-items: center; gap: 8px; color: var(--z-ink); font-size: var(--z-nav-size, 19px); font-weight: 500;
	padding: 8px 0; white-space: nowrap; transition: color .15s;
}
.z-menu > li > a:hover, .z-menu > li.current-menu-item > a, .z-menu > li.current_page_parent > a { color: var(--z-purple); }
.z-chev { flex-shrink: 0; transition: transform .2s ease; }
.z-menu .sub-menu, .z-drop {
	position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); min-width: 200px;
	list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--z-line); border-radius: 14px;
	box-shadow: 0 16px 40px rgba(28,1,48,0.12); z-index: 50;
	visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s;
}
.z-menu .sub-menu::before, .z-drop::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.z-menu .sub-menu a, .z-drop a {
	display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; color: var(--z-ink);
	font-size: var(--z-sub-size, 15px); font-weight: 500; white-space: nowrap;
}
.z-menu .sub-menu a:hover, .z-drop a:hover, .z-drop a[aria-current] { background: var(--z-lilac); color: var(--z-purple); }
.z-nav .menu-item-has-children:hover > .sub-menu,
.z-nav .menu-item-has-children:focus-within > .sub-menu,
.z-nav .menu-item-has-children.is-open > .sub-menu { visibility: visible; opacity: 1; }
.z-nav .menu-item-has-children:hover > a .z-chev,
.z-nav .menu-item-has-children.is-open > a .z-chev { transform: rotate(180deg); }

.z-header__actions { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }

/* Language picker */
.z-lang { position: relative; }
.z-lang__btn {
	display: flex; align-items: center; gap: 10px; background: none; border: none; padding: 4px 0; cursor: pointer;
	color: #555; font-size: var(--z-lang-size, 19px); font-weight: 500; font-family: var(--z-sans);
}
.z-lang__btn:hover { color: var(--z-ink); }
.z-lang__btn[aria-expanded="true"] .z-chev { transform: rotate(180deg); }
.z-roundflag { border-radius: 50%; object-fit: cover; display: block; flex-shrink: 0; }
.z-drop[hidden] { display: block; }
.z-lang.is-open .z-drop { visibility: visible; opacity: 1; }
.z-drop--right { left: auto; right: 0; transform: none; min-width: 170px; }

/* Download pill */
.z-download {
	display: inline-flex; align-items: center; gap: 14px; background: #6903D3; color: #fff; border-radius: 999px;
	padding: 7px 7px 7px 13px; font-size: var(--z-download-size, 19px); font-weight: 500; line-height: 1; white-space: nowrap;
	box-shadow: 0 0 0 0 var(--z-pink); transform: translateY(0);
	transition: box-shadow .2s ease, transform .2s ease;
}
.z-download:hover, .z-download:focus-visible { color: #fff; box-shadow: 0 5px 0 0 var(--z-pink); transform: translateY(-3px); }
.z-download__stores { display: flex; align-items: center; gap: 8px; }
.z-download__rule { width: 1.5px; height: 26px; background: rgba(255,255,255,0.9); border-radius: 1px; }
.z-download__label { padding-right: 4px; }
.z-download__arrow {
	width: 34px; height: 34px; border-radius: 50%; background: #fff; color: #6903D3;
	display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: color .2s ease;
}
.z-download:hover .z-download__arrow, .z-download:focus-visible .z-download__arrow { color: var(--z-pink); }

.z-burger {
	width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--z-line);
	display: none; align-items: center; justify-content: center; cursor: pointer; padding: 0; color: var(--z-ink);
}
.z-burger .z-burger__close { display: none; }
.z-burger[aria-expanded="true"] .z-burger__open { display: none; }
.z-burger[aria-expanded="true"] .z-burger__close { display: block; }

/* Mobile panel */
.z-mobilenav {
	flex: 1 1 100%; display: none; flex-direction: column; background: #fff; border-radius: 18px; padding: 8px;
	box-shadow: 0 8px 28px rgba(42,1,64,0.08);
}
.z-mobilenav.is-open { display: flex; }
.z-mobilenav .z-menu { flex-direction: column; align-items: stretch; gap: 0; }
.z-mobilenav .z-menu > li > a { font-size: var(--z-mobile-nav-size, 17px); padding: 14px 16px; border-radius: 12px; justify-content: space-between; }
.z-mobilenav .z-menu > li > a:hover { background: var(--z-lilac); }
.z-mobilenav .sub-menu {
	position: static; transform: none; visibility: visible; opacity: 1; box-shadow: none; border: none; padding: 0 0 6px 12px;
	display: none; min-width: 0; background: transparent;
}
.z-mobilenav .sub-menu::before { display: none; }
.z-mobilenav .menu-item-has-children.is-open > .sub-menu { display: block; }
.z-mobilenav .menu-item-has-children.is-open > a .z-chev { transform: rotate(180deg); }
.z-mobilenav__langs { display: flex; gap: 8px; padding: 10px 16px; border-top: 1px solid #F0E9EE; flex-wrap: wrap; }
.z-mobilenav__langs a { display: flex; align-items: center; gap: 8px; color: var(--z-ink); font-weight: 600; font-size: 15px; padding: 6px 10px; border-radius: 999px; background: var(--z-lilac); }
.z-mobilenav__cta { padding: 12px 8px 8px; border-top: 1px solid #F0E9EE; display: none; }
.z-mobilenav__cta .z-download { width: 100%; justify-content: space-between; }

@media (max-width: 1099px) {
	.z-nav { display: none; }
	.z-burger { display: flex; }
	.z-header__actions { gap: 12px; }
}
@media (min-width: 1100px) {
	.z-mobilenav, .z-mobilenav.is-open { display: none; }
}
@media (max-width: 599px) {
	.z-header__actions .z-lang, .z-header__actions > .z-download { display: none; }
	.z-mobilenav__cta { display: block; }
}

/* ---------- Hero ---------- */
.z-hero {
	position: relative; z-index: 25;
	background-color: var(--z-night);
	background-position: center; background-size: cover; background-repeat: no-repeat;
	padding: 40px var(--z-gutter) 36px; text-align: center;
}
.z-hero__title { font-family: var(--z-display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; line-height: 1.02; text-transform: uppercase; color: #fff; text-wrap: balance; margin: 0; }
.z-hero__sub { font-size: 16px; line-height: 1.5; color: #EADCF7; margin: 10px auto 0; max-width: 560px; text-wrap: pretty; }
.z-hero__sub p { margin: 0; }
.z-cats { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 900px; margin: 22px auto 0; }
.z-cat {
	display: flex; align-items: center; gap: 8px; padding: 8px 16px 8px 10px; border-radius: 999px;
	font-size: 14px; font-weight: 600; white-space: nowrap;
	background: rgba(255,255,255,0.92); color: var(--z-ink);
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.z-cat:hover { transform: translateY(-2px); color: var(--z-ink); }
.z-cat.is-active { background: var(--z-ink); color: #fff; }
.z-cat svg { flex-shrink: 0; }

/* Live search in hero */
.z-hsearch { position: relative; max-width: 520px; margin: 20px auto 0; z-index: 20; text-align: left; }
.z-hsearch__field {
	display: flex; align-items: center; gap: 12px; padding: 11px 20px; border-radius: 999px; cursor: text; margin: 0;
	background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.3); color: #fff;
	transition: background .15s, box-shadow .15s, border-color .15s, color .15s;
}
.z-hsearch__field:hover { border-color: rgba(255,255,255,0.55); }
.z-hsearch.is-focus .z-hsearch__field { background: #fff; border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.3); color: var(--z-ink); }
.z-hsearch.is-focus .z-hsearch__field svg { color: var(--z-purple); }
.z-hsearch input {
	flex: 1; min-width: 0; border: none; outline: none; background: transparent; font: inherit; font-size: 16px; color: inherit; padding: 0;
}
.z-hsearch input::placeholder { color: rgba(255,255,255,0.75); }
.z-hsearch.is-focus input::placeholder { color: #9A8CA6; }
.z-hsearch input::-webkit-search-cancel-button { display: none; }
.z-hsearch__panel {
	position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 18px;
	box-shadow: 0 18px 40px rgba(28,1,48,0.25); padding: 8px; display: none; flex-direction: column; max-height: 360px; overflow-y: auto;
}
.z-hsearch.is-focus .z-hsearch__panel { display: flex; }
.z-hsearch__label { font-size: 12px; font-weight: 700; color: var(--z-muted); text-transform: uppercase; letter-spacing: 0.06em; padding: 8px 12px 6px; }
.z-hsearch__item { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 12px; color: var(--z-ink); }
.z-hsearch__item:hover, .z-hsearch__item.is-active { background: var(--z-lilac); color: var(--z-ink); }
.z-hsearch__cat { font-size: 12px; font-weight: 700; color: var(--z-purple); }
.z-hsearch__title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.z-hsearch__empty { font-size: 15px; color: var(--z-body); padding: 10px 12px 12px; }
.z-hsearch__all { display: block; font-size: 13px; font-weight: 700; padding: 10px 12px; border-top: 1px solid #F0E9EE; margin-top: 4px; }

/* ---------- Featured ---------- */
.z-featured {
	max-width: 1240px; margin: 0 auto; padding: 48px var(--z-gutter) 66px;
	display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: clamp(28px, 5vw, 56px); align-items: center;
	color: var(--z-ink);
}
.z-featured:hover { color: var(--z-ink); }
.z-featured__media {
	height: clamp(260px, 56vw, 430px); border-radius: 20px;
	background: linear-gradient(135deg, var(--z-pink) 0%, var(--z-purple) 100%);
	padding: 28px 28px 0 0; position: relative;
}
.z-featured__img { height: 100%; border-radius: 20px 0 0 0; overflow: hidden; position: relative; }
.z-meta { display: flex; align-items: center; gap: 8px; font-size: 12.5px; flex-wrap: wrap; }
.z-meta__cat { font-weight: 700; color: var(--z-purple); }
.z-meta__dot { color: var(--z-dot); }
.z-meta__read { color: var(--z-muted); }
.z-featured .z-meta { gap: 10px; font-size: 13px; }
.z-featured__title {
	font-family: var(--z-display); font-size: 40px; font-weight: 900; line-height: 1.02; letter-spacing: -0.01em; text-transform: uppercase;
	margin: 18px 0 0; text-wrap: balance; color: var(--z-ink); transition: color .25s ease;
}
.z-featured__title { line-height: 1.08; }
.z-featured__title .z-ul { text-decoration-thickness: 3px; text-underline-offset: 0.12em; }
.z-featured:hover .z-featured__title { color: var(--z-purple); }
.z-featured:hover .z-featured__title .z-ul, .z-featured:focus-visible .z-featured__title .z-ul { text-decoration-color: var(--z-pink); }
.z-featured__excerpt { font-size: 18px; line-height: 1.6; color: var(--z-body); margin-top: 22px; max-width: 480px; text-wrap: pretty; }
.z-featured__excerpt p { margin: 0; }
.z-featured__foot { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.z-featured__by { font-size: 13.5px; color: var(--z-muted); }
.z-featured__cta {
	display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--z-purple);
	opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease;
}
.z-featured:hover .z-featured__cta, .z-featured:focus-visible .z-featured__cta { opacity: 1; transform: none; }
@media (max-width: 600px) { .z-featured__title { font-size: 32px; } }

/* Thumbnails and placeholders */
.z-thumb { position: relative; width: 100%; height: 100%; background: #EFE6F7; }
.z-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.z-thumb--empty {
	display: flex; align-items: center; justify-content: center;
	background: radial-gradient(240px 160px at 85% 15%, rgba(237,5,120,0.18), transparent 70%), linear-gradient(135deg, #F4EEFB, #FDE7F2);
	color: var(--z-purple);
}
.z-thumb--empty span { font-family: var(--z-display); font-size: 56px; font-weight: 900; opacity: .25; }

/* Squiggle divider */
.z-squiggle { display: block; width: 100%; height: 12px; }

/* ---------- Card grid ---------- */
.z-grid-wrap { max-width: 1240px; margin: 0 auto; padding: 40px var(--z-gutter) 72px; }
.z-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(260px, calc((100% - 64px) / 3))), 1fr));
	gap: clamp(28px, 5vw, 56px) 32px;
}
.z-card { display: flex; flex-direction: column; color: var(--z-ink); }
.z-card:hover { color: var(--z-ink); }
.z-card--boxed { background: #fff; padding: 16px; border-radius: 15px; }
.z-card__media { height: 200px; border-radius: 12px; overflow: hidden; }
.z-card .z-meta { margin-top: 18px; }
.z-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 10px 0 0; text-wrap: pretty; color: var(--z-ink); transition: color .2s ease; }
.z-card__by { font-size: 12.5px; color: var(--z-muted); margin-top: 12px; }
.z-empty { text-align: center; padding: 72px 0; color: var(--z-muted); font-size: 17px; }
.z-empty strong { color: var(--z-ink); }

.z-more { display: flex; justify-content: center; margin-top: 64px; }
.z-btn-outline {
	border: 1.5px solid var(--z-ink); border-radius: 999px; padding: 14px 28px; font-size: 15px; font-weight: 700;
	display: inline-flex; align-items: center; gap: 10px; color: var(--z-ink); background: transparent; cursor: pointer;
	transition: background .2s, color .2s;
}
.z-btn-outline:hover { background: var(--z-ink); color: #fff; }
.z-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 64px; flex-wrap: wrap; }
.z-pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
	font-weight: 700; font-size: 15px; color: var(--z-ink); border: 1.5px solid var(--z-line-3); background: #fff;
}
.z-pagination .page-numbers.current { background: var(--z-ink); color: #fff; border-color: var(--z-ink); }
.z-pagination a.page-numbers:hover { border-color: var(--z-purple); color: var(--z-purple); }
.z-pagination .dots { border: none; background: transparent; }

/* ---------- Our picks ---------- */
.z-wave { display: block; width: 100%; height: 56px; }
.z-picks { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); overflow: hidden; background: #fff; min-height: 349px; }
.z-picks__head { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.z-picks__title { font-family: var(--z-display); font-size: 22px; font-weight: 900; text-transform: uppercase; margin: 0; }
.z-picks__sub { font-size: 14px; color: var(--z-muted); }
.z-picks__spacer { flex: 1; }
.z-picks__nav {
	width: 42px; height: 42px; border-radius: 50%; background: var(--z-ink); color: #fff; border: none;
	display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 17px; padding: 0; transition: background .2s;
}
.z-picks__nav:disabled { background: #C9BFD1; cursor: default; }
.z-picks__viewport { margin-top: 32px; }
.z-picks__track { display: flex; gap: 28px; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.z-picks__track > .z-card { flex: 0 0 360px; }
.z-picks .z-card__media { height: clamp(190px, 50vw, 230px); }
.z-picks .z-card__title { font-size: 19px; }
@media (max-width: 719px) { .z-picks__track { gap: 16px; } }

/* ---------- Article ---------- */
.z-crumbs {
	border-top: 1px solid #EFE6DA; border-bottom: 1px solid #EFE6DA; position: sticky; top: 0; z-index: 30;
	background: rgba(251,246,238,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.admin-bar .z-crumbs { top: 32px; }
@media (max-width: 782px) { .admin-bar .z-crumbs { top: 0; } }
.z-crumbs__inner { max-width: 1320px; margin: 0 auto; padding: 14px var(--z-gutter); display: flex; align-items: center; gap: clamp(6px, 1.5vw, 12px); font-size: 13px; min-width: 0; }
.z-crumbs__home { font-weight: 700; color: var(--z-ink); }
.z-crumbs__cat { color: var(--z-body); white-space: nowrap; }
.z-crumbs a:hover { color: var(--z-purple); }
.z-crumbs__sep { color: var(--z-dot); }
.z-crumbs__current { color: var(--z-muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.z-crumbs__pct { white-space: nowrap; }
.z-progress { height: 2px; }
.z-progress__bar { height: 2px; background: var(--z-pink); width: 0; transition: width .1s linear; }

.z-article {
	max-width: 1320px; margin: 0 auto; padding: 48px var(--z-gutter) 0;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 40px clamp(24px, 3.5vw, 56px);
}
.z-aside { min-width: 0; max-width: 700px; position: sticky; top: 80px; align-self: flex-start; }
.admin-bar .z-aside { top: 112px; }
.z-aside--left { flex: 0 0 clamp(180px, 16vw, 220px); order: 0; }
.z-aside--right { flex: 0 0 clamp(200px, 19vw, 260px); order: 2; display: flex; flex-direction: column; gap: 16px; }
.z-main { flex: 1 1 min(360px, 100%); min-width: 0; max-width: 700px; order: 1; }
@media (max-width: 1099px) {
	.z-aside, .admin-bar .z-aside { position: static; }
	.z-aside--left { flex: 1 1 100%; order: 3; padding-bottom: 56px; }
	.z-aside--right { flex: 1 1 100%; }
	.z-toc { display: none; }
}

.z-toc__head { display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none; padding: 0; cursor: pointer; text-align: left; }
.z-toc__head svg { transition: transform .25s ease; }
.z-toc__head[aria-expanded="false"] svg { transform: rotate(180deg); }
.z-toc__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; }
.z-toc__list[hidden] { display: none; }
.z-toc__list a {
	display: block; font-size: 14px; line-height: 1.45; padding: 7px 0 7px 14px; border-left: 2px solid var(--z-line-2);
	color: var(--z-muted); font-weight: 500; transition: color .2s ease, border-color .2s ease; text-wrap: pretty;
}
.z-toc__list a:hover { color: var(--z-purple); }
.z-toc__list a.is-active { color: var(--z-purple); border-color: var(--z-purple); font-weight: 700; }
.z-toc__rule { height: 1px; background: var(--z-line-2); margin: 22px 0 18px; }

.z-share__title { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.z-share { display: flex; gap: 6px; flex-wrap: nowrap; }
.z-share__btn {
	width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--z-purple); background: #fff; color: var(--z-purple);
	display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .2s, color .2s;
}
.z-share__btn:hover { background: var(--z-purple); color: #fff; }

.z-appcard { margin-top: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--z-line); }
.z-appcard__top { background: var(--z-purple); background-image: radial-gradient(260px 180px at 100% 0%, rgba(237,5,120,0.6), transparent 70%); padding: 20px 18px 18px; }
.z-appcard__title { font-family: var(--z-display); font-size: 19px; font-weight: 900; line-height: 1.1; text-transform: uppercase; color: #fff; margin-top: 8px; }
.z-appcard__qr { margin-top: 16px; border-radius: 14px; padding: 12px; background: rgba(255,255,255,0.1); }
.z-appcard__qr img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.z-appcard__scan { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 700; color: #fff; }
.z-appcard__foot { padding: 12px; }
.z-appcard__btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--z-lilac); color: var(--z-ink); font-weight: 700; font-size: 13.5px; padding: 11px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.z-appcard__btn:hover { background: var(--z-purple); color: #fff; }
@media (max-width: 1099px) { .z-aside--right { display: none; } }

.z-back {
	display: flex; align-items: center; gap: 6px; border: 1px solid var(--z-line-3); background: #fff; border-radius: 999px;
	padding: 6px 14px 6px 10px; font-size: 13px; font-weight: 600; color: var(--z-ink);
}
.z-back:hover { border-color: var(--z-purple); color: var(--z-purple); }
.z-art-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.z-art-meta .z-eyebrow.is-cat { color: var(--z-purple); }
.z-art-meta .z-eyebrow.is-cat:hover { color: var(--z-pink); }
.z-art-title { font-family: var(--z-display); font-size: clamp(34px, 4vw, 50px); font-weight: 900; line-height: 1.04; text-transform: uppercase; margin: 22px 0 0; text-wrap: balance; }
.z-byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.z-avatar {
	width: 38px; height: 38px; border-radius: 50%; background: var(--z-pink); color: #fff; display: flex; align-items: center; justify-content: center;
	font-weight: 800; font-size: 14px; flex-shrink: 0; overflow: hidden;
}
.z-avatar img { width: 100%; height: 100%; object-fit: cover; }
.z-avatar--lg { width: 46px; height: 46px; font-size: 15px; }
.z-byline__name { font-weight: 700; font-size: 14.5px; }
.z-byline__role { color: var(--z-muted-2); font-size: 13px; }
.z-art-hero { height: clamp(220px, 52vw, 400px); margin-top: 28px; border-radius: 18px; overflow: hidden; }
.z-art-hero figcaption { display: none; }

.z-takeaways { margin-top: 32px; background: var(--z-lilac); border: 1px solid var(--z-lilac-2); border-radius: 16px; padding: 22px 26px; }
.z-takeaways .z-eyebrow { color: var(--z-purple); }
.z-takeaways ul { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.z-takeaways li { display: flex; gap: 10px; font-size: 15.5px; line-height: 1.55; color: var(--z-ink-2); }
.z-takeaways li::before { content: '·'; color: var(--z-pink); font-weight: 800; }

/* Post body: maps Gutenberg/classic content onto the design */
.z-content { font-size: clamp(16px, 2.2vw, 18px); line-height: 1.75; color: var(--z-ink-2); }
.z-content > * { margin-top: 24px; margin-bottom: 0; }
.z-content p { text-wrap: pretty; }
.z-content h2, .z-content h3, .z-content h4 {
	font-family: var(--z-display); font-weight: 900; text-transform: uppercase; line-height: 1.1; color: var(--z-ink); scroll-margin-top: 80px;
}
.z-content h2 { font-size: clamp(22px, 3.4vw, 27px); margin-top: 52px; }
.z-content h3 { font-size: clamp(19px, 2.8vw, 21px); margin-top: 40px; }
.z-content h4 { font-size: 17px; margin-top: 32px; }
.z-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.z-content ul, .z-content ol { padding-left: 1.3em; }
.z-content li { margin-top: 8px; }
.z-content li::marker { color: var(--z-pink); }
.z-content blockquote, .z-content .wp-block-quote, .z-content .wp-block-pullquote blockquote {
	margin: 32px 0 0; border-left: 3px solid var(--z-pink); padding: 4px 0 4px 22px;
	font-size: clamp(19px, 3vw, 23px); line-height: 1.45; font-weight: 500; color: var(--z-ink); text-wrap: pretty;
}
.z-content blockquote p { margin: 0; }
.z-content blockquote cite { display: block; margin-top: 10px; font-size: 14px; font-style: normal; color: var(--z-muted); }
.z-content .wp-block-pullquote { border: none; padding: 0; text-align: left; margin-top: 32px; }
.z-content img { border-radius: 14px; }
.z-content figure { margin-left: 0; margin-right: 0; }
.z-content figcaption, .z-content .wp-element-caption { font-size: 13px; color: var(--z-muted); margin-top: 8px; text-align: left; }
.z-content hr { border: none; height: 1px; background: var(--z-line-2); margin: 40px 0; }
.z-content code { background: var(--z-lilac); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.z-content pre { background: var(--z-ink); color: #F4EEFB; padding: 18px 20px; border-radius: 14px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.z-content pre code { background: none; padding: 0; }

/* Tables: the "Route / All-in cost / Landed" comparison style */
.z-content .wp-block-table, .z-content > table { margin-top: 28px; }
.z-content table {
	width: 100%; border-collapse: separate; border-spacing: 0; background: #fff;
	border: 1px solid var(--z-line-2); border-radius: 14px; overflow: hidden; font-size: 14.5px; line-height: 1.5;
}
.z-content .wp-block-table table { border: 1px solid var(--z-line-2); }
.z-content .wp-block-table td, .z-content .wp-block-table th { border: none; }
.z-content thead th, .z-content table th {
	background: #F8F3FC; text-align: left; padding: 12px 18px; font-weight: 600; font-size: 10.5px; letter-spacing: 0.12em;
	text-transform: uppercase; color: var(--z-muted-2);
}
.z-content td { padding: 14px 18px; border-top: 1px solid #F0E9EE !important; color: var(--z-body); }
.z-content td:first-child { color: var(--z-ink); font-weight: 500; }
.z-content table tbody tr:first-child td { border-top: none !important; }
.z-content thead + tbody tr:first-child td { border-top: 1px solid #F0E9EE !important; }
.z-content .wp-block-table figcaption, .z-content .z-table-note {
	font-weight: 600; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--z-muted-2); margin-top: 10px;
}
/* Highlight classes for comparison tables: add via Advanced > Additional CSS class */
.z-content .is-style-zobo-compare td:last-child { font-weight: 700; }
.z-content .is-style-zobo-compare tbody tr:first-child td:last-child { color: #DC2626; }
.z-content .is-style-zobo-compare tbody tr:last-child td { font-weight: 700; color: var(--z-ink); }
.z-content .is-style-zobo-compare tbody tr:last-child td:last-child { color: #16A34A; }
@media (max-width: 560px) {
	.z-content .wp-block-table, .z-content > table { overflow-x: auto; }
	.z-content td, .z-content th { padding-left: 12px !important; padding-right: 12px !important; }
}

/* In-article CTA (shortcode / block pattern) */
.z-cta {
	margin-top: 36px; border-radius: 18px; background: var(--z-purple);
	background-image: radial-gradient(420px 220px at 100% 100%, rgba(237,5,120,0.65), transparent 70%);
	padding: 26px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.z-cta__text { flex: 1 1 260px; }
.z-cta__title { font-family: var(--z-display); font-size: 21px; font-weight: 900; line-height: 1.12; text-transform: uppercase; color: #fff; }
.z-cta__sub { font-size: 14.5px; line-height: 1.5; color: var(--z-footer-text); margin-top: 8px; }
.z-content .z-cta a.z-cta__btn, .z-cta__btn {
	background: #fff; color: var(--z-purple); font-weight: 700; font-size: 14.5px; padding: 12px 22px; border-radius: 999px; white-space: nowrap;
	text-decoration: none; line-height: 1.4; transition: background .2s, color .2s;
}
.z-content .z-cta a.z-cta__btn:hover, .z-cta__btn:hover { background: var(--z-pink); color: #fff; }

.z-content .wp-block-button__link { background: var(--z-purple); color: #fff; border-radius: 999px; font-weight: 700; font-size: 15px; padding: 12px 22px; text-decoration: none; }
.z-content .wp-block-button__link:hover { background: var(--z-pink); color: #fff; }
.z-content .alignwide, .z-content .alignfull { margin-left: 0; margin-right: 0; width: 100%; }

.z-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.z-tags a { border: 1px solid var(--z-line-3); background: #fff; color: var(--z-ink); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; }
.z-tags a:hover { border-color: var(--z-purple); color: var(--z-purple); }

.z-author { margin-top: 56px; padding: 28px 0; border-top: 1px solid var(--z-line-2); border-bottom: 1px solid var(--z-line-2); }
.z-author__row { display: flex; gap: 14px; align-items: flex-start; }
.z-author__name { font-weight: 700; font-size: 15px; }
.z-author__bio { font-size: 14px; line-height: 1.55; color: var(--z-muted); margin-top: 4px; }
.z-author__actions { display: flex; gap: 8px; margin-top: 18px; }
.z-chip {
	border: 1px solid var(--z-line-3); background: #fff; color: var(--z-ink); border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600; cursor: pointer;
}
.z-chip:hover { border-color: var(--z-purple); color: var(--z-purple); }

.z-keep { padding: 48px 0 104px; }
@media (max-width: 1099px) { .z-keep { padding-bottom: 8px; } }
.z-keep__title { font-family: var(--z-display); font-size: 22px; font-weight: 900; text-transform: uppercase; margin: 0 0 24px; }
.z-keep__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 28px 24px; }
.z-keep .z-card__media { height: 150px; }
.z-keep .z-card__cat { font-weight: 600; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--z-purple); margin-top: 14px; }
.z-keep .z-card__title { font-size: 16px; margin-top: 8px; }

/* Comments */
.z-comments { margin-top: 48px; }
.z-comments h2, .z-comments h3 { font-family: var(--z-display); font-weight: 900; text-transform: uppercase; font-size: 22px; }
.z-comments ol { list-style: none; padding: 0; }
.z-comments .children { padding-left: 24px; }
.z-comments .comment-body { background: #fff; border: 1px solid var(--z-line); border-radius: 14px; padding: 16px 18px; margin-top: 14px; font-size: 15px; }
.z-comments .comment-meta { font-size: 13px; color: var(--z-muted); }
.z-comments .avatar { border-radius: 50%; vertical-align: middle; margin-right: 8px; }
.z-comments textarea, .z-comments input[type="text"], .z-comments input[type="email"], .z-comments input[type="url"] {
	width: 100%; background: #fff; border: 1px solid var(--z-line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--z-ink);
}
.z-comments .submit { background: var(--z-ink); color: #fff; border: none; border-radius: 999px; padding: 12px 24px; font-weight: 700; cursor: pointer; }
.z-comments .submit:hover { background: var(--z-pink); }

/* ---------- Search page ---------- */
.z-search { max-width: 1240px; margin: 0 auto; padding: 44px var(--z-gutter) 104px; }
.z-search__title { font-family: var(--z-display); font-size: clamp(22px, 3.6vw, 26px); font-weight: 900; text-transform: uppercase; margin: 0; }
.z-search__lead { font-size: 17px; color: var(--z-body); margin-top: 10px; }
.z-search__form { display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap; margin-top: clamp(32px, 6vw, 72px); }
.z-search__field { flex: 1 1 min(420px, 100%); min-width: 0; border-radius: 999px; padding: 4px; background: var(--z-purple); box-shadow: 0 0 0 4px rgba(91,12,179,0.14); }
.z-search__field input {
	width: 100%; background: #FFFCF7; border: 2px solid var(--z-ink); border-radius: 999px; padding: clamp(14px, 2.5vw, 20px) clamp(20px, 3vw, 32px);
	font-size: clamp(17px, 2.6vw, 22px); font-family: var(--z-sans); color: var(--z-ink); outline: none;
}
.z-search__submit {
	background: var(--z-ink); color: #fff; border: none; font-weight: 700; font-size: clamp(16px, 2.4vw, 20px);
	padding: clamp(16px, 2.6vw, 22px) 36px; border-radius: 999px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 14px;
	flex: 1 0 auto; transition: background .2s;
}
.z-search__submit:hover { background: var(--z-pink); }
.z-search__count { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; font-size: clamp(16px, 2.4vw, 20px); margin-top: clamp(48px, 9vw, 120px); }
.z-search__count strong { font-weight: 700; }
.z-search__bar { width: 2px; height: 24px; background: var(--z-ink); }
.z-search__scope { color: var(--z-muted); }
.z-search .z-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(32px, 5vw, 56px) 32px; margin-top: 44px; }
.z-search .z-card__media { height: 230px; }
.z-search .z-card__cat { font-size: 15px; font-weight: 700; color: var(--z-purple); margin-top: 22px; }
.z-search .z-card__sub { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--z-muted); margin-top: 6px; }
.z-search .z-card__title { font-family: var(--z-display); font-size: 24px; font-weight: 900; line-height: 1.12; text-transform: uppercase; margin-top: 14px; }
.z-search .z-card__by { font-size: 14px; color: var(--z-body); margin-top: 16px; }
.z-search__none { padding: 64px 0 24px; font-size: 17px; color: var(--z-muted); }
.z-search__none strong { color: var(--z-ink); }

/* ---------- Basic page / 404 ---------- */
.z-page { max-width: 760px; margin: 0 auto; padding: 48px var(--z-gutter) 104px; }
.z-page__title { font-family: var(--z-display); font-size: clamp(34px, 4vw, 50px); font-weight: 900; line-height: 1.04; text-transform: uppercase; margin: 0; text-wrap: balance; }
.z-page .z-content { margin-top: 12px; }
.z-404 { text-align: center; }
.z-404 .z-page__title { font-size: clamp(48px, 9vw, 120px); color: var(--z-purple); }
.z-404 p { font-size: 18px; color: var(--z-body); }

/* ---------- CTA + footer ---------- */
.z-ctawrap { padding: 32px clamp(16px, 3vw, 40px) 0; position: relative; z-index: 1; background: #fff; }
.z-bigcta {
	max-width: 1360px; margin: 0 auto; border-radius: 18px; overflow: hidden; position: relative; min-height: clamp(380px, 60vw, 460px);
	display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: clamp(40px, 7vw, 64px) 20px 36px; text-align: center;
	background: var(--z-night) center / cover no-repeat;
}
.z-bigcta__shade { position: absolute; inset: 0; background: rgba(12,4,20,0.62); pointer-events: none; }
.z-bigcta__copy { position: relative; }
.z-bigcta__title { font-family: var(--z-display); font-size: clamp(38px, 5.4vw, 72px); font-weight: 900; line-height: 1.02; text-transform: uppercase; color: #fff; max-width: 760px; margin: 0 auto; text-wrap: balance; }
.z-bigcta__sub { color: #fff; font-size: 15px; line-height: 1.5; margin: 16px auto 0; max-width: 460px; text-wrap: pretty; }
.z-bigcta__actions { position: relative; display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: clamp(32px, 6vw, 56px); }
.z-qr { background: rgba(255,255,255,0.14); border-radius: 12px; padding: 8px 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.z-qr img { width: 92px; height: 92px; border-radius: 6px; object-fit: contain; display: block; }
.z-qr span { color: #fff; font-size: 10px; }
.z-stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.z-store { background: #fff; color: var(--z-ink); border-radius: 8px; padding: 6px 14px; display: flex; align-items: center; gap: 8px; transition: background .2s; }
.z-store:hover { background: var(--z-lilac); color: var(--z-ink); }
.z-store__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.z-store__small { font-size: 8px; }
.z-store__big { font-size: 14px; font-weight: 700; }

.z-footer-wave { margin-top: 16px; position: relative; }
.z-footer-wave svg { display: block; width: 100%; height: 56px; }
.z-footer { background: var(--z-ink); color: var(--z-footer-text); padding: clamp(48px, 7vw, 80px) clamp(20px, 5vw, 64px) 48px; overflow: hidden; }
.z-footer__top { max-width: 1320px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.z-footer__brand { display: flex; flex-direction: column; gap: 22px; }
.z-footer__brand .z-logo img, .z-footer__brand .z-logo svg { width: 132px; height: 37px; }
.z-social { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.z-footer .z-social a, .z-social a { width: 36px; height: 36px; border-radius: 50%; background: #FFF4FA; display: flex; align-items: center; justify-content: center; transition: background .15s; color: var(--z-ink); }
.z-footer .z-social a:hover { background: var(--z-footer-head); color: var(--z-ink); }
.z-footer__cols { display: flex; flex-wrap: wrap; gap: 40px clamp(32px, 5vw, 88px); }
.z-footer__col { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.z-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.z-footer__head { color: var(--z-footer-head); font-weight: 700; font-size: 19px; margin: 0 0 4px; }
.z-footer a { color: var(--z-footer-text); }
.z-footer a:hover { color: #fff; }
.z-footer__contact { display: flex; align-items: center; gap: 12px; }
.z-footer__slogan-wrap { display: flex; justify-content: center; margin-top: clamp(56px, 8vw, 96px); }
.z-footer__slogan {
	position: relative; font-family: var(--z-display); font-size: clamp(36px, 6.4vw, 80px); font-weight: 900; line-height: .92; text-transform: uppercase;
	text-align: center; color: var(--z-footer-head); padding: 0 clamp(24px, 4vw, 48px);
}
.z-badge {
	position: absolute; font-family: var(--z-sans); font-size: clamp(12px, 1.2vw, 16px); font-weight: 600; text-transform: none; letter-spacing: 0;
	padding: 8px 18px; border-radius: 999px; line-height: 1.2; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.z-badge--1 { top: -22%; right: -2%; background: #22C55E; color: #0B2A14; transform: rotate(4deg); }
.z-badge--2 { top: 38%; left: 2%; background: var(--z-pink); color: #fff; }
.z-badge--3 { bottom: -22%; left: 54%; background: #6A0DD9; color: #fff; transform: rotate(-12deg); }
.z-footer__squiggle { display: block; width: 100%; max-width: 1320px; height: 26px; margin: clamp(56px, 7vw, 80px) auto 0; }
.z-footer__legal { max-width: 1240px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 22px; font-size: clamp(12px, 1.1vw, 14px); line-height: 1.55; color: #B9A9C9; text-align: center; text-wrap: pretty; }
.z-footer__legal p { margin: 0; }
.z-footer__copy { text-align: center; font-size: clamp(13px, 1.2vw, 16px); color: var(--z-footer-text); margin-top: 56px; }

/* Toast for copy link */
.z-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--z-ink); color: #fff; font-size: 14px; font-weight: 700;
	padding: 12px 20px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 1000;
}
.z-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* WordPress core alignment classes */
.alignleft { float: left; margin: 6px 24px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor, .gallery-caption { }

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