/*
Theme Name: Ženski portal – Journal
Theme URI: https://zenskiportal.me
Author: Ženski portal
Description: Editorijalna magazin tema za zenskiportal.me. Čist, bijeli lifestyle izgled sa izdvojenim slajderom, blokovima rubrika, listom najčitanijih i čitljivim člancima. Radi sa postojećim člancima, kategorijama, menijima i Elementor stranama.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zenski
Tags: blog, news, two-columns, custom-logo, custom-menu, featured-images, sticky-post, threaded-comments, translation-ready
*/

/* ============ Tokens ============ */
:root {
	--zp-ink: #000;
	--zp-body: #262626;
	--zp-muted: #6f6a6c;
	--zp-line: #e7e2e3;
	--zp-soft: #fff;
	--zp-paper: #fff;
	--zp-accent: #6e1a37; /* vranac – overridable in Customizer */

	--zp-serif: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
	--zp-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--zp-max: 1440px;
	--zp-pad: clamp(18px, 4vw, 32px);
	--zp-gap: clamp(20px, 2.6vw, 36px);
	--zp-sticky-top: var(--wp-admin--admin-bar--height, 0px);
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.zp-locked { overflow: hidden; }
body {
	margin: 0;
	background: var(--zp-paper);
	color: var(--zp-body);
	font-family: var(--zp-sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	/* Bodoni Moda: pin a low optical size so large titles keep sturdy hairlines instead of the thin display cut */
	font-variation-settings: "opsz" 11;
}
img, video, iframe, embed, object { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--zp-accent); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--zp-serif);
	color: var(--zp-ink);
	font-weight: 700;
	margin: 0;
	line-height: 1.15;
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--zp-accent); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}
.zp-skip {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--zp-ink); color: #fff; padding: 10px 16px;
}
.zp-skip:focus { top: 12px; color: #fff; }

.zp-wrap {
	width: 100%;
	max-width: calc(var(--zp-max) + var(--zp-pad) * 2);
	margin-inline: auto;
	padding-inline: var(--zp-pad);
}

/* ============ Header ============ */
.zp-topbar {
	border-bottom: 1px solid var(--zp-line);
	font-size: .8125rem;
	color: var(--zp-muted);
}
.zp-topbar__inner {
	display: flex; justify-content: flex-end; align-items: center;
	min-height: 38px; gap: 16px;
}
.zp-social { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.zp-social a { display: inline-flex; align-items: center; justify-content: center; color: var(--zp-ink); transition: color .2s ease; }
.zp-social a:hover { color: var(--zp-accent); }
.zp-social svg { display: block; width: 20px; height: 20px; }
.zp-topbar .zp-social svg { width: 17px; height: 17px; }

.zp-masthead { background: var(--zp-paper); }
.zp-masthead__inner {
	display: grid;
	grid-template-columns: 48px 1fr 48px;
	align-items: center;
	padding-block: clamp(14px, 2.4vw, 28px);
}
.zp-brand { text-align: center; }
.zp-brand .custom-logo-link { display: inline-block; }
.zp-brand .custom-logo { max-height: 76px; width: auto; margin-inline: auto; }
.zp-brand__logo { display: inline-block; }
.zp-brand__logo__img { height: 76px; width: auto; margin-inline: auto; }
.zp-drawer__logo { display: inline-block; margin-bottom: 24px; }
.zp-drawer__logo__img, .zp-drawer .custom-logo { height: 44px; width: auto; }
.zp-brand__name {
	font-family: var(--zp-serif);
	font-size: clamp(2rem, 5vw, 3.6rem);
	font-weight: 500;
	letter-spacing: -.01em;
	color: var(--zp-ink);
}
.zp-iconbtn {
	width: 44px; height: 44px;
	display: inline-grid; place-items: center;
	background: none; border: 0; padding: 0;
	color: var(--zp-ink);
}
.zp-iconbtn:hover { color: var(--zp-accent); }
.zp-search-toggle { justify-self: end; }

.zp-nav {
	position: sticky;
	top: var(--zp-sticky-top);
	z-index: 50;
	background: var(--zp-paper);
	border-top: 1px solid var(--zp-line);
	border-bottom: 1px solid var(--zp-ink);
}
.zp-menu {
	list-style: none;
	display: flex; justify-content: center; flex-wrap: wrap;
}
.zp-menu > li { position: relative; }
.zp-menu a {
	display: block;
	padding: 13px 16px;
	font-size: .95rem;
	font-weight: 700;
	color: var(--zp-ink);
}
.zp-menu > li > a { position: relative; }
.zp-menu > li > a::after {
	content: ""; position: absolute; left: 16px; right: 16px; bottom: 8px;
	height: 2px; background: var(--zp-accent);
	transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.zp-menu > li > a:hover::after,
.zp-menu > .current-menu-item > a::after,
.zp-menu > .current-category-ancestor > a::after,
.zp-menu > .current-menu-parent > a::after { transform: scaleX(1); }
.zp-menu .sub-menu {
	list-style: none;
	position: absolute; left: 0; top: 100%;
	min-width: 220px;
	background: var(--zp-paper);
	border: 1px solid var(--zp-line);
	padding: 8px 0;
	opacity: 0; visibility: hidden; transform: translateY(4px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.zp-menu li:hover > .sub-menu,
.zp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.zp-menu .sub-menu a { padding: 8px 18px; font-weight: 500; }

/* Search overlay */
.zp-search {
	position: fixed; inset: 0; z-index: 200;
	background: rgba(0, 0, 0, .35);
}
.zp-search__inner {
	background: var(--zp-paper);
	display: flex; align-items: center; gap: 16px;
	padding-block: 28px;
	margin-top: var(--zp-sticky-top);
	max-width: none;
}
.zp-search .zp-searchform { flex: 1; max-width: var(--zp-max); margin-inline: auto; }
.zp-search .zp-searchform input { font-family: var(--zp-serif); font-size: clamp(1.4rem, 3vw, 2.2rem); }

/* Drawer */
.zp-drawer {
	position: fixed; inset: 0; z-index: 210;
	background: rgba(0, 0, 0, .35);
}
.zp-drawer__panel {
	position: absolute; top: 0; left: 0; bottom: 0;
	width: min(380px, 88vw);
	background: var(--zp-paper);
	padding: calc(var(--zp-sticky-top) + 20px) 28px 32px;
	overflow-y: auto;
	display: flex; flex-direction: column; gap: 28px;
}
.zp-drawer-close { margin-left: -10px; }
.zp-drawer__menu { list-style: none; }
.zp-drawer__menu > li > a {
	display: block;
	font-family: var(--zp-serif);
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--zp-ink);
	padding: 8px 0;
	border-bottom: 1px solid var(--zp-line);
}
.zp-drawer__menu .sub-menu { list-style: none; padding: 6px 0 10px 2px; }
.zp-drawer__menu .sub-menu a { display: block; padding: 4px 0; color: var(--zp-muted); font-weight: 500; }
.zp-drawer .zp-social { gap: 10px; }
.zp-drawer .zp-social a, .zp-footer .zp-social a {
	width: 40px; height: 40px;
	border: 1px solid var(--zp-line); border-radius: 50%;
	transition: color .2s ease, border-color .2s ease;
}
.zp-drawer .zp-social a:hover, .zp-footer .zp-social a:hover { border-color: var(--zp-accent); }
.zp-drawer .zp-searchform {
	border: 1px solid var(--zp-line);
	border-radius: 999px;
	background: var(--zp-paper);
	padding-inline: 18px 6px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.zp-drawer .zp-searchform:focus-within { border-color: var(--zp-accent); box-shadow: 0 0 0 3px rgba(110, 26, 55, .12); }
.zp-drawer .zp-searchform input { padding: 12px 0; font-size: 1rem; }
.zp-drawer .zp-searchform input::placeholder { color: var(--zp-muted); }
.zp-drawer .zp-searchform button {
	justify-content: center;
	width: 40px; height: 40px; margin-block: 3px; padding: 0;
	border-radius: 50%;
	background: var(--zp-ink); color: #fff;
	transition: background .2s ease;
}
.zp-drawer .zp-searchform button:hover { background: var(--zp-accent); color: #fff; }
.zp-drawer .zp-searchform__label {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Search form */
.zp-searchform { display: flex; border-bottom: 1px solid var(--zp-ink); }
.zp-searchform input {
	flex: 1; min-width: 0;
	border: 0; background: transparent;
	padding: 10px 0;
	font: inherit; font-size: 1.05rem; color: var(--zp-ink);
}
.zp-searchform input:focus { outline: none; }
.zp-searchform:focus-within { border-bottom-color: var(--zp-accent); }
.zp-searchform button {
	display: flex; align-items: center; gap: 8px;
	border: 0; background: none;
	padding: 10px 0 10px 16px;
	font-weight: 600; color: var(--zp-ink); cursor: pointer;
}
.zp-searchform button:hover { color: var(--zp-accent); }

/* ============ Shared bits ============ */
.zp-main { padding-bottom: clamp(48px, 7vw, 96px); }
.zp-cat {
	display: inline-block;
	font-family: var(--zp-sans);
	font-size: .8125rem;
	font-weight: 600;
	letter-spacing: .01em;
	color: var(--zp-accent);
	margin-bottom: 8px;
}
.zp-cat:hover { color: var(--zp-ink); }
.zp-meta {
	display: flex; flex-wrap: wrap; gap: 4px 14px;
	font-size: .8125rem;
	color: var(--zp-muted);
	margin-top: 10px;
}
.zp-meta__author { color: var(--zp-body); font-weight: 500; }
.zp-noimg {
	display: grid; place-items: center;
	width: 100%; height: 100%;
	background: var(--zp-soft);
	font-family: var(--zp-serif); font-style: italic;
	color: var(--zp-muted);
	font-size: 1.1rem;
}

.zp-section { margin-top: clamp(40px, 6vw, 80px); }
.zp-section__head {
	display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
	border-top: 1px solid var(--zp-ink);
	padding-top: 14px;
	margin-bottom: clamp(20px, 2.6vw, 32px);
}
.zp-section__title { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.zp-section__title a:hover { color: var(--zp-accent); }
.zp-section__more {
	font-size: .875rem; font-weight: 500;
	color: var(--zp-ink);
	border-bottom: 1px solid currentColor;
	white-space: nowrap;
}

/* Category blocks on the home page: centred title between rules, small "Sve iz rubrike →" below */
.zp-catblock .zp-section__head {
	flex-direction: column; align-items: center; gap: 10px;
	border-top: 0; padding-top: 0;
	margin-bottom: clamp(24px, 3vw, 40px);
}
.zp-catblock .zp-section__title {
	display: flex; align-items: center; gap: clamp(16px, 2.5vw, 32px);
	width: 100%;
	font-size: clamp(1.9rem, 3.4vw, 2.8rem);
	text-align: center;
}
.zp-catblock .zp-section__title::before,
.zp-catblock .zp-section__title::after {
	content: ""; flex: 1; height: 1px; background: var(--zp-ink);
}
.zp-catblock .zp-section__title a { flex: 0 1 auto; padding-bottom: .08em; }
.zp-catblock .zp-section__more {
	border-bottom: 0;
	font-size: .75rem; font-weight: 600;
	letter-spacing: .14em; text-transform: uppercase;
	color: var(--zp-accent);
}
.zp-catblock .zp-section__more::after { content: " \2192"; transition: margin .2s ease; }
.zp-catblock .zp-section__more:hover { color: var(--zp-ink); }
.zp-catblock .zp-section__more:hover::after { margin-left: 4px; }

/* Grids */
.zp-grid { display: grid; gap: clamp(28px, 3vw, 44px) var(--zp-gap); }
.zp-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.zp-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Cards */
.zp-card__media {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: var(--zp-soft);
}
.zp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.zp-card:hover .zp-card__media img { transform: scale(1.03); }
.zp-card__body { padding-top: 14px; }
.zp-card__title { font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 700; line-height: 1.22; }
.zp-card__title a { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .25s ease; }
.zp-card__title a:hover { color: var(--zp-ink); background-size: 100% 1px; }
/* Grid cards: title always takes 3 lines (longer ones are cut with …), so the date sits at the same height in every card */
.zp-card--grid .zp-card__title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3;
	overflow: hidden;
	min-height: calc(3em * 1.22);
}

.zp-card--lead .zp-card__title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.1; }
.zp-card__excerpt { margin-top: 12px; color: var(--zp-body); max-width: 60ch; }

.zp-card--list {
	display: grid; grid-template-columns: 104px 1fr; gap: 18px;
	padding-block: 18px;
	border-top: 1px solid var(--zp-line);
}
.zp-card--list:first-child { border-top: 0; padding-top: 0; }
.zp-card--list .zp-card__media { aspect-ratio: 1; }
.zp-card--list .zp-card__body { padding-top: 0; }
.zp-card--list .zp-card__title { font-size: 1.1rem; }
.zp-card--list .zp-cat { margin-bottom: 4px; }
.zp-card--list .zp-meta { margin-top: 6px; }

/* ============ Hero carousel ============ */
.zp-hero { margin-top: clamp(20px, 3vw, 40px); }
.zp-hero__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}
.zp-hero__track::-webkit-scrollbar { display: none; }
.zp-hero__slide {
	flex: 0 0 100%;
	scroll-snap-align: start;
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
}
.zp-hero__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--zp-soft); }
.zp-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.zp-hero__body { padding-block: 12px; }
.zp-hero__title {
	font-size: clamp(1.7rem, 2.5vw, 2.6rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.012em;
	text-wrap: balance;
	/* long headlines stop at 4 lines so the text never gets taller than the photo */
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden;
}
.zp-hero__title a:hover { color: var(--zp-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.zp-hero__excerpt {
	margin-top: 16px; font-size: 1.05rem; max-width: 46ch;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.zp-hero__dots {
	display: flex; gap: 2px;
	margin-top: 22px;
	justify-content: center;
}
.zp-hero__dots button {
	display: grid; place-items: center;
	width: 32px; height: 28px; padding: 0;
	background: none; border: 0; cursor: pointer;
}
.zp-hero__dots button::before {
	content: ""; display: block;
	width: 8px; height: 8px; border-radius: 999px;
	background: var(--zp-line);
	transition: width .25s ease, background-color .25s ease;
}
.zp-hero__dots button:hover::before { background: var(--zp-muted); }
.zp-hero__dots button[aria-current="true"]::before { width: 26px; background: var(--zp-accent); }

/* ============ Home split ============ */
.zp-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(32px, 4vw, 64px);
	align-items: start;
}
.zp-split__side { position: sticky; top: calc(var(--zp-sticky-top) + 72px); }
.zp-popular .zp-section__title {
	border-top: 1px solid var(--zp-ink);
	padding-top: 14px;
	margin-bottom: 8px;
}
.zp-ranklist { list-style: none; }
.zp-rank {
	display: grid; grid-template-columns: 44px 1fr; gap: 10px;
	padding-block: 16px;
	border-bottom: 1px solid var(--zp-line);
}
.zp-rank__num {
	font-family: var(--zp-serif); font-style: italic;
	font-size: 2.2rem; line-height: 1;
	color: var(--zp-accent);
}
.zp-rank .zp-cat { margin-bottom: 2px; font-size: .75rem; }
.zp-rank__title { font-size: 1.08rem; font-weight: 700; line-height: 1.25; }
.zp-rank__title a:hover { color: var(--zp-accent); }

/* Category blocks */
.zp-feature {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: var(--zp-gap);
}

/* Ads */
.zp-ad { margin-top: clamp(40px, 6vw, 72px); text-align: center; }
.zp-ad .zp-widget { margin: 0; }
.zp-ad img { margin-inline: auto; }

/* Widgets / sidebar */
.zp-sidebar { display: grid; gap: 36px; }
.zp-split__side .zp-sidebar { margin-top: 36px; }
.zp-side-search { margin-top: 32px; }
.zp-sidelatest .zp-section__title {
	font-size: 1.5rem;
	border-top: 1px solid var(--zp-ink);
	padding-top: 12px; margin-bottom: 18px;
}
.zp-sidelatest .zp-card--list { grid-template-columns: 76px 1fr; gap: 14px; padding-block: 14px; }
.zp-sidelatest .zp-card--list:first-of-type { border-top: 0; padding-top: 0; }
.zp-sidelatest .zp-card__title { font-size: 1rem; line-height: 1.25; }
.zp-widget { font-size: .95rem; }
.zp-widget__title {
	font-size: 1.4rem;
	border-top: 1px solid var(--zp-ink);
	padding-top: 12px;
	margin-bottom: 14px;
}
.zp-widget ul { list-style: none; }
.zp-widget li { padding-block: 7px; border-bottom: 1px solid var(--zp-line); }
.zp-widget img { margin-inline: auto; }

/* ============ Archives ============ */
.zp-archive-head {
	padding-top: clamp(32px, 5vw, 64px);
	margin-bottom: clamp(28px, 4vw, 48px);
	text-align: center;
}
.zp-archive-head__title {
	font-size: clamp(2.4rem, 6vw, 4.6rem);
	font-weight: 700;
	letter-spacing: -.015em;
}
.zp-archive-head__desc { max-width: 60ch; margin: 14px auto 0; color: var(--zp-body); }
.zp-archive-head__count { margin-top: 10px; color: var(--zp-muted); font-size: .875rem; }
.zp-archive-head__search { max-width: 520px; margin: 24px auto 0; }
.zp-subcats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 18px; }
.zp-subcats a { font-weight: 500; border-bottom: 1px solid var(--zp-line); }
.zp-subcats a:hover { border-bottom-color: var(--zp-accent); }

.zp-listing--side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 4vw, 64px); align-items: start; }
.zp-listing__lead { margin-bottom: clamp(36px, 5vw, 60px); }
.zp-listing__lead .zp-card--lead {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: var(--zp-gap); align-items: center;
}
.zp-listing__lead .zp-card__body { padding-top: 0; }
.zp-empty { padding: 40px 0; max-width: 520px; }
.zp-empty p { margin-bottom: 20px; }

.pagination { margin-top: clamp(40px, 5vw, 64px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.pagination .page-numbers {
	min-width: 40px; height: 40px; padding: 0 10px;
	display: inline-grid; place-items: center;
	font-weight: 500;
	border: 1px solid transparent;
}
.pagination a.page-numbers:hover { border-color: var(--zp-ink); color: var(--zp-ink); }
.pagination .page-numbers.current { background: var(--zp-ink); color: #fff; }
.pagination .dots { border: 0; }

.zp-404 { padding-top: clamp(40px, 6vw, 80px); text-align: center; max-width: 640px; }
.zp-404 p { margin: 16px 0 28px; }

/* ============ Article ============ */
.zp-article__head {
	max-width: 900px;
	text-align: center;
	padding-top: clamp(32px, 5vw, 64px);
	margin-bottom: clamp(24px, 4vw, 44px);
}
.zp-article__title {
	font-size: clamp(2.1rem, 5vw, 3.9rem);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -.015em;
	text-wrap: balance;
}
.zp-article__standfirst {
	font-family: var(--zp-serif);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	line-height: 1.45;
	color: var(--zp-body);
	max-width: 44ch;
	margin: 20px auto 0;
}
.zp-article__head .zp-meta { justify-content: center; margin-top: 20px; }
.zp-article__hero { margin-block: 0 clamp(28px, 4vw, 48px); }
.zp-article__hero img { width: 100%; max-height: 82vh; object-fit: cover; }
.zp-article__hero figcaption { margin-top: 10px; font-size: .8125rem; color: var(--zp-muted); }

.zp-article__layout { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; }
.zp-article__layout--side { grid-template-columns: minmax(0, 720px) 300px; gap: clamp(40px, 5vw, 72px); }
.zp-article__side { position: sticky; top: calc(var(--zp-sticky-top) + 72px); align-self: start; }

/* Article content (handles old Classic/Gutenberg/Elementor content) */
.entry-content { font-size: 1.125rem; line-height: 1.75; color: var(--zp-body); }
.entry-content > * + * { margin-top: 1.3em; }
.entry-content p:empty { display: none; }
.entry-content h2 { font-size: 1.9rem; margin-top: 1.8em; }
.entry-content h3 { font-size: 1.5rem; margin-top: 1.6em; }
.entry-content h4 { font-size: 1.25rem; margin-top: 1.4em; }
.entry-content a { color: var(--zp-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.entry-content a:hover { color: var(--zp-ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content strong { color: var(--zp-ink); }
.entry-content blockquote:not(.twitter-tweet):not(.instagram-media):not(.tiktok-embed) {
	margin-inline: 0;
	padding-left: 24px;
	border-left: 2px solid var(--zp-accent);
	font-family: var(--zp-serif);
	font-size: 1.45rem;
	line-height: 1.4;
	color: var(--zp-ink);
}
.entry-content blockquote cite { display: block; margin-top: 10px; font-family: var(--zp-sans); font-size: .875rem; font-style: normal; color: var(--zp-muted); }
.entry-content figure, .entry-content .wp-caption { margin-inline: 0; max-width: 100%; }
.entry-content figcaption, .entry-content .wp-caption-text, .entry-content .wp-element-caption {
	margin-top: 8px; font-size: .8125rem; line-height: 1.5; color: var(--zp-muted);
}
.entry-content .alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 50%; }
.entry-content .aligncenter { margin-inline: auto; text-align: center; }
.entry-content .aligncenter img { margin-inline: auto; }
.entry-content .alignwide, .entry-content .alignfull { margin-inline: 0; }
.entry-content iframe { display: block; margin-inline: auto; }
.entry-content .twitter-tweet, .entry-content .instagram-media { margin-inline: auto !important; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--zp-line); padding: 10px 8px; text-align: left; }
.entry-content hr { border: 0; border-top: 1px solid var(--zp-line); margin-block: 2.4em; }
.entry-content::after { content: ""; display: table; clear: both; }
.zp-pagelinks { margin-top: 2em; display: flex; gap: 10px; font-weight: 600; }

.zp-article__foot { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--zp-line); display: grid; gap: 22px; }
.zp-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.zp-tags a { display: inline-block; padding: 5px 12px; border: 1px solid var(--zp-line); font-size: .8125rem; }
.zp-tags a:hover { border-color: var(--zp-ink); color: var(--zp-ink); }
.zp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: .9rem; }
.zp-share__label { font-weight: 600; color: var(--zp-ink); }
.zp-share ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.zp-share a, .zp-copy { border: 0; background: none; padding: 0; border-bottom: 1px solid var(--zp-line); }
.zp-share a:hover, .zp-copy:hover { border-bottom-color: var(--zp-accent); color: var(--zp-accent); }

.zp-postnav {
	display: grid; grid-template-columns: 1fr 1fr; gap: var(--zp-gap);
	margin-top: clamp(40px, 5vw, 64px);
}
.zp-postnav a {
	display: flex; align-items: center; gap: 20px;
	padding-block: 22px;
	border-top: 1px solid var(--zp-ink);
	color: var(--zp-ink);
}
.zp-postnav__media { flex: 0 0 112px; aspect-ratio: 1; overflow: hidden; background: var(--zp-soft); }
.zp-postnav__media img, .zp-postnav__media .zp-noimg { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; font-size: .7rem; }
.zp-postnav a:hover .zp-postnav__media img { transform: scale(1.04); }
.zp-postnav__text { display: grid; gap: 6px; min-width: 0; }
.zp-postnav__label { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--zp-accent); }
.zp-postnav__title {
	font-family: var(--zp-serif); font-weight: 700; font-size: 1.2rem; line-height: 1.25;
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.zp-postnav .zp-date { font-size: .8125rem; color: var(--zp-muted); }
.zp-postnav a:hover .zp-postnav__title { color: var(--zp-accent); }
.zp-postnav__next { grid-column: 2; flex-direction: row-reverse; text-align: right; }

.zp-page { max-width: 820px; padding-top: clamp(32px, 5vw, 64px); }
.zp-page .zp-article__title { margin-bottom: 32px; }

/* Comments */
.zp-comments-wrap { max-width: 768px; margin-top: clamp(40px, 5vw, 64px); }
.zp-comments__list { list-style: none; margin: 20px 0 32px; }
.zp-comments__list .children { list-style: none; padding-left: 28px; }
.zp-comments__list .comment-body { padding-block: 18px; border-bottom: 1px solid var(--zp-line); }
.zp-comments__list .avatar { border-radius: 50%; float: left; margin-right: 12px; }
.comment-meta { font-size: .875rem; color: var(--zp-muted); }
.comment-respond { margin-top: 24px; }
.comment-reply-title { font-size: 1.6rem; margin-bottom: 14px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; font-size: .875rem; font-weight: 500; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; border: 1px solid var(--zp-line); padding: 10px 12px; font: inherit; background: var(--zp-paper);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--zp-ink); }
.comment-form .submit {
	background: var(--zp-ink); color: #fff; border: 0; padding: 12px 22px; font-weight: 600; cursor: pointer;
}

/* ============ Footer ============ */
.zp-footer { background: var(--zp-paper); color: var(--zp-body); font-size: .9375rem; border-top: 1px solid var(--zp-ink); }
.zp-footer a:hover { color: var(--zp-accent); text-decoration: underline; }
.zp-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: var(--zp-gap);
	padding-block: clamp(48px, 6vw, 80px) 40px;
}
.zp-footer__logo, .zp-footer .custom-logo-link { display: inline-block; margin-bottom: 14px; }
.zp-footer__logo__img, .zp-footer .custom-logo { height: 56px; width: auto; }
.zp-footer__about p { max-width: 40ch; }
.zp-footer__title { color: var(--zp-ink); font-family: var(--zp-sans); font-size: .9375rem; font-weight: 600; margin-bottom: 14px; }
.zp-footer__menu { list-style: none; display: grid; gap: 8px; }
.zp-footer .zp-social { gap: 10px; }
.zp-footer__menu--small { margin-top: 18px; font-size: .875rem; }
.zp-footer__contact { font-style: normal; display: grid; gap: 2px; overflow-wrap: anywhere; }
.zp-footer__label { font-weight: 600; color: var(--zp-ink); margin-top: 10px; }
.zp-footer__label:first-child { margin-top: 0; }
.zp-footer__about .zp-social { margin-top: 20px; }
.zp-footer__latest { list-style: none; display: grid; gap: 14px; }
.zp-footer__latest li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: start; }
.zp-footer__latest-media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--zp-soft); }
.zp-footer__latest-media img, .zp-footer__latest-media .zp-noimg { width: 100%; height: 100%; object-fit: cover; font-size: .6rem; }
.zp-footer__latest-title {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
	font-family: var(--zp-serif); font-size: .875rem; font-weight: 700; line-height: 1.3; color: var(--zp-ink);
}
.zp-footer__latest .zp-date { display: block; margin-top: 3px; font-size: .75rem; color: var(--zp-muted); }
.zp-footer__bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	padding-block: 22px 28px;
	border-top: 1px solid var(--zp-line);
	font-size: .8125rem;
}

/* Photo credit paragraph at the start of articles */
.entry-content > p.zp-photo-credit:first-child {
	margin-top: -1.2em;
	font-size: .8125rem;
	color: var(--zp-muted);
}

/* Block widgets */
.zp-widget h2.wp-block-heading { font-size: 1.4rem; border-top: 1px solid var(--zp-ink); padding-top: 12px; margin-bottom: 14px; }
.wp-block-search__inside-wrapper { display: flex; border-bottom: 1px solid var(--zp-ink); }
.wp-block-search__input { flex: 1; border: 0; padding: 10px 0; font: inherit; background: transparent; }
.wp-block-search__button { border: 0; background: none; padding: 10px 0 10px 12px; font-weight: 600; margin: 0; }
.wp-block-search__label { font-weight: 600; display: block; margin-bottom: 4px; }

/* Elementor / full width */
.zp-fullwidth { padding-bottom: 0; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
	.zp-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zp-split, .zp-listing--side, .zp-article__layout--side { grid-template-columns: minmax(0, 1fr); }
	.zp-split__side, .zp-article__side { position: static; }
	.zp-article__layout--side { justify-content: stretch; }
	.zp-article__side { max-width: 720px; width: 100%; margin-inline: auto; }
	.zp-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.zp-footer__about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.zp-nav { display: none; }
	.zp-masthead {
		position: sticky; top: var(--zp-sticky-top); z-index: 50;
		border-bottom: 1px solid var(--zp-ink);
	}
	.zp-masthead__inner { padding-block: 8px; }
	.zp-brand .custom-logo, .zp-brand__logo__img { max-height: 46px; }
	.zp-brand__name { font-size: 1.8rem; }
	.zp-topbar { display: none; }

	.zp-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zp-hero__slide, .zp-feature, .zp-listing__lead .zp-card--lead { grid-template-columns: minmax(0, 1fr); }
	.zp-hero__slide { gap: 18px; align-items: start; }
	.zp-hero__dots { margin-top: 10px; }
	.zp-listing__lead .zp-card__body { padding-top: 14px; }
}

@media (max-width: 600px) {
	.zp-grid--3, .zp-grid--4 { grid-template-columns: minmax(0, 1fr); }
	.zp-catblock--row .zp-grid--4 .zp-card,
	.zp-related .zp-card {
		display: grid; grid-template-columns: 104px 1fr; gap: 16px;
	}
	.zp-catblock--row .zp-grid--4 .zp-card__media,
	.zp-related .zp-card__media { aspect-ratio: 1; }
	.zp-catblock--row .zp-grid--4 .zp-card__body,
	.zp-related .zp-card__body { padding-top: 0; }
	.zp-catblock--row .zp-grid--4, .zp-related .zp-grid--4 { gap: 22px; }
	.zp-hero__excerpt { display: none; }
	.zp-postnav { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.zp-postnav__next { grid-column: 1; flex-direction: row; text-align: left; }
	.zp-postnav__media { flex-basis: 84px; }
	.zp-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.entry-content { font-size: 1.0625rem; }
	.entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 0 1em; max-width: 100%; }
}

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