/*
Theme Name: Zero Knowledge
Theme URI: https://zeroknowledg.cloud/
Author: Zero Knowledge
Author URI: https://zeroknowledg.cloud/
Description: A fast, multilingual, privacy-first theme for zeroknowledg.cloud: guides, reviews, comparisons and privacy scorecards for encrypted cloud storage, password managers and private tools. Dark by default with a light mode, self-hosted fonts, no external trackers, cookie consent, affiliate and ad support. English (default), Chinese, Hindi, Spanish and Arabic (RTL). Works with Polylang, WPML and TranslatePress.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Tested up to: 6.8
Text Domain: zero-knowledge
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, dark-mode, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready, rtl-language-support, threaded-comments, block-styles, wide-blocks, accessibility-ready
*/

/* -------------------------------------------------------
   1. Tokens: dark by default, optional light mode
------------------------------------------------------- */
:root {
	--zk-navy: #05080b;
	--zk-bg: #080b0e;
	--zk-surface: #0e1418;
	--zk-tint: #0b1115;
	--zk-raised: #131b21;
	--zk-text: #e8eff3;
	--zk-muted: #97a5af;
	--zk-border: #1e2a33;
	--zk-border-strong: #2a3945;
	--zk-link: #5eead4;
	--zk-accent: #2df0a5;
	--zk-accent-hover: #63f7bf;
	--zk-accent-ink: #04120c;
	--zk-cyan: #22d3ee;
	--zk-violet: #9b7bff;
	--zk-good: #2df0a5;
	--zk-warn: #fbbf24;
	--zk-bad: #ff6b7a;
	--zk-grid: rgba(45, 240, 165, .07);
	--zk-glow: 0 0 0 1px rgba(45, 240, 165, .35), 0 10px 34px rgba(45, 240, 165, .22);
	--zk-radius: 14px;
	--zk-radius-sm: 10px;
	--zk-shadow: 0 12px 34px rgba(0, 0, 0, .45);
	--zk-shadow-lg: 0 24px 60px rgba(0, 0, 0, .6);
	--zk-container: 1200px;
	--zk-narrow: 780px;
	--zk-header-h: 72px;
	--zk-font: 'Inter Variable', Inter, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--zk-mono: 'JetBrains Mono Variable', 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	color-scheme: dark;
}
html[data-theme="light"] {
	--zk-bg: #f2f6f6;
	--zk-surface: #ffffff;
	--zk-tint: #e8efef;
	--zk-raised: #f7faf9;
	--zk-text: #0b1418;
	--zk-muted: #4b5b64;
	--zk-border: #d2dcdf;
	--zk-border-strong: #b9c7cc;
	--zk-link: #06794f;
	--zk-good: #067a52;
	--zk-warn: #a86400;
	--zk-bad: #c62a3b;
	--zk-grid: rgba(6, 121, 79, .07);
	--zk-glow: 0 0 0 1px rgba(6, 121, 79, .25), 0 8px 24px rgba(45, 240, 165, .28);
	--zk-shadow: 0 10px 28px rgba(11, 20, 24, .09);
	--zk-shadow-lg: 0 22px 50px rgba(11, 20, 24, .16);
	color-scheme: light;
}
html:lang(zh) { --zk-font: 'Inter Variable', 'Noto Sans SC Variable', 'PingFang SC', 'Microsoft YaHei', sans-serif; }
html:lang(hi) { --zk-font: 'Inter Variable', 'Noto Sans Devanagari Variable', 'Mangal', sans-serif; }
html:lang(ar) { --zk-font: 'Cairo Variable', 'Inter Variable', Tahoma, sans-serif; }

/* -------------------------------------------------------
   2. Base
------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--zk-font); background: var(--zk-bg); color: var(--zk-text); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
html:lang(zh) body { line-height: 1.85; }
html:lang(hi) body, html:lang(ar) body { line-height: 1.9; }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.22; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
html:lang(zh) :is(h1, h2, h3, h4), html:lang(hi) :is(h1, h2, h3, h4), html:lang(ar) :is(h1, h2, h3, h4) { letter-spacing: 0; line-height: 1.45; }
p { margin: 0 0 1em; text-wrap: pretty; }
button, input, textarea, select { font: inherit; color: inherit; }
.zk-icon { flex-shrink: 0; vertical-align: middle; }
[id] { scroll-margin-top: calc(var(--zk-header-h) + 20px); }
::selection { background: var(--zk-accent); color: var(--zk-accent-ink); }
:focus-visible { outline: 2px solid var(--zk-accent); outline-offset: 3px; border-radius: 6px; }

.mono, .mono-note, code, kbd, pre { font-family: var(--zk-mono); }
.mono-note { display: block; font-size: 12.5px; color: var(--zk-muted); letter-spacing: .01em; margin-top: 2px; }
.mono-note--block { margin-top: 14px; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); overflow: hidden; height: 1px; width: 1px; margin: -1px; padding: 0; border: 0; white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -64px; z-index: 500; background: var(--zk-accent); color: var(--zk-accent-ink); padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 0; }
.container { max-width: var(--zk-container); margin: 0 auto; padding-inline: 24px; }
.container--narrow { max-width: var(--zk-narrow); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--zk-tint); border-block: 1px solid var(--zk-border); }
.section--grid { background-image: linear-gradient(var(--zk-grid) 1px, transparent 1px), linear-gradient(90deg, var(--zk-grid) 1px, transparent 1px); background-size: 44px 44px; background-position: center top; }
.hp-field { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
html:not(.js) .reveal, .reveal.is-in { opacity: 1; transform: none; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--zk-accent); }

/* -------------------------------------------------------
   3. Buttons, chips, links
------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 10px; border: 1px solid transparent; font-weight: 700; font-size: 16px; line-height: 1.4; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--accent { background: var(--zk-accent); color: var(--zk-accent-ink); box-shadow: var(--zk-glow); }
.btn--accent:hover { background: var(--zk-accent-hover); transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(45, 240, 165, .55), 0 12px 40px rgba(45, 240, 165, .35); }
.btn--primary { background: var(--zk-raised); color: var(--zk-text); border-color: var(--zk-border-strong); }
.btn--primary:hover { border-color: var(--zk-accent); color: var(--zk-accent); transform: translateY(-1px); }
html[data-theme="light"] .btn--primary { background: var(--zk-text); color: var(--zk-bg); border-color: var(--zk-text); }
html[data-theme="light"] .btn--primary:hover { background: #17262d; color: #fff; }
.btn--ghost { border-color: var(--zk-border-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--zk-accent); color: var(--zk-accent); }
.btn--light { background: #fff; color: #06100b; }
.btn--light:hover { background: #dffff2; }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { border-color: var(--zk-accent); color: var(--zk-accent); }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: progress; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--zk-link); }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.chip { display: inline-block; padding: 2px 10px; border-radius: 6px; background: rgba(45, 240, 165, .1); color: var(--zk-link); font-family: var(--zk-mono); font-size: 12px; font-weight: 600; margin-bottom: 8px; letter-spacing: .02em; }
html[data-theme="light"] .chip { background: rgba(6, 121, 79, .1); }
.chip--lg { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 13px; }

/* -------------------------------------------------------
   4. Header, mega menu, search, language switcher
------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 200; isolation: isolate; border-bottom: 1px solid var(--zk-border); transition: box-shadow .25s; }
.site-header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--zk-bg) 88%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--zk-header-h); }
.site-branding { flex-shrink: 0; }
.site-branding img.custom-logo { max-height: 42px; width: auto; }
.site-logo { display: inline-flex; align-items: center; }
.site-logo img { height: 34px; width: auto; max-width: none; }
.site-logo .logo-light, .site-logo .logo-icon { display: none; }
.site-logo .logo-dark { display: block; }
html[data-theme="light"] .site-logo:not(.site-logo--dark) .logo-light { display: block; }
html[data-theme="light"] .site-logo:not(.site-logo--dark) .logo-dark { display: none; }
.site-logo--dark .logo-dark { display: block; height: 38px; }
.site-title { font-weight: 800; font-size: 19px; color: var(--zk-text); }

.primary-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 4px; }
.primary-menu { display: flex; align-items: center; gap: 2px; }
.primary-menu a, .mega-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--zk-muted); background: transparent; border: 0; cursor: pointer; transition: background-color .2s, color .2s; }
.primary-menu a:hover, .primary-menu .current-menu-item > a, .mega-toggle:hover, .mega-toggle[aria-expanded="true"] { background: rgba(45, 240, 165, .09); color: var(--zk-accent); }
html[data-theme="light"] .primary-menu a:hover, html[data-theme="light"] .primary-menu .current-menu-item > a, html[data-theme="light"] .mega-toggle:hover { color: var(--zk-link); background: rgba(6, 121, 79, .09); }
.mega-toggle .zk-icon:last-child { transition: transform .2s; }
.mega-toggle[aria-expanded="true"] .zk-icon:last-child { transform: rotate(180deg); }
.header-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--zk-border); color: var(--zk-text); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--zk-accent); color: var(--zk-accent); }
.menu-toggle { display: none; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: inline-flex; }
html[data-theme="light"] .theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: inline-flex; }

.mega-panel { position: absolute; inset-inline: 0; top: 100%; background: var(--zk-surface); border-bottom: 1px solid var(--zk-border); box-shadow: var(--zk-shadow-lg); padding: 22px 0 28px; }
.mega-panel[hidden], .search-panel[hidden] { display: none; }
.mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px 14px; }
.mega-grid a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; border: 1px solid transparent; transition: background-color .2s, border-color .2s; }
.mega-grid a:hover { background: var(--zk-raised); border-color: var(--zk-border-strong); }
.mega-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(45, 240, 165, .09); border: 1px solid rgba(45, 240, 165, .25); color: var(--zk-accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
html[data-theme="light"] .mega-icon { color: var(--zk-link); }
.mega-grid strong { display: block; font-size: 14.5px; line-height: 1.35; }
.mega-grid small { display: block; color: var(--zk-muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.search-panel { position: absolute; inset-inline: 0; top: 100%; background: var(--zk-surface); border-bottom: 1px solid var(--zk-border); box-shadow: var(--zk-shadow-lg); padding: 20px 0; }

.search-form { position: relative; display: flex; align-items: center; gap: 10px; background: var(--zk-surface); border: 1px solid var(--zk-border-strong); border-radius: 12px; padding: 6px; padding-inline: 18px 6px; max-width: 660px; }
.search-form:focus-within { border-color: var(--zk-accent); box-shadow: 0 0 0 4px rgba(45, 240, 165, .14); }
.search-form > .zk-icon { color: var(--zk-muted); }
.search-form input[type="search"] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 4px; font-size: 16.5px; }
.search-form .btn { padding: 10px 22px; }
.live-results { position: absolute; inset-inline: 0; top: calc(100% + 8px); z-index: 60; background: var(--zk-surface); border: 1px solid var(--zk-border-strong); border-radius: 12px; box-shadow: var(--zk-shadow-lg); padding: 6px; text-align: start; }
.live-results[hidden] { display: none; }
.live-results a { display: block; padding: 10px 14px; border-radius: 8px; font-weight: 600; font-size: 15.5px; }
.live-results a:hover { background: rgba(45, 240, 165, .09); color: var(--zk-accent); }
.live-empty { padding: 12px 14px; color: var(--zk-muted); font-size: 15px; }

.langsw { position: relative; }
.langsw-btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 12px; border: 1px solid var(--zk-border); border-radius: 10px; background: transparent; color: var(--zk-text); font-family: var(--zk-mono); font-weight: 600; font-size: 13px; cursor: pointer; transition: border-color .2s, color .2s; }
.langsw-btn:hover, .langsw-btn[aria-expanded="true"] { border-color: var(--zk-accent); color: var(--zk-accent); }
.langsw-btn[aria-expanded="true"] .zk-icon:last-child { transform: rotate(180deg); }
.langsw-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); min-width: 190px; padding: 6px; background: var(--zk-surface); border: 1px solid var(--zk-border-strong); border-radius: 12px; box-shadow: var(--zk-shadow-lg); z-index: 250; }
.langsw-menu[hidden] { display: none; }
.langsw-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.langsw-menu a:hover, .langsw-menu a[aria-current] { background: rgba(45, 240, 165, .09); color: var(--zk-accent); }
html[data-theme="light"] .langsw-menu a:hover, html[data-theme="light"] .langsw-menu a[aria-current] { color: var(--zk-link); }
.langsw-menu .code { width: 30px; font-family: var(--zk-mono); font-size: 12px; font-weight: 700; color: var(--zk-accent); }
html[data-theme="light"] .langsw-menu .code { color: var(--zk-link); }

@media (max-width: 1080px) { .mega-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
	.menu-toggle { display: inline-flex; }
	.primary-nav { position: fixed; inset: var(--zk-header-h) 0 0 0; background: var(--zk-bg); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 20px 24px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; z-index: 190; }
	html[dir="rtl"] .primary-nav { transform: translateX(-100%); }
	.primary-nav.is-open { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
	.primary-menu { flex-direction: column; align-items: stretch; }
	.primary-menu a, .mega-toggle { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--zk-border); font-size: 18px; width: 100%; color: var(--zk-text); }
	.mega-toggle { justify-content: flex-start; }
	.mega-toggle .zk-icon:last-child { margin-inline-start: auto; }
	.mega-panel { position: static; box-shadow: none; padding: 8px 0; border: 0; background: transparent; }
	.mega-grid { grid-template-columns: 1fr 1fr; }
	body.menu-open { overflow: hidden; }
	.header-tools { margin-inline-start: auto; }
}
@media (max-width: 560px) {
	.header-inner { gap: 10px; }
	.site-branding { min-width: 0; flex: 1 1 auto; }
	.site-header .site-logo .logo-wide { display: none !important; }
	.site-header .site-logo .logo-icon-dark { display: block; height: 38px; width: 38px; }
	html[data-theme="light"] .site-header .site-logo .logo-icon-dark { display: none; }
	html[data-theme="light"] .site-header .site-logo .logo-icon-light { display: block; height: 38px; width: 38px; }
	.mega-grid { grid-template-columns: 1fr; } .mega-grid small { display: none; }
	.header-tools { gap: 6px; } .icon-btn, .langsw-btn { height: 38px; } .icon-btn { width: 38px; }
}

/* -------------------------------------------------------
   5. Hero: terminal grid
------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--zk-navy); color: #fff; padding: clamp(60px, 9vw, 120px) 0 clamp(64px, 9vw, 124px); border-bottom: 1px solid var(--zk-border); }
.hero--compact { padding-block: clamp(48px, 6vw, 84px); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(45, 240, 165, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 240, 165, .08) 1px, transparent 1px); background-size: 52px 52px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 78%); mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 30%, transparent 78%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); animation: zkDrift 18s ease-in-out infinite; }
.blob--1 { width: 460px; height: 460px; background: rgba(45, 240, 165, .28); inset-inline-start: -140px; top: -180px; }
.blob--2 { width: 400px; height: 400px; background: rgba(155, 123, 255, .26); inset-inline-end: -120px; bottom: -180px; animation-delay: -7s; }
.blob--3 { width: 220px; height: 220px; background: rgba(34, 211, 238, .2); inset-inline-end: 24%; top: 6%; animation-delay: -11s; }
@keyframes zkDrift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(22px, 16px); } }
.hero-inner { position: relative; z-index: 1; text-align: center; max-width: 920px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 8px; border: 1px solid rgba(45, 240, 165, .35); background: rgba(45, 240, 165, .08); color: var(--zk-accent); font-family: var(--zk-mono); font-size: 13px; font-weight: 500; margin-bottom: 24px; }
.hero h1 { font-size: clamp(38px, 6.4vw, 74px); font-weight: 800; line-height: 1.05; color: #fff; margin-bottom: .4em; letter-spacing: -.035em; }
.hero h1::after { content: '_'; color: var(--zk-accent); margin-inline-start: 4px; animation: zkBlink 1.1s steps(1) infinite; font-family: var(--zk-mono); font-weight: 400; }
@keyframes zkBlink { 50% { opacity: 0; } }
html:lang(zh) .hero h1, html:lang(hi) .hero h1, html:lang(ar) .hero h1 { line-height: 1.3; letter-spacing: 0; }
html:lang(ar) .hero h1::after, html:lang(zh) .hero h1::after, html:lang(hi) .hero h1::after { content: none; }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, .78); max-width: 42em; margin-inline: auto; }
.hero-search { margin: 32px auto 0; max-width: 700px; padding-block: 8px; background: rgba(14, 20, 24, .92); border-color: rgba(45, 240, 165, .3); color: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.hero-search input::placeholder { color: rgba(255, 255, 255, .5); }
.hero-actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.landing-form { max-width: 560px; margin: 28px auto 0; text-align: start; background: var(--zk-surface); color: var(--zk-text); border: 1px solid var(--zk-border-strong); border-radius: var(--zk-radius); padding: 22px; box-shadow: var(--zk-shadow-lg); }

.trust-bar { background: var(--zk-surface); border-bottom: 1px solid var(--zk-border); }
.trust-bar ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 56px; padding: 20px 0; }
.trust-bar li { display: flex; align-items: baseline; gap: 10px; }
.trust-bar strong { font-family: var(--zk-mono); font-size: 26px; font-weight: 700; color: var(--zk-accent); }
html[data-theme="light"] .trust-bar strong { color: var(--zk-link); }
.trust-bar span { color: var(--zk-muted); font-weight: 500; font-size: 15px; }

.section-head { max-width: 700px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); }
.section-head p { color: var(--zk-muted); font-size: 18px; margin: 0; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; text-align: start; }
.section-more { text-align: center; margin: 36px 0 0; color: var(--zk-muted); }

/* -------------------------------------------------------
   6. Category cards, zero-knowledge flow
------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: var(--zk-surface); border: 1px solid var(--zk-border); border-radius: var(--zk-radius); transition: transform .25s, box-shadow .25s, border-color .25s; }
.cat-card:hover { transform: translateY(-3px); border-color: rgba(45, 240, 165, .55); box-shadow: 0 0 0 1px rgba(45, 240, 165, .2), 0 16px 40px rgba(0, 0, 0, .4); }
.cat-icon { width: 50px; height: 50px; border-radius: 12px; background: rgba(45, 240, 165, .09); border: 1px solid rgba(45, 240, 165, .28); color: var(--zk-accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
html[data-theme="light"] .cat-icon { color: var(--zk-link); }
.cat-icon--lg { width: 70px; height: 70px; border-radius: 16px; }
.cat-card strong { font-size: 16.5px; line-height: 1.35; }
.cat-desc { color: var(--zk-muted); font-size: 14px; line-height: 1.55; }
.cat-count { margin-top: auto; padding-top: 8px; font-family: var(--zk-mono); font-size: 12px; font-weight: 600; color: var(--zk-link); }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .cat-card { padding: 16px; } }
@media (max-width: 420px) { .cat-grid { grid-template-columns: 1fr; } }

.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.flow-step { position: relative; background: var(--zk-surface); border: 1px solid var(--zk-border-strong); border-radius: var(--zk-radius); padding: 30px 26px 26px; }
.flow-step:not(:last-child)::after { content: '→'; position: absolute; inset-inline-end: -19px; top: 50%; transform: translateY(-50%); width: 18px; text-align: center; color: var(--zk-accent); font-family: var(--zk-mono); font-size: 20px; z-index: 2; }
html[dir="rtl"] .flow-step:not(:last-child)::after { content: '←'; }
.flow-num { position: absolute; top: 14px; inset-inline-end: 18px; font-family: var(--zk-mono); font-size: 13px; font-weight: 700; color: var(--zk-muted); }
.flow-icon { width: 58px; height: 58px; border-radius: 14px; background: rgba(45, 240, 165, .09); border: 1px solid rgba(45, 240, 165, .3); color: var(--zk-accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 0 24px rgba(45, 240, 165, .12); }
html[data-theme="light"] .flow-icon { color: var(--zk-link); }
.flow-step h3 { font-size: 20px; }
.flow-step p { color: var(--zk-muted); font-size: 16px; }
.flow-code { display: block; margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: var(--zk-navy); color: #b7c6cf; border: 1px solid var(--zk-border); font-size: 12.5px; direction: ltr; text-align: start; }
.flow-code b { color: var(--zk-accent); font-weight: 600; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow-step:not(:last-child)::after { content: '↓'; inset-inline-end: auto; inset-inline-start: 50%; top: auto; bottom: -19px; transform: translateX(-50%); } html[dir="rtl"] .flow-step:not(:last-child)::after { content: '↓'; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; background: var(--zk-surface); border: 1px solid var(--zk-border); border-radius: var(--zk-radius); padding: 30px 26px; }
.step-num { position: absolute; top: 16px; inset-inline-end: 20px; font-family: var(--zk-mono); font-size: 30px; font-weight: 700; color: var(--zk-border-strong); }
.step-icon { width: 54px; height: 54px; border-radius: 12px; background: rgba(45, 240, 165, .09); border: 1px solid rgba(45, 240, 165, .28); color: var(--zk-accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 21px; }
.step p { color: var(--zk-muted); }
.steps--stack { grid-template-columns: 1fr; margin: 32px 0; }
.link-list { margin: 0 0 14px; }
.link-list li { padding: 6px 0; border-bottom: 1px dashed var(--zk-border-strong); }
.link-list a { color: var(--zk-link); font-weight: 600; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* -------------------------------------------------------
   7. Post cards, most read
------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-grid--pad { padding-block: 48px; }
.post-card { display: flex; flex-direction: column; background: var(--zk-surface); border: 1px solid var(--zk-border); border-radius: var(--zk-radius); overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.post-card:hover { transform: translateY(-3px); border-color: rgba(45, 240, 165, .5); box-shadow: 0 0 0 1px rgba(45, 240, 165, .18), 0 16px 40px rgba(0, 0, 0, .4); }
.post-card .thumb { display: block; aspect-ratio: 16 / 9; background: var(--zk-tint); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .thumb img { transform: scale(1.04); }
.thumb-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--zk-accent); background-image: linear-gradient(rgba(45, 240, 165, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 240, 165, .09) 1px, transparent 1px); background-size: 26px 26px; background-color: var(--zk-navy); }
.post-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 18.5px; line-height: 1.4; margin-bottom: 8px; }
.post-card h3 a:hover { color: var(--zk-accent); }
.excerpt { color: var(--zk-muted); font-size: 15.5px; }
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding-top: 6px; font-family: var(--zk-mono); font-size: 12.5px; color: var(--zk-muted); }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

.most-read { display: grid; gap: 10px; max-width: 840px; margin-inline: auto; }
.most-read li { display: flex; align-items: center; gap: 18px; padding: 16px 20px; background: var(--zk-surface); border: 1px solid var(--zk-border); border-radius: var(--zk-radius-sm); transition: border-color .2s, transform .2s; }
.most-read li:hover { border-color: rgba(45, 240, 165, .5); transform: translateX(4px); }
html[dir="rtl"] .most-read li:hover { transform: translateX(-4px); }
.rank { width: 40px; height: 40px; border-radius: 10px; background: rgba(45, 240, 165, .1); border: 1px solid rgba(45, 240, 165, .3); color: var(--zk-accent); font-family: var(--zk-mono); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
html[data-theme="light"] .rank { color: var(--zk-link); }
.most-read a { font-weight: 700; font-size: 17px; line-height: 1.4; }
.most-read a:hover { color: var(--zk-accent); }
.most-read .meta { margin: 2px 0 0; padding: 0; }

/* -------------------------------------------------------
   8. Products, tables, scorecards, badges
------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--zk-border-strong); border-radius: var(--zk-radius); background: var(--zk-surface); box-shadow: var(--zk-shadow); margin: 24px 0; }
.picks-table, .compare-table, .scorecard-table, .plans-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.picks-table { min-width: 660px; } .compare-table { min-width: 560px; } .scorecard-table { min-width: 860px; } .plans-table { min-width: 420px; }
.picks-table th, .picks-table td, .compare-table th, .compare-table td, .scorecard-table th, .scorecard-table td, .plans-table th, .plans-table td { padding: 15px 16px; text-align: start; border-bottom: 1px solid var(--zk-border); vertical-align: middle; }
.picks-table thead th, .compare-table thead th, .scorecard-table thead th, .plans-table thead th { background: var(--zk-tint); font-family: var(--zk-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--zk-muted); font-weight: 600; }
html:lang(zh) :is(.picks-table, .compare-table, .scorecard-table, .plans-table) thead th, html:lang(hi) :is(.picks-table, .compare-table, .scorecard-table, .plans-table) thead th, html:lang(ar) :is(.picks-table, .compare-table, .scorecard-table, .plans-table) thead th { text-transform: none; letter-spacing: 0; }
.picks-table tbody tr:last-child > *, .compare-table tbody tr:last-child > *, .scorecard-table tbody tr:last-child > *, .plans-table tbody tr:last-child > * { border-bottom: 0; }
.picks-table tbody tr:hover, .scorecard-table tbody tr:hover { background: rgba(45, 240, 165, .04); }
.pt-name { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pt-score { font-family: var(--zk-mono); font-weight: 700; margin-inline-start: 4px; }
.pt-cta { text-align: end; white-space: nowrap; }
.compare-table tbody th { width: 150px; color: var(--zk-muted); font-weight: 600; font-size: 14px; }
.ct-title { display: block; font-size: 17px; color: var(--zk-text); text-transform: none; letter-spacing: 0; margin-top: 6px; font-family: var(--zk-font); }
.compare-table ul { list-style: none; }
.compare-table li, .proscons li { position: relative; padding-inline-start: 22px; margin: 4px 0; font-size: 15px; }
.pros li::before, .cons li::before { position: absolute; inset-inline-start: 0; font-family: var(--zk-mono); font-weight: 800; }
.pros li::before { content: '+'; color: var(--zk-good); }
.cons li::before { content: '–'; color: var(--zk-bad); }
.table-wrap--plans { margin: 18px 0; box-shadow: none; }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 6px; font-family: var(--zk-mono); font-size: 12px; font-weight: 600; border: 1px solid; white-space: nowrap; }
.pill--ok { color: var(--zk-good); background: color-mix(in srgb, var(--zk-good) 12%, transparent); border-color: color-mix(in srgb, var(--zk-good) 40%, transparent); }
.pill--mid { color: var(--zk-warn); background: color-mix(in srgb, var(--zk-warn) 12%, transparent); border-color: color-mix(in srgb, var(--zk-warn) 40%, transparent); }
.pill--bad { color: var(--zk-bad); background: color-mix(in srgb, var(--zk-bad) 12%, transparent); border-color: color-mix(in srgb, var(--zk-bad) 40%, transparent); }
.pill--na { color: var(--zk-muted); border-color: var(--zk-border); }
.score { position: relative; display: inline-flex; flex-direction: column; gap: 5px; min-width: 96px; }
.score b { font-family: var(--zk-mono); font-size: 16px; }
.score i { display: block; height: 6px; border-radius: 4px; background: var(--zk-border); overflow: hidden; position: relative; }
.score i::after { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--s, 0%); background: linear-gradient(90deg, var(--zk-cyan), var(--zk-accent)); border-radius: 4px; }
.mono-note { font-weight: 500; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.trust-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 6px; font-family: var(--zk-mono); font-size: 12px; color: var(--zk-muted); border: 1px solid var(--zk-border-strong); background: var(--zk-tint); }
.trust-badge b { color: var(--zk-text); font-weight: 600; }
.trust-badge--tested .zk-icon { color: var(--zk-accent); }
.trust-badge--audit .zk-icon { color: var(--zk-cyan); }

.badge { display: inline-block; padding: 2px 10px; border-radius: 6px; font-family: var(--zk-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: var(--zk-accent-ink); background: var(--zk-accent); }
.badge--best_budget { background: var(--zk-cyan); }
.badge--best_premium { background: var(--zk-violet); color: #0a0620; }
.badge--editors_pick { background: var(--zk-warn); color: #1c1300; }

.stars { position: relative; display: inline-block; font-size: 17px; letter-spacing: 2px; line-height: 1; white-space: nowrap; vertical-align: middle; }
.stars-bg { color: var(--zk-border-strong); }
.stars-fg { position: absolute; inset-block: 0; inset-inline-start: 0; overflow: hidden; color: var(--zk-accent); }

.product-list { display: grid; gap: 22px; margin-top: 32px; }
.product-card { position: relative; display: grid; grid-template-columns: 190px 1fr; gap: 24px; padding: 26px; background: var(--zk-surface); border: 1px solid var(--zk-border-strong); border-radius: var(--zk-radius); box-shadow: var(--zk-shadow); margin: 24px 0; }
.product-card > .badge { position: absolute; top: -12px; inset-inline-start: 22px; padding: 4px 12px; }
.product-media { display: flex; align-items: center; justify-content: center; background: var(--zk-navy); border: 1px solid var(--zk-border); border-radius: var(--zk-radius-sm); min-height: 140px; color: var(--zk-accent); overflow: hidden; }
.product-img { width: 100%; height: 100%; object-fit: contain; }
.product-body h3 { font-size: 22px; margin-bottom: 6px; }
.product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-family: var(--zk-mono); font-weight: 700; }
.product-bestfor { color: var(--zk-muted); margin-bottom: 8px; font-size: 15.5px; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 10px 0; }
.product-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.product-price { font-family: var(--zk-mono); font-weight: 700; font-size: 16px; }
.mini-picks li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--zk-border); }
.mini-picks li:last-child { border-bottom: 0; }
.mini-picks strong { display: block; font-size: 15px; }
@media (max-width: 680px) {
	.product-card { grid-template-columns: 1fr; } .proscons { grid-template-columns: 1fr; }
	.picks-table, .scorecard-table { min-width: 0; }
	.picks-table thead, .scorecard-table thead { position: absolute; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }
	.picks-table tr, .scorecard-table tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--zk-border); }
	.picks-table th, .picks-table td, .scorecard-table th, .scorecard-table td { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 6px 0; border: 0; text-align: end; }
	.picks-table th, .scorecard-table th { text-align: start; }
	.picks-table td[data-label]::before, .scorecard-table td[data-label]::before { content: attr(data-label); color: var(--zk-muted); font-family: var(--zk-mono); font-size: 12px; text-align: start; }
	.picks-table .pt-cta { justify-content: stretch; padding-top: 10px; } .picks-table .pt-cta .btn { width: 100%; }
}

/* Scorecard (single service) */
.scorecard { background: linear-gradient(180deg, var(--zk-surface), var(--zk-tint)); border: 1px solid var(--zk-border-strong); border-radius: var(--zk-radius); padding: 28px; margin: 0 0 28px; box-shadow: var(--zk-shadow); position: relative; overflow: hidden; }
.scorecard::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--zk-grid) 1px, transparent 1px), linear-gradient(90deg, var(--zk-grid) 1px, transparent 1px); background-size: 30px 30px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.scorecard > * { position: relative; }
.scorecard-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.scorecard-head h2 { font-size: 30px; margin: 0 0 10px; }
.scorecard-eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--zk-mono); font-size: 12.5px; color: var(--zk-accent); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
html:lang(zh) .scorecard-eyebrow, html:lang(hi) .scorecard-eyebrow, html:lang(ar) .scorecard-eyebrow { text-transform: none; letter-spacing: 0; }
.score-ring { --s: 0; width: 104px; height: 104px; border-radius: 50%; flex-shrink: 0; display: grid; place-content: center; text-align: center; background: conic-gradient(var(--zk-accent) calc(var(--s) * 1%), var(--zk-border) 0); position: relative; }
.score-ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: var(--zk-surface); }
.score-ring b, .score-ring span { position: relative; font-family: var(--zk-mono); }
.score-ring b { font-size: 28px; line-height: 1; } .score-ring span { font-size: 12px; color: var(--zk-muted); }
.scorecard-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0 0 8px; }
.scorecard-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--zk-border-strong); }
.scorecard-list dt { color: var(--zk-muted); font-size: 15px; margin: 0; } .scorecard-list dd { margin: 0; text-align: end; }
.scorecard-cta { margin-top: 18px; }
@media (max-width: 640px) { .scorecard-list { grid-template-columns: 1fr; } .scorecard-head { flex-direction: column-reverse; } }

/* -------------------------------------------------------
   9. Article
------------------------------------------------------- */
.page-hero { position: relative; overflow: hidden; background: var(--zk-tint); padding: clamp(36px, 5vw, 64px) 0; border-bottom: 1px solid var(--zk-border); }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--zk-grid) 1px, transparent 1px), linear-gradient(90deg, var(--zk-grid) 1px, transparent 1px); background-size: 38px 38px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); pointer-events: none; }
html[dir="rtl"] .page-hero::before { -webkit-mask-image: linear-gradient(270deg, transparent, #000 70%); mask-image: linear-gradient(270deg, transparent, #000 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: .3em; }
.page-hero-desc { color: var(--zk-muted); font-size: 18px; max-width: 42em; }
.err-code { font-family: var(--zk-mono); font-size: 90px; font-weight: 700; line-height: 1; margin: 0 0 6px; color: var(--zk-accent); }
.page-body { padding-block: 40px 72px; }
.page-hero .search-form { margin-top: 20px; }
.archive-title { display: flex; align-items: center; gap: 20px; }
.archive-title h1 { margin: 0; }
.author-head { display: flex; align-items: center; gap: 24px; }
.avatar, .author-head img, .author-box img { border-radius: 50%; }
.avatar-initial { display: inline-flex; align-items: center; justify-content: center; background: rgba(45, 240, 165, .12); border: 1px solid rgba(45, 240, 165, .35); color: var(--zk-accent); font-family: var(--zk-mono); font-weight: 700; flex-shrink: 0; }

.breadcrumbs { margin-bottom: 14px; font-family: var(--zk-mono); font-size: 12.5px; color: var(--zk-muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li:not(:last-child)::after { content: '/'; opacity: .5; }
html[dir="rtl"] .breadcrumbs li:not(:last-child)::after { content: '\\'; }
.breadcrumbs a:hover { color: var(--zk-accent); }

.single-header { position: relative; background: var(--zk-tint); padding: clamp(30px, 4vw, 52px) 0 30px; border-bottom: 1px solid var(--zk-border); }
.single-header h1 { font-size: clamp(30px, 4.6vw, 48px); margin-bottom: 16px; }
.byline { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--zk-muted); font-size: 14px; margin: 0; font-family: var(--zk-mono); }
.byline > span, .byline-author { display: inline-flex; align-items: center; gap: 6px; }
.byline-author { font-weight: 600; color: var(--zk-text); }

.post-layout { display: grid; gap: 48px; padding-block: 32px 64px; align-items: start; }
.post-layout--right { grid-template-columns: minmax(0, 1fr) 330px; }
.post-layout--full { grid-template-columns: minmax(0, var(--zk-narrow)); justify-content: center; }
.post-layout > *, .sidebar > * { min-width: 0; }
.single-thumb { margin-bottom: 28px; border-radius: var(--zk-radius); overflow: hidden; border: 1px solid var(--zk-border); }
.single-thumb img { width: 100%; }
.sidebar { position: sticky; top: calc(var(--zk-header-h) + 20px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; min-width: 0; }
.widget { overflow-wrap: anywhere; background: var(--zk-surface); border: 1px solid var(--zk-border); border-radius: var(--zk-radius); padding: 22px; }
.widget-title { font-size: 16px; margin-bottom: 14px; font-family: var(--zk-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--zk-muted); }
html:lang(zh) .widget-title, html:lang(hi) .widget-title, html:lang(ar) .widget-title { text-transform: none; letter-spacing: 0; }
.widget p { color: var(--zk-muted); font-size: 15px; }
.rank-list { counter-reset: r; }
.rank-list li { counter-increment: r; display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--zk-border); }
.rank-list li:last-child { border: 0; }
.rank-list li::before { content: counter(r); width: 26px; height: 26px; border-radius: 6px; background: rgba(45, 240, 165, .1); color: var(--zk-accent); font-family: var(--zk-mono); font-weight: 700; font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.rank-list a { font-weight: 600; font-size: 15px; line-height: 1.5; }
.rank-list a:hover { color: var(--zk-accent); }
@media (max-width: 1000px) { .post-layout--right { grid-template-columns: minmax(0, 1fr); } .sidebar { position: static; } }

.entry-content { font-size: 18px; line-height: 1.85; }
.entry-content > * + * { margin-top: 1.25em; margin-bottom: 0; }
.entry-content h2 { font-size: 30px; margin-top: 1.8em; }
.entry-content h3 { font-size: 23px; margin-top: 1.6em; }
.entry-content ul { list-style: disc; padding-inline-start: 1.5em; }
.entry-content ol { list-style: decimal; padding-inline-start: 1.5em; }
.entry-content li + li { margin-top: .45em; }
.entry-content li::marker { color: var(--zk-accent); }
.entry-content a:not(.btn) { color: var(--zk-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.entry-content img { border-radius: var(--zk-radius-sm); }
.entry-content blockquote { margin-inline: 0; padding: 6px 22px; border-inline-start: 3px solid var(--zk-accent); background: var(--zk-surface); border-radius: var(--zk-radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--zk-border); text-align: start; }
.entry-content--wide { max-width: none; }
.entry-tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags a { padding: 3px 12px; border: 1px solid var(--zk-border-strong); border-radius: 6px; font-family: var(--zk-mono); font-size: 13px; }
.entry-tags a:hover { border-color: var(--zk-accent); color: var(--zk-accent); }

/* Code blocks with copy button */
.entry-content pre, .entry-content code { font-family: var(--zk-mono); font-size: .9em; direction: ltr; text-align: left; }
.entry-content pre { background: var(--zk-navy); color: #d5e3ea; padding: 18px 20px; padding-inline-end: 84px; border-radius: var(--zk-radius-sm); border: 1px solid var(--zk-border-strong); overflow-x: auto; margin: 0; }
.entry-content :not(pre) > code { background: rgba(45, 240, 165, .1); color: var(--zk-link); padding: 2px 7px; border-radius: 6px; }
.code-block { position: relative; }
.code-copy { position: absolute; top: 10px; inset-inline-end: 10px; padding: 4px 11px; border-radius: 6px; border: 1px solid var(--zk-border-strong); background: var(--zk-raised); color: var(--zk-muted); font-family: var(--zk-mono); font-size: 12px; cursor: pointer; transition: color .2s, border-color .2s; }
.code-copy:hover { color: var(--zk-accent); border-color: var(--zk-accent); }
.code-copy.is-done { color: var(--zk-accent-ink); background: var(--zk-accent); border-color: var(--zk-accent); }

/* Step-by-step guide */
.guide-steps ol { list-style: none; padding: 0; counter-reset: g; display: grid; gap: 14px; }
.guide-steps ol > li { counter-increment: g; position: relative; margin: 0; padding: 22px 24px; padding-inline-start: 84px; background: var(--zk-surface); border: 1px solid var(--zk-border); border-radius: var(--zk-radius); }
.guide-steps ol > li::before { content: counter(g, decimal-leading-zero); position: absolute; inset-inline-start: 22px; top: 20px; width: 46px; height: 46px; border-radius: 10px; background: rgba(45, 240, 165, .1); border: 1px solid rgba(45, 240, 165, .35); color: var(--zk-accent); font-family: var(--zk-mono); font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; justify-content: center; }

/* TOC, summary, notices, callouts */
.toc { background: var(--zk-surface); border: 1px solid var(--zk-border); border-radius: var(--zk-radius); padding: 20px 24px; margin: 0 0 28px; }
.toc-title { display: flex; align-items: center; gap: 8px; font-family: var(--zk-mono); font-size: 13px; font-weight: 600; margin: 0 0 10px; color: var(--zk-accent); text-transform: uppercase; letter-spacing: .06em; }
html:lang(zh) .toc-title, html:lang(hi) .toc-title, html:lang(ar) .toc-title { text-transform: none; letter-spacing: 0; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; } .toc li + li { margin-top: 2px; }
.entry-content .toc a, .toc a { display: block; padding: 5px 0; font-size: 16px; color: var(--zk-text); text-decoration: none; }
.toc a:hover { color: var(--zk-accent); }
.toc .toc-h3 { padding-inline-start: 20px; font-size: 15px; }
.entry-content .toc .toc-h3 a { color: var(--zk-muted); }
.quick-summary { background: linear-gradient(135deg, rgba(45, 240, 165, .09), rgba(155, 123, 255, .07)); border: 1px solid rgba(45, 240, 165, .3); border-radius: var(--zk-radius); padding: 20px 24px; margin: 0 0 24px; }
.quick-summary-title { display: flex; align-items: center; gap: 8px; font-weight: 800; margin: 0 0 8px; }
.quick-summary-title .zk-icon { color: var(--zk-accent); }
.quick-summary ul { list-style: none; padding: 0; margin: 0; }
.quick-summary li { position: relative; padding-inline-start: 24px; margin: 6px 0; font-size: 16.5px; }
.quick-summary li::before { content: '>'; position: absolute; inset-inline-start: 2px; top: 0; color: var(--zk-accent); font-family: var(--zk-mono); font-weight: 700; }
html[dir="rtl"] .quick-summary li::before { content: '<'; }
.aff-notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; background: var(--zk-surface); border: 1px dashed var(--zk-border-strong); border-radius: var(--zk-radius-sm); font-size: 14px; color: var(--zk-muted); margin: 0 0 20px; }
.aff-notice .zk-icon { margin-top: 3px; }
.aff-notice--inline { margin-top: 20px; }
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--zk-radius-sm); border: 1px solid; border-inline-start-width: 4px; margin: 1.6em 0; }
.callout > div > :last-child { margin-bottom: 0; }
.callout > div > strong { display: block; margin-bottom: 4px; font-family: var(--zk-mono); font-size: 14px; }
.callout p { margin: 0 0 .6em; }
.callout-icon { flex-shrink: 0; margin-top: 2px; }
.callout--tip { background: color-mix(in srgb, var(--zk-good) 8%, var(--zk-surface)); border-color: var(--zk-good); }
.callout--tip .callout-icon { color: var(--zk-good); }
.callout--warning { background: color-mix(in srgb, var(--zk-warn) 9%, var(--zk-surface)); border-color: var(--zk-warn); }
.callout--warning .callout-icon { color: var(--zk-warn); }
.callout--note { background: color-mix(in srgb, var(--zk-cyan) 8%, var(--zk-surface)); border-color: var(--zk-cyan); }
.callout--note .callout-icon { color: var(--zk-cyan); }

.faq-list { display: grid; gap: 10px; margin-top: 24px; }
.faq-item { background: var(--zk-surface); border: 1px solid var(--zk-border); border-radius: var(--zk-radius-sm); }
.faq-item[open] { border-color: rgba(45, 240, 165, .5); }
.faq-item summary { list-style: none; cursor: pointer; position: relative; padding: 18px 22px; padding-inline-end: 56px; font-weight: 700; font-size: 17.5px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after { content: ''; position: absolute; inset-inline-end: 22px; top: 50%; width: 14px; height: 2px; margin-top: -1px; background: var(--zk-accent); border-radius: 2px; transition: transform .25s; }
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-answer { padding: 0 22px 18px; color: var(--zk-muted); }
.faq-answer > :last-child { margin-bottom: 0; }
.entry-content .faq-item { margin-top: 12px; }

.author-box { display: flex; gap: 20px; align-items: center; margin-top: 40px; padding: 24px; background: var(--zk-surface); border: 1px solid var(--zk-border); border-radius: var(--zk-radius); }
.author-name { font-weight: 700; margin: 0 0 4px; }
.author-name a { color: var(--zk-link); }
.author-box p:last-child { margin: 0; color: var(--zk-muted); font-size: 15.5px; }
.entry-comments { margin-top: 40px; }
.comments-title { font-size: 22px; }
.comment-list .comment { padding: 16px 0; border-bottom: 1px solid var(--zk-border); }
.comment-form label { font-weight: 600; font-size: 15px; } .comment-form p { margin-bottom: 14px; }
.comment-respond input[type="text"], .comment-respond input[type="email"], .comment-respond input[type="url"], .comment-respond textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--zk-border-strong); border-radius: var(--zk-radius-sm); background: var(--zk-surface); }
.comment-respond .submit { background: var(--zk-accent); color: var(--zk-accent-ink); border: 0; padding: 12px 26px; border-radius: 10px; font-weight: 700; cursor: pointer; }

.read-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 300; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--zk-cyan), var(--zk-accent)); box-shadow: 0 0 12px rgba(45, 240, 165, .7); transform-origin: left center; transform: scaleX(0); }
html[dir="rtl"] .read-progress span { transform-origin: right center; }

.ad-slot { margin: 24px auto; text-align: center; max-width: var(--zk-container); padding-inline: 24px; overflow: hidden; }
.ad-slot[hidden] { display: none; }
.ad-label { display: block; font-family: var(--zk-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--zk-muted); margin-bottom: 6px; }
.entry-content .ad-slot { padding: 0; }

.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.filters .pills { margin: 0; }
.pills--center { justify-content: center; margin: 18px 0; }
.pills a { display: inline-block; padding: 5px 14px; border-radius: 8px; background: var(--zk-surface); border: 1px solid var(--zk-border-strong); font-size: 14px; font-weight: 600; transition: border-color .2s, color .2s; }
.pills a:hover { border-color: var(--zk-accent); color: var(--zk-accent); }
.pills--tags a { background: transparent; font-family: var(--zk-mono); font-weight: 500; font-size: 13px; }
.sort { display: inline-flex; margin-inline-start: auto; padding: 3px; background: var(--zk-surface); border: 1px solid var(--zk-border-strong); border-radius: 10px; }
.sort a { padding: 6px 16px; border-radius: 7px; font-size: 13.5px; font-weight: 700; color: var(--zk-muted); }
.sort a.is-active { background: var(--zk-accent); color: var(--zk-accent-ink); }
.navigation.pagination { padding-bottom: 72px; }
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.page-numbers { min-width: 42px; height: 42px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--zk-border-strong); border-radius: 10px; font-family: var(--zk-mono); font-weight: 600; background: var(--zk-surface); }
a.page-numbers:hover { border-color: var(--zk-accent); color: var(--zk-accent); }
.page-numbers.current { background: var(--zk-accent); border-color: var(--zk-accent); color: var(--zk-accent-ink); }
.empty-state { text-align: center; padding: 64px 0 88px; color: var(--zk-muted); }
.empty-state .search-form { margin: 20px auto; }
.empty-state--card { max-width: 640px; margin: 48px auto 72px; padding: 40px 28px; background: var(--zk-surface); border: 1px solid var(--zk-border); border-radius: var(--zk-radius); box-shadow: var(--zk-shadow); }
.empty-state--card .cat-icon { margin-inline: auto; } .empty-state--card p { margin-bottom: 8px; } .empty-sub { font-size: 15px; }
.page-hero--archive .filters:empty { display: none; }

/* -------------------------------------------------------
   10. Forms, newsletter, consent banner
------------------------------------------------------- */
.form-card { background: var(--zk-surface); border: 1px solid var(--zk-border-strong); border-radius: var(--zk-radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--zk-shadow); margin-top: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.form-group input, .form-group textarea, .newsletter-row input[type="email"] { width: 100%; padding: 13px 16px; border: 1px solid var(--zk-border-strong); border-radius: 10px; background: var(--zk-bg); transition: border-color .2s, box-shadow .2s; }
.form-group input:focus, .form-group textarea:focus, .newsletter-row input:focus { outline: none; border-color: var(--zk-accent); box-shadow: 0 0 0 4px rgba(45, 240, 165, .14); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 18px; font-size: 14px; color: var(--zk-muted); line-height: 1.6; cursor: pointer; }
.form-consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--zk-accent); flex-shrink: 0; }
.form-notice { padding: 14px 18px; border-radius: var(--zk-radius-sm); margin-bottom: 18px; font-size: 15.5px; border: 1px solid; }
.form-notice--success { background: color-mix(in srgb, var(--zk-good) 10%, var(--zk-surface)); border-color: var(--zk-good); }
.form-notice--error { background: color-mix(in srgb, var(--zk-bad) 10%, var(--zk-surface)); border-color: var(--zk-bad); }
.notice-link { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 8px; font-weight: 700; color: var(--zk-link); text-decoration: underline; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

.newsletter-card { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: var(--zk-navy); border: 1px solid rgba(45, 240, 165, .3); color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.newsletter-card::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(45, 240, 165, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 240, 165, .07) 1px, transparent 1px); background-size: 34px 34px; -webkit-mask-image: linear-gradient(120deg, #000, transparent 70%); mask-image: linear-gradient(120deg, #000, transparent 70%); }
.newsletter-card::after { content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(45, 240, 165, .22), transparent 68%); inset-inline-end: -120px; top: -160px; }
.newsletter-card > * { position: relative; z-index: 1; }
.newsletter-icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(45, 240, 165, .1); border: 1px solid rgba(45, 240, 165, .35); color: var(--zk-accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.newsletter-card h2 { font-size: clamp(26px, 3.4vw, 36px); color: #fff; }
.newsletter-card p { color: rgba(255, 255, 255, .78); }
.check-list { display: grid; gap: 8px; margin-top: 14px; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list .zk-icon { color: var(--zk-accent); }
.newsletter-formwrap { background: var(--zk-surface); color: var(--zk-text); border: 1px solid var(--zk-border-strong); border-radius: var(--zk-radius); padding: 24px; box-shadow: 0 20px 44px rgba(0, 0, 0, .4); }
.newsletter-row { display: flex; gap: 10px; }
.newsletter-row .btn { flex-shrink: 0; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
.benefit { text-align: center; padding: 24px 18px; background: var(--zk-surface); border: 1px solid var(--zk-border); border-radius: var(--zk-radius); }
.benefit .cat-icon { margin-inline: auto; } .benefit h3 { font-size: 18px; } .benefit p { color: var(--zk-muted); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .newsletter-card { grid-template-columns: 1fr; } .benefits { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .newsletter-row { flex-direction: column; } }

.consent { position: fixed; z-index: 400; inset-inline: 16px; bottom: 16px; max-width: 760px; margin-inline: auto; display: flex; align-items: center; gap: 20px; padding: 18px 20px; background: var(--zk-surface); border: 1px solid var(--zk-border-strong); border-radius: 14px; box-shadow: 0 0 0 1px rgba(45, 240, 165, .2), var(--zk-shadow-lg); }
.consent[hidden] { display: none; }
.consent-title { display: flex; align-items: center; gap: 8px; font-weight: 800; margin: 0 0 4px; }
.consent-title .zk-icon { color: var(--zk-accent); }
.consent-text p:last-child { margin: 0; font-size: 14px; color: var(--zk-muted); line-height: 1.55; }
.consent-text a { color: var(--zk-link); text-decoration: underline; margin-inline-start: 4px; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 640px) { .consent { flex-direction: column; align-items: stretch; gap: 14px; } .consent-actions .btn { flex: 1; } }

/* -------------------------------------------------------
   11. Footer
------------------------------------------------------- */
.site-footer { background: var(--zk-navy); color: rgba(232, 239, 243, .72); padding: 64px 0 0; border-top: 1px solid var(--zk-border); }
html[data-theme="light"] .site-footer { background: #0a1216; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 13px; margin-bottom: 16px; font-family: var(--zk-mono); text-transform: uppercase; letter-spacing: .08em; }
html:lang(zh) .footer-grid h4, html:lang(hi) .footer-grid h4, html:lang(ar) .footer-grid h4 { text-transform: none; letter-spacing: 0; font-size: 15px; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: var(--zk-accent); }
.footer-about p { margin-top: 14px; font-size: 15px; color: rgba(232, 239, 243, .62); }
.social-row { display: flex; gap: 10px; margin-top: 18px; }
.social-row a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); display: inline-flex; align-items: center; justify-content: center; color: #fff; transition: border-color .2s, color .2s; }
.social-row a:hover { border-color: var(--zk-accent); color: var(--zk-accent); }
.site-footer .newsletter-form .newsletter-row { flex-direction: column; }
.site-footer .newsletter-form input[type="email"] { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #fff; }
.site-footer .form-consent { color: rgba(232, 239, 243, .6); }
.footer-disclosure { display: flex; gap: 10px; align-items: flex-start; padding: 16px 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(232, 239, 243, .58); }
.footer-disclosure .zk-icon { margin-top: 2px; }
.footer-disclosure a { text-decoration: underline; text-underline-offset: 3px; margin-inline-start: 6px; color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding: 18px 0 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; color: rgba(232, 239, 243, .55); }
.footer-menu { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-menu a:hover { color: var(--zk-accent); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button { background: var(--zk-accent); color: var(--zk-accent-ink); border-radius: 10px; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.blob, .hero h1::after { animation: none; }
	.reveal { opacity: 1; transform: none; transition: none; }
	*, *::before, *::after { transition-duration: .01ms !important; }
}
@media print {
	.site-header, .site-footer, .sidebar, .read-progress, .newsletter-band, .ad-slot, .related, .consent { display: none !important; }
	body { background: #fff; color: #000; font-size: 12pt; }
	.post-layout { display: block; }
}

.score-wrap { text-align: center; flex-shrink: 0; }
.score-wrap .mono-note { margin-top: 8px; }

/* Long menu labels (Arabic, Hindi...) stay on one line */
.primary-menu a, .mega-toggle { white-space: nowrap; }
@media (max-width: 1280px) and (min-width: 961px) { .primary-menu a, .mega-toggle { padding: 8px 9px; font-size: 14.5px; } .header-inner { gap: 12px; } }
