/*!
 * MyOnlineClassPro Blog — main stylesheet.
 * Design tokens, header, footer and buttons follow https://myonlineclasspro.com.
 * Fonts: Plus Jakarta Sans and Bebas Neue (SIL Open Font License 1.1, see assets/fonts).
 */

/* ── Fonts (self-hosted, the same files the main site serves) ───── */
@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans-variable.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Bebas Neue";
	src: url("../fonts/bebas-neue-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ── Design tokens (the main site's light palette) ──────────────── */
:root {
	color-scheme: only light;

	--font-plus-jakarta: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-bebas-neue: "Bebas Neue", "Arial Narrow", sans-serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;

	--bg-0: #f7f8fb;
	--bg-1: #ffffff;
	--bg-2: #ffffff;
	--bg-3: #f1f3f8;
	--media-bg: #f8f9fc; /* behind blog images where they don't fill their box */
	--border: rgba(10, 15, 26, 0.08);
	--border-strong: rgba(10, 15, 26, 0.14);

	--text-primary: #0b0f19;   /* headings and titles */
	--text-secondary: rgba(11, 15, 25, 0.72); /* descriptions and excerpts */
	--text-muted: rgba(11, 15, 25, 0.6);     /* dates, meta and labels */
	--text-body: rgba(11, 15, 25, 0.84);      /* article paragraphs */
	--text-placeholder: rgba(11, 15, 25, 0.6); /* hints inside empty fields */

	--gold: #b97800;
	--gold-soft: rgba(185, 120, 0, 0.1);
	--gold-foreground: #ffffff;
	/* Gold for small text and for filled pills: a deeper shade than
	   --gold so it stays readable on white (WCAG AA). */
	--gold-text: #8f5c00;
	--gold-fill: #8f5c00;
	--success: #22c55e;
	--danger: #ef4444;
	--info: #3b82f6;
	--green: #0f9d58;

	--nav-bg: rgba(255, 255, 255, 0.94);
	--dropdown-bg: rgba(255, 255, 255, 0.99);
	--drawer-bg: #ffffff;
	--footer-bg: linear-gradient(160deg, #eef1f7 0%, #f4f6fa 60%, #f7f8fb 100%);
	--footer-bar-bg: #e8ebf2;
	--heading-strong: #0b0f19;
	--on-accent: #ffffff;

	--radius-sm: 0.5rem;
	--radius-md: 0.875rem;
	--radius-lg: 1.25rem;
	--radius-full: 9999px;

	--btn-primary-bg: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
	--btn-primary-bg-hover: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
	--btn-primary-fg: #ffffff;
	--btn-primary-shadow: 0 8px 20px rgba(79, 70, 229, 0.22);
	--btn-primary-shadow-hover: 0 12px 26px rgba(79, 70, 229, 0.34);
	--btn-primary-ring: rgba(99, 102, 241, 0.55);

	--accent-gradient: linear-gradient(100deg, #4f46e5 0%, #4f46e5 58%, var(--gold) 80%, var(--gold) 100%);

	--nav-h: 101px;
	--nav-gutter: 1rem;
	--nav-max: 84rem;
	--reading: 780px;
}
@supports (background: linear-gradient(100deg in oklab, red, blue)) {
	:root {
		--accent-gradient: linear-gradient(100deg in oklab, #4338ca 0%, #4338ca 58%, var(--gold) 80%, var(--gold) 100%);
	}
}
@media (min-width: 640px) {
	:root { --nav-gutter: 1.5rem; }
}
@media (min-width: 1024px) {
	:root { --nav-gutter: 2rem; }
}
@media (max-width: 1450px) {
	:root { --nav-gutter: 1rem; }
}
@media (max-width: 900px) {
	:root { --nav-h: 117px; }
}
.no-topbar { --nav-h: 65px; }
@media (max-width: 900px) {
	.no-topbar { --nav-h: 59px; }
}


/* ── Base ───────────────────────────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}
body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg-0);
	color: var(--text-primary);
	font-family: var(--font-plus-jakarta);
	font-size: 1rem;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* Wide/full-width blocks may reach the viewport edge; clip, never scroll sideways. */
	overflow-x: clip;
}
.site-content {
	flex: 1 0 auto;
	outline: none;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul, ol, dl, pre {
	margin: 0;
}
img,
svg,
video {
	max-width: 100%;
}
img {
	height: auto;
	border-style: none;
}
a {
	color: inherit;
}
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}
[hidden] {
	display: none !important;
}
::selection {
	background: rgba(240, 165, 0, 0.3);
	color: var(--text-primary);
}
:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}
.icon {
	width: 1em;
	height: 1em;
	flex-shrink: 0;
}

/* WordPress's accessible hiding class. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--bg-2);
	clip: auto !important;
	clip-path: none;
	color: var(--text-primary);
	display: block;
	height: auto;
	left: 8px;
	padding: 12px 20px;
	top: 8px;
	width: auto;
	z-index: 100000;
}
.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 2000;
	padding: 10px 20px;
	border-radius: var(--radius-full);
	background: var(--gold);
	color: var(--gold-foreground);
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
}
.skip-link:focus {
	top: 16px;
}

/* Logged-in admin bar: keep the fixed header below it. */
.admin-bar .site-nav {
	top: 32px;
}
@media (max-width: 782px) {
	.admin-bar .site-nav { top: 46px; }
}
/* ── Header, drawer, footer, floating WhatsApp button ──────────
   Ported rule-for-rule from the main site's compiled stylesheet so
   the blog's chrome is identical. Class names match the main site. */
.nf-wrap { z-index: 3; padding-top: 90px; position: relative; }
.nf-body { background: var(--footer-bg); border-width: 1px 1px medium; border-style: solid solid none; border-color: rgba(10, 15, 26, 0.08); border-image: none; border-radius: 52px 52px 0px 0px; flex-direction: column; padding: 60px 60px 52px; display: flex; position: relative; }
.nf-body::before { content: ""; pointer-events: none; background: radial-gradient(70% 50% at 20% 0px, rgba(26, 107, 255, 0.08), rgba(0, 0, 0, 0)), radial-gradient(50% 40% at 80% 100%, rgba(240, 165, 0, 0.06), rgba(0, 0, 0, 0)); border-radius: 52px 52px 0px 0px; position: absolute; inset: 0px; }
.nf-float { z-index: 10; flex-direction: column; align-items: center; display: flex; position: absolute; top: -80px; left: 50%; transform: translate(-50%); }
.nf-float-logo { background: linear-gradient(160deg, rgb(245, 176, 32) 0%, rgb(212, 136, 10) 100%); border: 4px solid rgb(255, 255, 255); border-radius: 26px; justify-content: center; align-items: center; width: 116px; height: 116px; animation: 4s ease-in-out 0s infinite alternate none running nfLogoFloat; display: flex; overflow: hidden; box-shadow: rgba(240, 165, 0, 0.6) 0px 18px 48px, rgba(0, 0, 0, 0.28) 0px 4px 14px; }
.nf-float-logo img { object-fit: contain; width: 88px; height: 88px; }
.nf-float-tip { border-left: 14px solid rgba(0, 0, 0, 0); border-right: 14px solid rgba(0, 0, 0, 0); border-top: 14px solid rgb(238, 241, 247); width: 0px; height: 0px; }
@media (prefers-reduced-motion: reduce) {
.nf-float-logo { animation: none; }
}
.nf-top-btn { background: var(--footer-bar-bg); color: var(--gold-text); cursor: pointer; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; clip-path: polygon(0px 0px, 100% 0px, 100% 70%, 50% 100%, 0px 70%); border: none; border-radius: 14px 14px 0px 0px; flex-direction: column; align-items: center; gap: 1px; padding: 12px 20px 24px; font-size: 0.62rem; font-weight: 900; line-height: 1.3; transition: 0.25s; display: flex; position: absolute; top: 24px; right: 44px; box-shadow: rgba(0, 0, 0, 0.4) 0px 8px 28px; }
.nf-top-btn:hover { color: rgb(255, 255, 255); background: rgb(26, 107, 255); transform: translateY(-3px); }
.nf-top-label { letter-spacing: 0.14em; opacity: 0.65; font-size: 0.55rem; }
.nf-top-word { font-family: var(--font-bebas-neue); letter-spacing: 0.08em; font-size: 1.2rem; }
.nf-top-arrow { font-size: 1rem; }
.nf-cols { z-index: 1; flex: 1 1 0%; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; display: grid; position: relative; }
.nf-col-head { font-family: var(--font-bebas-neue); letter-spacing: 0.08em; color: var(--gold-text); border-bottom: 2px solid rgba(240, 165, 0, 0.25); margin-bottom: 20px; padding-bottom: 10px; font-size: 1.15rem; }
.nf-col-links { flex-direction: column; gap: 10px; display: flex; }
.nf-col-link { color: var(--text-secondary); align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 600; text-decoration: none; transition: color 0.18s, padding-left 0.2s; display: flex; }
.nf-col-link::before { content: ""; background: rgba(240, 165, 0, 0.35); border-radius: 50%; flex-shrink: 0; width: 4px; height: 4px; transition: background 0.18s, transform 0.18s; }
.nf-col-link:hover { color: var(--gold-text); padding-left: 5px; }
.nf-col-link:hover::before { background: rgb(240, 165, 0); transform: scale(1.4); }
.nf-contact-item { color: var(--text-secondary); background: rgba(10, 15, 26, 0.03); border: 1px solid rgba(10, 15, 26, 0.08); border-radius: 10px; align-items: center; gap: 10px; margin-bottom: 8px; padding: 10px 12px; font-size: 0.83rem; font-weight: 700; text-decoration: none; transition: 0.2s; display: flex; }
.nf-contact-item:hover { color: var(--text-primary); transform: translate(3px); }
.nf-contact-item svg { fill: rgba(11, 15, 25, 0.7); flex-shrink: 0; width: 16px; height: 16px; }
.nf-phone-num { font-family: var(--font-bebas-neue); letter-spacing: 0.04em; color: var(--heading-strong); margin-bottom: 5px; font-size: 1.3rem; text-decoration: none; transition: opacity 0.18s; display: block; }
.nf-phone-num:hover { opacity: 0.6; }
.nf-email-link { color: var(--text-secondary); margin-bottom: 20px; font-size: 0.78rem; font-weight: 700; text-decoration: none; transition: color 0.18s; display: block; }
.nf-email-link:hover { color: var(--gold-text); }
.nf-connect-label { letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 12px; font-size: 0.62rem; font-weight: 800; }
.nf-socials { flex-wrap: wrap; gap: 8px; display: flex; }
.nf-soc { border: none; border-radius: 10px; justify-content: center; align-items: center; width: 38px; height: 38px; text-decoration: none; transition: 0.22s; display: flex; }
.nf-soc svg { fill: rgb(255, 255, 255); width: 15px; height: 15px; }
.nf-soc:hover { filter: brightness(1.15); transform: translateY(-3px); }
.nf-soc[data-net="LinkedIn"] { background: rgb(10, 102, 194); }
.nf-soc[data-net="Facebook"] { background: rgb(24, 119, 242); }
.nf-soc[data-net="X"] { background: rgb(0, 0, 0); }
.nf-soc[data-net="Instagram"] { background: linear-gradient(45deg, rgb(240, 148, 51), rgb(230, 104, 60), rgb(220, 39, 67), rgb(204, 35, 102), rgb(188, 24, 136)); }
.nf-soc[data-net="YouTube"] { background: red; }
.nf-soc[data-net="Bluesky"] { background: rgb(17, 133, 254); }
.nf-soc[data-net="Threads"] { background: rgb(0, 0, 0); }
.nf-soc[data-net="Tumblr"] { background: rgb(54, 70, 93); }
.nf-disclaimer { z-index: 1; color: var(--text-secondary); text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.07); margin-top: 48px; padding-top: 24px; font-size: 0.7rem; line-height: 1.75; position: relative; }
.nf-disclaimer strong { color: var(--text-primary); }
.nf-bottom { background: var(--footer-bar-bg); flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 60px; display: flex; }
.nf-copy { color: var(--text-secondary); font-size: 0.73rem; font-weight: 500; }
.nf-bottom-links { flex-wrap: wrap; align-items: center; display: flex; }
.nf-bottom-link { color: var(--text-secondary); white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, 0.1); padding: 4px 14px; font-size: 0.71rem; font-weight: 600; text-decoration: none; transition: color 0.18s; }
.nf-bottom-link:last-child { border-right: none; }
.nf-bottom-link:hover { color: var(--gold-text); }
@media (max-width: 1100px) {
.nf-body { padding: 60px 40px 44px; }
.nf-cols { gap: 36px 20px; }
.nf-bottom { padding: 16px 40px; }
.nf-top-btn { right: 24px; }
}
@media (max-width: 860px) {
.nf-body { border-radius: 40px 40px 0px 0px; padding: 56px 32px 40px; }
.nf-cols { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
.nf-bottom { padding: 16px 32px; }
.nf-top-btn { top: 22px; right: 24px; }
}
@media (max-width: 600px) {
.nf-body { border-radius: 26px 26px 0px 0px; padding: 68px 20px 28px; }
.nf-cols { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
.nf-bottom { text-align: center; flex-direction: column; align-items: center; gap: 8px; padding: 14px 14px 18px; }
.nf-float-logo { border-radius: 22px; width: 92px; height: 92px; }
.nf-float-logo img { width: 68px; height: 68px; }
.nf-float { top: -64px; }
}
@media (max-width: 380px) {
.nf-wrap { padding-top: 70px; }
.nf-body { border-radius: 24px 24px 0px 0px; padding: 60px 14px 28px; }
.nf-cols { grid-template-columns: 1fr; gap: 18px; }
}
.site-nav { z-index: 1000; background: var(--nav-bg); backdrop-filter: blur(28px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); position: fixed; top: 0px; left: 0px; right: 0px; }
@media (max-width: 900px) {
.nav-spacer { height: 108px; }
}
.nav-topbar { background: linear-gradient(90deg, rgba(240, 165, 0, 0.06), rgba(26, 107, 255, 0.04), rgba(240, 165, 0, 0.06)); border-bottom: 1px solid rgba(240, 165, 0, 0.15); justify-content: space-between; align-items: center; height: 36px; padding: 0px 52px; font-size: 0.7rem; display: flex; }
.nav-topbar-left { color: var(--text-secondary); align-items: center; gap: 18px; display: flex; }
.nav-topbar-left a { letter-spacing: 0.01em; border-radius: 6px; align-items: center; gap: 6px; padding: 3px 8px; font-weight: 700; text-decoration: none; transition: 0.2s; display: flex; }
.nav-topbar-left a svg { flex-shrink: 0; width: 13px; height: 13px; }
.nav-top-phone { color: #8f5c00; }
.nav-top-phone svg { fill: rgb(240, 165, 0); }
.nav-top-phone:hover { background: rgba(240, 165, 0, 0.08); }
.nav-topbar-left a:focus-visible { outline-offset: 2px; outline: rgba(240, 165, 0, 0.7) solid 2px; }
.nav-top-wa { color: #0b7a3b; }
.nav-top-wa svg { width: 14px; height: 14px; }
.nav-top-wa:hover { background: rgba(37, 211, 102, 0.08); }
.nav-top-email { color: #1d5fd6; }
.nav-top-email svg { fill: rgb(77, 143, 255); }
.nav-top-email:hover { background: rgba(26, 107, 255, 0.08); }
.nav-topbar-right { align-items: center; gap: 8px; display: flex; }
.nav-soc-link { border-radius: 6px; justify-content: center; align-items: center; width: 24px; height: 24px; transition: transform 0.2s, filter 0.2s, background 0.2s; display: flex; }
.nav-soc-link svg { fill: rgb(255, 255, 255); width: 15px; height: 15px; }
.nav-soc-link:hover { filter: brightness(1.15); transform: translateY(-2px); }
.nav-soc-link.fb { background: rgb(24, 119, 242); }
.nav-soc-link.tw { background: rgb(0, 0, 0); border: 1px solid rgba(255, 255, 255, 0.15); }
.nav-soc-link.li { background: rgb(10, 102, 194); }
.nav-soc-link.yt { background: red; }
.nav-soc-link.ig { background: linear-gradient(45deg, rgb(240, 148, 51), rgb(230, 104, 60), rgb(220, 39, 67), rgb(204, 35, 102), rgb(188, 24, 136)); }
.nav-soc-link.bsky { background: rgb(17, 133, 254); }
.nav-soc-link.threads { background: rgb(0, 0, 0); border: 1px solid rgba(255, 255, 255, 0.15); }
.nav-soc-link.tumblr { background: rgb(54, 70, 93); }
.nav-mainbar { justify-content: space-between; align-items: center; gap: 24px; height: 64px; padding: 0px 24px; display: flex; }
.nav-logo { align-items: center; gap: 8px; padding: 0px; line-height: 1; text-decoration: none; display: flex; }
.nav-logo img { object-fit: contain; width: auto; height: 42px; display: block; }
.nav-logo-text { letter-spacing: -0.01em; color: var(--heading-strong); white-space: nowrap; font-size: 1.25rem; font-weight: 800; }
.nav-logo-text span { color: rgb(240, 165, 0); }
.nav-links { align-items: center; gap: 2px; display: flex; }
.nav-link { color: rgba(11, 15, 25, 0.7); letter-spacing: 0.01em; white-space: nowrap; border-radius: 8px; padding: 8px 13px; font-size: 0.82rem; font-weight: 600; text-decoration: none; transition: 0.2s; position: relative; }
.nav-link:hover { color: var(--gold-text); background: rgba(240, 165, 0, 0.08); }
.nav-link.active { color: var(--gold-text); background: rgba(240, 165, 0, 0.1); }
.nav-link.active::after { content: ""; background: var(--gold); border-radius: 2px; width: 20px; height: 2px; position: absolute; bottom: -1px; left: 50%; transform: translate(-50%); }
.nav-drop-wrap { position: relative; }
.nav-drop-wrap::after { content: ""; height: 8px; position: absolute; bottom: -8px; left: 0px; right: 0px; }
.nav-drop-wrap:hover .nav-dropdown,
.nav-drop-wrap:focus-within .nav-dropdown { opacity: 1; pointer-events: all; transform: translate(-50%) translateY(0px); }
.nav-drop-btn { cursor: pointer; color: rgba(11, 15, 25, 0.7); letter-spacing: 0.01em; white-space: nowrap; background: 0px 0px; border: none; border-radius: 8px; align-items: center; gap: 4px; padding: 8px 13px; font-family: inherit; font-size: 0.82rem; font-weight: 600; transition: 0.2s; display: inline-flex; position: relative; }
.nav-drop-btn:hover { color: var(--gold-text); background: rgba(240, 165, 0, 0.08); }
.nav-drop-chevron { opacity: 0.6; font-size: 0.6rem; transition: transform 0.2s; }
.nav-drop-wrap:hover .nav-drop-chevron { transform: rotate(180deg); }
.nav-dropdown { background: var(--dropdown-bg); backdrop-filter: blur(24px); opacity: 0; pointer-events: none; border: 1px solid rgba(10, 15, 26, 0.1); border-radius: 16px; min-width: 280px; max-height: 70vh; padding: 10px; transition: opacity 0.22s, transform 0.22s; position: absolute; top: 100%; left: 50%; overflow-y: auto; transform: translate(-50%) translateY(10px); box-shadow: rgba(20, 30, 60, 0.18) 0px 24px 64px; }
.nav-dropdown::before { content: ""; background: var(--dropdown-bg); border-top: 1px solid rgba(255, 255, 255, 0.1); border-left: 1px solid rgba(255, 255, 255, 0.1); width: 10px; height: 10px; position: absolute; top: -5px; left: 50%; transform: translate(-50%) rotate(45deg); }
.nav-dd-item { color: rgba(11, 15, 25, 0.75); border-radius: 10px; align-items: center; gap: 12px; padding: 10px 12px; font-size: 0.82rem; font-weight: 600; text-decoration: none; transition: 0.18s; display: flex; }
.nav-dd-item:hover { color: var(--text-primary); background: rgba(10, 15, 26, 0.05); }
.nav-dd-divider { background: rgba(255, 255, 255, 0.07); height: 1px; margin: 6px 0px; }
.nav-actions { flex-shrink: 0; align-items: center; gap: 10px; display: flex; }
.btn-login { background: linear-gradient(135deg, var(--gold), #d4880a); color: var(--on-accent); cursor: pointer; white-space: nowrap; touch-action: manipulation; border: none; border-radius: 8px; align-items: center; gap: 6px; padding: 7px 14px; font-size: 0.75rem; font-weight: 800; text-decoration: none; transition: 0.22s; display: flex; box-shadow: rgba(240, 165, 0, 0.35) 0px 4px 14px; }
.btn-login:hover { background: linear-gradient(135deg, rgb(255, 190, 48), rgb(232, 152, 0)); transform: translateY(-2px); box-shadow: rgba(240, 165, 0, 0.55) 0px 6px 20px; }
.btn-login svg { width: 15px; height: 15px; fill: var(--on-accent); opacity: 0.85; }
.nav-hamburger { cursor: pointer; background: 0px 0px; border: none; flex-direction: column; gap: 5px; padding: 6px; display: none; }
.nav-hamburger span { background: var(--heading-strong); border-radius: 2px; width: 22px; height: 2px; transition: 0.3s; display: block; }
.nav-hamburger.open span:first-child { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mob-contacts { display: none; }
@media (max-width: 900px) {
.mob-contacts { background: var(--nav-bg); border-bottom: 1px solid rgba(255, 255, 255, 0.07); align-items: stretch; display: flex; }
.mob-contacts a { letter-spacing: 0.03em; flex-direction: column; flex: 1 1 0%; justify-content: center; align-items: center; gap: 5px; padding: 9px 6px; font-size: 0.65rem; font-weight: 700; text-decoration: none; transition: background 0.2s; display: flex; }
.mob-contacts a svg { flex-shrink: 0; width: 18px; height: 18px; }
.mob-contact-phone { color: #8f5c00; border-right: 1px solid rgba(255, 255, 255, 0.07); }
.mob-contact-phone svg { fill: rgb(240, 165, 0); }
.mob-contact-wa { color: #0b7a3b; border-right: 1px solid rgba(255, 255, 255, 0.07); }
.mob-contact-wa svg { width: 20px; height: 20px; }
.mob-contact-email { color: #1d5fd6; }
.mob-contact-email svg { fill: rgb(77, 143, 255); }
.nav-topbar { display: none; }
.nav-hamburger { display: flex; }
}
@media (max-width: 1100px) {
.nav-topbar { padding: 0px 24px; }
.nav-links { display: none; }
.nav-hamburger { display: flex; }
}
.nav-drawer-backdrop { z-index: 1000; opacity: 0; background: rgba(0, 0, 0, 0.35); transition: opacity 0.32s; position: fixed; inset: 0px; }
.nav-drawer-backdrop.show { opacity: 1; }
.nav-drawer { z-index: 1001; background: var(--drawer-bg); flex-direction: column; width: 70%; max-width: 300px; transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1); display: flex; position: fixed; top: 0px; bottom: 0px; left: 0px; overflow: hidden auto; transform: translate(-100%); }
.nav-drawer.open { transform: translate(0px); }
.drawer-head { border-bottom: 1px solid rgba(255, 255, 255, 0.06); justify-content: space-between; align-items: center; padding: 18px 20px 14px; display: flex; }
.drawer-link { color: rgba(11, 15, 25, 0.75); padding: 12px 20px; font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: background 0.18s, color 0.18s; display: block; }
.drawer-link:hover,
.drawer-link.active { color: var(--gold-text); background: rgba(240, 165, 0, 0.08); }
.drawer-sub { opacity: 0.85; padding-left: 36px; font-size: 0.8rem; }
.drawer-label { letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); padding: 14px 20px 6px; font-size: 0.65rem; font-weight: 800; }
.site-container { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) {
.site-container { padding-inline: 1.5rem; }
}
@media (min-width: 1024px) {
.site-container { padding-inline: 2rem; }
}
.nf-body { padding-inline: 0px; }
.nf-body > .site-container { z-index: 1; position: relative; }
.nf-bottom { padding-inline: 0px; }
.wa-fab { z-index: 900; touch-action: manipulation; background: rgb(37, 211, 102); border-radius: 50%; justify-content: center; align-items: center; width: 54px; height: 54px; transition: transform 0.25s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.25s; display: flex; position: fixed; bottom: 20px; left: 20px; box-shadow: rgba(37, 211, 102, 0.42) 0px 6px 22px; }
.wa-fab svg { fill: rgb(255, 255, 255); width: 28px; height: 28px; }
.wa-fab:hover { transform: scale(1.08); box-shadow: rgba(37, 211, 102, 0.6) 0px 10px 30px; }
.wa-fab:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wa-fab-tooltip { white-space: nowrap; background: var(--bg-2); color: var(--text-primary); border: 1px solid var(--border-strong); opacity: 0; pointer-events: none; border-radius: 8px; padding: 7px 12px; font-size: 0.78rem; font-weight: 700; transition: opacity 0.2s, transform 0.2s; position: absolute; left: calc(100% + 12px); transform: translate(-6px); box-shadow: rgba(0, 0, 0, 0.3) 0px 8px 24px; }
.wa-fab:hover .wa-fab-tooltip,
.wa-fab:focus-visible .wa-fab-tooltip { opacity: 1; transform: translate(0px); }
@media (max-width: 600px) {
.wa-fab { width: 50px; height: 50px; bottom: 14px; left: 14px; }
.wa-fab svg { width: 26px; height: 26px; }
.wa-fab-tooltip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
.wa-fab { transition: none; }
.wa-fab:hover { transform: none; }
}
@media (pointer: coarse) {
.btn-login { min-height: 44px; padding: 10px 16px; }
.nav-hamburger { justify-content: center; align-items: center; min-width: 44px; min-height: 44px; }
.drawer-link { align-items: center; min-height: 44px; display: flex; }
.nav-dd-item { min-height: 44px; }
}
.wa-fab { bottom: calc(20px + env(safe-area-inset-bottom,0px)); left: calc(20px + env(safe-area-inset-left,0px)); }
@media (max-width: 600px) {
.wa-fab { bottom: calc(14px + env(safe-area-inset-bottom,0px)); left: calc(14px + env(safe-area-inset-left,0px)); }
}
.ft-watermark { padding: clamp(18px, 3vw, 40px) 12px calc(clamp(14px, 2.5vw, 30px) + env(safe-area-inset-bottom,0px)); background: var(--footer-bar-bg); pointer-events: none; user-select: none; justify-content: center; align-items: center; display: flex; overflow: hidden; }
.ft-watermark-text { font-family: var(--font-bebas-neue), sans-serif; letter-spacing: 0.04em; white-space: nowrap; -webkit-text-fill-color: transparent; color: rgba(0, 0, 0, 0); background-image: linear-gradient(rgba(11, 15, 25, 0.26) 0%, rgba(11, 15, 25, 0.16) 35%, rgba(185, 120, 0, 0.4) 70%, rgba(185, 120, 0, 0.14) 100%); -webkit-background-clip: text; background-clip: text; max-width: 100%; font-size: clamp(1.9rem, 11.6vw, 10.5rem); line-height: 1; animation: 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0s 1 normal both running watermarkIn; }
.ft-watermark-text .wm-pro { -webkit-text-fill-color: transparent; color: rgba(0, 0, 0, 0); background-image: linear-gradient(rgba(185, 120, 0, 0.62) 0%, rgba(185, 120, 0, 0.42) 50%, rgba(185, 120, 0, 0.14) 100%); -webkit-background-clip: text; background-clip: text; }
@media (prefers-reduced-motion: reduce) {
.ft-watermark-text { animation: none; }
}
.nav-mainbar { gap: 12px; min-width: 0px; }
.nav-logo { flex-shrink: 1; min-width: 0px; }
.nav-logo img { flex-shrink: 0; }
.nav-logo-text { min-width: 0px; font-size: clamp(0.95rem, 4.4vw, 1.25rem); }
@media (max-width: 900px) {
.nav-mainbar { gap: 10px; height: 58px; padding: 0px 14px; }
.nav-logo img { height: 32px; }
.nav-actions { gap: 8px; }
}
@media (max-width: 400px) {
.nav-mainbar { gap: 8px; padding: 0px 12px; }
.nav-logo img { height: 28px; }
.nav-logo { gap: 6px; }
}
.nav-hamburger { flex-shrink: 0; justify-content: center; align-items: center; width: 44px; height: 44px; }
@media (max-width: 900px) {
.nav-spacer { height: 117px; }
}
@media (min-width: 901px) {
.nav-logo { flex-shrink: 0; }
}
@media (max-width: 1300px) {
.nav-links { display: none; }
.nav-hamburger { display: flex; }
}
@media (max-width: 1450px) {
.nav-link,
.nav-drop-btn { padding-inline: 9px; }
.nav-mainbar { padding-inline: 16px; }
}
.nav-logo-text { flex-shrink: 0; font-size: clamp(0.88rem, 3.9vw, 1.25rem); }
@media (max-width: 520px) {
.nav-actions .btn-login { display: none; }
.nav-mainbar { gap: 8px; }
}
.nf-cols { grid-template-columns: repeat(4, minmax(0px, 1fr)); }
.nf-col { min-width: 0px; }
.nf-col-link { overflow-wrap: anywhere; }
@media (max-width: 1100px) {
.nf-cols { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
}
@media (max-width: 860px) {
.nf-cols { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
}
@media (max-width: 600px) {
.nf-cols { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
}
@media (max-width: 380px) {
.nf-cols { grid-template-columns: minmax(0px, 1fr); }
}
.nav-spacer { height: var(--nav-h); }
@media (max-width: 900px) {
.nav-spacer { height: var(--nav-h); }
}
.btn-login { background: var(--btn-primary-bg); color: var(--btn-primary-fg); box-shadow: var(--btn-primary-shadow); border: none; transition: background-image 0.2s, box-shadow 0.2s, transform 0.15s, opacity 0.2s; }
.btn-login:hover { background-image: var(--btn-primary-bg-hover); box-shadow: var(--btn-primary-shadow-hover); color: var(--btn-primary-fg); transform: translateY(-1px); }
.btn-login:active { box-shadow: var(--btn-primary-shadow); transform: translateY(0px) scale(0.985); }
.btn-login:focus-visible { outline: 2px solid var(--btn-primary-ring); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
.btn-login { transition: none; }
.btn-login:hover { transform: none; }
}
.nav-drawer .btn-login { width: 100%; min-height: 44px; }
.nav-topbar,
.nav-mainbar { padding-inline: max(var(--nav-gutter), calc((100% - var(--nav-max)) / 2)); }
.nav-link,
.nav-drop-btn { padding-inline: 9px; }
.nf-col-head { font-family: var(--font-plus-jakarta), ui-sans-serif, system-ui, sans-serif; letter-spacing: -0.018em; font-weight: 800; }
.nf-col-head { letter-spacing: 0.01em; font-size: 0.86rem; line-height: 1.3; }
@media (max-width: 380px) {
.nf-cols { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
}
.nf-email-link,
.nf-contact-item,
.nf-phone-num { overflow-wrap: anywhere; min-width: 0px; }
.nf-socials { grid-template-columns: repeat(4, 40px); justify-content: start; gap: 8px; display: grid; }
.nf-soc { width: 40px; height: 40px; }
@media (max-width: 600px) {
.nf-cols { gap: 26px 18px; }
.nf-socials { grid-template-columns: repeat(2, 40px); }
}
@media (max-width: 700px) {
.nf-bottom { text-align: center; flex-direction: column; gap: 12px; }
.nf-bottom-links { justify-content: center; gap: 8px 16px; }
.nf-copy { text-align: center; }
.nf-float { padding-bottom: 76px; }
}
.nf-top-btn { z-index: 2; }
@keyframes nfLogoFloat { 
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-8px) scale(1.03); }
}
@keyframes livePulse { 
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
@keyframes watermarkIn { 
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0px); }
}
/* ── Chrome details the main site sets inline or in components ──── */
.nav-top-wa svg,
.mob-contact-wa svg {
	fill: #25d366;
}
.nav-top-email svg,
.mob-contact-email svg {
	fill: #4d8fff;
}
.nav-drop-wrap.is-open .nav-dropdown {
	opacity: 1;
	pointer-events: all;
	transform: translate(-50%) translateY(0);
}
.nav-drop-btn.active,
.nav-drop-btn[aria-expanded="true"] {
	color: var(--gold-text);
}
.drawer-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px 28px;
	margin-top: auto;
}
.drawer-actions .btn-login {
	justify-content: center;
	flex: 1;
}
.nav-drawer .nav-hamburger {
	display: flex;
}
.nf-col-links-after {
	margin-top: 14px;
}
.nf-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}
@media (max-width: 700px) {
	.nf-bottom-inner { flex-direction: column; text-align: center; }
}
.nf-float-logo img {
	display: block;
}
.nf-top-btn:focus-visible,
.nf-col-link:focus-visible,
.nf-bottom-link:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
}

/* ── Type scale (the main site's heading system) ────────────────── */
.page-h {
	font-family: var(--font-plus-jakarta);
	font-size: clamp(1.95rem, 4.2vw, 3.1rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.022em;
	text-wrap: balance;
	color: var(--text-primary);
	overflow-wrap: break-word;
}
.section-h {
	font-family: var(--font-plus-jakarta);
	font-size: clamp(1.6rem, 3.3vw, 2.5rem);
	font-weight: 800;
	line-height: 1.16;
	letter-spacing: -0.02em;
	text-wrap: balance;
	color: var(--text-primary);
}
.card-h {
	font-family: var(--font-plus-jakarta);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.012em;
	color: var(--text-primary);
}
.text-gold {
	color: var(--gold-text);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
	h1 span.text-gold,
	h2 span.text-gold,
	h3 span.text-gold {
		background-image: var(--accent-gradient);
		-webkit-background-clip: text;
		background-clip: text;
		-webkit-text-fill-color: transparent;
		color: transparent;
		-webkit-box-decoration-break: clone;
		box-decoration-break: clone;
	}
}

/* Blue pill above headings. */
.eyebrow-blue {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(26, 107, 255, 0.08);
	border: 1px solid rgba(26, 107, 255, 0.2);
	color: #1d5fd6;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 5px 14px;
	border-radius: 50px;
	margin-bottom: 16px;
	text-transform: uppercase;
	text-decoration: none;
}
a.eyebrow-blue:hover {
	background: rgba(26, 107, 255, 0.18);
	border-color: rgba(26, 107, 255, 0.4);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn-primary,
.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 24px;
	border: none;
	border-radius: 12px;
	background: var(--btn-primary-bg);
	color: var(--btn-primary-fg);
	box-shadow: var(--btn-primary-shadow);
	font-family: var(--font-plus-jakarta);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	touch-action: manipulation;
	transition: background-image 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}
.btn-primary:hover,
.wp-block-button__link:hover,
.wp-element-button:hover {
	background: var(--btn-primary-bg-hover);
	box-shadow: var(--btn-primary-shadow-hover);
	color: var(--btn-primary-fg);
	transform: translateY(-1px);
}
.btn-primary:active,
.wp-block-button__link:active {
	transform: translateY(0) scale(0.985);
	box-shadow: var(--btn-primary-shadow);
}
.btn-primary:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 2px solid var(--btn-primary-ring);
	outline-offset: 2px;
}
.btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 24px;
	border: 1px solid var(--border-strong);
	border-radius: 12px;
	background: transparent;
	color: var(--text-primary);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.btn-ghost:hover {
	border-color: rgba(240, 165, 0, 0.5);
	color: var(--gold-text);
}
.btn-ghost .icon {
	width: 16px;
	height: 16px;
}
.btn-pill {
	border-radius: var(--radius-full);
}

/* ── Hero ───────────────────────────────────────────────────────── */
.blog-hero {
	padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
}
.blog-hero .page-h {
	max-width: 22ch;
}
.blog-hero-lead {
	margin-top: 16px;
	max-width: 68ch;
	color: var(--text-secondary);
	font-size: clamp(0.98rem, 1.3vw, 1.06rem);
	line-height: 1.75;
}
.blog-hero-lead p + p {
	margin-top: 0.75em;
}
.blog-hero-search {
	margin-top: 28px;
	max-width: 620px;
}
.meta-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}
.meta-chip {
	border: 1px solid var(--border);
	background: var(--bg-2);
	color: var(--text-secondary);
	border-radius: var(--radius-full);
	padding: 6px 16px;
	font-size: 0.75rem;
	line-height: 1.35;
}
.meta-chip-label {
	color: var(--text-muted);
	font-weight: 600;
}
.meta-chip a {
	color: inherit;
	text-decoration: none;
}
.meta-chip a:hover {
	color: var(--gold-text);
}

/* ── Search form ────────────────────────────────────────────────── */
.search-form {
	position: relative;
	display: flex;
	gap: 10px;
	width: 100%;
}
.search-form-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-placeholder);
	display: flex;
	pointer-events: none;
}
.search-form-icon .icon {
	width: 18px;
	height: 18px;
}
.search-field {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 16px 0 44px;
	border: 1px solid var(--border-strong);
	border-radius: 12px;
	background: var(--bg-2);
	color: var(--text-primary);
	font-size: 16px; /* no iOS zoom on focus */
	transition: border-color 0.2s, box-shadow 0.2s;
	-webkit-appearance: none;
	appearance: none;
}
.search-field::placeholder {
	color: var(--text-placeholder);
	opacity: 1;
}
.search-field:focus {
	outline: none;
	border-color: rgba(240, 165, 0, 0.6);
	box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.15);
}
.search-field::-webkit-search-cancel-button {
	cursor: pointer;
}
.search-submit {
	height: 48px;
	flex-shrink: 0;
}
@media (max-width: 420px) {
	.search-submit { padding: 0 16px; }
}

/* ── Category pills (the main site's review filters) ────────────── */
.cat-bar {
	margin-top: 24px;
}
.cat-bar ul,
.entry-tags ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cat-pill {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 16px;
	border-radius: var(--radius-full);
	border: 1px solid var(--border);
	background: var(--bg-2);
	color: var(--text-secondary);
	font-size: 0.8rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s;
	touch-action: manipulation;
}
.cat-pill:hover {
	color: var(--gold-text);
	border-color: rgba(240, 165, 0, 0.4);
}
.cat-pill.is-active {
	background: var(--gold-fill);
	color: var(--gold-foreground);
	border-color: var(--gold-text);
}
.cat-pill.is-small {
	min-height: 32px;
	padding: 5px 12px;
	font-size: 0.75rem;
}

/* ── Listing ────────────────────────────────────────────────────── */
.blog-listing {
	padding-bottom: clamp(56px, 8vw, 88px);
}
.blog-hero .breadcrumbs {
	margin-bottom: 22px;
}
.listing-heading {
	margin: 0 0 24px;
}
.post-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 22px;
}
@media (min-width: 640px) {
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
	.post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

/* ── Post card ──────────────────────────────────────────────────── */
.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.post-card:hover {
	border-color: rgba(240, 165, 0, 0.35);
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(20, 30, 60, 0.12);
}
.post-card-media {
	display: block;
	text-decoration: none;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--media-bg);
}
/* The whole image is always shown: scaled to fit inside the box with its
   proportions kept, never cropped or stretched. Any space left over (for
   a square or portrait image) shows the neutral backdrop. There is no
   hover zoom, because zooming inside the box would cut off the edges. */
.post-card-img,
.post-card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	background: var(--media-bg);
}
.post-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(70% 70% at 20% 0%, rgba(26, 107, 255, 0.22), transparent),
		radial-gradient(60% 60% at 90% 100%, rgba(240, 165, 0, 0.18), transparent),
		var(--bg-3);
}
.post-card-placeholder .nav-logo-text {
	font-size: 1.15rem;
}
.post-card-body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
	padding: 20px 22px 22px;
	min-width: 0;
}
.post-card-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	min-height: 18px;
}
.post-card-cat {
	color: var(--gold-text);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}
a.post-card-cat:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.post-card-badge {
	padding: 3px 10px;
	border-radius: var(--radius-full);
	background: var(--gold-soft);
	border: 1px solid rgba(240, 165, 0, 0.3);
	color: var(--gold-text);
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.post-card-title {
	font-size: clamp(1.05rem, 1.5vw, 1.2rem);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.012em;
	color: var(--text-primary);
	overflow-wrap: break-word;
}
.post-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s;
}
.post-card-title a:hover {
	color: var(--gold-text);
}
/* Whole card clickable through the title link, without nesting links. */
.post-card-title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
}
.post-card-cat,
.post-card-more,
.post-card-media {
	position: relative;
	z-index: 1;
}
.post-card-excerpt {
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.65;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.post-card-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--border);
}
.post-card-meta {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	color: var(--text-muted);
	font-size: 0.75rem;
	font-weight: 500;
}
.post-card-meta .icon {
	width: 14px;
	height: 14px;
}
.post-card-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gold-text);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	transition: gap 0.2s;
}
.post-card-more .icon {
	width: 15px;
	height: 15px;
}
.post-card-more:hover {
	gap: 10px;
}
.post-card.is-result .post-card-body {
	padding-top: 22px;
}

/* Featured (first) post. */
.post-card.is-featured {
	margin-bottom: 24px;
}
.post-card.is-featured .post-card-title {
	font-size: clamp(1.35rem, 2.6vw, 2rem);
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.post-card.is-featured .post-card-excerpt {
	font-size: 0.98rem;
	-webkit-line-clamp: 4;
}
@media (min-width: 860px) {
	.post-card.is-featured {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	}
	/* 16:9 like the other cards. Stretched to the row when the text
	   beside it is taller; the image still fits inside, uncropped. */
	.post-card.is-featured .post-card-media {
		aspect-ratio: 16 / 9;
		align-self: stretch;
		min-height: 340px;
	}
	.post-card.is-featured .post-card-body {
		padding: clamp(24px, 3vw, 40px);
		justify-content: center;
		gap: 14px;
	}
	.post-card.is-featured .post-card-foot {
		margin-top: 8px;
	}
}

/* ── Pagination ─────────────────────────────────────────────────── */
.pagination {
	margin-top: clamp(36px, 5vw, 56px);
}
.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 42px;
	min-height: 42px;
	padding: 8px 14px;
	border-radius: var(--radius-full);
	border: 1px solid var(--border);
	background: var(--bg-2);
	color: var(--text-secondary);
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s;
}
.pagination .page-numbers .icon {
	width: 15px;
	height: 15px;
}
.pagination a.page-numbers:hover {
	color: var(--gold-text);
	border-color: rgba(240, 165, 0, 0.4);
}
.pagination .page-numbers.current {
	background: var(--gold-fill);
	border-color: var(--gold-text);
	color: var(--gold-foreground);
}
.pagination .page-numbers.dots {
	border: none;
	background: none;
	min-width: 24px;
	padding: 0;
}
@media (max-width: 480px) {
	.pagination .prev span,
	.pagination .next span {
		border: 0;
		clip: rect(1px, 1px, 1px, 1px);
		clip-path: inset(50%);
		height: 1px;
		margin: -1px;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 1px;
	}
}

/* ── Empty state ────────────────────────────────────────────────── */
.empty-state {
	max-width: 640px;
	margin: 8px auto 0;
	padding: clamp(32px, 5vw, 52px) clamp(20px, 4vw, 40px);
	text-align: center;
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}
.empty-state-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin-bottom: 16px;
	border-radius: 16px;
	background: var(--gold-soft);
	color: var(--gold-text);
}
.empty-state-icon .icon {
	width: 26px;
	height: 26px;
}
.empty-state p {
	margin-top: 10px;
	color: var(--text-secondary);
	line-height: 1.7;
}
.empty-state-search {
	margin: 24px auto 0;
	max-width: 480px;
	text-align: left;
}
.empty-state-actions,
.not-found-actions,
.post-cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 24px;
}
.not-found-actions {
	justify-content: flex-start;
	margin: 0 0 clamp(40px, 6vw, 64px);
}

/* ── Breadcrumbs ────────────────────────────────────────────────── */
.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.78rem;
	color: var(--text-muted);
}
.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}
.breadcrumbs li + li::before {
	content: "/";
	margin: 0 10px;
	opacity: 0.5;
}
.breadcrumbs a {
	color: var(--text-secondary);
	text-decoration: none;
}
.breadcrumbs a:hover {
	color: var(--gold-text);
}
.breadcrumbs [aria-current="page"] {
	max-width: 42ch;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ── Single post / page ─────────────────────────────────────────── */
.site-container.is-reading {
	max-width: calc(var(--reading) + 4rem);
}
.site-container.is-reading-wide {
	max-width: calc(900px + 4rem);
}
.single-header {
	padding: clamp(24px, 4vw, 44px) 0 8px;
}
.single-header .breadcrumbs {
	margin-bottom: 22px;
}
.single-header .page-h {
	font-size: clamp(1.85rem, 4vw, 2.85rem);
}
.single-lead {
	margin-top: 16px;
	color: var(--text-secondary);
	font-size: clamp(1rem, 1.4vw, 1.125rem);
	line-height: 1.7;
}
.single-header .meta-chips {
	margin-top: 22px;
}
.single-featured {
	margin-top: 28px;
}
.single-featured-img,
.single-featured img {
	display: block;
	width: 100%;
	height: auto;
	/* A tall (portrait or square) image is scaled down to fit the screen
	   rather than running far below it; the whole image stays visible. */
	max-height: min(80vh, 720px);
	object-fit: contain;
	object-position: center;
	border-radius: var(--radius-lg);
	border: 1px solid var(--border);
	background: var(--media-bg);
}
.single-featured figcaption {
	margin-top: 10px;
	text-align: center;
	color: var(--text-muted);
	font-size: 0.82rem;
}
.single-layout {
	max-width: calc(var(--reading) + 4rem);
	padding-top: clamp(28px, 4vw, 40px);
	padding-bottom: clamp(24px, 4vw, 40px);
}
.single-body {
	min-width: 0;
}
.has-post-sidebar .single-layout {
	max-width: 80rem;
}
@media (min-width: 1100px) {
	.has-post-sidebar .single-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 48px;
		align-items: start;
	}
	.has-post-sidebar .single-body {
		max-width: var(--reading);
	}
	.has-post-sidebar .post-sidebar {
		position: sticky;
		top: calc(var(--nav-h) + 24px);
	}
}
/* With a sidebar, the title, featured image and article share one
   left-aligned reading column so their edges line up. */
.has-post-sidebar .single-header .site-container.is-reading,
.has-post-sidebar .single-featured.site-container {
	max-width: 80rem;
}
.has-post-sidebar .single-header .is-reading > *,
.has-post-sidebar .single-featured > *,
.has-post-sidebar .single-body,
.has-post-sidebar .post-sidebar {
	max-width: var(--reading);
}
.post-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 40px;
}
@media (min-width: 1100px) {
	.has-post-sidebar .post-sidebar { margin-top: 0; max-width: none; }
}

/* Tags, author, CTA, navigation. */
.entry-footer {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-top: 40px;
}
.entry-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}
.entry-tags-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-muted);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.entry-tags-label .icon {
	width: 14px;
	height: 14px;
}
.author-box {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 22px;
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}
.author-box-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	flex-shrink: 0;
	border: 2px solid rgba(240, 165, 0, 0.4);
}
.author-box-label {
	color: var(--text-muted);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.author-box-name {
	margin-top: 2px;
	font-weight: 800;
	font-size: 1rem;
}
.author-box-name a {
	color: var(--text-primary);
	text-decoration: none;
}
.author-box-name a:hover {
	color: var(--gold-text);
}
.author-box-bio {
	margin-top: 6px;
	color: var(--text-secondary);
	font-size: 0.9rem;
	line-height: 1.65;
}
.post-cta {
	padding: clamp(26px, 4vw, 36px);
	text-align: center;
	background: var(--bg-2);
	border: 1px solid rgba(240, 165, 0, 0.3);
	border-radius: var(--radius-lg);
}
.post-cta .section-h {
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}
.post-cta p {
	max-width: 36rem;
	margin: 12px auto 0;
	color: var(--text-secondary);
	font-size: 0.92rem;
	line-height: 1.7;
}
.post-navigation .nav-links {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 12px;
}
@media (min-width: 640px) {
	.post-navigation .nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.post-navigation .nav-next { grid-column: 2; text-align: right; }
}
.post-navigation a {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	padding: 16px 18px;
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: 14px;
	text-decoration: none;
	transition: border-color 0.2s, transform 0.2s;
}
.post-navigation a:hover {
	border-color: rgba(240, 165, 0, 0.4);
	transform: translateY(-2px);
}
.post-nav-label {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--text-muted);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.nav-next .post-nav-label {
	justify-content: flex-end;
}
.post-nav-label .icon {
	width: 14px;
	height: 14px;
}
.post-nav-title {
	color: var(--text-primary);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.35;
}
.post-navigation a:hover .post-nav-title {
	color: var(--gold-text);
}

/* Related posts and the way back. */
.related-posts {
	padding: clamp(40px, 6vw, 72px) 0 8px;
	border-top: 1px solid var(--border);
	margin-top: clamp(24px, 4vw, 40px);
}
.related-posts .section-h {
	margin-bottom: 24px;
}
.back-to-blog-wrap {
	padding-top: 32px;
	padding-bottom: clamp(48px, 7vw, 80px);
}
.back-to-blog {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--gold-text);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}
.back-to-blog .icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s;
}
.back-to-blog:hover .icon {
	transform: translateX(-3px);
}

/* ── Widgets ────────────────────────────────────────────────────── */
.post-sidebar .widget {
	padding: 20px;
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: 16px;
	font-size: 0.9rem;
	color: var(--text-secondary);
}
.widget-title,
.widget .wp-block-heading {
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid rgba(240, 165, 0, 0.25);
	color: var(--gold-text);
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.01em;
}
.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.widget a {
	color: var(--text-secondary);
	text-decoration: none;
}
.widget a:hover {
	color: var(--gold-text);
}
.widget .search-form {
	flex-direction: column;
}
.widget .search-submit {
	width: 100%;
}
/* Block-editor widgets (Search, Latest Posts, Latest Comments…). */
.wp-block-search__label {
	display: block;
	margin-bottom: 10px;
	color: var(--gold-text);
	font-size: 0.86rem;
	font-weight: 800;
}
.wp-block-search__inside-wrapper {
	display: flex;
	gap: 8px;
}
.wp-block-search__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--border-strong);
	border-radius: 10px;
	background: var(--bg-1);
	color: var(--text-primary);
	font-size: 16px;
}
.wp-block-search__input:focus {
	outline: none;
	border-color: rgba(240, 165, 0, 0.6);
	box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.15);
}
.wp-block-search__button {
	margin: 0;
	padding: 0 16px;
}
.wp-block-latest-posts,
.wp-block-latest-comments,
.wp-block-archives,
.wp-block-categories {
	margin: 0;
	padding: 0;
	list-style: none;
}
.wp-block-latest-comments__comment {
	margin: 0;
	line-height: 1.5;
}
.wp-block-latest-comments__comment + .wp-block-latest-comments__comment {
	margin-top: 10px;
}
.nf-widgets ul {
	gap: 8px;
}
.nf-widgets {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 24px 32px;
	margin-top: 40px;
	color: var(--text-secondary);
	font-size: 0.86rem;
}

/* ── Contrast adjustments ───────────────────────────────────────── */
/* The contact colours in the top bar and the footer's small text use
   deeper shades than the main site's dark-theme originals, so they reach
   4.5:1 on the light background. */

/* ── Article content ────────────────────────────────────────────── */
.entry-content {
	color: var(--text-body);
	font-size: clamp(1rem, 1.25vw, 1.0625rem);
	line-height: 1.8;
	overflow-wrap: break-word;
}
.entry-content > * + * {
	margin-top: 1.25em;
}
.entry-content > :first-child {
	margin-top: 0;
}
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	color: var(--text-primary);
	font-family: var(--font-plus-jakarta);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.015em;
	text-wrap: balance;
	scroll-margin-top: calc(var(--nav-h) + 20px);
}
.entry-content h2 {
	margin-top: 2em;
	font-size: clamp(1.4rem, 2.5vw, 1.8rem);
	letter-spacing: -0.02em;
}
.entry-content h3 {
	margin-top: 1.7em;
	font-size: clamp(1.15rem, 1.8vw, 1.35rem);
}
.entry-content h4 {
	margin-top: 1.5em;
	font-size: 1.1rem;
}
.entry-content h5,
.entry-content h6 {
	margin-top: 1.4em;
	font-size: 1rem;
}
.entry-content h6 {
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
}
.entry-content h2 + *,
.entry-content h3 + *,
.entry-content h4 + * {
	margin-top: 0.6em;
}
.entry-content a {
	color: var(--gold-text);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration-thickness 0.15s, color 0.15s;
}
.entry-content a:hover {
	text-decoration-thickness: 2px;
}
.entry-content strong,
.entry-content b {
	color: var(--text-primary);
	font-weight: 700;
}
.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}
.entry-content li + li {
	margin-top: 0.45em;
}
.entry-content li > ul,
.entry-content li > ol {
	margin-top: 0.45em;
}
.entry-content ul li::marker {
	color: var(--gold-text);
}
.entry-content ol li::marker {
	color: var(--gold-text);
	font-weight: 700;
}
.entry-content dl dt {
	color: var(--text-primary);
	font-weight: 700;
}
.entry-content dl dd {
	margin: 0.25em 0 0.8em 1.2em;
}
.entry-content blockquote,
.entry-content .wp-block-quote {
	margin-left: 0;
	margin-right: 0;
	padding: 18px 22px;
	border-left: 3px solid var(--gold);
	border-radius: 0 14px 14px 0;
	background: var(--bg-2);
	color: var(--text-primary);
	font-size: 1.05em;
}
.entry-content blockquote > * + * {
	margin-top: 0.75em;
}
.entry-content blockquote cite,
.entry-content .wp-block-quote cite,
.entry-content .wp-block-pullquote cite {
	display: block;
	margin-top: 0.6em;
	color: var(--text-muted);
	font-size: 0.82rem;
	font-style: normal;
	font-weight: 600;
}
.entry-content .wp-block-pullquote {
	padding: 1.6em 0;
	border-top: 2px solid var(--gold);
	border-bottom: 2px solid var(--gold);
	text-align: center;
	color: var(--text-primary);
}
.entry-content .wp-block-pullquote blockquote {
	border: none;
	background: none;
	padding: 0;
	font-size: 1.25em;
	font-weight: 700;
}

/* Inline code and code blocks. */
.entry-content code,
.entry-content kbd,
.entry-content samp {
	padding: 0.15em 0.4em;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: var(--bg-3);
	color: var(--text-primary);
	font-family: var(--font-mono);
	font-size: 0.86em;
}
.entry-content pre,
.entry-content .wp-block-code,
.entry-content .wp-block-preformatted,
.entry-content .wp-block-verse {
	padding: 18px 20px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--bg-1);
	color: var(--text-primary);
	font-family: var(--font-mono);
	font-size: 0.88rem;
	line-height: 1.65;
	overflow-x: auto;
	white-space: pre;
	tab-size: 2;
}
.entry-content .wp-block-verse {
	white-space: pre-wrap;
	font-family: var(--font-plus-jakarta);
}
.entry-content pre code {
	padding: 0;
	border: 0;
	background: none;
	font-size: inherit;
}

/* Tables: scroll sideways inside their own box on small screens. */
.entry-content .wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.entry-content > table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}
.entry-content table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--border);
	border-radius: 14px;
	font-size: 0.92rem;
	line-height: 1.55;
}
.entry-content th,
.entry-content td {
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
	border-top: 1px solid var(--border);
}
.entry-content thead th,
.entry-content tr:first-child > th,
.entry-content tr:first-child > td {
	border-top: none;
}
.entry-content th {
	background: var(--bg-3);
	color: var(--text-primary);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.entry-content thead th:first-child { border-top-left-radius: 13px; }
.entry-content thead th:last-child { border-top-right-radius: 13px; }
.entry-content tbody tr:nth-child(even) td {
	background: rgba(10, 15, 26, 0.025);
}
.entry-content .wp-block-table table {
	min-width: 520px;
}
.entry-content .wp-block-table.is-style-stripes {
	border-bottom: 0;
}
.entry-content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
	background: transparent;
}

/* Images, figures, media. */
.entry-content img {
	border-radius: 14px;
}
.entry-content figure {
	margin-left: 0;
	margin-right: 0;
}
.entry-content > figure,
.entry-content .wp-block-image,
.entry-content .wp-block-embed,
.entry-content .wp-block-video,
.entry-content .wp-block-gallery {
	margin-top: 1.8em;
	margin-bottom: 1.8em;
}
.entry-content figcaption,
.entry-content .wp-element-caption,
.entry-content .wp-caption-text {
	margin-top: 0.6em;
	text-align: center;
	color: var(--text-muted);
	font-size: 0.82rem;
	line-height: 1.5;
}
.entry-content .wp-caption {
	max-width: 100%;
}
.entry-content iframe,
.entry-content embed,
.entry-content object,
.entry-content video {
	max-width: 100%;
}
.entry-content .wp-block-embed iframe {
	border-radius: 14px;
}
.entry-content hr,
.entry-content .wp-block-separator {
	height: 1px;
	margin: 2.4em auto;
	border: 0;
	background: var(--border-strong);
}
.entry-content .wp-block-separator.is-style-dots {
	height: auto;
	background: none;
	color: var(--gold-text);
}
.entry-content .wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	max-width: 120px;
	background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Alignments (classic and block editor). */
.alignleft,
.alignright {
	max-width: 50%;
	margin-bottom: 1em;
}
.alignleft {
	float: left;
	margin-right: 1.5em;
}
.alignright {
	float: right;
	margin-left: 1.5em;
}
@media (max-width: 600px) {
	.alignleft,
	.alignright {
		float: none;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.entry-content::after {
	content: "";
	display: table;
	clear: both;
}
@media (min-width: 900px) {
	body:not(.has-post-sidebar):not(.has-order-form) .entry-content > .alignwide {
		margin-left: calc(50% - min(520px, 50vw - 24px));
		margin-right: calc(50% - min(520px, 50vw - 24px));
		max-width: none;
	}
}
body:not(.has-post-sidebar):not(.has-order-form) .entry-content > .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: auto;
}
.entry-content > .alignfull img,
.entry-content > .alignfull iframe {
	border-radius: 0;
}

/* Block editor buttons, columns, details, footnotes. */
.entry-content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.entry-content .wp-block-button__link {
	text-decoration: none;
	color: var(--btn-primary-fg);
}
.entry-content .is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--border-strong);
	color: var(--text-primary);
	box-shadow: none;
}
.entry-content .is-style-outline .wp-block-button__link:hover {
	border-color: rgba(240, 165, 0, 0.5);
	color: var(--gold-text);
}
.entry-content .wp-block-columns {
	gap: 1.5em;
}
.entry-content details {
	padding: 14px 18px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--bg-2);
}
.entry-content summary {
	cursor: pointer;
	color: var(--text-primary);
	font-weight: 700;
}
.entry-content .wp-block-footnotes {
	font-size: 0.85rem;
	color: var(--text-secondary);
}
.entry-content .has-mocp-gold-color { color: #f0a500; }
.entry-content .has-mocp-indigo-color { color: #4f46e5; }
.entry-content .has-mocp-violet-color { color: #7c3aed; }
.entry-content .has-mocp-blue-color { color: #4d8fff; }
.entry-content .has-mocp-green-color { color: #22c55e; }
.entry-content .has-mocp-night-color { color: #04080f; }
.entry-content .has-mocp-card-color { color: #10161f; }
.entry-content .has-mocp-light-color { color: #f0f4ff; }
.has-mocp-gold-background-color { background-color: #f0a500; }
.has-mocp-indigo-background-color { background-color: #4f46e5; }
.has-mocp-violet-background-color { background-color: #7c3aed; }
.has-mocp-blue-background-color { background-color: #4d8fff; }
.has-mocp-green-background-color { background-color: #22c55e; }
.has-mocp-night-background-color { background-color: #04080f; }
.has-mocp-card-background-color { background-color: #10161f; }
.has-mocp-light-background-color { background-color: #f0f4ff; }
.entry-content .has-background {
	padding: 1.2em 1.4em;
	border-radius: 14px;
}

/* Multi-page posts. */
.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 2em;
	font-size: 0.85rem;
}
.page-links-label {
	color: var(--text-muted);
	font-weight: 700;
	margin-right: 4px;
}
.page-links a,
.page-links > span:not(.page-links-label) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 36px;
	padding: 4px 10px;
	border: 1px solid var(--border);
	border-radius: var(--radius-full);
	background: var(--bg-2);
	color: var(--text-secondary);
	text-decoration: none;
}
.page-links > span:not(.page-links-label) {
	background: var(--gold-fill);
	border-color: var(--gold-text);
	color: var(--gold-foreground);
}

/* WordPress core classes. */
.sticky,
.bypostauthor,
.gallery-caption,
.wp-caption {
	/* Present for WordPress's theme checks; styled through their components. */
	min-width: 0;
}
.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 12px;
}
.gallery-item {
	margin: 0;
}

/* ── Comments ───────────────────────────────────────────────────── */
.comments-area {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
}
.comments-title {
	margin-bottom: 20px;
}
.comment-list,
.comment-list .children {
	margin: 0;
	padding: 0;
	list-style: none;
}
.comment-list .children {
	margin-top: 14px;
	padding-left: clamp(14px, 4vw, 28px);
	border-left: 2px solid var(--border);
}
.comment-list > li + li,
.comment-list .children > li + li {
	margin-top: 14px;
}
.comment-body {
	padding: 18px 20px;
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: 14px;
}
.bypostauthor > .comment-body {
	border-color: rgba(240, 165, 0, 0.3);
}
.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 12px;
	font-size: 0.8rem;
}
.comment-author {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--text-primary);
}
.comment-author .avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
}
.comment-author .fn {
	font-style: normal;
	font-weight: 700;
}
.comment-author .fn a {
	color: inherit;
	text-decoration: none;
}
.comment-author .says {
	display: none;
}
.comment-metadata a {
	color: var(--text-muted);
	text-decoration: none;
}
.comment-metadata a:hover {
	color: var(--gold-text);
}
.comment-content {
	margin-top: 10px;
	color: var(--text-body);
	font-size: 0.95rem;
	line-height: 1.7;
}
.comment-content p + p {
	margin-top: 0.8em;
}
.comment-content a {
	color: var(--gold-text);
}
.comment-awaiting-moderation {
	display: block;
	margin-top: 8px;
	color: var(--gold-text);
	font-size: 0.8rem;
}
.reply {
	margin-top: 10px;
}
.comment-reply-link,
#cancel-comment-reply-link {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius-full);
	color: var(--text-secondary);
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
}
.comment-reply-link:hover,
#cancel-comment-reply-link:hover {
	color: var(--gold-text);
	border-color: rgba(240, 165, 0, 0.4);
}
.comments-area .navigation {
	margin-top: 20px;
}
.comments-area .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 12px;
}
.comments-area .nav-links a {
	color: var(--gold-text);
	font-weight: 700;
	font-size: 0.85rem;
	text-decoration: none;
}
.no-comments {
	margin-top: 16px;
	color: var(--text-muted);
}
.comment-respond {
	margin-top: 32px;
	padding: clamp(20px, 3vw, 28px);
	background: var(--bg-2);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
}
.comment-list .comment-respond {
	margin-top: 14px;
}
.comment-reply-title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}
.comment-reply-title small {
	font-size: 0.75rem;
	font-weight: 600;
}
.comment-form {
	display: grid;
	gap: 14px;
	margin-top: 16px;
}
.comment-notes,
.logged-in-as,
.comment-form-cookies-consent label {
	color: var(--text-muted);
	font-size: 0.82rem;
	line-height: 1.6;
}
.logged-in-as a {
	color: var(--gold-text);
}
.comment-form label {
	display: block;
	margin-bottom: 6px;
	color: var(--text-secondary);
	font-size: 0.8rem;
	font-weight: 700;
}
.comment-form .required {
	color: var(--gold-text);
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--border-strong);
	border-radius: 10px;
	background: var(--bg-1);
	color: var(--text-primary);
	font-size: 16px;
	line-height: 1.5;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.comment-form textarea {
	min-height: 140px;
	resize: vertical;
}
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: rgba(240, 165, 0, 0.6);
	box-shadow: 0 0 0 3px rgba(240, 165, 0, 0.15);
}
.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.comment-form-cookies-consent input {
	margin-top: 3px;
	accent-color: var(--gold-text);
}
.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 500;
}
.form-submit {
	margin: 4px 0 0;
}
@media (min-width: 640px) {
	.comment-form {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.comment-form > p {
		grid-column: 1 / -1;
	}
	.comment-form > .comment-form-author { grid-column: 1; }
	.comment-form > .comment-form-email { grid-column: 2; }
}

/* ── Motion and print ───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.post-card,
	.post-card-img,
	.post-card-media img,
	.btn-primary,
	.btn-ghost,
	.cat-pill,
	.post-navigation a {
		transition: none;
	}
	.post-card:hover,
	.post-card:hover .post-card-media img,
	.post-navigation a:hover,
	.btn-primary:hover {
		transform: none;
	}
}
@media print {
	.site-nav,
	.nav-spacer,
	.nav-drawer,
	.nav-drawer-backdrop,
	.wa-fab,
	.nf-wrap,
	.related-posts,
	.post-cta,
	.single-aside,
	.comment-respond,
	.back-to-blog-wrap,
	.breadcrumbs,
	.post-navigation {
		display: none !important;
	}
	body {
		background: #fff;
		color: #000;
	}
	.entry-content,
	.page-h,
	.entry-content h2,
	.entry-content h3 {
		color: #000;
	}
	.entry-content a {
		color: #000;
	}
}

/* ── Single post with the order form (1.2.0) ──────────────────────
   The article on the left; the main website's order form on the right.
   On wide screens the form column is sticky: it stays just below the
   fixed header while the article scrolls, and it stops where the
   article's comments end, so it never covers the header, Related
   Articles or the footer. On narrower screens it follows the article. */
.single-article-main,
.single-article-end,
.single-aside {
	min-width: 0;
}
.single-grid {
	padding-bottom: clamp(24px, 4vw, 40px);
}
.has-order-form .single-body {
	padding-top: clamp(28px, 4vw, 40px);
}

/* The framed form. The frame is wider than the card by 12px a side and
   taller by 4px above and 28px below: room for the card's shadow. */
.order-form-panel {
	position: relative;
}
.order-form-frame {
	display: block;
	width: 100%;
	height: 640px; /* replaced by the form's real height once it loads */
	border: 0;
	background: transparent;
	color-scheme: light;
	opacity: 0;
	transition: opacity 0.25s ease;
}
.order-form-panel.is-ready .order-form-frame {
	opacity: 1;
}
.order-form-panel.is-failed .order-form-frame {
	display: none;
}

/* Placeholder card while the form loads, in the form card's shape. */
.order-form-loading {
	position: absolute;
	inset: 4px 12px 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	background: var(--bg-1);
	border: 1px solid var(--border);
	border-radius: 22px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
	transition: opacity 0.25s ease, visibility 0.25s;
}
.order-form-panel.is-ready .order-form-loading,
.order-form-panel.is-failed .order-form-loading {
	opacity: 0;
	visibility: hidden;
}
.order-form-loading-bar,
.order-form-loading-grid > span {
	display: block;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--bg-3) 0%, #e6e9f1 50%, var(--bg-3) 100%);
	background-size: 200% 100%;
	animation: mocp-order-shimmer 1.4s ease-in-out infinite;
}
.order-form-loading-bar {
	height: 12px;
}
.order-form-loading-bar.is-title {
	width: 55%;
	height: 18px;
}
.order-form-loading-bar.is-short {
	width: 78%;
}
.order-form-loading-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin-top: 6px;
}
.order-form-loading-grid > span {
	height: 64px;
	border-radius: 14px;
}
.order-form-loading-bar.is-button {
	height: 48px;
	margin-top: auto;
	border-radius: 12px;
}
@keyframes mocp-order-shimmer {
	0% { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}
@media (prefers-reduced-motion: reduce) {
	.order-form-loading-bar,
	.order-form-loading-grid > span {
		animation: none;
	}
	.order-form-frame,
	.order-form-loading {
		transition: none;
	}
}

/* Shown instead of the form if it cannot load (or without JavaScript). */
.order-form-fallback {
	margin: 4px 12px 28px;
	padding: clamp(22px, 3vw, 28px);
	text-align: center;
	background: var(--bg-2);
	border: 1px solid rgba(240, 165, 0, 0.3);
	border-radius: var(--radius-lg);
}
.order-form-fallback-title {
	margin-bottom: 16px;
	color: var(--text-primary);
	font-size: 1.2rem;
	font-weight: 800;
	line-height: 1.3;
}

/* Widgets from "Post sidebar", if any, sit under the form. */
.single-aside .post-sidebar {
	margin-top: 8px;
	padding-inline: 12px;
}

/* Phones and tablets: one column, the form after the article content. */
@media (max-width: 1023.98px) {
	.single-article-main,
	.single-article-end {
		max-width: var(--reading);
		margin-inline: auto;
	}
	.single-aside {
		max-width: 584px; /* a 560px form card */
		margin: clamp(32px, 6vw, 44px) auto 0;
	}
	.has-order-form .entry-footer {
		margin-top: 16px;
	}
}
/* Phones: the card lines up with the article's edges. */
@media (max-width: 599.98px) {
	.order-form-panel {
		margin-inline: -12px;
	}
	.single-aside .post-sidebar {
		padding-inline: 0;
	}
}

/* Wide screens: two columns, the form column sticky. */
@media (min-width: 1024px) {
	.single-grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) clamp(340px, 32%, 412px);
		/* Article, then its footer and comments; the last row only takes
		   up space when the form column is taller than the whole article. */
		grid-template-rows: auto auto 1fr;
		column-gap: clamp(28px, 3.5vw, 52px);
		align-items: start;
	}
	.single-article-main {
		grid-column: 1;
		grid-row: 1;
	}
	.single-article-end {
		grid-column: 1;
		grid-row: 2;
	}
	.single-aside {
		grid-column: 2;
		grid-row: 1 / -1;
		position: sticky;
		top: calc(var(--nav-h) + 20px);
		/* Level with the breadcrumbs. */
		margin-top: clamp(24px, 4vw, 44px);
		/* Never taller than the space under the header: a long step of the
		   form scrolls inside this column instead of running off screen. */
		max-height: calc(100vh - var(--nav-h) - 40px);
		max-height: calc(100dvh - var(--nav-h) - 40px);
		overflow-y: auto;
		scrollbar-width: thin;
		scrollbar-color: var(--border-strong) transparent;
	}
}

/* ── Services dropdown scrollbar (1.2.1) ──────────────────────────
   The main site styles every scrollbar this way; the blog applies it
   to the Services dropdown only, so the menu scrolls with the same thin
   rounded bar instead of the browser's default one with arrows. */
.nav-dropdown::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}
.nav-dropdown::-webkit-scrollbar-track {
	background: var(--bg-0);
}
.nav-dropdown::-webkit-scrollbar-thumb {
	background: var(--border-strong);
	border-radius: var(--radius-full);
}
.nav-dropdown::-webkit-scrollbar-thumb:hover {
	background: var(--gold);
}
