/* Zenesis v2 — blog posts and post listings (templates/single-post.php, templates/post-list.php).
   Loaded only on single posts and post listings (category, tag, author, date, search). Colours, type and gutters come
   from the Elementor kit (Site Settings) variables; buttons use the kit button + global.css. The hero entrances are
   CSS only; scroll states (.is-armed / .is-in / .is-settled) are set by posts.js — without JS everything is visible.
   Selectors that style buttons and fields are written to outrank the kit's own button / field rules. */

.zn-posts :where(.zn-pst, .zn-pl) {
	--zn-gold: var(--e-global-color-primary, #C8A45D);
	--zn-gold-2: var(--e-global-color-accent, #DDBC7B);
	--zn-dark: var(--e-global-color-secondary, #231F20);
	--zn-ink: var(--e-global-color-text, #0F132B);
	--zn-body: var(--e-global-color-zn_body, #5F6567);
	--zn-muted: var(--e-global-color-zn_muted, #8C8987);
	--zn-light: var(--e-global-color-zn_light, #F5F5F5);
	--zn-line: var(--e-global-color-zn_line, #E8E6E3);
	--zn-white: var(--e-global-color-zn_white, #FFFFFF);
	--zn-ondark: var(--e-global-color-zn_body_dark, #FFFFFF99);
	--zn-line-dark: var(--e-global-color-zn_line_dark, #FFFFFF1A);
	--zn-head: var(--e-global-typography-zn_h1-font-family, "Geologica"), sans-serif;
	--zn-text: var(--e-global-typography-zn_body_l-font-family, "Inter"), sans-serif;
	--zn-gut: 70px; /* the kit sets its gutter (70 / 30 / 20) only on .e-con, so the same steps are repeated here */
	--zn-ease: var(--zn-ease-out, cubic-bezier(.16, 1, .3, 1));
	display: block;
	flex: 1 1 100%;
	width: 100%;
	min-width: 0;
	overflow-x: clip;
	background: var(--zn-white);
	color: var(--zn-body);
	font-family: var(--zn-text);
}
@media (max-width: 1024px) { .zn-posts :where(.zn-pst, .zn-pl) { --zn-gut: 30px; } }
@media (max-width: 767px) { .zn-posts :where(.zn-pst, .zn-pl) { --zn-gut: 20px; } }
.zn-posts :where(.zn-pst, .zn-pl) *, .zn-posts :where(.zn-pst, .zn-pl) *::before, .zn-posts :where(.zn-pst, .zn-pl) *::after { box-sizing: border-box; }
.zn-posts .zn-pst__wrap { width: 100%; max-width: calc(1240px + 2 * var(--zn-gut)); margin-inline: auto; padding-inline: var(--zn-gut); }
.zn-posts .zn-pl__wrap { width: 100%; max-width: 1800px; margin-inline: auto; padding-inline: var(--zn-gut); }
.zn-posts .zn-ico { display: block; width: 16px; height: 16px; flex: none; }

/* ── shared bits ── */
.zn-posts .zn-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 0 0 32px; font: 400 14px/1.5 var(--zn-text); letter-spacing: .04em; color: var(--zn-ondark); }
.zn-posts .zn-crumbs a { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .4s ease, background-size .5s var(--zn-ease); }
.zn-posts .zn-crumbs a:hover, .zn-posts .zn-crumbs a:focus-visible { color: var(--zn-gold-2); background-size: 100% 1px; }
.zn-posts .zn-crumbs__sep { flex: none; width: 18px; height: 1px; background: var(--zn-gold); }
.zn-posts .zn-crumbs__here { min-width: 0; max-width: min(48ch, 100%); color: var(--zn-white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.zn-posts .zn-eyebrow { margin: 0 0 16px; font-family: var(--e-global-typography-zn_eyebrow-font-family, "Inter"), sans-serif; font-size: 12px; font-weight: 500; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; color: var(--zn-gold); }

.zn-posts .zn-textlink { display: inline-flex; align-items: center; gap: 14px; font: 600 14px/1.3 var(--zn-head); color: var(--zn-ink); text-decoration: none; }
.zn-posts .zn-textlink__icon, .zn-posts .zn-card__more-icon {
	display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
	transition: border-color .4s ease, background-color .4s ease, color .4s ease;
}
.zn-posts .zn-textlink__icon .zn-ico, .zn-posts .zn-card__more-icon .zn-ico { width: 12px; height: 12px; transition: translate .5s var(--zn-ease); }
.zn-posts .zn-textlink:hover .zn-textlink__icon, .zn-posts .zn-textlink:focus-visible .zn-textlink__icon { border-color: var(--zn-gold); background: var(--zn-gold); color: var(--zn-white); }
.zn-posts .zn-textlink:hover .zn-ico { translate: 3px 0; }

/* the standard button inside these templates (kit style + global.css sweep): icon after the label */
.zn-posts :is(.zn-pst, .zn-pl) .elementor-widget-button .elementor-button { display: inline-block; text-decoration: none; }
.zn-posts :is(.zn-pst, .zn-pl) .elementor-widget-button .elementor-button-content-wrapper { display: flex; flex-direction: row-reverse; justify-content: center; gap: 14px; }
.zn-posts :is(.zn-pst, .zn-pl) .elementor-widget-button .elementor-button-icon { display: inline-flex; }
.zn-posts :is(.zn-pst, .zn-pl) .elementor-widget-button .elementor-button-icon .zn-ico { width: 14px; height: 14px; }

/* reading progress */
.zn-posts .zn-pst-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 10000; pointer-events: none; }
.zn-posts .zn-pst-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--zn-gold), var(--zn-gold-2)); transform: scaleX(0); transform-origin: 0 50%; }
.zn-posts.admin-bar .zn-pst-progress { top: 32px; }
@media (max-width: 782px) { .zn-posts.admin-bar .zn-pst-progress { top: 46px; } }

/* ════════ Single post: hero ════════ */
.zn-posts .zn-pst-hero { position: relative; isolation: isolate; overflow: hidden; padding: 64px 0 96px; background: var(--zn-dark); color: var(--zn-white); }
.zn-posts .zn-pst.has-media .zn-pst-hero { padding-bottom: clamp(150px, 15vw, 230px); }
.zn-posts .zn-pst-hero::before { /* warm glow */
	content: ""; position: absolute; z-index: -1; right: -10%; bottom: -60%; width: 70%; height: 140%;
	background: radial-gradient(closest-side, rgb(200 164 93 / .16), transparent 72%);
}
.zn-posts .zn-pst-hero__deco span { position: absolute; z-index: -1; top: 0; bottom: 0; transform: skewX(-24deg); pointer-events: none; }
.zn-posts .zn-pst-hero__deco span:first-child { right: 9%; width: 22%; border-left: 1px solid rgb(200 164 93 / .22); border-right: 1px solid rgb(200 164 93 / .1); }
.zn-posts .zn-pst-hero__deco span:last-child { right: -4%; width: 9%; background: linear-gradient(180deg, rgb(200 164 93 / .0), rgb(200 164 93 / .28)); animation: zn-p-slide 1.6s .2s var(--zn-ease) backwards; }
.zn-posts .zn-pst-hero__inner { position: relative; }

.zn-posts .zn-pst-cats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.zn-posts .zn-pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 14px;
	background: var(--zn-gold); color: var(--zn-dark); text-decoration: none;
	font: 500 12px/1.2 var(--zn-text); letter-spacing: .16em; text-transform: uppercase;
	transition: background-color .4s ease;
}
.zn-posts .zn-pill::before { content: ""; width: 9px; height: 11px; background: currentColor; opacity: .4; transform: skewX(-22deg); }
.zn-posts .zn-pill:hover, .zn-posts .zn-pill:focus-visible { background: var(--zn-gold-2); color: var(--zn-dark); }

.zn-posts .zn-pst-hero__head { display: flex; align-items: stretch; gap: 26px; max-width: 1080px; }
.zn-posts .zn-pst-hero__accent { flex: none; width: 2px; background: var(--zn-gold); transform-origin: 50% 0; animation: zn-p-grow 1s .3s var(--zn-ease) backwards; }
.zn-posts .zn-pst-hero__title {
	margin: 0; font-family: var(--zn-head); font-weight: var(--e-global-typography-zn_h1-font-weight, 500); font-size: clamp(30px, 1.2rem + 2.9vw, 60px);
	line-height: 1.1; letter-spacing: -.025em; color: var(--zn-white); text-wrap: balance;
	animation: zn-p-reveal 1.2s .15s var(--zn-ease) backwards;
}
.zn-posts .zn-pst-meta {
	display: flex; flex-wrap: wrap; gap: 12px 36px; max-width: 1080px; margin: 40px 0 0; padding: 24px 0 0; list-style: none;
	border-top: 1px solid var(--zn-line-dark); font: 400 15px/1.4 var(--zn-text); color: var(--zn-ondark);
}
.zn-posts .zn-pst-meta li { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.zn-posts .zn-pst-meta .zn-ico { width: 18px; height: 18px; color: var(--zn-gold); }
.zn-posts .zn-pst-meta a { color: var(--zn-white); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .4s ease, background-size .5s var(--zn-ease); }
.zn-posts .zn-pst-meta a:hover, .zn-posts .zn-pst-meta a:focus-visible { color: var(--zn-gold-2); background-size: 100% 1px; }

/* featured image: native proportions (never stretched), overlapping the hero */
.zn-posts .zn-pst-media { position: relative; z-index: 2; margin: calc(-1 * clamp(110px, 11vw, 170px)) 0 0; }
.zn-posts .zn-pst-media__frame {
	position: relative; isolation: isolate; aspect-ratio: var(--ar);
	width: min(100%, calc(80vh * var(--ar))); margin-inline: auto;
}
.zn-posts .zn-pst-media__frame::before { /* gold offset line */
	content: ""; position: absolute; z-index: -1; inset: 24px -24px -24px 24px; border: 1px solid rgb(200 164 93 / .55);
	animation: zn-p-fade 1.2s 1s ease backwards;
}
.zn-posts .zn-pst-media__clip {
	position: absolute; inset: 0; overflow: hidden; background: var(--zn-dark);
	box-shadow: 0 60px 100px -60px rgb(15 19 43 / .6);
	animation: zn-p-frame 1.5s .3s var(--zn-ease) backwards;
}
.zn-posts .zn-pst-media__img {
	display: block; width: 100%; height: 100%; max-width: none; object-fit: cover;
	scale: 1.06; translate: 0 var(--zn-py, 0px); will-change: translate;
	transition: scale 1.6s var(--zn-ease);
	animation: zn-p-zoom 2s .3s var(--zn-ease) backwards;
}
.zn-posts .zn-pst-media__frame:hover .zn-pst-media__img { scale: 1.09; }
.zn-posts .zn-pst-media__cap { width: min(100%, calc(80vh * var(--ar))); margin: 40px auto 0; padding-left: 14px; border-left: 1px solid var(--zn-gold); font-size: 14px; line-height: 1.5; color: var(--zn-muted); }

/* ════════ Single post: body ════════ */
.zn-posts .zn-pst-body {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr); column-gap: clamp(32px, 3.6vw, 56px);
	width: 100%; max-width: calc(1240px + 2 * var(--zn-gut)); margin: 0 auto; padding: 88px var(--zn-gut) 0;
}
.zn-posts .zn-pst.no-media .zn-pst-body { padding-top: 72px; }
.zn-posts .zn-pst-rail { grid-column: 1; grid-row: 1; justify-self: end; align-self: start; position: sticky; top: 40px; }
.zn-posts .zn-pst-content { grid-column: 2; grid-row: 1; min-width: 0; }
.zn-posts .zn-pst-toc { grid-column: 3; grid-row: 1; justify-self: start; align-self: start; position: sticky; top: 40px; width: 100%; max-width: 270px; }
.zn-posts .zn-pst.is-builder .zn-pst-content { grid-column: 1 / -1; }

/* contents */
.zn-posts .zn-pst-toc[hidden] { display: none; }
.zn-posts .zn-pst-toc__title { margin: 0 0 14px; font: 500 12px/1.6 var(--zn-text); letter-spacing: .16em; text-transform: uppercase; color: var(--zn-ink); }
.zn-posts .zn-pst-toc__list {
	margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--zn-line);
	max-height: calc(100vh - 140px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin;
}
.zn-posts .zn-pst-toc__list li { margin: 0; }
.zn-posts .zn-pst-toc__list a {
	position: relative; display: block; padding: 7px 0 7px 18px; font-size: 14px; line-height: 1.45; color: var(--zn-muted);
	text-decoration: none; transition: color .3s ease;
}
.zn-posts .zn-pst-toc__list a::before {
	content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 2px; background: var(--zn-gold);
	transform: scaleY(0); transform-origin: 50% 0; transition: transform .5s var(--zn-ease);
}
.zn-posts .zn-pst-toc__list a:hover, .zn-posts .zn-pst-toc__list a:focus-visible { color: var(--zn-ink); }
.zn-posts .zn-pst-toc__list a.is-active { color: var(--zn-ink); }
.zn-posts .zn-pst-toc__list a.is-active::before { transform: scaleY(1); }

/* share */
.zn-posts .zn-share { display: flex; align-items: center; gap: 18px; }
.zn-posts .zn-share__label { font: 500 12px/1.6 var(--zn-text); letter-spacing: .16em; text-transform: uppercase; color: var(--zn-muted); }
.zn-posts .zn-share__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.zn-posts .zn-share__list li { margin: 0; }
.zn-posts .zn-share .zn-share__btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; margin: 0;
	border: 1px solid var(--zn-line); border-radius: 50%; background: var(--zn-white); color: var(--zn-ink);
	font: inherit; line-height: 1; cursor: pointer; text-decoration: none;
	transition: background-color .35s ease, border-color .35s ease, color .35s ease, translate .45s var(--zn-ease);
}
.zn-posts .zn-share .zn-share__btn .zn-ico { width: 15px; height: 15px; }
.zn-posts .zn-share .zn-share__btn:hover, .zn-posts .zn-share .zn-share__btn:focus-visible { background: var(--zn-gold); border-color: var(--zn-gold); color: var(--zn-white); translate: 0 -2px; }
.zn-posts .zn-share .zn-share__btn::after { /* name on hover */
	content: attr(data-tip); position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 4px;
	padding: 6px 10px; background: var(--zn-dark); color: var(--zn-white); font: 500 12px/1.2 var(--zn-text); letter-spacing: .02em; white-space: nowrap;
	opacity: 0; pointer-events: none; transition: opacity .25s ease, translate .35s var(--zn-ease);
}
.zn-posts .zn-share .zn-share__btn:hover::after, .zn-posts .zn-share .zn-share__btn:focus-visible::after, .zn-posts .zn-share .zn-share__btn.is-done::after { opacity: 1; translate: -50% 0; }
.zn-posts .zn-share .zn-share__btn--copy .zn-ico + .zn-ico { display: none; }
.zn-posts .zn-share .zn-share__btn--copy.is-done { background: var(--zn-dark); border-color: var(--zn-dark); color: var(--zn-gold-2); }
.zn-posts .zn-share .zn-share__btn--copy.is-done .zn-ico:first-child { display: none; }
.zn-posts .zn-share .zn-share__btn--copy.is-done .zn-ico + .zn-ico { display: block; }

.zn-posts .zn-share--rail { flex-direction: column; align-items: center; gap: 14px; }
/* "Share" reads across, centred over the icons (it may be wider than them), a short gold tick below it */
.zn-posts .zn-share--rail .zn-share__label { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 10.5px; line-height: 1; letter-spacing: .2em; margin-right: -.2em; white-space: nowrap; }
.zn-posts .zn-share--rail .zn-share__label::after { content: ""; width: 1px; height: 16px; margin-right: .2em; background: var(--zn-gold); }
.zn-posts .zn-share--rail .zn-share__list { flex-direction: column; }
.zn-posts .zn-share--rail .zn-share__btn::after { left: calc(100% + 10px); bottom: auto; top: 50%; translate: -4px -50%; }
.zn-posts .zn-share--rail .zn-share__btn:hover::after, .zn-posts .zn-share--rail .zn-share__btn:focus-visible::after, .zn-posts .zn-share--rail .zn-share__btn.is-done::after { translate: 0 -50%; }

/* after the article: tags + share */
.zn-posts .zn-pst-foot {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
	width: min(720px, 100% - 2 * var(--zn-gut)); margin: 64px auto 0; padding-top: 28px; border-top: 1px solid var(--zn-line);
}
.zn-posts .zn-pst.is-builder .zn-pst-foot { width: min(1240px, 100% - 2 * var(--zn-gut)); }
.zn-posts .zn-pst-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.zn-posts .zn-pst-tags__label { margin-right: 6px; font: 500 12px/1.6 var(--zn-text); letter-spacing: .16em; text-transform: uppercase; color: var(--zn-muted); }
.zn-posts .zn-pst-tags a { padding: 6px 12px; border: 1px solid var(--zn-line); font-size: 13px; line-height: 1.4; color: var(--zn-ink); text-decoration: none; transition: border-color .3s ease, color .3s ease; }
.zn-posts .zn-pst-tags a:hover, .zn-posts .zn-pst-tags a:focus-visible { border-color: var(--zn-gold); color: var(--zn-gold); }

/* ════════ Single post: the text ════════ */
.zn-posts .zn-pst-content {
	font-family: var(--zn-text); font-size: var(--e-global-typography-zn_body_l-font-size, 18px); line-height: 1.8;
	color: var(--zn-body); overflow-wrap: break-word;
}
.zn-posts .zn-pst-content > :first-child { margin-top: 0; }
.zn-posts .zn-pst-content > :last-child { margin-bottom: 0; }
.zn-posts .zn-pst-content p { margin: 0 0 1.4em; }
.zn-posts .zn-pst-content p[data-zn="gap"] { display: none; }
.zn-posts .zn-pst-content strong, .zn-posts .zn-pst-content b { font-weight: 600; color: var(--zn-ink); }

/* headings, and bold lines used as headings */
.zn-posts .zn-pst-content :is(h1, h2, h3, h4, h5, h6), .zn-posts .zn-pst-content p[data-zn="sub"], .zn-posts .zn-pst-content p[data-zn="lead"] > strong:first-child {
	position: relative; display: block; margin: 2.1em 0 .7em; font-family: var(--zn-head); color: var(--zn-ink); scroll-margin-top: 32px;
}
.zn-posts .zn-pst-content :is(h1, h2, h3, h4, h5, h6) strong, .zn-posts .zn-pst-content p[data-zn="sub"] strong { font-weight: inherit; color: inherit; }
.zn-posts .zn-pst-content :is(h1, h2) { font-weight: var(--e-global-typography-zn_h2-font-weight, 500); font-size: clamp(28px, 1.2rem + 1.3vw, 38px); line-height: 1.15; letter-spacing: -.02em; }
.zn-posts .zn-pst-content h3 { font-weight: var(--e-global-typography-zn_h3-font-weight, 500); font-size: clamp(24px, 1.1rem + .8vw, 30px); line-height: 1.25; letter-spacing: -.02em; }
.zn-posts .zn-pst-content h4, .zn-posts .zn-pst-content p[data-zn="sub"], .zn-posts .zn-pst-content p[data-zn="lead"] > strong:first-child {
	font-weight: 500; font-size: var(--e-global-typography-zn_h4-font-size, 22px); line-height: 1.35; letter-spacing: -.015em;
}
.zn-posts .zn-pst-content h5 { font-weight: 500; font-size: var(--e-global-typography-zn_h5-font-size, 18px); line-height: 1.45; }
.zn-posts .zn-pst-content h6 { font-weight: 500; font-size: var(--e-global-typography-zn_h6-font-size, 16px); line-height: 1.5; }
.zn-posts .zn-pst-content p[data-zn="lead"] > strong:first-child { margin-top: 0; }
.zn-posts .zn-pst-content p[data-zn="lead"] { margin-top: 2.1em; }
.zn-posts .zn-pst-content p[data-zn="lead"] > strong:first-child + br { display: none; }
/* a short gold mark hangs in the margin beside each heading and draws in when it scrolls into view */
.zn-posts .zn-pst-content .zn-hd::before {
	content: ""; position: absolute; left: -36px; top: .68em; width: 20px; height: 2px; background: var(--zn-gold);
	transform-origin: 100% 50%; transition: transform .9s var(--zn-ease) .1s;
}
.zn-posts .zn-pst-content p[data-zn="lead"].zn-hd::before { top: calc(var(--e-global-typography-zn_h4-font-size, 22px) * .68); }
.zn-posts .zn-pst-content .zn-hd.is-armed:not(.is-in)::before { transform: scaleX(0); }

/* opening byline / standfirst */
.zn-posts .zn-pst-content [data-zn="standfirst"] {
	margin: 0 0 2.6em; padding: 2px 0 2px 22px; border-left: 2px solid var(--zn-gold);
	font-family: var(--zn-text); font-size: 14px; font-weight: 500; line-height: 1.75; letter-spacing: .05em; color: var(--zn-ink);
}

/* lists */
.zn-posts .zn-pst-content :is(ul, ol) { margin: 0 0 1.6em; padding: 0; }
.zn-posts .zn-pst-content ul { list-style: none; }
.zn-posts .zn-pst-content ol { padding-left: 1.5em; }
.zn-posts .zn-pst-content li { margin: 0 0 .75em; }
.zn-posts .zn-pst-content ul > li { position: relative; padding-left: 30px; }
.zn-posts .zn-pst-content ul > li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 8px; height: 8px; background: var(--zn-gold); transform: translateY(-50%) skewX(-18deg); }
.zn-posts .zn-pst-content ol > li { padding-left: .5em; }
.zn-posts .zn-pst-content ol > li::marker { color: var(--zn-gold); font-family: var(--zn-head); font-weight: 600; }
.zn-posts .zn-pst-content li > :is(ul, ol) { margin: .75em 0 0; }

/* links */
.zn-posts .zn-pst-content a { color: var(--zn-ink); text-decoration: none; background: linear-gradient(var(--zn-gold), var(--zn-gold)) 0 100% / 100% 1px no-repeat; transition: color .3s ease, background-size .5s var(--zn-ease); }
.zn-posts .zn-pst-content a:hover, .zn-posts .zn-pst-content a:focus-visible { color: var(--zn-gold); background-size: 100% 2px; }
.zn-posts .zn-pst-content a:has(img) { background: none; }

/* quotes */
.zn-posts .zn-pst-content blockquote, .zn-posts .zn-pst-content .wp-block-pullquote {
	margin: 2.4em 0; padding: 6px 0 6px 32px; border: 0; border-left: 2px solid var(--zn-gold); background: none; text-align: left;
	font-family: var(--zn-head); font-weight: var(--e-global-typography-zn_quote-font-weight, 400); font-size: var(--e-global-typography-zn_quote-font-size, 24px); line-height: 1.45; letter-spacing: -.012em; color: var(--zn-ink);
}
.zn-posts .zn-pst-content .wp-block-pullquote blockquote { margin: 0; padding: 0; border: 0; }
.zn-posts .zn-pst-content blockquote p { margin-bottom: .7em; }
.zn-posts .zn-pst-content blockquote p:last-child { margin-bottom: 0; }
.zn-posts .zn-pst-content blockquote cite, .zn-posts .zn-pst-content .wp-block-pullquote cite {
	display: block; margin-top: 1em; font: 500 12px/1.6 var(--zn-text); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--zn-muted);
}

/* images, galleries, media */
.zn-posts .zn-pst-content img { max-width: 100%; height: auto; }
.zn-posts .zn-pst-content :is(figure, .wp-block-image, .wp-block-gallery, .wp-block-embed, .wp-block-video, .wp-block-table) { margin: 2.4em 0; }
.zn-posts .zn-pst-content figure img { display: block; }
.zn-posts .zn-pst-content :is(figcaption, .wp-element-caption):not(.wp-block-gallery figure.wp-block-image figcaption) {
	margin: 14px 0 0; padding-left: 14px; border-left: 1px solid var(--zn-gold); font-size: 14px; line-height: 1.55; text-align: left; color: var(--zn-muted);
}
.zn-posts .zn-pst-content .wp-block-gallery { gap: 12px; }
.zn-posts .zn-pst-content .wp-block-gallery figure.wp-block-image { margin: 0; overflow: hidden; }
.zn-posts .zn-pst-content .wp-block-gallery figure.wp-block-image img { transition: scale 1.1s var(--zn-ease); }
.zn-posts .zn-pst-content .wp-block-gallery figure.wp-block-image:hover img { scale: 1.05; }
.zn-posts .zn-pst-content .zn-media.is-armed:not(.is-in) { opacity: 0; clip-path: inset(6% 0 6% 0); }
.zn-posts .zn-pst-content .zn-media.is-armed { transition: opacity 1s ease, clip-path 1.3s var(--zn-ease); }
.zn-posts .zn-pst-content .alignwide { width: min(1040px, 100vw - 2 * var(--zn-gut)); max-width: none; margin-left: 50%; translate: -50% 0; }
.zn-posts .zn-pst-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; translate: -50% 0; }
@media (min-width: 768px) {
	.zn-posts .zn-pst-content .alignleft { float: left; max-width: 50%; margin: .4em 32px 1.2em 0; }
	.zn-posts .zn-pst-content .alignright { float: right; max-width: 50%; margin: .4em 0 1.2em 32px; }
}
.zn-posts .zn-pst-content iframe, .zn-posts .zn-pst-content video { max-width: 100%; }

/* tables, code, rules */
.zn-posts .zn-pst-content .wp-block-table { overflow-x: auto; }
.zn-posts .zn-pst-content table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.zn-posts .zn-pst-content :is(th, td) { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--zn-line); text-align: left; vertical-align: top; }
.zn-posts .zn-pst-content th { color: var(--zn-ink); font-weight: 600; border-bottom-color: var(--zn-gold); }
.zn-posts .zn-pst-content code { padding: .15em .4em; background: var(--zn-light); font-size: .86em; }
.zn-posts .zn-pst-content pre { margin: 2em 0; padding: 22px 24px; overflow-x: auto; background: var(--zn-dark); color: #EDEAE4; font-size: 14px; line-height: 1.7; }
.zn-posts .zn-pst-content pre code { padding: 0; background: none; color: inherit; }
.zn-posts .zn-pst-content hr, .zn-posts .zn-pst-content .wp-block-separator { height: 1px; margin: 3em 0; border: 0; background: var(--zn-line); opacity: 1; }
.zn-posts .zn-pst-pages { display: flex; gap: 8px; margin-top: 2em; font-size: 15px; }

/* ════════ Single post: comments (theme markup) ════════ */
.zn-posts .zn-pst-comments { width: min(720px, 100% - 2 * var(--zn-gut)); margin: 72px auto 0; font-size: 16px; color: var(--zn-body); }
.zn-posts .zn-pst-comments .comments-area { margin: 0; padding: 0; border: 0; background: none; }
.zn-posts .zn-pst-comments :is(.comments-title, .comment-reply-title) { font-family: var(--zn-head); font-weight: var(--e-global-typography-zn_h3-font-weight, 500); font-size: clamp(24px, 1rem + 1vw, 30px); line-height: 1.25; letter-spacing: -.02em; color: var(--zn-ink); }
.zn-posts .zn-pst-comments a { color: var(--zn-ink); }
.zn-posts .zn-pst-comments a:hover { color: var(--zn-gold); }
.zn-posts .zn-pst .zn-pst-comments input#submit { background: var(--zn-dark); color: var(--zn-white); border: 0; padding: 18px 28px; cursor: pointer; transition: background-color .35s ease, color .35s ease; }
.zn-posts .zn-pst .zn-pst-comments input#submit:hover, .zn-posts .zn-pst .zn-pst-comments input#submit:focus { background: var(--zn-gold); color: var(--zn-dark); }

/* ════════ Single post: consultation call ════════ */
.zn-posts .zn-pst-cta { padding-top: clamp(72px, 8vw, 112px); }
.zn-posts .zn-pst-cta__card {
	position: relative; isolation: isolate; overflow: hidden;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px 48px;
	padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 80px); background: var(--zn-dark);
}
.zn-posts .zn-pst-cta__card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 2px; background: var(--zn-gold); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.2s var(--zn-ease) .3s; }
.zn-posts .zn-pst-cta:not(.is-armed) .zn-pst-cta__card::before, .zn-posts .zn-pst-cta.is-in .zn-pst-cta__card::before { transform: scaleX(1); }
.zn-posts .zn-pst-cta__shape { position: absolute; z-index: -1; top: 0; bottom: 0; right: 4%; width: 28%; transform: skewX(-24deg); background: linear-gradient(160deg, rgb(200 164 93 / .22), rgb(200 164 93 / .04)); translate: var(--zn-px, 0px) 0; }
.zn-posts .zn-pst-cta__shape::after { content: ""; position: absolute; inset: 0 auto 0 -38%; width: 1px; background: rgb(200 164 93 / .35); }
.zn-posts .zn-pst-cta__text { position: relative; flex: 1 1 420px; }
.zn-posts .zn-pst-cta__title { margin: 0; max-width: 20ch; font-family: var(--zn-head); font-weight: var(--e-global-typography-zn_h2-font-weight, 500); font-size: clamp(28px, 1.1rem + 1.9vw, 46px); line-height: 1.12; letter-spacing: -.025em; color: var(--zn-white); }
.zn-posts .zn-pst-cta__btn { position: relative; flex: none; }

/* ════════ Single post: previous / next ════════ */
.zn-posts .zn-pst-nav { padding-top: clamp(40px, 4vw, 56px); }
.zn-posts .zn-pst-nav__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.zn-posts .zn-pst-nav__card {
	position: relative; display: flex; align-items: center; gap: 22px; padding: 16px; min-height: 100%;
	border: 1px solid var(--zn-line); background: var(--zn-white); color: var(--zn-ink); text-decoration: none;
}
.zn-posts .zn-pst-nav__card--next { flex-direction: row-reverse; text-align: right; }
.zn-posts .zn-pst-nav__thumb { position: relative; flex: none; width: 132px; aspect-ratio: 4 / 3; overflow: hidden; background: var(--zn-dark); }
.zn-posts .zn-pst-nav__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale 1.1s var(--zn-ease); }
.zn-posts .zn-pst-nav__text { min-width: 0; }
.zn-posts .zn-pst-nav__dir { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; font: 500 12px/1.6 var(--zn-text); letter-spacing: .16em; text-transform: uppercase; color: var(--zn-gold); }
.zn-posts .zn-pst-nav__card--next .zn-pst-nav__dir { flex-direction: row-reverse; }
.zn-posts .zn-pst-nav__arrow .zn-ico { width: 12px; height: 12px; transition: translate .5s var(--zn-ease); }
.zn-posts .zn-pst-nav__card--prev .zn-pst-nav__arrow .zn-ico { rotate: 180deg; }
.zn-posts .zn-pst-nav__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font: 500 18px/1.35 var(--zn-head); letter-spacing: -.01em; color: var(--zn-ink); }
.zn-posts .zn-pst-nav__card:hover, .zn-posts .zn-pst-nav__card:focus-visible { border-color: var(--zn-gold); box-shadow: 0 30px 60px -40px rgb(15 19 43 / .35); }
.zn-posts .zn-pst-nav__card:hover .zn-pst-nav__thumb img { scale: 1.08; }
.zn-posts .zn-pst-nav__card--prev:hover .zn-pst-nav__arrow .zn-ico { translate: -4px 0; }
.zn-posts .zn-pst-nav__card--next:hover .zn-pst-nav__arrow .zn-ico { translate: 4px 0; }

/* ════════ Single post: related ════════ */
.zn-posts .zn-pst-related { margin-top: clamp(72px, 8vw, 112px); padding: clamp(64px, 7vw, 104px) 0; background: var(--zn-light); }
.zn-posts .zn-pst > :last-child:not(.zn-pst-related) { margin-bottom: clamp(72px, 8vw, 112px); }
.zn-posts .zn-pst-related__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; margin-bottom: clamp(32px, 3.5vw, 48px); }
.zn-posts .zn-pst-related__title { margin: 0; font-family: var(--zn-head); font-weight: var(--e-global-typography-zn_h2-font-weight, 500); font-size: var(--e-global-typography-zn_h2-font-size, 50px); line-height: 1.1; letter-spacing: -.025em; color: var(--zn-ink); }

/* ════════ Cards (listings + related) ════════ */
.zn-posts .zn-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.2vw, 32px); }
.zn-posts .zn-card {
	position: relative; display: flex; flex-direction: column; min-width: 0;
	background: var(--zn-white); border: 1px solid var(--zn-line);
	transition: translate .6s var(--zn-ease), box-shadow .6s var(--zn-ease), border-color .4s ease, opacity .9s var(--zn-ease), transform 1.1s var(--zn-ease);
}
.zn-posts .zn-card::before { /* gold top line */
	content: ""; position: absolute; z-index: 2; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--zn-gold);
	transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--zn-ease);
}
.zn-posts .zn-card:hover, .zn-posts .zn-card:focus-within { translate: 0 -6px; border-color: transparent; box-shadow: 0 36px 70px -40px rgb(15 19 43 / .4); }
.zn-posts .zn-card:hover::before, .zn-posts .zn-card:focus-within::before { transform: scaleX(1); }
.zn-posts .zn-card__media { position: relative; aspect-ratio: 1500 / 926; overflow: hidden; background: var(--zn-dark); }
.zn-posts .zn-card__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: scale 1.2s var(--zn-ease); }
.zn-posts .zn-card:hover .zn-card__img, .zn-posts .zn-card:focus-within .zn-card__img { scale: 1.06; }
.zn-posts .zn-card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(22px, 2vw, 32px); }
.zn-posts .zn-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 14px; font: 500 12px/1.6 var(--zn-text); letter-spacing: .16em; text-transform: uppercase; color: var(--zn-muted); }
.zn-posts .zn-card__flag { color: var(--zn-ink); }
.zn-posts .zn-card__slash { color: var(--zn-gold); letter-spacing: 0; }
.zn-posts .zn-card__cat { position: relative; z-index: 2; color: var(--zn-gold); text-decoration: none; transition: color .3s ease; }
.zn-posts a.zn-card__cat:hover, .zn-posts a.zn-card__cat:focus-visible { color: var(--zn-ink); }
.zn-posts .zn-card__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--zn-line); }
.zn-posts .zn-card__date { font-size: 13px; font-weight: 400; letter-spacing: .02em; text-transform: none; }
.zn-posts .zn-card__title { margin: 0 0 14px; font-family: var(--zn-head); font-weight: 500; font-size: var(--e-global-typography-zn_h4-font-size, 22px); line-height: 1.3; letter-spacing: -.015em; color: var(--zn-ink); }
.zn-posts .zn-card__link { color: inherit; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--zn-ease), color .3s ease; }
.zn-posts .zn-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* the whole card opens the post */
.zn-posts .zn-card:hover .zn-card__link, .zn-posts .zn-card__link:focus-visible { background-size: 100% 1px; color: var(--zn-ink); }
.zn-posts .zn-card__link:focus-visible { outline: none; }
.zn-posts .zn-card:has(.zn-card__link:focus-visible) { outline: 2px solid var(--zn-gold); outline-offset: 4px; }
.zn-posts .zn-card__teaser { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; margin: 0 0 26px; font-size: 15px; line-height: 1.65; color: var(--zn-body); }
.zn-posts .zn-card__more { display: inline-flex; align-items: center; gap: 14px; margin-top: auto; font: 600 14px/1.3 var(--zn-head); color: var(--zn-ink); }
.zn-posts .zn-card:hover .zn-card__more-icon, .zn-posts .zn-card:focus-within .zn-card__more-icon { border-color: var(--zn-gold); background: var(--zn-gold); color: var(--zn-white); }
.zn-posts .zn-card:hover .zn-card__more-icon .zn-ico { translate: 3px 0; }
.zn-posts .zn-card__more-text { background: linear-gradient(var(--zn-gold), var(--zn-gold)) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--zn-ease) .05s; }
.zn-posts .zn-card:hover .zn-card__more-text { background-size: 100% 1px; }

/* no featured image: brand panel */
.zn-posts .zn-card__ph { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(120% 90% at 85% 100%, rgb(200 164 93 / .22), transparent 60%), var(--zn-dark); }
.zn-posts .zn-card__ph span { position: absolute; top: -10%; bottom: -10%; right: 16%; width: 22%; background: linear-gradient(180deg, var(--zn-gold-2), var(--zn-gold)); opacity: .9; transform: skewX(-24deg); transition: translate 1.2s var(--zn-ease); }
.zn-posts .zn-card__ph span::after { content: ""; position: absolute; top: 0; bottom: 0; right: -70%; width: 1px; background: rgb(200 164 93 / .5); }
.zn-posts .zn-card:hover .zn-card__ph span, .zn-posts .zn-pst-nav__card:hover .zn-card__ph span { translate: -8px 0; }

/* featured card */
.zn-posts .zn-card--feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); margin-bottom: clamp(20px, 2.2vw, 32px); }
.zn-posts .zn-card--feature .zn-card__body { justify-content: center; padding: clamp(28px, 4vw, 64px); }
.zn-posts .zn-card--feature .zn-card__title { margin-bottom: 18px; font-weight: var(--e-global-typography-zn_h3-font-weight, 500); font-size: var(--e-global-typography-zn_h3-font-size, 34px); line-height: 1.2; letter-spacing: -.02em; }
.zn-posts .zn-card--feature .zn-card__teaser { -webkit-line-clamp: 4; font-size: 16px; margin-bottom: 32px; }
.zn-posts .zn-card--feature .zn-card__more { margin-top: 0; }

/* ════════ Listings ════════ */
/* banner: same size as the inner-page banners (title centred; 240 / 204 / 180px tall) */
.zn-posts .zn-pl-hero {
	position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
	min-height: 240px; padding: 56px 0; background: var(--zn-dark); color: var(--zn-white);
}
.zn-posts .zn-pl-hero__media { position: absolute; z-index: -2; left: 0; top: -10%; width: 100%; height: 120%; }
.zn-posts .zn-pl-hero__img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(.2) contrast(1.05); scale: 1.04; translate: 0 var(--zn-py, 0px); will-change: translate; animation: zn-p-zoom-soft 2.2s var(--zn-ease) backwards; }
.zn-posts .zn-pl-hero__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, var(--e-global-color-zn_overlay_strong, #231F20E6) 25%, var(--e-global-color-zn_overlay_soft, #231F2073) 100%); }
.zn-posts .zn-pl-hero__inner { position: relative; }
.zn-posts .zn-pl-hero__head { display: flex; align-items: stretch; gap: 26px; }
.zn-posts .zn-pl-hero__accent { flex: none; width: 2px; background: var(--zn-gold); transform-origin: 50% 0; animation: zn-p-grow 1s .3s var(--zn-ease) backwards; }
.zn-posts .zn-pl-hero__title {
	margin: 0; font-family: var(--zn-head); font-weight: var(--e-global-typography-zn_h1-font-weight, 500); font-size: var(--e-global-typography-zn_h1-font-size, 84px);
	line-height: 1.05; letter-spacing: -.035em; color: var(--zn-white); overflow-wrap: anywhere;
	animation: zn-p-reveal 1.2s .15s var(--zn-ease) backwards;
}
.zn-posts .zn-pl.is-search .zn-pl-hero__title { font-size: var(--e-global-typography-zn_h2-font-size, 50px); line-height: 1.1; letter-spacing: -.025em; }
.zn-posts .zn-pl-hero__desc { max-width: 720px; margin-top: 24px; font-size: 18px; line-height: 1.7; color: var(--zn-ondark); }
.zn-posts .zn-pl-hero__desc p { margin: 0; }

.zn-posts .zn-search { position: relative; display: flex; width: 100%; max-width: 560px; margin-top: 36px; }
.zn-posts .zn-pl .zn-search .zn-search__field[type="search"] {
	flex: 1; width: 100%; height: 58px; margin: 0; padding: 0 74px 0 20px; border: 1px solid rgb(255 255 255 / .28); border-radius: 0;
	background: rgb(255 255 255 / .06); color: var(--zn-white); font: 400 16px/1.4 var(--zn-text); box-shadow: none; outline: none;
	transition: border-color .3s ease, background-color .3s ease;
}
.zn-posts .zn-pl .zn-search .zn-search__field[type="search"]::placeholder { color: var(--zn-ondark); opacity: 1; }
.zn-posts .zn-pl .zn-search .zn-search__field[type="search"]:focus { border-color: var(--zn-gold); background: rgb(255 255 255 / .1); }
.zn-posts .zn-pl .zn-search .zn-search__btn {
	position: absolute; top: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; width: 58px; padding: 0; margin: 0;
	border: 0; border-radius: 0; background: var(--zn-gold); color: var(--zn-dark); cursor: pointer; transition: background-color .3s ease;
}
.zn-posts .zn-pl .zn-search .zn-search__btn:hover, .zn-posts .zn-pl .zn-search .zn-search__btn:focus-visible { background: var(--zn-gold-2); color: var(--zn-dark); }
.zn-posts .zn-pl .zn-search .zn-search__btn .zn-ico { width: 20px; height: 20px; }
.zn-posts .zn-pl .zn-search--light { margin: 32px auto 0; }
.zn-posts .zn-pl .zn-search--light .zn-search__field[type="search"] { border-color: var(--zn-line); background: var(--zn-white); color: var(--zn-ink); }
.zn-posts .zn-pl .zn-search--light .zn-search__field[type="search"]::placeholder { color: var(--zn-muted); }

.zn-posts .zn-pl-body { padding: clamp(64px, 7vw, 112px) 0 clamp(80px, 8vw, 128px); }
.zn-posts .zn-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 3.5vw, 48px); }
.zn-posts .zn-chip { padding: 10px 18px; border: 1px solid var(--zn-line); font: 500 12px/1.4 var(--zn-text); letter-spacing: .16em; text-transform: uppercase; color: var(--zn-ink); text-decoration: none; transition: border-color .3s ease, color .3s ease, background-color .3s ease; }
.zn-posts .zn-chip:hover, .zn-posts .zn-chip:focus-visible { border-color: var(--zn-gold); color: var(--zn-gold); }
.zn-posts .zn-chip.is-current { border-color: var(--zn-dark); background: var(--zn-dark); color: var(--zn-white); }

.zn-posts .zn-pages { margin-top: clamp(48px, 5vw, 72px); }
.zn-posts .zn-pages .nav-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.zn-posts .zn-pages .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-width: 48px; height: 48px; padding: 0 14px;
	border: 1px solid var(--zn-line); color: var(--zn-ink); font: 500 15px/1 var(--zn-head); text-decoration: none;
	transition: border-color .3s ease, color .3s ease, background-color .3s ease;
}
.zn-posts .zn-pages a.page-numbers:hover, .zn-posts .zn-pages a.page-numbers:focus-visible { border-color: var(--zn-gold); color: var(--zn-gold); }
.zn-posts .zn-pages .page-numbers.current { border-color: var(--zn-dark); background: var(--zn-dark); color: var(--zn-white); }
.zn-posts .zn-pages .page-numbers.dots { border-color: transparent; }
.zn-posts .zn-pages__arrow .zn-ico { width: 12px; height: 12px; }
.zn-posts .zn-pages__arrow--prev .zn-ico { rotate: 180deg; }
.zn-posts .zn-empty { max-width: 640px; margin: 0 auto; text-align: center; }
.zn-posts .zn-empty__text { margin: 0; font-family: var(--zn-head); font-weight: var(--e-global-typography-zn_lead-font-weight, 400); font-size: clamp(22px, 1rem + .8vw, 28px); line-height: 1.4; color: var(--zn-ink); }

/* ════════ Motion ════════ */
.zn-posts .zn-in { animation: zn-p-up .9s calc(.1s + var(--i, 0) * .1s) var(--zn-ease) backwards; }
.zn-posts .zn-pst-meta.zn-in { animation-delay: .55s; }
.zn-posts .zn-rv { --zn-d: calc(var(--i, 0) * .1s); }
.zn-posts .zn-rv:not(.zn-card) { transition: opacity .9s var(--zn-ease), transform 1.1s var(--zn-ease), border-color .4s ease, box-shadow .6s var(--zn-ease); }
.zn-posts .zn-rv.is-armed:not(.is-in) { opacity: 0; transform: translateY(28px); }
.zn-posts .zn-rv.is-armed.is-in:not(.is-settled) { transition-delay: var(--zn-d), var(--zn-d), 0s, 0s; }
.zn-posts .zn-card.zn-rv.is-armed.is-in:not(.is-settled) { transition-delay: 0s, 0s, 0s, var(--zn-d), var(--zn-d); }

@keyframes zn-p-up { from { opacity: 0; translate: 0 18px; } }
@keyframes zn-p-fade { from { opacity: 0; } }
@keyframes zn-p-reveal { from { clip-path: inset(0 0 100% 0); translate: 0 28px; } to { clip-path: inset(0 0 0 0); translate: 0 0; } }
@keyframes zn-p-grow { from { transform: scaleY(0); } }
@keyframes zn-p-slide { from { translate: 60% 0; opacity: 0; } }
@keyframes zn-p-frame { from { clip-path: inset(16% 7% 0 7%); } to { clip-path: inset(0 0 0 0); } }
@keyframes zn-p-zoom { from { scale: 1.22; } }
@keyframes zn-p-zoom-soft { from { scale: 1.12; } }

/* ════════ Responsive ════════ */
@media (max-width: 1280px) {
	.zn-posts .zn-pst-toc { display: none; }
	.zn-posts .zn-pst-body { grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr); }
}
@media (max-width: 1024px) {
	.zn-posts .zn-pst-body { grid-template-columns: minmax(0, 1fr); padding-top: 64px; }
	.zn-posts .zn-pst-rail { display: none; }
	.zn-posts .zn-pst-content { grid-column: 1; width: 100%; max-width: 720px; justify-self: center; }
	.zn-posts .zn-pst-content .zn-hd::before { display: none; }
	.zn-posts .zn-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.zn-posts .zn-cards--related .zn-card:nth-child(3) { display: none; }
	.zn-posts .zn-card--feature { grid-template-columns: minmax(0, 1fr); }
	.zn-posts .zn-pl-hero { min-height: 204px; padding: 48px 0; }
	.zn-posts .zn-pst-media__frame { width: 100%; }
	.zn-posts .zn-pst-media__cap { width: 100%; }
}
@media (max-width: 767px) {
	.zn-posts .zn-pst-hero { padding: 40px 0 64px; }
	.zn-posts .zn-pst.has-media .zn-pst-hero { padding-bottom: 110px; }
	.zn-posts .zn-pst-hero__deco span:first-child { right: -6%; width: 40%; }
	.zn-posts .zn-pst-hero__head, .zn-posts .zn-pl-hero__head { gap: 18px; }
	.zn-posts .zn-crumbs { margin-bottom: 24px; font-size: 13px; }
	.zn-posts .zn-crumbs__here { max-width: 100%; flex-basis: 100%; }
	.zn-posts .zn-crumbs__sep:nth-last-child(2) { display: none; }
	.zn-posts .zn-pst-cats { margin-bottom: 20px; }
	.zn-posts .zn-pst-meta { gap: 10px 22px; margin-top: 28px; padding-top: 20px; font-size: 14px; }
	.zn-posts .zn-pst-media { margin-top: -80px; }
	.zn-posts .zn-pst-media__frame::before { inset: 12px -10px -12px 10px; }
	.zn-posts .zn-pst-body, .zn-posts .zn-pst.no-media .zn-pst-body { padding-top: 48px; }
	.zn-posts .zn-pst-content { font-size: 17px; line-height: 1.75; }
	.zn-posts .zn-pst-content :is(blockquote, .wp-block-pullquote) { padding-left: 20px; }
	.zn-posts .zn-pst-foot { flex-direction: column; align-items: flex-start; margin-top: 48px; }
	.zn-posts .zn-share { flex-direction: column; align-items: flex-start; gap: 12px; }
	.zn-posts .zn-pst-nav__grid { grid-template-columns: minmax(0, 1fr); }
	.zn-posts .zn-pst-nav__empty { display: none; }
	.zn-posts .zn-pst-nav__thumb { width: 92px; }
	.zn-posts .zn-pst-nav__card { gap: 16px; padding: 12px; }
	.zn-posts .zn-pst-nav__title { font-size: 16px; }
	.zn-posts .zn-pst-cta__card { flex-direction: column; align-items: flex-start; }
	.zn-posts .zn-pst-cta__shape { right: -20%; width: 55%; }
	.zn-posts .zn-cards { grid-template-columns: minmax(0, 1fr); }
	.zn-posts .zn-cards--related .zn-card:nth-child(3) { display: flex; }
	.zn-posts .zn-pst-related__head { align-items: flex-start; flex-direction: column; }
	.zn-posts .zn-pl-hero { min-height: 180px; padding: 40px 0; }
	.zn-posts .zn-pl-hero__shade { background: linear-gradient(0deg, var(--e-global-color-zn_overlay_strong, #231F20E6) 30%, var(--e-global-color-zn_overlay_soft, #231F2073) 100%); }
	.zn-posts .zn-pages .page-numbers { min-width: 44px; height: 44px; }
	.zn-posts .zn-pages .prev > span:last-child, .zn-posts .zn-pages .next > span:first-child { display: none; }
}

@media (hover: none) {
	.zn-posts .zn-pst-media__frame:hover .zn-pst-media__img { scale: 1.06; }
	.zn-posts .zn-card:hover { translate: none; }
}

@media (prefers-reduced-motion: reduce) {
	.zn-posts :is(.zn-pst, .zn-pl) *, .zn-posts :is(.zn-pst, .zn-pl) *::before, .zn-posts :is(.zn-pst, .zn-pl) *::after { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
	.zn-posts .zn-pst-media__img, .zn-posts .zn-pl-hero__img { translate: none; }
}
