/* Leadora – public site: front page, blog, pages, search, 404.
   Builds on base.css (tokens, buttons, brand). Uses logical properties
   so right-to-left languages lay out correctly. */

body.leadora-site { font-size: 16px; line-height: 1.6; }
/* In-page menu links (#features…) land below the sticky header. */
html:has(body.leadora-site) { scroll-padding-top: 96px; scroll-behavior: smooth; }

.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 32px; }
.container--narrow { max-width: 780px; }

.text-gold { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px !important;
	font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink);
}
.eyebrow svg { width: 16px; height: 16px; }

.skip-link:focus {
	position: fixed !important; inset-block-start: 12px; inset-inline-start: 12px; z-index: 100;
	width: auto; height: auto; clip: auto; padding: 10px 16px; border-radius: 10px;
	background: var(--surface); color: var(--text); box-shadow: var(--shadow-pop);
}

/* ---------- buttons (site extras) ---------- */

.btn--lg { height: 50px; padding: 0 24px; font-size: 15px; }
.btn--lg svg { width: 18px; height: 18px; }
.btn--dark { background: var(--on-gold); color: #f4dfae !important; }
.btn--dark:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(11, 26, 51, 0.35); }
[dir="rtl"] .btn .i-arrow,
[dir="rtl"] .link-arrow .i-arrow,
[dir="rtl"] .i-back { transform: scaleX(-1); }

.pill {
	display: inline-flex; align-items: center; padding: 3px 11px; border-radius: 999px;
	border: 1px solid var(--border-strong); background: var(--surface-2);
	font-size: 12px; font-weight: 600; color: var(--muted); transition: color 0.15s, border-color 0.15s;
}
a.pill:hover { color: var(--gold-ink); border-color: var(--gold); }
.pill--gold { color: var(--gold-ink); background: var(--gold-soft); border-color: rgba(212, 169, 90, 0.4); }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--gold-ink) !important; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.15s; }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */

.site-header {
	position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 30;
	background: color-mix(in srgb, var(--bg) 80%, transparent);
	border-bottom: 1px solid var(--border);
	backdrop-filter: blur(14px);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.site-header__brand { flex: none; }
.site-logo { display: block; max-height: 40px; width: auto; }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.site-header__toggle { display: none; }
.site-header__toggle .i-close,
.site-header__toggle[aria-expanded="true"] .i-menu { display: none; }
.site-header__toggle[aria-expanded="true"] .i-close { display: block; }

.site-nav { flex: 1; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav__menu { display: flex; align-items: center; gap: 4px; }
.site-nav__menu > li { position: relative; }
.site-nav a {
	display: block; padding: 8px 14px; border-radius: 999px;
	font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color 0.15s, background-color 0.15s;
}
.site-nav a:hover { color: var(--text); background: var(--surface-2); }
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a,
.site-nav .current_page_item > a { color: var(--gold-ink); background: var(--gold-soft); }
.site-nav .sub-menu {
	position: absolute; inset-inline-start: 0; top: calc(100% + 6px); min-width: 210px; padding: 6px;
	background: var(--surface); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow-pop);
	opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.site-nav .sub-menu a { border-radius: 8px; }
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

/* ---------- front page: hero ---------- */

.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero__glow {
	position: absolute; top: -240px; inset-inline-end: -160px; width: 760px; height: 760px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(212, 169, 90, 0.2), transparent); pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.hero__title { font-size: clamp(36px, 5vw, 58px); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; }
.hero__lead { margin-top: 20px !important; max-width: 560px; font-size: 18px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__hint { margin-top: 14px !important; max-width: 520px; font-size: 13.5px; color: var(--faint); }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 32px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points svg { width: 16px; height: 16px; color: var(--gold-ink); }

/* Illustrative dashboard preview. */
.preview {
	position: relative; border: 1px solid var(--border-strong); border-radius: 18px; overflow: hidden;
	background: var(--surface); box-shadow: var(--shadow-pop);
	transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transform-origin: left center;
}
[dir="rtl"] .preview { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); transform-origin: right center; }
.preview__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.preview__bar > span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.preview__bar em { margin-inline-start: 10px; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.preview__body { display: grid; gap: 12px; padding: 16px; font-size: 13px; }
.preview__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.preview__kpi { display: grid; gap: 4px; justify-items: start; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.preview__kpi small { font-size: 11px; color: var(--muted); }
.preview__kpi strong { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.preview__kpi .kpi__note { font-size: 11px; }
.preview__kpi--hero { border-color: rgba(212, 169, 90, 0.35); background: linear-gradient(140deg, color-mix(in srgb, var(--gold) 16%, var(--surface)) 0%, var(--surface) 75%); }
.preview__kpi--hero strong { color: var(--gold-ink); }
.preview__chart { padding: 12px; border: 1px solid var(--border); border-radius: 12px; }
.preview__chart small { font-size: 11px; color: var(--muted); }
.preview__bars { display: flex; align-items: flex-end; gap: 4px; height: 96px; margin-top: 10px; border-bottom: 1px solid var(--border-strong); }
.preview__bars span { flex: 1; border-radius: 3px 3px 0 0; background: var(--bar); }
.preview__bars span:last-child { background: var(--bar-hover); }
.preview__rows { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.preview__rows li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.preview__rows li > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.preview__rows b { font-weight: 600; font-size: 12.5px; }
.preview__rows i { font-style: normal; font-size: 11px; color: var(--faint); font-family: var(--mono); }
.preview__rows .badge { font-size: 11px; }

/* ---------- front page: sections ---------- */

/* padding-block only: these classes share elements with .container. */
.section { padding-block: 88px; }
.section--tight { padding-block: 48px 88px; }
.section--alt { background: color-mix(in srgb, var(--surface) 55%, transparent); border-block: 1px solid var(--border); }
.section__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section h2,
.cta-band h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
.section__head p:last-child { margin-top: 14px; font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature {
	padding: 28px; background: var(--surface); border: 1px solid var(--border);
	border-radius: var(--radius); box-shadow: var(--shadow); transition: border-color 0.2s, transform 0.2s;
}
.feature:hover { border-color: rgba(212, 169, 90, 0.4); transform: translateY(-2px); }
.feature__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; font-weight: 600; }
.feature p { margin-top: 8px; font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { position: relative; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.step__num {
	display: inline-grid; place-items: center; width: 36px; height: 36px; margin-bottom: 18px; border-radius: 50%;
	background: var(--gold-gradient); color: var(--on-gold); font-weight: 700; box-shadow: 0 6px 18px rgba(212, 169, 90, 0.3);
}
.step h3 { font-size: 17px; font-weight: 600; }
.step p { margin-top: 8px; font-size: 15px; }

.pipeline { display: grid; justify-items: center; gap: 14px; margin-top: 48px; text-align: center; }
.pipeline__label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
.pipeline__flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.pipeline__flow .badge { padding: 6px 14px 6px 12px; font-size: 13px; }
.pipeline__flow svg { width: 16px; height: 16px; color: var(--faint); }
[dir="rtl"] .pipeline__flow svg { transform: scaleX(-1); }
.pipeline__or { font-size: 13px; color: var(--faint); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.split p.muted { margin-top: 14px; font-size: 17px; }
.checklist { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--muted); }
.checklist svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--gold-ink); }
.checklist strong { color: var(--text); font-weight: 600; }

.cta-band {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
	padding: 48px 56px; border-radius: 24px; background: var(--gold-gradient); color: var(--on-gold);
	box-shadow: 0 24px 60px rgba(212, 169, 90, 0.25);
}
.cta-band::after { content: ""; position: absolute; inset-inline-end: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band p { margin-top: 8px; font-size: 17px; opacity: 0.8; }

/* ---------- page header (blog, archives, search, entries) ---------- */

.page-hero { position: relative; padding: 64px 0 40px; border-bottom: 1px solid var(--border); }
.page-hero--entry { border-bottom: 0; padding-bottom: 32px; }
.page-hero__title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.12; letter-spacing: -0.025em; overflow-wrap: anywhere; }
.page-hero__lead { margin-top: 14px !important; max-width: 640px; font-size: 18px; }
.page-hero__lead p { margin: 0; }
.page-hero__count { margin-top: 14px !important; font-size: 14px; color: var(--faint); }
.page-hero .search-form { margin-top: 24px; }
.page-hero .post-card__top { margin-bottom: 14px; }

.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; font-size: 14px; font-weight: 500; color: var(--muted) !important; }
.back-link:hover { color: var(--gold-ink) !important; }
.back-link svg { width: 16px; height: 16px; }

.entry-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14px; color: var(--muted); }
.entry-meta > span { display: inline-flex; align-items: center; gap: 7px; }
.entry-meta svg { width: 16px; height: 16px; color: var(--faint); }
.entry-meta a:hover { color: var(--gold-ink); }

/* ---------- post cards ---------- */

.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-card {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
	transition: border-color 0.2s, transform 0.2s;
}
.post-card:hover { border-color: rgba(212, 169, 90, 0.4); transform: translateY(-3px); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder {
	display: grid; place-items: center; width: 100%; height: 100%; color: var(--gold-ink);
	background: radial-gradient(240px 140px at 80% 0%, var(--gold-soft), transparent), var(--surface-2);
}
.post-card__placeholder svg { width: 36px; height: 36px; opacity: 0.7; }
.post-card__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px; }
.post-card__top { display: flex; flex-wrap: wrap; gap: 6px; }
.post-card__top:empty { display: none; }
.post-card__title { font-size: 19px; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.post-card__title a:hover { color: var(--gold-ink); }
.post-card__excerpt { font-size: 15px; }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13.5px; }

/* ---------- pagination (the_posts_pagination) ---------- */

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.page-numbers {
	display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 14px;
	border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums;
}
a.page-numbers:hover { border-color: var(--gold); color: var(--gold-ink); }
.page-numbers.current { background: var(--gold-gradient); border-color: transparent; color: var(--on-gold); font-weight: 700; }
.page-numbers.dots { border: 0; color: var(--faint); }

/* ---------- search ---------- */

.search-form { position: relative; display: flex; align-items: center; gap: 8px; max-width: 560px; }
.search-form > svg { position: absolute; inset-inline-start: 16px; color: var(--faint); pointer-events: none; }
.search-form__input {
	flex: 1; min-width: 0; height: 48px; padding-inline: 46px 14px;
	background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); border-radius: 999px;
	font: 400 15px var(--font); transition: border-color 0.15s, box-shadow 0.15s;
}
.search-form__input::placeholder { color: var(--faint); }
.search-form__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--focus); }
.search-form .btn { position: absolute; inset-inline-end: 5px; height: 38px; }
.search-form__input { padding-inline-end: 110px; }

.result-list { display: grid; gap: 12px; }
.result__link {
	display: flex; align-items: center; gap: 18px; padding: 20px 22px;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.15s, background-color 0.15s;
}
.result__link:hover { border-color: rgba(212, 169, 90, 0.45); background: var(--surface-hover); }
.result__icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); }
.result__body { display: grid; gap: 4px; flex: 1; min-width: 0; }
.result__meta { font-size: 12.5px; }
.result__title { font-size: 18px; font-weight: 600; line-height: 1.35; }
.result__link:hover .result__title { color: var(--gold-ink); }
.result__excerpt { font-size: 14.5px; }
.result__link > svg { color: var(--faint); }
[dir="rtl"] .result__link > svg { transform: scaleX(-1); }

/* ---------- empty state ---------- */

.empty-state {
	display: grid; justify-items: center; gap: 10px; padding: 64px 24px; text-align: center;
	border: 1px dashed var(--border-strong); border-radius: 18px;
}
.empty-state__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 16px; background: var(--gold-soft); color: var(--gold-ink); }
.empty-state__icon svg { width: 26px; height: 26px; }
.empty-state h2 { font-size: 22px; font-weight: 700; }
.empty-state .btn,
.empty-state .search-form { margin-top: 12px; width: 100%; justify-self: center; }
.empty-state .btn { width: auto; }

/* ---------- single post & page ---------- */

/* Breathing room above the footer on single posts and pages. */
.site-main > .entry:last-child,
.site-main > .container:last-child { padding-bottom: 96px; }

.entry__cover { margin: 0 auto 48px; max-width: 1100px; }
.entry__cover img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 20px; border: 1px solid var(--border); }

.entry__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); }
.entry__footer:empty { display: none; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.edit-link a { font-size: 13.5px; font-weight: 600; color: var(--gold-ink); }
.edit-link a:hover { text-decoration: underline; }

.author-box { display: flex; gap: 18px; margin-top: 32px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.author-box__avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(212, 169, 90, 0.4); }
.author-box p.faint { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.author-box h2 { margin: 2px 0 6px; font-size: 18px; }
.author-box h2 a:hover { color: var(--gold-ink); }
.author-box p.muted { font-size: 15px; }

.post-navigation { margin-top: 32px; }
.post-navigation .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.post-navigation a {
	display: grid; gap: 4px; height: 100%; padding: 18px 20px;
	border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: border-color 0.15s;
}
.post-navigation a:hover { border-color: rgba(212, 169, 90, 0.45); }
.post-navigation .nav-next { grid-column: 2; text-align: end; }
.post-navigation .nav-subtitle { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); }
.post-navigation .nav-title { font-weight: 600; line-height: 1.35; }
.post-navigation a:hover .nav-title { color: var(--gold-ink); }

/* Post content. Prefixed with .leadora-site to beat base.css's resets. */
.leadora-site .prose { font-size: 17.5px; line-height: 1.75; color: color-mix(in srgb, var(--text) 88%, var(--muted)); overflow-wrap: break-word; }
.leadora-site .prose > * { margin-block: 0; }
.leadora-site .prose > * + * { margin-top: 1.25em; }
.leadora-site .prose :is(h2, h3, h4, h5, h6) { margin-top: 1.8em; color: var(--text); line-height: 1.25; letter-spacing: -0.015em; }
.leadora-site .prose h2 { font-size: 1.6em; font-weight: 700; }
.leadora-site .prose h3 { font-size: 1.3em; font-weight: 600; }
.leadora-site .prose h4 { font-size: 1.1em; font-weight: 600; }
.leadora-site .prose :is(h2, h3, h4) + * { margin-top: 0.6em; }
.leadora-site .prose a:where(:not(.wp-element-button, .wp-block-button__link)) { color: var(--gold-ink); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--gold) 45%, transparent); text-underline-offset: 3px; }
.leadora-site .prose a:where(:not(.wp-element-button, .wp-block-button__link)):hover { text-decoration-color: currentColor; }
.leadora-site .prose strong { color: var(--text); }
.leadora-site .prose :is(ul, ol) { padding-inline-start: 1.4em; }
.leadora-site .prose li + li { margin-top: 0.4em; }
.leadora-site .prose li::marker { color: var(--gold-ink); }
.leadora-site .prose blockquote,
.leadora-site .prose .wp-block-quote {
	margin-inline: 0; padding: 4px 0 4px 24px; padding-inline: 24px 0;
	border-inline-start: 3px solid var(--gold); font-size: 1.1em; font-style: italic; color: var(--text);
}
.leadora-site .prose blockquote cite { display: block; margin-top: 8px; font-size: 0.8em; font-style: normal; color: var(--muted); }
.leadora-site .prose :not(pre) > code { padding: 2px 6px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); font-family: var(--mono); font-size: 0.88em; color: var(--gold-ink); }
.leadora-site .prose pre { overflow-x: auto; padding: 18px 20px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-family: var(--mono); font-size: 0.85em; line-height: 1.6; }
.leadora-site .prose hr { border: 0; border-top: 1px solid var(--border-strong); margin-block: 2.5em; }
.leadora-site .prose img,
.leadora-site .prose video { max-width: 100%; height: auto; border-radius: 12px; }
.leadora-site .prose figure { margin-inline: 0; }
.leadora-site .prose figcaption,
.leadora-site .prose .wp-caption-text { margin-top: 8px; font-size: 14px; text-align: center; color: var(--faint); }
.leadora-site .prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.leadora-site .prose :is(th, td) { padding: 10px 14px; border: 1px solid var(--border); text-align: start; }
.leadora-site .prose th { background: var(--surface-2); color: var(--text); font-weight: 600; }
.leadora-site .prose .alignwide { width: min(1100px, calc(100vw - 64px)); max-width: none; margin-inline: 50%; transform: translateX(-50%); }
.leadora-site .prose .alignfull { width: 100vw; max-width: none; margin-inline: 50%; transform: translateX(-50%); border-radius: 0; }
[dir="rtl"].leadora-site .prose :is(.alignwide, .alignfull),
[dir="rtl"] .leadora-site .prose :is(.alignwide, .alignfull) { transform: translateX(50%); }
.leadora-site .prose .alignleft { float: left; margin: 0.3em 1.5em 1em 0; max-width: 50%; }
.leadora-site .prose .alignright { float: right; margin: 0.3em 0 1em 1.5em; max-width: 50%; }
.leadora-site .prose .aligncenter { display: block; margin-inline: auto; text-align: center; }
.leadora-site .prose::after { content: ""; display: table; clear: both; }
.leadora-site .prose .wp-block-button__link,
.leadora-site .prose .wp-element-button { border-radius: 999px; font-weight: 600; text-decoration: none; }
.leadora-site .prose .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-background) { background: var(--gold-gradient); color: var(--on-gold); }

.page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 2em !important; font-size: 14px; color: var(--muted); }
.page-links > a,
.page-links > span:not(:first-child) { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px; text-decoration: none !important; }

/* ---------- comments ---------- */

.comments-area { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.comments-title,
.comment-reply-title { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.comments-title span { color: var(--gold-ink); }
.comment-list,
.comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list { margin-top: 24px; display: grid; gap: 14px; }
.comment-list .children { margin-top: 14px; padding-inline-start: 28px; border-inline-start: 2px solid var(--border); display: grid; gap: 14px; }
.comment-body { padding: 20px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.bypostauthor > .comment-body { border-color: rgba(212, 169, 90, 0.4); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin-bottom: 10px; font-size: 13.5px; }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author .avatar { width: 36px; height: 36px; border-radius: 50%; }
.comment-author .fn { font-weight: 600; font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata { color: var(--faint); }
.comment-metadata a:hover { color: var(--gold-ink); }
.comment-metadata .edit-link { margin-inline-start: 8px; }
.comment-content { font-size: 15.5px; color: var(--muted); }
.leadora-site .comment-content p + p { margin-top: 0.8em; }
.comment-content a { color: var(--gold-ink); text-decoration: underline; }
.comment-awaiting-moderation { font-size: 13px; color: var(--gold-ink); }
.reply { margin-top: 10px; }
.comment-reply-link { font-size: 13px; font-weight: 600; color: var(--gold-ink) !important; }
.no-comments { margin-top: 16px !important; color: var(--muted); }
.comments-area .comment-navigation .nav-links { display: flex; justify-content: space-between; margin-block: 16px; font-size: 14px; color: var(--gold-ink); }

.comment-respond { margin-top: 32px; padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.comment-reply-title small { margin-inline-start: 8px; font-size: 13px; font-weight: 500; }
.comment-reply-title small a { color: var(--gold-ink); }
.comment-form { display: grid; gap: 16px; margin-top: 16px; }
.leadora-site .comment-form p { margin: 0; }
.comment-notes,
.logged-in-as { font-size: 13.5px; color: var(--muted); }
.logged-in-as a { color: var(--gold-ink); }
.comment-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
	width: 100%; padding: 12px 14px;
	background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); border-radius: 12px;
	font: 400 15px var(--font); transition: border-color 0.15s, box-shadow 0.15s;
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form :is(input, textarea):focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--focus); }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; }
.comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.comment-form-cookies-consent input { accent-color: var(--gold); margin-top: 4px; }
.comment-form .submit {
	height: 44px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--gold-gradient); color: var(--on-gold); font: 600 14px var(--font);
	box-shadow: 0 8px 22px rgba(212, 169, 90, 0.25); transition: transform 0.15s, box-shadow 0.15s;
}
.comment-form .submit:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(212, 169, 90, 0.35); }

/* ---------- 404 ---------- */

.not-found { position: relative; overflow: hidden; padding: 96px 0 112px; text-align: center; }
.not-found__glow { position: absolute; top: -120px; left: 50%; width: 720px; height: 720px; margin-left: -360px; border-radius: 50%; background: radial-gradient(closest-side, rgba(212, 169, 90, 0.18), transparent); pointer-events: none; }
.not-found__inner { position: relative; display: grid; justify-items: center; }
.not-found__code {
	font-size: clamp(110px, 20vw, 200px); font-weight: 800; line-height: 1; letter-spacing: -0.06em;
	background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 18px 40px rgba(212, 169, 90, 0.25));
}
.not-found .page-hero__lead { margin-inline: auto; }
.not-found .search-form { width: 100%; margin-top: 32px; }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.not-found__recent { width: 100%; max-width: 560px; margin-top: 48px; text-align: start; }
.not-found__recent h2 { margin-bottom: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.not-found__recent ul { margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.not-found__recent li + li { border-top: 1px solid var(--border); }
.not-found__recent a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; font-weight: 500; }
.not-found__recent a:hover { color: var(--gold-ink); }
.not-found__recent svg { width: 16px; height: 16px; color: var(--faint); }
[dir="rtl"] .not-found__recent svg { transform: scaleX(-1); }

/* ---------- footer ---------- */

.site-footer { margin-top: auto; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--surface) 50%, transparent); }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-block: 56px 40px; }
.site-footer__about { max-width: 380px; }
.site-footer__about p { margin-top: 14px; font-size: 14.5px; }
.site-footer__heading { margin-bottom: 14px !important; font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-ink); }
.footer-menu { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.footer-menu a { color: var(--muted); transition: color 0.15s; }
.footer-menu a:hover,
.footer-menu .current-menu-item > a { color: var(--gold-ink); }
.site-footer__cta p { margin-bottom: 14px !important; font-size: 14.5px; }
/* The divider is a background so it spans the content width, not the container's padding. */
.site-footer__base {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
	padding-block: 20px 28px; font-size: 13px; color: var(--faint);
	background: linear-gradient(var(--border), var(--border)) top / calc(100% - 64px) 1px no-repeat;
}
.site-footer__base a:hover { color: var(--gold-ink); }

/* ---------- WordPress core classes ---------- */

.wp-caption { max-width: 100%; }
.gallery { display: grid; grid-template-columns: repeat(var(--gallery-cols, 3), minmax(0, 1fr)); gap: 12px; }
.gallery-columns-1 { --gallery-cols: 1; }
.gallery-columns-2 { --gallery-cols: 2; }
.gallery-columns-4 { --gallery-cols: 4; }
.gallery-columns-5 { --gallery-cols: 5; }
.gallery-item { margin: 0; }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
	.hero__inner,
	.split { grid-template-columns: 1fr; gap: 48px; }
	.preview,
	[dir="rtl"] .preview { transform: none; max-width: 640px; }
	.features,
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.site-header__toggle { display: inline-grid; }
	.site-nav {
		position: absolute; top: 100%; inset-inline: 0; flex: none;
		padding: 12px 16px 20px; background: var(--surface); border-bottom: 1px solid var(--border-strong); box-shadow: var(--shadow-pop);
		display: none;
	}
	.site-nav.is-open { display: block; }
	.site-nav__menu { flex-direction: column; align-items: stretch; }
	.site-nav a { padding: 12px 14px; border-radius: 10px; font-size: 15.5px; }
	.site-nav .sub-menu { position: static; min-width: 0; padding: 0 0 0 0; padding-inline-start: 14px; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 760px) {
	.container { padding-inline: 16px; }
	.site-header__inner { height: 62px; gap: 12px; }
	.site-header .brand__text small { display: none; }
	.site-header__cta { padding: 0 12px; }
	.hero { padding: 40px 0 56px; }
	.hero__lead { font-size: 16.5px; }
	.hero__actions .btn { flex: 1 1 auto; }
	.preview__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.preview__kpi:last-child { display: none; }
	.section { padding-block: 56px; }
	.section--tight { padding-block: 32px 56px; }
	.section__head { margin-bottom: 32px; }
	.features,
	.steps,
	.post-grid { grid-template-columns: 1fr; }
	.feature,
	.step { padding: 22px; }
	.cta-band { padding: 32px 24px; border-radius: 18px; }
	.cta-band .btn { width: 100%; }
	.page-hero { padding: 40px 0 28px; }
	.page-hero__lead { font-size: 16.5px; }
	.leadora-site .prose { font-size: 16.5px; }
	.leadora-site .prose :is(.alignleft, .alignright) { float: none; max-width: 100%; margin-inline: 0; }
	.leadora-site .prose .alignwide { width: 100%; margin-inline: 0; transform: none; }
	.entry__cover { margin-bottom: 32px; padding-inline: 16px; }
	.entry__cover img { border-radius: 14px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: auto; }
	.result__link { padding: 16px; gap: 14px; }
	.result__icon,
	.result__link > svg { display: none; }
	.comment-respond { padding: 20px; }
	.comment-list .children { padding-inline-start: 14px; }
	.not-found { padding: 56px 0 72px; }
	.site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-block: 40px 32px; }
	.site-footer__about { grid-column: 1 / -1; }
	.site-footer__base { background-size: calc(100% - 32px) 1px; }
}
