/*
Theme Name: Zenpool
Author: Zenpool Studio
Description: A clean indigo-toned theme for digital asset exchange content sites, featuring a frosted mini navigation bar, centered text hero, masonry article grid and centered narrow single layout.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zenpool
*/

/* ============================================================
   Tokens
   ============================================================ */
:root {
	--zpl-white: #ffffff;
	--zpl-indigo: #3f51b5;
	--zpl-indigo-deep: #1a237e;
	--zpl-bg-soft: #f8f9fc;
	--zpl-ink: #212121;
	--zpl-ink-soft: #5c6070;
	--zpl-ink-faint: #8a8fa3;
	--zpl-line: #e6e8f0;
	--zpl-up: #0f9d58;
	--zpl-down: #d93a49;
	--zpl-radius-card: 16px;
	--zpl-radius-btn: 999px;
	--zpl-shadow-card: 0 10px 30px rgba(26, 35, 126, 0.10);
	--zpl-shadow-card-hover: 0 22px 48px rgba(26, 35, 126, 0.18);
	--zpl-shadow-nav: 0 4px 24px rgba(26, 35, 126, 0.10);
	--zpl-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
	--zpl-nav-h: 56px;
	--zpl-wrap: 1160px;
	--zpl-narrow: 720px;
}

/* ============================================================
   Base
   ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--zpl-white);
	color: var(--zpl-ink);
	font-family: var(--zpl-font);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--zpl-indigo);
	text-decoration: none;
	transition: color 0.2s ease;
}

a:hover {
	color: var(--zpl-indigo-deep);
}

h1, h2, h3, h4, h5, h6 {
	color: var(--zpl-ink);
	line-height: 1.3;
	font-weight: 700;
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1.2em;
}

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
}

.zpl-wrap {
	max-width: var(--zpl-wrap);
	margin: 0 auto;
	padding: 0 24px;
}

.zpl-narrow {
	max-width: var(--zpl-narrow);
	margin: 0 auto;
	padding: 0 24px;
}

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

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

/* ============================================================
   Buttons
   ============================================================ */
.zpl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 34px;
	border-radius: var(--zpl-radius-btn);
	font-weight: 600;
	font-size: 15px;
	line-height: 1.2;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.zpl-btn--primary {
	background: linear-gradient(135deg, var(--zpl-indigo) 0%, var(--zpl-indigo-deep) 100%);
	color: #ffffff;
	box-shadow: 0 10px 26px rgba(63, 81, 181, 0.35);
}

.zpl-btn--primary:hover {
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(63, 81, 181, 0.45);
}

.zpl-btn--ghost {
	background: transparent;
	color: var(--zpl-indigo);
	border-color: var(--zpl-indigo);
}

.zpl-btn--ghost:hover {
	background: var(--zpl-indigo);
	color: #ffffff;
	transform: translateY(-2px);
}

.zpl-btn--light {
	background: #ffffff;
	color: var(--zpl-indigo-deep);
}

.zpl-btn--light:hover {
	color: var(--zpl-indigo);
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.zpl-btn--sm {
	padding: 8px 20px;
	font-size: 13px;
}

/* ============================================================
   A. Sticky mini top bar (frosted)
   ============================================================ */
.zpl-topbar {
	position: sticky;
	top: 0;
	z-index: 100;
	height: var(--zpl-nav-h);
	background: rgba(255, 255, 255, 0.72);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(230, 232, 240, 0.7);
	transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.zpl-topbar--stuck {
	box-shadow: var(--zpl-shadow-nav);
	background: rgba(255, 255, 255, 0.86);
}

.zpl-topbar__inner {
	max-width: var(--zpl-wrap);
	height: var(--zpl-nav-h);
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	gap: 28px;
}

.zpl-topbar__brand {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--zpl-ink);
}

.zpl-topbar__brand:hover {
	color: var(--zpl-ink);
}

.zpl-topbar__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin-right: 9px;
	border-radius: 8px;
	background: linear-gradient(135deg, var(--zpl-indigo) 0%, var(--zpl-indigo-deep) 100%);
	color: #ffffff;
}

.zpl-topbar__mark svg {
	width: 15px;
	height: 15px;
}

/* Brand logo raster (assets/images/logo.svg) fills the mark badge; the inline
   SVG stays centred behind and shows only if the image is missing (onerror). */
.zpl-topbar__mark {
	position: relative;
	overflow: hidden;
}

.zpl-topbar__logo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.zpl-topbar__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	min-width: 0;
}

.zpl-topbar__menu {
	display: flex;
	align-items: center;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zpl-topbar__menu li {
	list-style: none;
}

.zpl-topbar__menu a {
	display: inline-block;
	padding: 4px 0;
	font-size: 14px;
	font-weight: 500;
	color: var(--zpl-ink-soft);
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.zpl-topbar__menu a:hover,
.zpl-topbar__menu .current-menu-item > a,
.zpl-topbar__menu .current_page_item > a {
	color: var(--zpl-indigo-deep);
	border-bottom-color: var(--zpl-indigo);
}

.zpl-topbar__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 14px;
}

/* Language switcher (shared by topbar & footer) */
.zpl-lang {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--zpl-line);
	border-radius: var(--zpl-radius-btn);
	overflow: hidden;
	background: rgba(248, 249, 252, 0.7);
}

.zpl-lang__link {
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--zpl-ink-faint);
	line-height: 1.5;
}

.zpl-lang__link:hover {
	color: var(--zpl-indigo);
}

.zpl-lang__link.is-active {
	background: var(--zpl-indigo);
	color: #ffffff;
}

.zpl-lang__link.is-active:hover {
	color: #ffffff;
}

.zpl-footer__lang .zpl-lang {
	background: var(--zpl-bg-soft);
}

/* ============================================================
   B. Centered text hero
   ============================================================ */
.zpl-hero {
	padding: 120px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.zpl-hero::before {
	content: "";
	position: absolute;
	top: -180px;
	left: 50%;
	transform: translateX(-50%);
	width: 720px;
	height: 420px;
	background: radial-gradient(ellipse at center, rgba(63, 81, 181, 0.10) 0%, rgba(63, 81, 181, 0) 68%);
	pointer-events: none;
}

/* Hero backdrop raster (assets/images/banner-hero.png); the existing radial
   gradient ::before and the copy stay layered above it. */
.zpl-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0.12;
	pointer-events: none;
}

.zpl-hero > .zpl-wrap {
	position: relative;
	z-index: 1;
}

.zpl-hero__eyebrow {
	position: relative;
	display: inline-block;
	margin-bottom: 22px;
	padding: 6px 18px;
	border-radius: var(--zpl-radius-btn);
	background: var(--zpl-bg-soft);
	border: 1px solid var(--zpl-line);
	color: var(--zpl-indigo);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
}

.zpl-hero__title {
	position: relative;
	max-width: 820px;
	margin: 0 auto 22px;
	font-size: clamp(34px, 5.2vw, 58px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.18;
	color: var(--zpl-ink);
}

.zpl-hero__title em {
	font-style: normal;
	background: linear-gradient(120deg, var(--zpl-indigo) 0%, var(--zpl-indigo-deep) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.zpl-hero__sub {
	position: relative;
	max-width: 620px;
	margin: 0 auto 44px;
	font-size: 17px;
	color: var(--zpl-ink-soft);
}

.zpl-hero__cta {
	position: relative;
	display: flex;
	justify-content: center;
}

/* ============================================================
   Section rhythm (H. whitespace-only separation)
   ============================================================ */
.zpl-section {
	padding: 96px 0;
}

.zpl-section--tight {
	padding: 80px 0;
}

.zpl-section__head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 52px;
}

.zpl-section__title {
	font-size: clamp(26px, 3.2vw, 36px);
	font-weight: 800;
	letter-spacing: -0.015em;
	margin: 0 0 12px;
}

.zpl-section__desc {
	margin: 0;
	color: var(--zpl-ink-soft);
	font-size: 15.5px;
}

/* ============================================================
   Live ticker
   ============================================================ */
.zpl-ticker {
	position: relative;
	border-top: 1px solid var(--zpl-line);
	border-bottom: 1px solid var(--zpl-line);
	background: var(--zpl-bg-soft);
	overflow: hidden;
	padding: 14px 0;
}

.zpl-ticker__track {
	display: flex;
	width: max-content;
	animation: zpl-ticker-scroll 42s linear infinite;
}

.zpl-ticker:hover .zpl-ticker__track,
.zpl-ticker__track.is-paused {
	animation-play-state: paused;
}

@keyframes zpl-ticker-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

.zpl-ticker__group {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.zpl-ticker__item {
	display: inline-flex;
	align-items: baseline;
	gap: 8px;
	padding: 0 28px;
	white-space: nowrap;
	font-size: 13.5px;
}

.zpl-ticker__sym {
	font-weight: 700;
	color: var(--zpl-ink);
	letter-spacing: 0.02em;
}

.zpl-ticker__price {
	font-variant-numeric: tabular-nums;
	color: var(--zpl-ink-soft);
	font-weight: 500;
}

.zpl-ticker__chg {
	font-variant-numeric: tabular-nums;
	font-weight: 600;
	font-size: 12.5px;
}

.zpl-ticker__chg--up { color: var(--zpl-up); }
.zpl-ticker__chg--down { color: var(--zpl-down); }

.zpl-ticker__dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--zpl-line);
	flex-shrink: 0;
}

/* ============================================================
   C. Masonry grid (3 columns) + D. vertical cards
   ============================================================ */
.zpl-masonry {
	columns: 3;
	column-gap: 28px;
}

.zpl-masonry__col-break {
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	margin-bottom: 28px;
	display: block;
	width: 100%;
}

.zpl-card {
	position: relative;
	display: block;
	background: var(--zpl-white);
	border: 1px solid var(--zpl-line);
	border-radius: var(--zpl-radius-card);
	box-shadow: var(--zpl-shadow-card);
	overflow: hidden;
	color: var(--zpl-ink);
	transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.zpl-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--zpl-shadow-card-hover);
	color: var(--zpl-ink);
}

.zpl-card__media {
	position: relative;
	overflow: hidden;
	background: var(--zpl-bg-soft);
}

.zpl-card__media img {
	width: 100%;
	height: auto;
	transition: transform 0.5s ease;
}

.zpl-card:hover .zpl-card__media img {
	transform: scale(1.04);
}

.zpl-card__cat {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 4px 12px;
	border-radius: var(--zpl-radius-btn);
	background: rgba(255, 255, 255, 0.92);
	color: var(--zpl-indigo-deep);
	font-size: 12px;
	font-weight: 600;
	box-shadow: 0 2px 10px rgba(26, 35, 126, 0.12);
}

.zpl-card__body {
	padding: 22px 22px 24px;
}

.zpl-card__title {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
	margin: 0 0 10px;
	letter-spacing: -0.005em;
}

.zpl-card__title a {
	color: var(--zpl-ink);
}

.zpl-card__title a:hover {
	color: var(--zpl-indigo);
}

.zpl-card__excerpt {
	margin: 0 0 16px;
	font-size: 13.5px;
	color: var(--zpl-ink-soft);
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.zpl-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	font-size: 12px;
	color: var(--zpl-ink-faint);
}

.zpl-card__more {
	font-weight: 600;
	color: var(--zpl-indigo);
	white-space: nowrap;
}

.zpl-card__more::after {
	content: " \2192";
	transition: margin-left 0.2s ease;
}

.zpl-card:hover .zpl-card__more::after {
	margin-left: 3px;
}

/* G. Inserted CTA banner card inside the masonry flow */
.zpl-cta-banner {
	column-span: all;
	-webkit-column-span: all;
	break-inside: avoid;
	margin: 6px 0 34px;
	padding: 38px 40px;
	border-radius: var(--zpl-radius-card);
	background: linear-gradient(120deg, var(--zpl-indigo-deep) 0%, var(--zpl-indigo) 58%, #5c6bc0 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	box-shadow: 0 18px 40px rgba(26, 35, 126, 0.28);
	position: relative;
	overflow: hidden;
}

.zpl-cta-banner::after {
	content: "";
	position: absolute;
	right: -70px;
	top: -90px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	pointer-events: none;
}

.zpl-cta-banner__text {
	position: relative;
	z-index: 1;
}

.zpl-cta-banner__title {
	margin: 0 0 6px;
	font-size: 21px;
	font-weight: 800;
	color: #ffffff;
}

.zpl-cta-banner__desc {
	margin: 0;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.82);
}

.zpl-cta-banner__action {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}

/* ============================================================
   Platform features (3 equal icon cards)
   ============================================================ */
.zpl-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.zpl-feature {
	text-align: center;
	padding: 44px 30px 40px;
	border-radius: var(--zpl-radius-card);
	background: var(--zpl-white);
	border: 1px solid var(--zpl-line);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.zpl-feature:hover {
	transform: translateY(-5px);
	box-shadow: var(--zpl-shadow-card);
	border-color: rgba(63, 81, 181, 0.35);
}

.zpl-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin-bottom: 20px;
	border-radius: 16px;
	background: var(--zpl-bg-soft);
	color: var(--zpl-indigo);
}

.zpl-feature__icon svg {
	width: 27px;
	height: 27px;
}

/* Feature icon raster (assets/images/icon-1..4.png) covers the badge; the
   inline SVG remains behind as the onerror fallback. */
.zpl-feature__icon {
	position: relative;
	overflow: hidden;
}

.zpl-feature__icon-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
}

.zpl-feature__title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 8px;
}

.zpl-feature__desc {
	margin: 0;
	font-size: 13.5px;
	color: var(--zpl-ink-soft);
	line-height: 1.7;
}

/* ============================================================
   Trading pairs (4-column icon cards)
   ============================================================ */
.zpl-pairs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.zpl-pair {
	position: relative;
	padding: 30px 24px 26px;
	border-radius: var(--zpl-radius-card);
	background: var(--zpl-white);
	border: 1px solid var(--zpl-line);
	box-shadow: 0 4px 16px rgba(26, 35, 126, 0.05);
	text-align: center;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zpl-pair::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--zpl-indigo) 0%, var(--zpl-indigo-deep) 100%);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.zpl-pair:hover {
	transform: translateY(-5px);
	box-shadow: var(--zpl-shadow-card);
}

.zpl-pair:hover::before {
	opacity: 1;
}

.zpl-pair__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--zpl-bg-soft);
	border: 1px solid var(--zpl-line);
	color: var(--zpl-indigo-deep);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.02em;
}

.zpl-pair__sym {
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 4px;
	letter-spacing: 0.01em;
}

.zpl-pair__name {
	font-size: 12.5px;
	color: var(--zpl-ink-faint);
	margin: 0 0 18px;
}

/* ============================================================
   Stats band (full-width indigo)
   ============================================================ */
.zpl-stats {
	background: linear-gradient(120deg, var(--zpl-indigo-deep) 0%, var(--zpl-indigo) 70%, #5c6bc0 100%);
	color: #ffffff;
	padding: 88px 0;
	position: relative;
	overflow: hidden;
}

.zpl-stats::before,
.zpl-stats::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	pointer-events: none;
}

.zpl-stats::before {
	width: 420px;
	height: 420px;
	left: -140px;
	top: -190px;
}

.zpl-stats::after {
	width: 320px;
	height: 320px;
	right: -110px;
	bottom: -160px;
}

.zpl-stats__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	text-align: center;
	margin-bottom: 52px;
}

.zpl-stats__item {
	position: relative;
	z-index: 1;
}

.zpl-stats__value {
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.15;
	font-variant-numeric: tabular-nums;
}

.zpl-stats__label {
	margin-top: 8px;
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.78);
}

.zpl-stats__cta {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
}

/* ============================================================
   Latest updates (2-column cards)
   ============================================================ */
.zpl-latest {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px;
}

.zpl-latest .zpl-card {
	display: flex;
	flex-direction: column;
}

.zpl-latest .zpl-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

.zpl-latest .zpl-card__excerpt {
	flex: 1 1 auto;
	-webkit-line-clamp: 2;
}

/* ============================================================
   Archive / index grids
   ============================================================ */
.zpl-page-head {
	padding: 72px 0 8px;
	text-align: center;
}

.zpl-page-head__title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
}

.zpl-page-head__desc {
	max-width: 560px;
	margin: 0 auto;
	color: var(--zpl-ink-soft);
	font-size: 15px;
}

.zpl-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	padding: 56px 0 0;
}

.zpl-grid--two {
	grid-template-columns: repeat(2, 1fr);
}

.zpl-grid .zpl-card {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.zpl-grid .zpl-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

.zpl-grid .zpl-card__excerpt {
	flex: 1 1 auto;
}

.zpl-empty {
	padding: 90px 0;
	text-align: center;
	color: var(--zpl-ink-soft);
}

.zpl-empty__title {
	font-size: 22px;
	font-weight: 700;
	color: var(--zpl-ink);
	margin-bottom: 10px;
}

/* Pagination */
.zpl-pagination {
	display: flex;
	justify-content: center;
	padding: 72px 0 0;
}

.zpl-pagination .nav-links {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}

.zpl-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border-radius: 12px;
	border: 1px solid var(--zpl-line);
	background: var(--zpl-white);
	color: var(--zpl-ink-soft);
	font-size: 14px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.zpl-pagination .page-numbers:hover {
	border-color: var(--zpl-indigo);
	color: var(--zpl-indigo);
	transform: translateY(-2px);
}

.zpl-pagination .page-numbers.current {
	background: linear-gradient(135deg, var(--zpl-indigo) 0%, var(--zpl-indigo-deep) 100%);
	border-color: transparent;
	color: #ffffff;
}

/* ============================================================
   E. Single — centered narrow column
   ============================================================ */
.zpl-single {
	padding: 80px 0 0;
}

.zpl-single__head {
	text-align: center;
	margin-bottom: 40px;
}

.zpl-single__cat {
	display: inline-block;
	margin-bottom: 16px;
	padding: 5px 16px;
	border-radius: var(--zpl-radius-btn);
	background: var(--zpl-bg-soft);
	border: 1px solid var(--zpl-line);
	color: var(--zpl-indigo);
	font-size: 12.5px;
	font-weight: 600;
}

.zpl-single__title {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
	margin: 0 0 18px;
}

.zpl-single__meta {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 13px;
	color: var(--zpl-ink-faint);
}

.zpl-single__thumb {
	margin: 44px 0 0;
	border-radius: var(--zpl-radius-card);
	overflow: hidden;
	box-shadow: var(--zpl-shadow-card);
}

.zpl-single__thumb img {
	width: 100%;
}

.zpl-single__content {
	padding: 48px 0 0;
	font-size: 16.5px;
	line-height: 1.9;
	color: var(--zpl-ink);
}

.zpl-single__content h2 {
	font-size: 25px;
	margin: 1.8em 0 0.7em;
	letter-spacing: -0.01em;
}

.zpl-single__content h3 {
	font-size: 20px;
	margin: 1.6em 0 0.6em;
}

.zpl-single__content p {
	margin: 0 0 1.4em;
}

.zpl-single__content ul,
.zpl-single__content ol {
	margin: 0 0 1.4em;
	padding-left: 1.4em;
}

.zpl-single__content li {
	margin-bottom: 0.45em;
}

.zpl-single__content blockquote {
	margin: 1.6em 0;
	padding: 18px 26px;
	border-left: 3px solid var(--zpl-indigo);
	background: var(--zpl-bg-soft);
	border-radius: 0 12px 12px 0;
	color: var(--zpl-ink-soft);
	font-size: 15.5px;
}

.zpl-single__content a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.zpl-single__content img {
	border-radius: 12px;
	margin: 1.2em auto;
}

.zpl-single__content pre {
	background: var(--zpl-bg-soft);
	border: 1px solid var(--zpl-line);
	border-radius: 12px;
	padding: 18px 20px;
	overflow-x: auto;
	font-size: 13.5px;
	line-height: 1.65;
}

.zpl-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	padding: 44px 0 0;
}

.zpl-single__tags a {
	padding: 5px 15px;
	border-radius: var(--zpl-radius-btn);
	background: var(--zpl-bg-soft);
	border: 1px solid var(--zpl-line);
	font-size: 12.5px;
	color: var(--zpl-ink-soft);
}

.zpl-single__tags a:hover {
	border-color: var(--zpl-indigo);
	color: var(--zpl-indigo);
}

/* Article-end CTA inside narrow column */
.zpl-post-cta {
	margin-top: 52px;
	padding: 32px 30px;
	border-radius: var(--zpl-radius-card);
	background: linear-gradient(120deg, var(--zpl-indigo-deep) 0%, var(--zpl-indigo) 100%);
	color: #ffffff;
	text-align: center;
	box-shadow: 0 14px 34px rgba(26, 35, 126, 0.24);
}

.zpl-post-cta__title {
	color: #ffffff;
	font-size: 19px;
	font-weight: 800;
	margin: 0 0 8px;
}

.zpl-post-cta__desc {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	margin: 0 0 20px;
}

/* Related articles — full width below narrow column */
.zpl-related {
	padding: 100px 0;
}

.zpl-related__title {
	text-align: center;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	letter-spacing: -0.015em;
	margin: 0 0 48px;
}

/* ============================================================
   Page template
   ============================================================ */
.zpl-page {
	padding: 80px 0 100px;
}

.zpl-page__title {
	text-align: center;
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 44px;
}

.zpl-page__content {
	font-size: 16.5px;
	line-height: 1.9;
}

.zpl-page__content img {
	border-radius: 12px;
	margin: 1.2em auto;
}

/* ============================================================
   Search
   ============================================================ */
.zpl-search-head {
	padding: 80px 0 8px;
	text-align: center;
}

.zpl-search-head__title {
	font-size: clamp(26px, 3.6vw, 38px);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0 0 10px;
}

.zpl-search-head__title span {
	color: var(--zpl-indigo);
}

.zpl-search-form {
	display: flex;
	justify-content: center;
	padding: 28px 0 0;
}

.zpl-search-form__row {
	display: flex;
	width: 100%;
	max-width: 560px;
	gap: 10px;
}

.zpl-search-form__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 13px 22px;
	border-radius: var(--zpl-radius-btn);
	border: 1px solid var(--zpl-line);
	background: var(--zpl-bg-soft);
	color: var(--zpl-ink);
	font-size: 15px;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zpl-search-form__input:focus {
	border-color: var(--zpl-indigo);
	box-shadow: 0 0 0 4px rgba(63, 81, 181, 0.14);
	background: var(--zpl-white);
}

.zpl-search-form__submit {
	flex-shrink: 0;
	padding: 13px 30px;
	border-radius: var(--zpl-radius-btn);
	border: none;
	background: linear-gradient(135deg, var(--zpl-indigo) 0%, var(--zpl-indigo-deep) 100%);
	color: #ffffff;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.zpl-search-form__submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(63, 81, 181, 0.4);
}

/* ============================================================
   404
   ============================================================ */
.zpl-error404 {
	padding: 130px 0 150px;
	text-align: center;
}

.zpl-error404__code {
	font-size: clamp(90px, 14vw, 160px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	background: linear-gradient(120deg, var(--zpl-indigo) 0%, var(--zpl-indigo-deep) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 18px;
}

.zpl-error404__title {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 12px;
}

.zpl-error404__desc {
	color: var(--zpl-ink-soft);
	max-width: 480px;
	margin: 0 auto 36px;
	font-size: 15px;
}

.zpl-error404__actions {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}

/* ============================================================
   F. Footer — single centered column
   ============================================================ */
.zpl-footer {
	padding: 88px 0 64px;
	text-align: center;
	border-top: 1px solid var(--zpl-line);
	background: var(--zpl-white);
}

.zpl-footer__brand {
	display: inline-flex;
	align-items: center;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--zpl-ink);
	margin-bottom: 12px;
}

.zpl-footer__tagline {
	color: var(--zpl-ink-soft);
	font-size: 14px;
	max-width: 460px;
	margin: 0 auto 30px;
}

.zpl-footer__links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0 auto 30px;
	padding: 0;
	list-style: none;
	max-width: 720px;
}

.zpl-footer__links li {
	list-style: none;
	display: inline-flex;
	align-items: center;
}

.zpl-footer__links li + li::before {
	content: "";
	display: inline-block;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--zpl-line);
	margin-right: 8px;
}

.zpl-footer__links a {
	font-size: 13.5px;
	color: var(--zpl-ink-soft);
	font-weight: 500;
}

.zpl-footer__links a:hover {
	color: var(--zpl-indigo);
}

.zpl-footer__lang {
	display: flex;
	justify-content: center;
	margin-bottom: 30px;
}

.zpl-footer__copy {
	font-size: 12.5px;
	color: var(--zpl-ink-faint);
	margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
	.zpl-masonry {
		columns: 2;
	}

	.zpl-pairs {
		grid-template-columns: repeat(2, 1fr);
	}

	.zpl-stats__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px 28px;
	}
}

@media (max-width: 860px) {
	.zpl-topbar__nav {
		display: none;
	}

	.zpl-topbar__inner {
		justify-content: space-between;
	}

	.zpl-features {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.zpl-feature {
		padding: 34px 26px 30px;
	}

	.zpl-grid,
	.zpl-grid--two,
	.zpl-latest {
		grid-template-columns: 1fr;
	}

	.zpl-hero {
		padding: 88px 0;
	}

	.zpl-section {
		padding: 72px 0;
	}

	.zpl-cta-banner {
		flex-direction: column;
		text-align: center;
		padding: 32px 26px;
	}
}

@media (max-width: 600px) {
	.zpl-masonry {
		columns: 1;
	}

	.zpl-pairs {
		grid-template-columns: 1fr;
	}

	.zpl-stats__grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.zpl-topbar__actions .zpl-btn {
		display: none;
	}

	.zpl-search-form__row {
		flex-direction: column;
	}

	.zpl-single {
		padding-top: 56px;
	}

	.zpl-related {
		padding: 72px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.zpl-ticker__track {
		animation: none;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ==== breadcrumb (added by automation) ==== */
.zpl-crumb{display:flex;flex-wrap:wrap;align-items:center;gap:.5em;font-size:.85rem;line-height:1.4;margin:0 0 1.1rem;opacity:.9}
.zpl-crumb a{color:inherit;text-decoration:none}
.zpl-crumb a:hover{text-decoration:underline}
.zpl-crumb .zpl-sep{opacity:.45}
.zpl-crumb .zpl-current{font-weight:600}
.zpl-crumb-bar{padding-top:16px}

/* banner band (added by automation) */
.zpl-banner{padding:28px 0 8px;}
.zpl-banner__frame{position:relative;overflow:hidden;aspect-ratio:21/6;background:linear-gradient(150deg,#1a237e,#3f51b5);border-radius:var(--zpl-radius-card);box-shadow:var(--zpl-shadow-card);}
.zpl-banner__frame img{width:100%;height:100%;object-fit:cover;display:block;}
.zpl-banner__frame::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.28));pointer-events:none;}
@media (max-width:767px){.zpl-banner{padding:20px 0 4px;}.zpl-banner__frame{aspect-ratio:16/9;}}

/* SEO title scaling (2026-11-24) */
.zpl-hero__title{font-size:clamp(1.75rem,3.2vw,2.75rem)!important;line-height:1.22!important;letter-spacing:-0.01em!important;}

/* SEO title scaling (2026-11-24) */
.zpl-hero__title{font-size:clamp(1.75rem,3.2vw,2.75rem)!important;line-height:1.22!important;letter-spacing:-0.01em!important;}
