/*
Theme Name: Zurich
Theme URI: https://wordpress.org/themes/
Author: Zurich
Description: A bold Swiss-poster blogging theme for guest-post sites. Strict grid, big type, red accent and large post numbers. Two sidebars on the left (Categories and Pages, then 10 shuffled posts with image, title and 100-word preview that change on every visit) and a numbered post list on the right. Self-hosted font, 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: zurich
Update URI: false
Tags: blog, news, three-columns, left-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, theme-options
*/

/* Fonts (self-hosted, no Google requests) */
@font-face {
	font-family: "Inter Tight";
	src: url("assets/fonts/inter-tight.woff2") format("woff2");
	font-weight: 100 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(--zu-bg);
	color: var(--zu-ink);
	font-family: var(--zu-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(--zu-display);
	line-height: 1.15;
	text-wrap: balance;
}

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

.zu-wrap { width: min(100% - 32px, var(--zu-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(--zu-accent);
	color: var(--zu-on-accent);
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none;
}

/* Buttons */
.zu-btn,
.comment-form .submit {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	padding: 0.7em 1.25em;
	background: var(--zu-accent);
	color: var(--zu-on-accent);
	border: 0;
	border-radius: var(--zu-btn-radius, 8px);
	font-family: var(--zu-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;
}
.zu-btn:hover,
.comment-form .submit:hover { transform: translateY(-2px); }

/* Mobile menu toggle (pure CSS checkbox) */
.zu-nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.zu-nav-button { display: none; }
.zu-burger { position: relative; width: 18px; height: 12px; }
.zu-burger::before,
.zu-burger::after,
.zu-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;
}
.zu-burger::before { top: 0; }
.zu-burger span { top: 5px; }
.zu-burger::after { top: 10px; }
.zu-nav-toggle:checked + .zu-nav-button .zu-burger::before { transform: translateY(5px) rotate(45deg); }
.zu-nav-toggle:checked + .zu-nav-button .zu-burger span { opacity: 0; }
.zu-nav-toggle:checked + .zu-nav-button .zu-burger::after { transform: translateY(-5px) rotate(-45deg); }
.zu-nav-toggle:focus-visible + .zu-nav-button { outline: 3px solid currentColor; outline-offset: 3px; }

.zu-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.zu-menu li { position: relative; }
.zu-menu a { display: block; text-decoration: none; }
.zu-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;
}
.zu-menu li:hover > .sub-menu,
.zu-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

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

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

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

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

.zu-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.zu-tags a { padding: 0.3em 0.75em; border-radius: 6px; background: var(--zu-soft); font-size: 0.82rem; font-weight: 600; text-decoration: none; }
.zu-tags a::before { content: "#"; color: var(--zu-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(--zu-accent); }

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

.zu-postnav { margin-top: 36px; }
.zu-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.zu-postnav .nav-next { grid-column: 2; text-align: right; }
.zu-postnav a { display: block; height: 100%; padding: 18px 20px; text-decoration: none; }
.zu-postnav__label { display: block; margin-bottom: 4px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--zu-muted); }
.zu-postnav__title { font-family: var(--zu-display); font-weight: 700; line-height: 1.3; }
@media (max-width: 640px) {
	.zu-postnav .nav-links { grid-template-columns: 1fr; }
	.zu-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(--zu-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 */
.zu-archive-head { margin-bottom: 32px; }
.zu-archive-head__title { margin: 10px 0 8px; font-size: clamp(2.1rem, 5vw, 3.2rem); }
.zu-archive-head__desc { color: var(--zu-muted); max-width: 60ch; }
.zu-archive-head .zu-search { margin-top: 18px; max-width: 520px; }

/* Search + comments */
.zu-search { display: flex; gap: 8px; }
.zu-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(--zu-paper);
	color: var(--zu-ink);
	border: 1px solid var(--zu-line);
	border-radius: var(--zu-input-radius, 8px);
	font: inherit;
	font-size: 1rem;
}
.zu-search__input:focus,
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--zu-accent); box-shadow: 0 0 0 3px var(--zu-ring, rgba(0, 0, 0, 0.12)); }
.zu-search__btn {
	flex: none;
	display: grid;
	place-items: center;
	width: 50px;
	background: var(--zu-accent);
	color: var(--zu-on-accent);
	border: 0;
	border-radius: var(--zu-input-radius, 8px);
	cursor: pointer;
}

.zu-comments { margin-top: 44px; }
.zu-comments__title { font-size: 1.6rem; margin-bottom: 20px; }
.zu-comment-list,
.zu-comment-list .children { margin: 0; padding: 0; list-style: none; }
.zu-comment-list .children { margin-left: clamp(14px, 4vw, 34px); }
.comment-body { margin-bottom: 16px; padding: 18px 20px; background: var(--zu-paper); border: 1px solid var(--zu-line); border-radius: var(--zu-radius); }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--zu-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(--zu-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(--zu-paper); border: 1px solid var(--zu-line); border-radius: var(--zu-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 */
.zu-404,
.zu-empty { padding: clamp(28px, 5vw, 48px); text-align: center; background: var(--zu-paper); border-radius: var(--zu-radius); }
.zu-404__num { margin: 0; font-family: var(--zu-display); font-weight: 800; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--zu-accent); }
.zu-404 .zu-search,
.zu-empty .zu-search { max-width: 460px; margin: 18px auto 22px; }

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

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


/* ==========================================================================
   Zurich look
   ========================================================================== */
:root {
	--zu-bg: #ffffff;
	--zu-paper: #ffffff;
	--zu-ink: #0a0a0a;
	--zu-muted: #555555;
	--zu-soft: #f2f2f2;
	--zu-line: #0a0a0a;
	--zu-hair: #d9d9d9;
	--zu-accent: #e30613;
	--zu-on-accent: #ffffff;
	--zu-link: #0a0a0a;
	--zu-radius: 0;
	--zu-btn-radius: 0;
	--zu-input-radius: 0;
	--zu-img-radius: 0;
	--zu-focus: #e30613;
	--zu-ring: rgba(227, 6, 19, 0.15);
	--zu-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--zu-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
	--zu-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
	--zu-wrap: 1400px;
}

body { font-size: 1rem; letter-spacing: -0.005em; }
h1, h2, h3, h4, h5, h6 { font-weight: 800; letter-spacing: -0.035em; }
.zu-thumb { background: var(--zu-soft); }
.zu-thumb img { transition: filter 0.3s ease, transform 0.4s ease; }
.zu-bw .zu-thumb img { filter: grayscale(1); }
a.zu-thumb:hover img,
.zu-card:hover .zu-thumb img,
.zu-rand:hover .zu-thumb img { filter: none; transform: none; }
.zu-thumb__fallback { background: var(--zu-soft); color: var(--zu-accent); font-weight: 900; letter-spacing: -0.05em; }

.zu-btn { font-weight: 700; letter-spacing: 0; }
.zu-btn:hover { background: var(--zu-ink); color: #ffffff; transform: none; }

/* Header */
.zu-header__inner {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: end;
	gap: 16px 24px;
	padding-block: 34px 18px;
}
.zu-brand { grid-column: 1 / span 6; }
.zu-brand__title { margin: 0; font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.055em; }
.zu-brand__title a { text-decoration: none; }
.zu-brand__title a:hover { color: var(--zu-accent); }
.zu-brand__tagline { grid-column: 7 / span 3; margin: 0; font-size: 0.95rem; font-weight: 500; line-height: 1.35; }
.zu-header__tools { grid-column: 10 / span 3; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.zu-header__tools .zu-search { width: 100%; }
.zu-header__tools .zu-search__input { border: 0; border-bottom: 2px solid var(--zu-ink); background: transparent; padding-inline: 0; }
.zu-header__tools .zu-search__btn { background: var(--zu-ink); color: #ffffff; }
.custom-logo { max-height: 90px; width: auto; }

.zu-navbar { border-top: 6px solid var(--zu-accent); border-bottom: 1px solid var(--zu-line); }
.zu-menu { counter-reset: zum; gap: 0; }
.zu-menu > li { counter-increment: zum; }
.zu-menu > li > a { display: flex; align-items: baseline; gap: 8px; padding: 14px 22px 14px 0; font-size: 0.98rem; font-weight: 700; }
.zu-menu > li > a::before { content: counter(zum, decimal-leading-zero); font-size: 0.72rem; font-weight: 600; color: var(--zu-accent); }
.zu-menu a:hover,
.zu-menu .current-menu-item > a,
.zu-menu .current_page_item > a { color: var(--zu-accent); }
.zu-menu .sub-menu { background: #ffffff; border: 1px solid var(--zu-ink); }
.zu-menu .sub-menu a { padding: 8px 12px; font-weight: 600; }

@media (max-width: 1000px) {
	.zu-brand { grid-column: 1 / -1; }
	.zu-brand__tagline { grid-column: 1 / span 7; }
	.zu-header__tools { grid-column: 8 / -1; }
}
@media (max-width: 700px) {
	.zu-brand__tagline,
	.zu-header__tools { grid-column: 1 / -1; }
	.zu-header__tools { align-items: stretch; }
	.zu-nav-button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 0; font-weight: 800; cursor: pointer; }
	.zu-nav { display: none; padding-bottom: 12px; }
	.zu-nav-toggle:checked ~ .zu-nav { display: block; }
	.zu-menu { flex-direction: column; align-items: stretch; }
	.zu-menu > li > a { padding-block: 10px; border-top: 1px solid var(--zu-hair); }
	.zu-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding-left: 28px; }
}

/* Layout: two sidebars on the left */
.zu-layout {
	display: grid;
	grid-template-columns: 200px 270px minmax(0, 1fr);
	grid-template-areas: "a b main";
	gap: 0 32px;
	align-items: start;
	padding-block: 40px 80px;
}
.zu-main { grid-area: main; min-width: 0; }
.zu-side { min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.zu-side--a { grid-area: a; }
.zu-side--b { grid-area: b; }
@media (max-width: 1200px) {
	.zu-layout { grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "a main" "b main"; gap: 40px 32px; }
}
@media (max-width: 860px) {
	.zu-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "a" "b"; }
	.zu-side--a { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
}
@media (max-width: 480px) {
	.zu-side--a { grid-template-columns: minmax(0, 1fr); }
}

/* Boxes */
.zu-box__title,
.zu-box__heading {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.zu-box > .zu-box__title,
.zu-box--random .zu-box__title { padding-top: 8px; margin-bottom: 14px; border-top: 2px solid var(--zu-ink); }
.zu-box__hint { display: block; margin-top: 2px; font-size: 0.78rem; font-weight: 500; color: var(--zu-muted); text-transform: none; letter-spacing: 0; }
.zu-cat { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.zu-cat:hover,
.zu-cat.is-current { color: var(--zu-accent); }
.zu-count { font-size: 0.78rem; font-weight: 600; color: var(--zu-accent); }
.zu-pagelist a { display: block; padding: 4px 0; font-size: 1rem; font-weight: 500; }
.zu-pagelist a:hover,
.zu-pagelist .current_page_item > a { color: var(--zu-accent); }

.zu-rand { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--zu-hair); }
.zu-rand:last-child { border-bottom: 0; margin-bottom: 0; }
.zu-rand__thumb { aspect-ratio: 1 / 1; margin-bottom: 10px; }
.zu-rand__num { position: absolute; top: 0; left: 0; padding: 4px 8px; background: var(--zu-accent); color: #ffffff; font-size: 0.75rem; font-weight: 800; }
.zu-rand__title { font-size: 1.15rem; font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; }
.zu-rand__title a:hover { color: var(--zu-accent); }
.zu-rand__text { font-size: 0.86rem; line-height: 1.5; color: var(--zu-muted); }
.zu-rand__more { font-size: 0.85rem; font-weight: 800; text-decoration: none; color: var(--zu-accent); }
.zu-rand__more:hover { text-decoration: underline; }
.widget.zu-box > :not(.zu-box__title) { margin: 10px 0; }
@media (max-width: 1200px) and (min-width: 861px) {
	.zu-rand__thumb { aspect-ratio: 16 / 10; }
}
@media (max-width: 860px) {
	.zu-randlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 0 24px; }
	.zu-rand:last-child { border-bottom: 1px solid var(--zu-hair); margin-bottom: 20px; }
}

/* Main heading */
.zu-main-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--zu-ink); }
.zu-main-head__title { margin: 0; font-size: clamp(3rem, 7vw, 6rem); font-weight: 900; line-height: 0.85; letter-spacing: -0.06em; }
.zu-main-head__count { font-size: 0.9rem; font-weight: 600; color: var(--zu-muted); }

/* Numbered list */
.zu-feed { counter-reset: zu; }
.zu-card,
.zu-full { counter-increment: zu; }
.zu-card {
	position: relative;
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr) minmax(0, 0.55fr);
	grid-template-areas: "num body thumb";
	gap: 0 28px;
	padding-block: 26px;
	border-bottom: 1px solid var(--zu-hair);
}
.zu-card::before {
	content: counter(zu, decimal-leading-zero);
	grid-area: num;
	font-size: 3.2rem;
	font-weight: 900;
	line-height: 0.85;
	letter-spacing: -0.06em;
	color: var(--zu-accent);
}
.zu-card__thumb { grid-area: thumb; aspect-ratio: 4 / 3; }
.zu-card__body { grid-area: body; }
.zu-card__title { margin: 2px 0 10px; font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; }
.zu-card__title a:hover { color: var(--zu-accent); }
.zu-card__excerpt { max-width: 56ch; color: var(--zu-muted); font-size: 0.98rem; line-height: 1.55; }
.zu-card__excerpt p { margin: 0 0 10px; }
.zu-card .zu-meta { font-size: 0.8rem; }
@media (max-width: 640px) {
	.zu-card { grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "num thumb" "num body"; gap: 14px 16px; }
	.zu-card::before { font-size: 2.2rem; }
}
.archive .zu-feed,
.search .zu-feed { border-top: 2px solid var(--zu-ink); }

.zu-chip { font-size: 0.78rem; font-weight: 700; color: var(--zu-accent); }
.zu-chip:hover { text-decoration: underline; }
.zu-chips { margin-bottom: 4px; }
.zu-meta { color: var(--zu-muted); }
.zu-meta a { color: var(--zu-ink); }

/* Full posts (Customizer option) */
.zu-full { position: relative; padding: 30px 0 30px 118px; border-bottom: 1px solid var(--zu-hair); }
.zu-full::before { content: counter(zu, decimal-leading-zero); position: absolute; left: 0; top: 30px; font-size: 3.2rem; font-weight: 900; line-height: 0.85; letter-spacing: -0.06em; color: var(--zu-accent); }
.zu-full__thumb { margin-bottom: 18px; }
.zu-full__title { margin: 0 0 10px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.02; }
.zu-full__title a:hover { color: var(--zu-accent); }
.zu-full .zu-meta { margin-bottom: 18px; }
.zu-full__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.zu-btn--ghost { background: transparent; color: var(--zu-ink); border: 2px solid var(--zu-ink); }
@media (max-width: 640px) {
	.zu-full { padding-left: 0; padding-top: 70px; }
}

/* Article */
.zu-single__head { padding-bottom: 20px; border-bottom: 2px solid var(--zu-ink); margin-bottom: 26px; }
.zu-single__title { margin: 6px 0 16px; font-size: clamp(2.4rem, 5.4vw, 4.2rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.05em; }
.zu-single__thumb { margin-bottom: 28px; }
.zu-single__thumb img { filter: none; }
.zu-entry { font-size: 1.12rem; line-height: 1.7; }
.zu-entry h2,
.zu-entry h3 { font-weight: 800; letter-spacing: -0.03em; }
.zu-entry a { text-decoration-color: var(--zu-accent); text-decoration-thickness: 2px; }
.zu-entry a:hover { color: var(--zu-accent); }
.zu-entry blockquote,
.zu-entry .wp-block-quote { padding: 0 0 0 24px; border-left: 6px solid var(--zu-accent); font-size: 1.6rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }
.zu-entry li::marker { color: var(--zu-accent); }
.zu-author { padding: 22px 0; border-top: 2px solid var(--zu-ink); border-bottom: 1px solid var(--zu-hair); }
.zu-author__avatar { border-radius: 0; filter: grayscale(1); }
.zu-postnav a { padding: 18px 0; border-top: 2px solid var(--zu-ink); }
.zu-postnav a:hover .zu-postnav__title { color: var(--zu-accent); }
.zu-tags a { background: transparent; border: 1px solid var(--zu-ink); border-radius: 0; }
.zu-tags a:hover { background: var(--zu-ink); color: #ffffff; }

.page-numbers { border: 2px solid var(--zu-ink); font-weight: 800; color: var(--zu-ink); }
a.page-numbers:hover { background: var(--zu-ink); color: #ffffff; }
.page-numbers.current { background: var(--zu-accent); border-color: var(--zu-accent); color: #ffffff; }

.zu-kicker { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--zu-accent); }
.zu-archive-head { margin-bottom: 0; padding-bottom: 14px; }
.zu-archive-head__title { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 900; line-height: 0.88; letter-spacing: -0.06em; }
.zu-404,
.zu-empty { text-align: left; padding: 0; background: transparent; }
.zu-404__num { font-size: clamp(6rem, 22vw, 14rem); font-weight: 900; letter-spacing: -0.07em; line-height: 0.8; }
.zu-404 .zu-search,
.zu-empty .zu-search { margin-inline: 0; }
.comment-body,
.comment-respond { border-color: var(--zu-hair); }

/* Footer */
.zu-footer { background: var(--zu-ink); color: #ffffff; padding-block: 50px 40px; }
.zu-footer a { color: inherit; text-decoration: none; }
.zu-footer a:hover { color: var(--zu-accent); }
.zu-footer__widgets { border-bottom: 1px solid #333333; }
.zu-footer-widget__title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
.zu-footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.zu-footer__brand { grid-column: 1 / span 6; font-size: clamp(2.2rem, 6vw, 4.4rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.055em; }
.zu-footer__nav { grid-column: 7 / span 3; }
.zu-footer__menu { margin: 0; padding: 0; list-style: none; font-weight: 600; }
.zu-footer__meta { grid-column: 10 / span 3; font-size: 0.85rem; color: #bbbbbb; }
.zu-footer__meta p { margin: 0 0 8px; }
@media (max-width: 760px) {
	.zu-footer__brand,
	.zu-footer__nav,
	.zu-footer__meta { grid-column: 1 / -1; }
}
