/*
Theme Name: Zelto
Theme URI: https://zelto.co.uk
Author: Zelto
Description: Editorial block theme for Zelto, a UK property auction consultancy. Lead-first page set, programmatic city pages and a built-in lead form that stores enquiries in the dashboard.
Version: 2.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: zelto
*/

/* Tokens (see DESIGN.md). Motion: ease-out only, transform and opacity only. */
:root {
  --z-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --z-gutter: clamp(1.25rem, 4vw, 2.5rem);
  --z-max: 76rem;
  --z-paper: #F6F3EC; --z-surface: #FCFAF6; --z-ink: #14201B; --z-forest: #1C3A2E;
  --z-brass: #A97A2B; --z-brass-soft: #E9D9B8; --z-muted: #59615B; --z-line: #DDD7C9;
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3 { text-wrap: balance; word-spacing: 0.05em; }
h1, h2 { font-variation-settings: "opsz" 96; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--z-forest); }
p, li, dd { text-wrap: pretty; }
::selection { background: var(--z-brass-soft); color: var(--z-ink); }
:focus-visible { outline: 2px solid var(--z-brass); outline-offset: 3px; border-radius: 4px; }
.wp-site-blocks > * + *, .z-main > *, .z-main > * + * { margin-block-start: 0; margin-block-end: 0; }
img { max-width: 100%; height: auto; }

/* ---------- Layout ---------- */
.z-wide { box-sizing: border-box; max-width: calc(var(--z-max) + 2 * var(--z-gutter)); margin-inline: auto; padding-inline: var(--z-gutter); }
.z-sec { padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
.z-sec--surface { background: var(--z-surface); }
.z-sec--tight { padding-top: 0; }
/* Stacked sections share one boundary padding, not two (2026-10-03, matches homepage rhythm) */
.z-sec:not(.z-fee, .z-feeband--form, .z-hero) + .z-sec:not(.z-fee, .z-feeband--form, .z-sec--rule) { padding-top: 0; }
/* Straight-answers block sits outside a z-sec wrapper, so it needs its own section padding (2026-10-03) */
.z-faqshort { padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
/* Dark fee bands keep their own top padding when they follow another section (2026-10-03) */
.z-sec + .z-sec:is(.z-fee, .z-feeband--form) { padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
/* Light block after a section needs no top padding of its own; light block before a dark band needs no bottom padding (2026-10-03) */
.z-sec + .z-faqshort, .z-sec > .z-faqshort:first-child { padding-top: 0; }
.z-who + .z-split { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
/* Two-block row: headings line up at the top, and the section keeps its bottom padding above the dark band (2026-10-03) */
.z-split.z-split--blocks { align-items: start; }
.z-faqshort:has(+ :is(.z-fee, .z-feeband--form)),.z-sec:not(.z-fee, .z-feeband--form):has(+ :is(.z-fee, .z-feeband--form)) { padding-bottom: 0; }
/* Two-block row keeps full bottom padding above the dark band; sits after the rule above so it wins (2026-10-03) */
.z-sec.z-sec:has(.z-split--blocks) { padding-bottom: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
/* Cards above a two-block row in its own section use the same gap as the sell page (2026-10-04) */
.z-sec:has(+ .z-sec--tight .z-split--blocks) { padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.z-sec--rule { border-top: 1px solid var(--z-line); }
.z-head { max-width: 42rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.z-head h2 { margin: 0; }
.z-head .z-lead { margin-top: 1rem; }
.z-eyebrow { font-family: var(--wp--preset--font-family--body); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--z-brass); margin: 0 0 1rem; }
.z-lead { font-size: var(--wp--preset--font-size--lead); line-height: 1.55; color: var(--z-muted); max-width: 36rem; margin: 0; }
.z-note { font-size: 0.875rem; color: var(--z-muted); margin: 1.25rem 0 0; max-width: 38rem; }
.z-more { margin: 2rem 0 0; }
.z-more a, .z-lead a { font-weight: 600; }
.z-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
.z-split--flip { grid-template-columns: 1fr 1.1fr; }
.z-split--narrow { grid-template-columns: 1fr 1fr; margin-top: 2.5rem; align-items: start; }
.z-split__text > * + * { margin-top: 1rem; }
.z-split__text h3 { font-size: 1.375rem; margin-top: 1.75rem; }
.z-split__text p { max-width: 38rem; }
.z-fig { margin: 0; border: 1px solid var(--z-line); border-radius: 12px; overflow: hidden; background: var(--z-surface); }
.z-fig img { display: block; width: 100%; }
@media (max-width: 860px) { .z-split, .z-split--flip, .z-split--narrow { grid-template-columns: 1fr; } .z-split--flip .z-fig { order: 2; } }

/* ---------- Header ---------- */
.z-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--z-line); }
.admin-bar .z-header { top: 32px; }
.z-header__in { box-sizing: border-box; max-width: calc(var(--z-max) + 2 * var(--z-gutter)); margin-inline: auto; padding: 0.85rem var(--z-gutter); }
.z-header .wp-block-site-title { margin: 0; }
.z-header .wp-block-site-title a { text-decoration: none; color: var(--z-ink); font-family: var(--wp--preset--font-family--display); font-size: 1.8rem; font-weight: 600; letter-spacing: -0.03em; }
.z-header .wp-block-site-title a::after { content: "."; color: var(--z-brass); }
.z-header .wp-block-navigation a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--z-ink); transition: color 200ms var(--z-ease); }
.z-header .wp-block-navigation a[aria-current="page"] { box-shadow: 0 2px 0 var(--z-brass); padding-bottom: 4px; }
.z-header-cta .wp-block-button__link { padding: 0.65rem 1.1rem; font-size: 0.9rem; white-space: nowrap; }
@media (hover: hover) { .z-header .wp-block-navigation a:hover { color: var(--z-brass); } }
@media (min-width: 600px) and (max-width: 1200px) { .z-nav-secondary { display: none; } }
@media (max-width: 781px) { .admin-bar .z-header { top: 46px; } }
@media (max-width: 1000px) {
  .z-header .wp-block-buttons { order: -1; }
  .z-header .wp-block-navigation__responsive-container-open { display: flex; }
  .z-header .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .z-header .wp-block-navigation__responsive-container.is-menu-open { position: fixed; top: 0; bottom: 0; left: 0; width: min(20rem, 85vw); height: 100vh; height: 100dvh; background: var(--z-surface); box-shadow: 0 0 0 100vmax rgba(20, 32, 27, 0.45); padding: 1.25rem 1.75rem 2rem; box-sizing: border-box; overflow-y: auto; animation: z-drawer-in 320ms var(--z-ease) both; }
  .z-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { display: flex; flex-direction: column; align-items: flex-start; }
  .z-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .z-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.z-nav-secondary { display: flex; }
  .z-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.15rem; }
  .z-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content::before { content: "Zelto."; display: block; margin: 0; line-height: 1; font-family: var(--wp--preset--font-family--display); font-size: 1.8rem; font-weight: 600; letter-spacing: -0.03em; color: var(--z-ink); }
  .z-header .wp-block-navigation__responsive-container.is-menu-open,
  .z-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { justify-content: flex-start !important; }
  .z-header .wp-block-navigation__responsive-container-close { position: absolute; top: 1.2rem; right: 1.2rem; }
  @keyframes z-drawer-in { from { transform: translateX(-100%); } to { transform: none; } }
}
@media (max-width: 480px) { .z-header-cta .wp-block-button__link { padding: 0.55rem 0.8rem; font-size: 0.8rem; } .z-header .wp-block-site-title a { font-size: 1.8rem; } }

/* ---------- Buttons: press to 0.97, never from zero ---------- */
.z-btn, .wp-block-button__link { display: inline-block; font-family: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; background: var(--z-forest); color: var(--z-paper); border: 0; border-radius: 999px; padding: 1rem 1.75rem; cursor: pointer; transition: transform 160ms var(--z-ease), background-color 200ms var(--z-ease), color 200ms var(--z-ease); }
.z-btn:active, .wp-block-button__link:active { transform: scale(0.97); }
.z-btn--light { background: var(--z-paper); color: var(--z-forest); }
@media (hover: hover) and (pointer: fine) {
  .z-btn:hover, .wp-block-button__link:hover { background: var(--z-ink); color: var(--z-paper); }
  .z-btn--light:hover { background: var(--z-brass-soft); color: var(--z-forest); }
}
.z-actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2rem; }

/* ---------- Hero ---------- */
.z-hero { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem); }
.z-hero__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 1rem + 5vw, 5.5rem); align-items: center; }
.z-hero h1 { margin: 0; }
.z-hero .z-lead { margin-top: 1.5rem; }
@media (max-width: 860px) { .z-hero__grid { grid-template-columns: 1fr; } }
.z-crumbs { font-size: 0.875rem; color: var(--z-muted); margin-bottom: 1.5rem; }
.z-crumbs a { color: var(--z-muted); text-underline-offset: 3px; }
@keyframes z-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.z-rise { animation: z-rise 700ms var(--z-ease) both; animation-delay: calc(var(--z-i, 0) * 90ms); }

/* Panel */
.z-panel { background: var(--z-surface); border: 1px solid var(--z-line); border-radius: 12px; padding: 1.75rem; }
.z-panel__title { font-weight: 600; margin: 0 0 0.5rem; }
.z-panel dl { margin: 0; }
.z-panel dl > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.9rem 0; border-top: 1px solid var(--z-line); align-items: baseline; }
.z-panel dt { color: var(--z-muted); font-size: 0.9688rem; }
.z-panel dd { margin: 0; font-weight: 600; text-align: right; }
.z-panel dl > div:first-child dd { font-family: var(--wp--preset--font-family--display); font-size: 2.25rem; line-height: 1; font-weight: 500; color: var(--z-forest); }

/* ---------- The fee band: the one loud moment ---------- */
.z-feeband { background: var(--z-forest); color: var(--z-paper); padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
.z-feeband__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 1rem + 4vw, 5rem); align-items: center; }
.z-feeband__num { font-family: var(--wp--preset--font-family--display); font-weight: 400; font-size: clamp(6.5rem, 3rem + 15vw, 15rem); line-height: 0.8; letter-spacing: -0.05em; color: var(--z-brass-soft); margin: 0; font-variation-settings: "opsz" 144; }
.z-feeband h2 { color: var(--z-paper); margin: 0 0 1.25rem; max-width: 34rem; }
.z-feeband p { color: rgba(246, 243, 236, 0.82); max-width: 36rem; margin: 0 0 1.25rem; }
.z-feeband__cmp { display: grid; gap: 0; border-top: 1px solid rgba(246, 243, 236, 0.2); margin: 1.75rem 0 2rem !important; }
.z-feeband__cmp span { padding: 0.7rem 0; border-bottom: 1px solid rgba(246, 243, 236, 0.2); font-size: 0.9688rem; }
.z-feeband__cmp span:last-child { color: var(--z-brass-soft); font-weight: 600; }
@media (max-width: 760px) { .z-feeband__grid { grid-template-columns: 1fr; } }

/* ---------- Comparison table ---------- */
.z-table-wrap { overflow-x: auto; }
.z-table { width: 100%; border-collapse: collapse; min-width: 38rem; }
.z-table th, .z-table td { text-align: left; padding: 1.1rem 1.25rem; border-top: 1px solid var(--z-line); vertical-align: top; }
.z-table thead th { font-family: var(--wp--preset--font-family--display); font-size: 1.125rem; font-weight: 500; border-top: 0; padding-bottom: 1rem; }
.z-table thead th.is-us { background: var(--z-forest); color: var(--z-paper); }
.z-table tbody th { font-weight: 600; width: 22%; font-size: 0.9688rem; }
.z-table td { color: var(--z-muted); }
.z-table td.is-us { background: var(--z-brass-soft); color: var(--z-ink); font-weight: 500; }
.z-table tbody tr:last-child th, .z-table tbody tr:last-child td { border-bottom: 1px solid var(--z-line); }
@media (max-width: 600px) {
  .z-table-wrap { overflow: visible; }
  .z-table, .z-table tr, .z-table th, .z-table td { box-sizing: border-box; }
  .z-table { min-width: 0; }
  .z-table thead { display: none; }
  .z-table, .z-table tbody, .z-table tr, .z-table th, .z-table td { display: block; width: 100%; }
  .z-table tbody tr { border: 1px solid var(--z-line); margin-bottom: 1rem; }
  .z-table tbody th { width: auto; border-top: 0; padding-bottom: 0.25rem; }
  .z-table td { border-top: 1px solid var(--z-line); padding: 0.85rem 1.25rem; }
  .z-table tbody tr:last-child td, .z-table tbody tr:last-child th { border-bottom: 0; }
  .z-table td::before { content: attr(data-label); display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--z-muted); margin-bottom: 0.25rem; }
  .z-table td.is-us::before { color: var(--z-ink); }
}

/* ---------- Myth or truth ---------- */
.z-myths { list-style: none; margin: 0; padding: 0; }
.z-myths li { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); padding: 1.75rem 0; border-top: 1px solid var(--z-line); }
.z-myths li:last-child { border-bottom: 1px solid var(--z-line); }
.z-myths p { margin: 0.35rem 0 0; }
.z-myths li > div:first-child p { color: var(--z-muted); }
.z-myths li > div:last-child p { font-weight: 500; }
.z-myths__tag { font-size: 0.9375rem; font-weight: 600; color: var(--z-muted); }
.z-myths__tag--truth { color: var(--z-forest); }
@media (max-width: 760px) { .z-myths li { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- Facts, definition lists ---------- */
.z-facts > * + * { margin-top: 1.75rem; }
.z-facts h3 { margin: 0 0 0.4rem; font-size: 1.375rem; }
.z-facts p { margin: 0; color: var(--z-muted); }
.z-facts > div { border-left: 2px solid var(--z-brass); padding-left: 1.25rem; }
.z-facts .z-note { margin-top: 1.5rem; border: 0; padding: 0; }
.z-deflist { margin: 0; border-top: 1px solid var(--z-line); }
.z-deflist > div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1.5rem; padding: 1.25rem 0; border-bottom: 1px solid var(--z-line); }
.z-deflist dt { font-family: var(--wp--preset--font-family--display); font-size: 1.1875rem; font-weight: 500; }
.z-deflist dd { margin: 0; color: var(--z-muted); }
@media (max-width: 560px) { .z-deflist > div { grid-template-columns: 1fr; gap: 0.35rem; } }

/* ---------- Steps: a real sequence, so numbered ---------- */
.z-steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.z-steps--3 { grid-template-columns: repeat(3, 1fr); }
.z-steps li { counter-increment: s; border-top: 2px solid var(--z-ink); padding-top: 1.25rem; }
.z-steps li::before { content: counter(s); display: block; font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 2.5rem; line-height: 1; color: var(--z-brass); margin-bottom: 1rem; }
.z-steps h3 { margin: 0 0 0.5rem; font-size: 1.25rem; }
.z-steps p { margin: 0; color: var(--z-muted); font-size: 0.9688rem; }
.z-assure { margin: 2.5rem 0 0; font-family: var(--wp--preset--font-family--display); font-size: 1.375rem; color: var(--z-forest); }
@media (max-width: 900px) { .z-steps, .z-steps--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .z-steps, .z-steps--3 { grid-template-columns: 1fr; } }
.z-stages { counter-reset: st; list-style: none; margin: 0; padding: 0; }
.z-stages > li { counter-increment: st; display: grid; grid-template-columns: 4.5rem 1.4fr 1fr; gap: 2rem; padding: 2.25rem 0; border-top: 1px solid var(--z-line); align-items: start; }
.z-stages > li:last-child { border-bottom: 1px solid var(--z-line); }
.z-stages > li::before { content: counter(st); font-family: var(--wp--preset--font-family--display); font-style: italic; font-size: 3rem; line-height: 1; color: var(--z-brass); }
.z-stages h3 { margin: 0 0 0.5rem; font-size: 1.5rem; }
.z-stages p { margin: 0; color: var(--z-muted); max-width: 34rem; }
.z-stages ul { margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.9688rem; }
.z-stages ul strong { color: var(--z-forest); }
@media (max-width: 860px) { .z-stages > li { grid-template-columns: 3rem 1fr; } .z-stages ul { grid-column: 2; } }
@media (max-width: 520px) { .z-stages > li { grid-template-columns: 1fr; gap: 0.75rem; } .z-stages ul { grid-column: auto; } }

/* ---------- FAQ: real core/details blocks ---------- */
.z-faqwrap { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 1rem + 4vw, 4.5rem); row-gap: 2.5rem; align-items: start; }
.z-faqpage { padding-top: 1rem; }
.z-faqgroup + .z-faqgroup { margin-top: 0; }
.z-faqgroup h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 0 0 0.75rem; }
.z-faqshort { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: start; }
.z-faqlist, .z-faqgroup { min-width: 0; }
.wp-block-details { border-top: 1px solid var(--z-line); padding: 1.15rem 0; }
.wp-block-details:last-child { border-bottom: 1px solid var(--z-line); }
.wp-block-details summary { cursor: pointer; font-family: var(--wp--preset--font-family--display); font-size: 1.25rem; font-weight: 500; letter-spacing: -0.01em; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; font-family: var(--wp--preset--font-family--body); font-weight: 300; font-size: 1.75rem; color: var(--z-brass); transition: transform 240ms var(--z-ease); flex: none; }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details p { margin: 0.75rem 0 0; color: var(--z-muted); max-width: 42rem; }
@media (max-width: 860px) { .z-faqshort, .z-faqwrap { grid-template-columns: 1fr; } }

/* FAQs page specifically: smaller, denser type so the page scales as more FAQs are added */
.z-faqpage .z-faqgroup h2 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem); margin-bottom: 0.4rem; }
.z-faqpage .wp-block-details { padding: 0.6rem 0; }
.z-faqpage .wp-block-details summary { font-size: 0.975rem; gap: 0.75rem; }
.z-faqpage .wp-block-details summary::after { font-size: 1.4rem; }
.z-faqpage .wp-block-details p { font-size: 0.875rem; margin-top: 0.5rem; }

/* ---------- Lists: posts, cities ---------- */
.z-posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; align-items: start; }
.z-posts > li { margin: 0; }
.z-posts > li, .z-post { border-top: 1px solid var(--z-line); padding-top: 1.25rem; }
.z-posts time, .z-posts .wp-block-post-date, .z-article__meta .wp-block-post-date { font-size: 0.875rem; color: var(--z-muted); }
.z-posts h3, .z-posts .wp-block-post-title { margin: 0.5rem 0 0.5rem; font-size: 1.375rem; }
.z-posts a { text-decoration: none; color: var(--z-ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 320ms var(--z-ease); }
@media (hover: hover) { .z-posts a:hover { background-size: 100% 1px; } }
.z-posts p { margin: 0; color: var(--z-muted); font-size: 0.9688rem; }
.z-post + .z-post { margin-top: 0; }
.wp-block-post-template.z-posts { display: grid; }
@media (max-width: 900px) { .z-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .z-posts { grid-template-columns: 1fr; } }
.z-citylist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 0 2rem; }
.z-citylist li { border-top: 1px solid var(--z-line); }
.z-citylist a { display: block; padding: 0.85rem 0; text-decoration: none; color: var(--z-ink); font-weight: 500; transition: color 200ms var(--z-ease); }
@media (hover: hover) { .z-citylist a:hover { color: var(--z-brass); } }
.z-regions { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 3rem 2.5rem; }
.z-regions h2 { font-size: 1.375rem; margin: 0 0 0.75rem; }
.z-regions ul { list-style: none; margin: 0; padding: 0; }
.z-regions li { border-top: 1px solid var(--z-line); }
.z-regions a { display: block; padding: 0.7rem 0; text-decoration: none; color: var(--z-ink); font-weight: 500; }

/* ---------- Stats (city pages) ---------- */
.z-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 3rem; }
.z-stat__num { font-family: var(--wp--preset--font-family--display); font-weight: 400; font-size: clamp(3.5rem, 2rem + 6vw, 6.5rem); line-height: 1; letter-spacing: -0.03em; color: var(--z-forest); margin: 0; font-variant-numeric: lining-nums; }
.z-stat__label { margin: 0.75rem 0 0; font-weight: 600; max-width: 26rem; }
.z-stat__delta { margin: 0.35rem 0 0; color: var(--z-muted); }
.z-stats__src { margin-top: 2rem; }

/* ---------- Free valuation / contact layout ---------- */
.z-valwrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: start; }
.z-valwrap__text .z-fig { margin-top: 2rem; }
@media (max-width: 860px) { .z-valwrap { grid-template-columns: 1fr; } }
.z-next { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.z-next h2 { margin: 0 0 1rem; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); }
.z-next__links p { margin-top: 1.25rem; line-height: 1.9; }
@media (max-width: 760px) { .z-next { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Enquiry section and form ---------- */
.z-feeband--form { background: var(--z-forest); color: var(--z-paper); padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
.z-enq { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: start; }
.z-enq h2 { color: var(--z-paper); margin: 0 0 1.25rem; }
.z-enq .z-lead { color: rgba(246, 243, 236, 0.8); }
/* One bullet style everywhere: a check in a circle. Brass on light, cream on dark. */
.z-ticks, .z-stages ul, .z-prose ul, .z-legal ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; --z-dot-bg: var(--z-brass); --z-dot-fg: var(--z-paper); }
.z-ticks { margin-top: 2rem; }
.z-ticks li, .z-stages ul li, .z-prose ul li, .z-legal ul li { position: relative; padding-left: 2rem; margin: 0; }
.z-ticks li::before, .z-stages ul li::before, .z-prose ul li::before, .z-legal ul li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--z-dot-bg); }
.z-ticks li::after, .z-stages ul li::after, .z-prose ul li::after, .z-legal ul li::after { content: ""; position: absolute; left: 0.4rem; top: 0.42em; width: 0.38rem; height: 0.2rem; border-left: 2px solid var(--z-dot-fg); border-bottom: 2px solid var(--z-dot-fg); transform: rotate(-45deg); }
.z-prose ul { margin-block: 1.25em; gap: 0.7rem; }
.z-ticks li strong { display: block; font-weight: 600; }
.z-ticks li span { display: block; font-size: 0.9375rem; color: var(--z-muted); margin-top: 0.15rem; }
.z-feeband--form .z-ticks, .z-feeband .z-ticks { --z-dot-bg: var(--z-brass-soft); --z-dot-fg: var(--z-forest); }
.z-feeband--form .z-ticks li strong { color: var(--z-paper); }
.z-feeband--form .z-ticks li span { color: rgba(246, 243, 236, 0.62); }
.z-enq__text .z-eyebrow { color: var(--z-brass-soft); }
.z-enq__text .z-lead { color: rgba(246, 243, 236, 0.72); }
.z-enq__text a { color: var(--z-brass-soft); }
@media (max-width: 860px) { .z-enq { grid-template-columns: 1fr; } }
.z-form, .z-form * { box-sizing: border-box; }
.z-form { background: var(--z-surface); color: var(--z-ink); border-radius: 14px; border: 1px solid var(--z-line); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.z-form .cf-turnstile { display: block; width: 100%; margin: 0.5rem 0 1rem; min-height: 65px; }
.z-form .cf-turnstile iframe { width: 100% !important; min-width: 100%; }
.z-form h3 { margin: 0 0 0.25rem; }
.z-form p { color: var(--z-muted); margin: 0.25rem 0 0; }
.z-form__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; margin-top: 1.5rem; }
.z-form__full { grid-column: 1 / -1; }
.z-form label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.4rem; }
.z-form label small { font-weight: 400; color: var(--z-muted); }
.z-form input[type="text"], .z-form input[type="email"], .z-form input[type="tel"], .z-form select, .z-form textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--z-ink); background: #fff; border: 1.5px solid var(--z-line); border-radius: 8px; padding: 0.8rem 0.95rem; transition: border-color 180ms var(--z-ease), box-shadow 180ms var(--z-ease); }
.z-form textarea { min-height: 7rem; resize: vertical; }
.z-form input:focus, .z-form select:focus, .z-form textarea:focus { outline: none; border-color: var(--z-forest); box-shadow: 0 0 0 4px rgba(28, 58, 46, 0.14); }
.z-form .z-consent { display: flex; gap: 0.7rem; align-items: flex-start; }
.z-form .z-consent input { margin-top: 0.25rem; width: 1.05rem; height: 1.05rem; accent-color: var(--z-forest); flex: none; }
.z-form .z-consent label { font-weight: 400; margin: 0; font-size: 0.8438rem; color: var(--z-muted); }
.z-form .z-consent a { color: var(--z-forest); }
.z-form .z-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.z-form button[type="submit"] { width: 100%; font: inherit; font-weight: 600; font-size: 1rem; padding: 1rem 1.5rem; margin-top: 0.5rem; background: var(--z-forest); color: var(--z-paper); border: 0; border-radius: 999px; cursor: pointer; transition: transform 160ms var(--z-ease), background-color 200ms var(--z-ease); }
.z-form button[type="submit"]:active { transform: scale(0.98); }
@media (hover: hover) { .z-form button[type="submit"]:hover { background: var(--z-ink); } }
.z-form__note { font-size: 0.8125rem; text-align: center; margin: 0.75rem 0 0 !important; }
.z-alert { border-radius: 10px; padding: 1rem 1.25rem; margin-top: 1rem; font-weight: 500; }
.z-alert--ok { background: #E4EFE7; color: #17402B; }
.z-alert--err { background: #F7E3DF; color: #7A2317; }
.z-topics { border: 0; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.z-topics legend { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.6rem; padding: 0; }
.z-topic { position: relative; margin: 0 !important; }
.z-topic input { position: absolute; opacity: 0; inset: 0; }
.z-topic span { display: block; padding: 0.55rem 1rem; border: 1.5px solid var(--z-line); border-radius: 999px; font-size: 0.9375rem; font-weight: 500; background: #fff; cursor: pointer; transition: background-color 180ms var(--z-ease), color 180ms var(--z-ease), border-color 180ms var(--z-ease); }
.z-topic input:checked + span { background: var(--z-forest); color: var(--z-paper); border-color: var(--z-forest); }
.z-topic input:focus-visible + span { outline: 2px solid var(--z-brass); outline-offset: 2px; }
@media (max-width: 600px) { .z-form__grid { grid-template-columns: 1fr; } }

/* ---------- Articles and prose ---------- */
.z-article { max-width: 46rem; margin-inline: auto; }
.z-article h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); margin: 0 0 1.5rem; }
.z-article__meta { gap: 1rem; margin-bottom: 1rem; align-items: baseline; }
.z-article .wp-block-post-featured-image { margin: 0 0 2.5rem; }
.z-prose > * + * { margin-top: 1.25em; }
.z-prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); margin-top: 40px; }
.z-prose h3 { margin-top: 1.75em; }
.z-prose a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.z-prose blockquote { border-left: 3px solid var(--z-brass); padding-left: 1.25rem; font-family: var(--wp--preset--font-family--display); font-size: 1.375rem; font-style: italic; margin-left: 0; }
.z-prose img { border-radius: 12px; }
.z-article__meta a { text-decoration: none; }

/* ---------- Footer ---------- */
.z-footer { background: var(--z-ink); color: rgba(246, 243, 236, 0.78); font-size: 0.9375rem; }
.z-footer__in { box-sizing: border-box; max-width: calc(var(--z-max) + 2 * var(--z-gutter)); margin-inline: auto; padding: clamp(3rem, 2rem + 4vw, 5rem) var(--z-gutter) 2rem; }
.z-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
.z-footer__logo { font-family: var(--wp--preset--font-family--display); font-size: 1.8rem; color: var(--z-paper); margin: 0 0 0.75rem; font-weight: 500; letter-spacing: -0.03em; }
.z-footer__logo span { color: var(--z-brass); }
.z-footer__brand p { max-width: 24rem; margin: 0 0 1.5rem; }
.z-footer h2 { font-family: var(--wp--preset--font-family--body); font-size: 0.9375rem; font-weight: 600; color: var(--z-paper); margin: 0 0 1rem; letter-spacing: 0; }
.z-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.z-footer a { color: inherit; text-decoration: none; }
.z-footer a.z-btn { color: var(--z-forest); }
.z-footer a.z-btn:hover { color: var(--z-forest); }
@media (hover: hover) { .z-footer ul a:hover { color: var(--z-brass-soft); } }
.z-footer__legal { margin: 3rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(246, 243, 236, 0.16); font-size: 0.8125rem; color: rgba(246, 243, 236, 0.6); max-width: 60rem; }
@media (max-width: 760px) { .z-footer__top { grid-template-columns: 1fr 1fr; } .z-footer__brand { grid-column: 1 / -1; } }

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

/* ---------- Hero pills and ghost button ---------- */
.z-btn--ghost { background: transparent; color: var(--z-ink); box-shadow: inset 0 0 0 1.5px rgba(20, 32, 27, 0.35); }
@media (hover: hover) and (pointer: fine) { .z-btn--ghost:hover { background: var(--z-forest); color: var(--z-paper); box-shadow: inset 0 0 0 1.5px var(--z-forest); } }
.z-pills { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.z-pills li { background: var(--z-surface); border: 1px solid var(--z-line); border-radius: 999px; padding: 0.45rem 1rem; font-size: 0.8125rem; font-weight: 500; color: var(--z-forest); box-shadow: 0 1px 2px rgba(20, 32, 27, 0.05); }

/* ---------- Auction lot card ---------- */
.z-lot { background: var(--z-surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--z-line); box-shadow: 0 18px 40px -22px rgba(20, 32, 27, 0.35); }
.z-lot__bar { display: flex; justify-content: space-between; background: var(--z-forest); color: var(--z-paper); padding: 0.9rem 1.5rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.z-lot__bar span:last-child { color: var(--z-brass-soft); }
.z-lot__body { padding: 1.5rem 1.5rem 0.5rem; }
.z-lot__title { max-width: 14em; font-family: var(--wp--preset--font-family--display); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); font-weight: 500; line-height: 1.2; margin: 0; }
.z-lot__sub { color: var(--z-muted); margin: 0.6rem 0 1.25rem; }
.z-lot dl { margin: 0; }
.z-lot dl { font-size: 1rem; }
.z-lot dl > div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.85rem 0; border-top: 1px solid var(--z-line); align-items: baseline; }
.z-lot dt { color: var(--z-muted); }
.z-lot dd { margin: 0; font-weight: 600; text-align: right; }
.z-lot__foot { margin: 0; padding: 1rem 1.5rem 1.25rem; border-top: 1px dashed var(--z-line); color: var(--z-muted); font-size: 0.875rem; }

/* ---------- Who we help ---------- */
.z-who { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.z-who__card { background: var(--z-surface); border: 1px solid var(--z-line); border-radius: 14px; padding: 1.75rem; }
.z-who__icon { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--z-brass-soft); font-family: var(--wp--preset--font-family--display); font-weight: 600; color: var(--z-forest); }
.z-who__card h3 { margin: 1rem 0 0.6rem; font-size: 1.375rem; }
.z-who__card p { margin: 0; color: var(--z-muted); font-size: 0.95rem; }
@media (max-width: 860px) { .z-who { grid-template-columns: 1fr; } }

/* ---------- Fee band variants (same text formatting as the form sections) ---------- */
.z-fee { position: relative; overflow: hidden; background: var(--z-forest); color: var(--z-paper); padding-block: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
.z-fee .z-enq__text { max-width: 36rem; }
.z-fee .z-enq__text h2 { color: var(--z-paper); margin: 0 0 1.25rem; }
.z-fee .z-eyebrow { color: var(--z-brass-soft); }
.z-fee .z-lead { color: rgba(246, 243, 236, 0.72); }
.z-fee .z-ticks { --z-dot-bg: var(--z-brass-soft); --z-dot-fg: var(--z-forest); }
.z-fee .z-ticks li strong { color: var(--z-paper); }
.z-fee .z-ticks li span { color: rgba(246, 243, 236, 0.62); }
.z-enq__cta { margin: 2rem 0 0 !important; }
.z-fee__grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
.z-fee__grid--one { grid-template-columns: 1fr; }
@media (max-width: 860px) { .z-fee__grid { grid-template-columns: 1fr; } }
/* A: big 0% with a line-drawn house behind it */
.z-fee--a::before { content: ""; position: absolute; right: -4%; bottom: 0; width: min(58rem, 70%); aspect-ratio: 640 / 360; background: url(assets/img/bg-house.svg) no-repeat right bottom / contain; opacity: 0.13; pointer-events: none; }
.z-fee__num { position: relative; font-family: var(--wp--preset--font-family--display); font-weight: 400; font-size: clamp(8rem, 4rem + 14vw, 16rem); line-height: 0.8; letter-spacing: -0.05em; color: var(--z-brass-soft); margin: 0; text-align: center; font-variation-settings: "opsz" 144; }
/* B: comparison card with a skyline along the bottom */
.z-fee--b::before { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: url(assets/img/bg-skyline.svg) no-repeat center bottom / cover; opacity: 0.1; pointer-events: none; }
.z-fee--b .z-lot { color: var(--z-ink); }
/* C: ghost 0% behind the text, skyline strip */
.z-fee--c::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: url(assets/img/bg-skyline.svg) no-repeat center bottom / cover; opacity: 0.09; pointer-events: none; }
.z-fee__ghost { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); font-family: var(--wp--preset--font-family--display); font-size: clamp(14rem, 8rem + 28vw, 34rem); line-height: 0.8; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px rgba(233, 217, 184, 0.28); pointer-events: none; user-select: none; }
.z-fee--c .z-wide { position: relative; }
.z-enq__text a.z-btn, .z-fee a.z-btn { color: var(--z-forest); }

/* Two-tone H2 on dark sections: white, then soft brass italic. */
.z-enq__text h2 em, .z-fee .z-enq__text h2 em { color: var(--z-brass-soft); font-style: italic; font-weight: 400; }

/* Callout metrics: two (or three) big numbers side by side with a rule between */
.z-stats { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0; }
.z-stat { padding: 0.5rem clamp(1.5rem, 1rem + 3vw, 4rem); border-left: 1px solid var(--z-line); }
.z-stat:first-child { padding-left: 0; border-left: 0; }
.z-stat__num--chg { color: var(--z-brass); }
@media (max-width: 640px) { .z-stat { padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--z-line); } .z-stat:first-child { border-top: 0; padding-top: 0; } }

/* Hero and the three cards below it read as one block */
.z-hero { padding-bottom: clamp(2rem, 1.5rem + 1.5vw, 2.75rem); }
.z-hero + .z-sec { padding-top: clamp(1rem, 0.5rem + 1.5vw, 2rem); }

/* Guide post: main column flush with header logo, three widgets on guide posts only */
.z-guide__grid { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.z-guide__main { min-width: 0; max-width: 50rem; }
.z-guide .wp-block-post-featured-image { margin: 0 0 2.5rem; }
.z-sidebar { position: sticky; top: 6rem; display: grid; gap: 1.5rem; }
.z-widget { background: var(--z-surface, #fbf9f4); border: 1px solid var(--z-line); border-radius: 14px; overflow: hidden; }
.z-widget__head { margin: 0; padding: 1.1rem 1.35rem; background: var(--wp--preset--color--forest); color: var(--wp--preset--color--paper); font-size: 1.4rem; line-height: 1.2; font-weight: 600; }
.z-widget > :not(.z-widget__head) { margin: 0; padding: 1.25rem 1.35rem; }
.z-sidebar__posts ul, .z-sidebar__cats, .z-sidebar__cats ul { list-style: none; padding: 0; margin: 0; }
.z-sidebar__posts li { padding: 0.9rem 0; border-top: 1px solid var(--z-line); }
.z-sidebar__posts li:first-child { border-top: 0; padding-top: 0; }
.z-sidebar__posts a, .z-sidebar__cats a { text-decoration: none; color: var(--z-ink); font-weight: 500; }
.z-sidebar__posts a:hover, .z-sidebar__cats a:hover { color: var(--z-brass); }
.z-sidebar__cats li { padding: 0.4rem 0; font-size: 0.9375rem; color: var(--z-muted); }
@media (max-width: 860px) { .z-guide__grid { grid-template-columns: 1fr; } .z-sidebar { position: static; } }

/* Share bar under guide body: label left, links right */
.z-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--z-line); }
.z-share__label { margin: 0; font-size: 0.875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--z-muted); }
.z-share__list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.z-share__link { display: inline-block; padding: 0.45rem 0.9rem; border: 1px solid var(--wp--preset--color--forest); border-radius: 999px; font-size: 0.875rem; font-weight: 500; text-decoration: none; color: var(--wp--preset--color--forest); }
.z-share__link:hover { background: var(--wp--preset--color--forest); color: var(--wp--preset--color--paper); }


/* FAQ accordion (Rank Math FAQ block, rendered by functions.php). One open at a time, first open by default. */
.wp-block-rank-math-faq-block.z-accordion { margin: 1.5rem 0 0; border-bottom: 1px solid var(--z-line); }
.z-accordion__item { border-top: 1px solid var(--z-line); }
.z-accordion__q { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-family: var(--wp--preset--font-family--display); font-size: 1.35rem; font-weight: 600; line-height: 1.25; color: var(--z-ink); }
.z-accordion__q::-webkit-details-marker { display: none; }
.z-accordion__q::after { content: "+"; flex: none; font-size: 1.6rem; line-height: 1; color: var(--wp--preset--color--brass); transition: transform 200ms ease-out; }
.z-accordion__item[open] > .z-accordion__q::after { transform: rotate(45deg); }
.z-accordion__a { padding: 0 2rem 1.25rem 0; color: var(--z-muted); font-size: 0.9688rem; line-height: 1.6; }
.z-accordion__a p { margin: 0; }

/* FAQ box: rounded card with forest header band, matching the guide sidebar widgets */
.z-prose > .z-faq { margin-top: calc(2.5rem + 5px); background: var(--z-surface, #fbf9f4); border: 1px solid var(--z-line); border-radius: 14px; overflow: hidden; }
.z-faq__head { padding: 1.1rem 1.35rem; background: var(--wp--preset--color--forest); }
.z-faq .z-faq__title { margin: 0; padding: 0; font-family: var(--wp--preset--font-family--display); font-size: 1.4rem; font-weight: 600; line-height: 1.2; color: var(--wp--preset--color--paper); }
.z-faq .wp-block-rank-math-faq-block.z-accordion { margin: 0; padding: 0 1.35rem; border-bottom: 0; }
.z-faq .z-accordion__item:first-child { border-top: 0; }

/* Guide CTA link: sits on its own line under the lead-in */
.z-prose a.zelto-cta { display: inline-block; margin-top: 0.25rem; }

/* ---------- Guide navigation (previous and next) ---------- */
.z-guide-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.5rem 0 0; }
.z-guide-nav > .wp-block-post-navigation-link { margin: 0; }
.z-guide-nav__prev, .z-guide-nav__next { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.1rem 1.25rem; border: 1px solid var(--z-line); border-radius: 12px; background: var(--z-surface); transition: border-color 200ms var(--z-ease), box-shadow 200ms var(--z-ease), transform 200ms var(--z-ease); }
.z-guide-nav__next { text-align: right; align-items: flex-end; }
.z-guide-nav .post-navigation-link__label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--z-brass); }
.z-guide-nav__prev .post-navigation-link__label::before { content: "\2190\00a0"; }
.z-guide-nav__next .post-navigation-link__label::after { content: "\00a0\2192"; }
.z-guide-nav a { text-decoration: none; color: var(--z-ink); font-family: var(--wp--preset--font-family--display); font-size: 1.15rem; line-height: 1.3; transition: color 200ms var(--z-ease); }
@media (hover: hover) {
  .z-guide-nav > div:hover { border-color: var(--z-brass); box-shadow: 0 8px 24px rgba(20, 32, 27, 0.08); transform: translateY(-2px); }
  .z-guide-nav a:hover { color: var(--z-forest); }
}
@media (max-width: 600px) { .z-guide-nav { grid-template-columns: 1fr; } .z-guide-nav__next { text-align: left; align-items: flex-start; } }

/* ---------- Related guides (three random cards) ---------- */
.z-related { margin: 3rem 0 0; }
.z-related__title { margin: 0 0 1.25rem; font-family: var(--wp--preset--font-family--display); font-size: 1.8rem; font-weight: 600; color: var(--z-ink); }
.z-related__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.z-related__card { margin: 0; }
.z-related__link { display: flex; flex-direction: column; gap: 0.5rem; height: 100%; box-sizing: border-box; padding: 1.25rem; border: 1px solid var(--z-line); border-radius: 12px; background: var(--z-surface); text-decoration: none; color: var(--z-ink); transition: border-color 200ms var(--z-ease), box-shadow 200ms var(--z-ease), transform 200ms var(--z-ease); }
.z-related__img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 0.25rem; }
.z-related__meta { font-size: 0.8rem; color: var(--z-muted); }
.z-related__name { font-family: var(--wp--preset--font-family--display); font-size: 1.2rem; line-height: 1.3; }
.z-related__more { margin-top: auto; padding-top: 0.5rem; font-size: 0.85rem; font-weight: 600; color: var(--z-brass); }
@media (hover: hover) { .z-related__link:hover { border-color: var(--z-brass); box-shadow: 0 8px 24px rgba(20, 32, 27, 0.08); transform: translateY(-2px); } }
@media (max-width: 860px) { .z-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .z-related__grid { grid-template-columns: 1fr; } }
/* Guides list section keeps full bottom padding above the dark band, same as the two-block rows (2026-10-04) */
.z-sec.z-sec:has(.z-post) { padding-bottom: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
/* Guides page: 7px more room between the hero and the Start here section (2026-10-04) */
/* Hero to section 2 gap is one value on every page: the hero carries it, section 2 adds none (2026-10-04) */
.z-hero { padding-bottom: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
.z-hero + .z-sec { padding-top: 0; }
/* Locations list keeps full bottom padding above the dark band, same as the guides list (2026-10-04) */
.z-sec.z-sec:has(.z-regions) { padding-bottom: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
/* FAQ page list keeps full bottom padding above the dark band, same as the guides and locations lists (2026-10-04) */
.z-sec.z-sec.z-faqpage { padding-bottom: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
/* Any section directly above the free valuation band keeps full bottom padding, so every page matches (2026-10-04) */
.z-sec.z-sec:has(+ :is(.z-fee, .z-feeband--form)) { padding-bottom: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
/* FAQ block inside a divider section takes its bottom spacing from the section, not from itself (2026-10-04) */
.z-sec > .z-faqshort:last-child { padding-bottom: 0; }
/* Article block aligned to the logo's left edge rather than centred (2026-10-04) */
.z-article--start { max-width: none; margin-inline: 0; }
/* Text section straight after the dark valuation band: a little top room, not none (2026-10-04) */
.z-sec.z-sec--after-band { padding-top: clamp(2.5rem, 1.5rem + 2vw, 3rem); }
/* City page: the section after a surface band keeps its top padding (2026-10-04) */
body.single-zelto_location .z-sec--surface + .z-sec.z-sec { padding-top: clamp(3.5rem, 2rem + 4vw, 5.5rem); }
/* Visually hidden heading: keeps the FAQ H2 in the content for the table of contents (2026-10-04) */
.z-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; }

/* Latest guides widget: thumbnail sits beside the title and date */
.z-sidebar__posts { list-style: none; margin: 0; padding: 0; }
.z-sidebar__posts li { display: grid; grid-template-columns: 96px 1fr; column-gap: 0.9rem; align-items: start; padding: 0.6rem 0; }
.z-sidebar__posts li:first-child { padding-top: 0; }
.z-sidebar__posts .wp-block-latest-posts__featured-image { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
.z-sidebar__posts .wp-block-latest-posts__featured-image img { display: block; width: 96px; height: auto; border-radius: 8px; }
.z-sidebar__posts li > a { grid-column: 2; font-family: var(--wp--preset--font-family--display); font-size: 1rem; line-height: 1.3; }
.z-sidebar__posts li > time { grid-column: 2; display: block; margin: 0.2rem 0 0; line-height: 1.3; font-size: 0.8rem; color: var(--z-muted); }

/* Guide title: keep the hero image clear of the title descenders */
.z-guide__main .wp-block-post-title { margin: 0 0 1.5rem; line-height: 1.12; }

/* Guide cards on the hub: featured image sits above the date and title */
.z-posts .wp-block-post-featured-image { margin: 0 0 0.75rem; }
.z-posts .wp-block-post-featured-image img { width: 100%; height: auto; object-fit: cover; display: block; }
.z-card__img { margin: 0 0 0.75rem; }
.z-card__img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; display: block; }

/* Hub cards: tighter spacing between title, date and excerpt */
.z-posts .wp-block-post-date { margin: 0.25rem 0 0; line-height: 1.3; }
.z-posts .wp-block-post-excerpt { margin: 1rem 0 0; }
.z-posts .wp-block-post-excerpt__excerpt { margin: 0; }

/* Hub cards: one divider per card (the list item already draws it) */
.z-posts .z-post { border-top: 0; }

/* Legal pages - guide-style eyebrow above the title */
.zelto-legal .z-article::before { content: "Legal"; display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--z-brass); margin-bottom: 0.9rem; }

/* Legal pages - full width to match the header logo and nav */
.zelto-legal .z-article { max-width: calc(var(--z-max) + 2 * var(--z-gutter)); margin-inline: auto; }
