/*
Theme Name:  10.0.0.0.1 (Astra Child)
Theme URI:   https://www.10-0-0-0-1.net/
Description: Child theme for 10.0.0.0.1 — floating header, professional blog and guide layouts, and the site's SaaS-light design system. Requires the Astra parent theme.
Author:      Zavify
Author URI:  https://zavify.co.uk/
Template:    astra
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child-nx
*/

/* =====================================================================
   1. Tokens
   ===================================================================== */
:root {
	--nx-brand: #3b5bfd;
	--nx-brand-dk: #2540d6;
	--nx-soft: #eef1ff;
	--nx-ink: #0b1220;
	--nx-body: #475069;
	--nx-muted: #6b7689;
	--nx-line: #e6eaf2;
	--nx-alt: #f7f9fc;
	--nx-r: 14px;
	--nx-sh: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 28px -14px rgba(16, 24, 40, .18);
	--nx-sh-lg: 0 2px 4px rgba(16, 24, 40, .06), 0 24px 48px -20px rgba(16, 24, 40, .28);
	--nx-wrap: 1160px;
	--nx-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
	--nx-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	/* floating header */
	--nx-header-top: 14px;   /* gap above the pill                */
	--nx-header-h: 64px;     /* pill height (JS updates it)       */
	--nx-header-space: calc(var(--nx-header-top) + var(--nx-header-h) + 18px);
	--nx-admin-bar: 0px;
}
.admin-bar { --nx-admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --nx-admin-bar: 46px; } }
@media (max-width: 921px) { :root { --nx-header-top: 10px; --nx-header-h: 58px; } }

/* =====================================================================
   2. Base  (fix: overflow-x:hidden broke position:sticky — use clip)
   ===================================================================== */
html, body { overflow-x: clip; }
@supports not (overflow-x: clip) { html, body { overflow-x: visible; } }
body {
	background: #fff;
	color: var(--nx-body);
	font-family: var(--nx-font);
	-webkit-font-smoothing: antialiased;
	font-size: 17px;
	line-height: 1.7;
}
h1, h2, h3, h4 { color: var(--nx-ink); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--nx-brand); text-decoration: none; }
a:hover { color: var(--nx-brand-dk); text-decoration: underline; }
code { background: var(--nx-soft); color: var(--nx-brand-dk); padding: .12em .42em; border-radius: 6px; font-size: .9em; font-family: var(--nx-mono); }
kbd { background: #fff; border: 1px solid var(--nx-line); border-bottom-width: 2px; border-radius: 6px; padding: .1em .45em; font-size: .85em; color: var(--nx-ink); }
img { height: auto; max-width: 100%; }
p:empty { display: none; }
:focus-visible { outline: 2px solid var(--nx-brand); outline-offset: 2px; border-radius: 6px; }
[id] { scroll-margin-top: calc(var(--nx-header-space) + var(--nx-admin-bar)); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

#secondary { display: none !important; }
#primary { width: 100% !important; max-width: 100% !important; padding: 0 !important; }

/* =====================================================================
   3. Floating pill header
   ===================================================================== */
.nx-theme #masthead.site-header {
	position: sticky;
	top: calc(var(--nx-header-top) + var(--nx-admin-bar));
	z-index: 990;
	height: 0;                 /* the pill hangs out of a zero-height sticky box */
	overflow: visible;
	margin: 0 auto;
	padding: 0 16px;
	width: 100%;
	max-width: calc(var(--nx-wrap) + 32px);
	box-sizing: border-box;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}
.nx-theme #masthead .ast-main-header-wrap {
	background: rgba(255, 255, 255, .78);
	-webkit-backdrop-filter: saturate(170%) blur(16px);
	backdrop-filter: saturate(170%) blur(16px);
	border: 1px solid rgba(226, 231, 242, .95);
	border-radius: 18px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 14px 34px -18px rgba(16, 24, 40, .25);
	transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
	position: relative;
	z-index: 2;
	overflow: hidden;
}
.nx-scrolled #masthead .ast-main-header-wrap {
	background: rgba(255, 255, 255, .92);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 22px 44px -18px rgba(16, 24, 40, .32);
	border-color: rgba(214, 221, 236, 1);
}
/* neutralise Astra's own bar chrome */
.nx-theme #masthead .main-header-bar,
.nx-theme #masthead .ast-primary-header-bar {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	line-height: 1.4;
	min-height: 0 !important;
}
.nx-theme #masthead .site-primary-header-wrap { min-height: var(--nx-header-h) !important; max-width: 100% !important; padding: 0 10px 0 22px !important; transition: min-height .25s ease; }
.nx-theme #masthead .ast-builder-grid-row { min-height: var(--nx-header-h); align-items: center; }
.nx-scrolled #masthead .site-primary-header-wrap,
.nx-scrolled #masthead .ast-builder-grid-row { min-height: calc(var(--nx-header-h) - 8px) !important; }
.nx-theme #masthead #ast-mobile-header .site-primary-header-wrap { padding: 0 8px 0 18px !important; }

/* brand */
.nx-theme .site-title { font-size: 20px !important; font-weight: 800; letter-spacing: -.03em; margin: 0; line-height: 1.2; }
.nx-theme .site-title a { color: var(--nx-ink) !important; display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; }
.nx-theme .site-title a::before {
	content: "";
	width: 24px; height: 24px; border-radius: 8px; flex: none;
	background:
		radial-gradient(circle at 50% 50%, #fff 0 3px, transparent 3.5px),
		linear-gradient(135deg, #2540d6, #5b7cff);
	box-shadow: 0 4px 10px -4px rgba(59, 91, 253, .7);
}
.nx-theme .site-title a:hover { color: var(--nx-brand) !important; }
.nx-theme .site-description { color: var(--nx-muted) !important; font-size: 12px !important; }

/* desktop menu */
.nx-theme .main-header-menu .menu-link,
.nx-theme .main-navigation .menu-item > a {
	font-size: 15px; font-weight: 500; color: var(--nx-body) !important;
	padding: 8px 12px !important; border-radius: 10px; line-height: 1.4;
	transition: background .18s ease, color .18s ease;
}
.nx-theme .main-header-menu > .menu-item { margin: 0 1px; }
.nx-theme .main-header-menu .menu-item:hover > .menu-link,
.nx-theme .main-header-menu .menu-item:focus-within > .menu-link { color: var(--nx-brand) !important; background: var(--nx-soft); }
.nx-theme .main-header-menu .current-menu-item > .menu-link,
.nx-theme .main-header-menu .current-menu-ancestor > .menu-link { color: var(--nx-brand) !important; background: var(--nx-soft); }
.nx-theme .main-header-menu .sub-menu { border-radius: 14px; box-shadow: var(--nx-sh-lg); border: 1px solid var(--nx-line); overflow: hidden; padding: 6px; margin-top: 10px; }
.nx-theme .main-header-menu .sub-menu .menu-link { border-radius: 8px; }
.nx-theme #masthead .ast-menu-toggle { color: var(--nx-body); }

/* mobile toggle + dropdown */
.nx-theme #masthead .menu-toggle.main-header-menu-toggle {
	color: var(--nx-ink) !important; background: transparent !important; border: 0 !important;
	width: 42px; height: 42px; border-radius: 12px; padding: 0 !important; justify-content: center;
}
.nx-theme #masthead .menu-toggle.main-header-menu-toggle:hover,
.nx-theme #masthead .menu-toggle.main-header-menu-toggle[aria-expanded="true"] { background: var(--nx-soft) !important; color: var(--nx-brand) !important; }
.nx-theme #masthead .ast-mobile-header-content {
	position: relative; z-index: 1;
	margin-top: 8px;
	background: #fff !important;
	border: 1px solid var(--nx-line);
	border-radius: 18px;
	box-shadow: var(--nx-sh-lg);
	padding: 8px !important;
	max-height: calc(100vh - var(--nx-header-space) - var(--nx-admin-bar) - 16px);
	overflow: auto;
}
.nx-theme #masthead .ast-mobile-header-content .main-header-menu { border: 0 !important; }
.nx-theme #masthead .ast-mobile-header-content .menu-item { border: 0 !important; }
.nx-theme #masthead .ast-mobile-header-content .menu-link {
	padding: 12px 14px !important; border-radius: 10px; font-size: 16px; font-weight: 500; color: var(--nx-ink) !important; border: 0 !important;
}
.nx-theme #masthead .ast-mobile-header-content .menu-link:hover,
.nx-theme #masthead .ast-mobile-header-content .current-menu-item > .menu-link { background: var(--nx-soft); color: var(--nx-brand) !important; }
.nx-theme #masthead .ast-mobile-header-content .sub-menu { padding-left: 12px; }

/* reading progress line (single posts) */
.nx-progress { position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; z-index: 3; pointer-events: none; }
.nx-progress-bar { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--nx-brand), #5b7cff); border-radius: 2px; }
.nx-theme #masthead .ast-main-header-wrap { position: relative; }
.nx-theme #masthead .ast-main-header-wrap .nx-progress { display: block; }
.nx-theme #masthead > .nx-progress { display: none; }

/* pages whose first block is not a hero still need to clear the pill */
.nx-theme .site-content:not(:has(.nx-hero, .nx-page-hero, .nx-post-hero, .nx-archive-hero)) { padding-top: var(--nx-header-space); }

/* =====================================================================
   4. Layout + full-bleed fix
   Astra's `.entry-content[data-ast-blocks-layout] > *` forces max-width and
   auto margins on every top-level block, which boxed the "full-bleed"
   sections to 1200px on wide screens. Pages here render edge to edge.
   ===================================================================== */
.nx-wrap { max-width: var(--nx-wrap); margin: 0 auto; padding: 0 24px; }
.nx-narrow { max-width: 830px; }
.entry-content > .nx-hero, .entry-content > .nx-sec, .entry-content > .nx-cta, .entry-content > .nx-page-hero,
.entry-content[data-ast-blocks-layout] > .nx-hero, .entry-content[data-ast-blocks-layout] > .nx-sec,
.entry-content[data-ast-blocks-layout] > .nx-cta, .entry-content[data-ast-blocks-layout] > .nx-page-hero,
.entry-content[data-ast-blocks-layout] > .wp-block-query.nx-latest, .entry-content > .wp-block-query.nx-latest {
	max-width: none !important;
	width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
}
.nx-hero, .nx-sec, .nx-cta, .nx-page-hero { margin-left: 0; margin-right: 0; }
.nx-sec { padding: 76px 0; }
.nx-sec-tight { padding: 56px 0; }
.nx-sec-alt { background: var(--nx-alt); border-top: 1px solid var(--nx-line); border-bottom: 1px solid var(--nx-line); }
.nx-sec-alt + .nx-sec-alt { border-top: 0; }
.nx-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nx-brand); margin-bottom: 10px; }
.nx-sec h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 0 0 14px; }
.nx-sec h3 { font-size: 19px; margin: 0 0 8px; }
.nx-sub { color: var(--nx-muted); font-size: 18px; max-width: 730px; margin: 0 0 34px; text-wrap: pretty; }
.nx-sec h2 + .nx-sub { margin-top: -4px; }
.nx-note { margin-top: 18px; font-size: 15px; color: var(--nx-muted); }
.entry-content > .alignwide { max-width: 100%; }

/* strip Astra page chrome */
.page .ast-single-entry-banner, .page .entry-header, .page .ast-archive-description { display: none !important; }
.page .site-content > .ast-container, .single .site-content > .ast-container, .nx-archive .site-content > .ast-container, .nx-404 .site-content > .ast-container { max-width: 100%; padding-left: 0; padding-right: 0; }
.page .ast-article-single, .page .entry-content { padding: 0 !important; border: 0 !important; background: transparent !important; margin: 0 !important; box-shadow: none !important; }
.page .site-main, .nx-single .site-main, .nx-archive .site-main { padding: 0 !important; }
.page .site, .home .site, .nx-single .site, .nx-archive .site, .nx-404 .site { background-color: #fff !important; }
.single .ast-article-single { box-shadow: none; }

/* =====================================================================
   5. Hero + page hero
   ===================================================================== */
.nx-hero {
	background: radial-gradient(1100px 460px at 50% -12%, #e8ecff 0%, rgba(255, 255, 255, 0) 62%), linear-gradient(180deg, #fbfcff 0%, #fff 100%);
	padding: calc(var(--nx-header-space) + 44px) 0 70px;
	text-align: center;
	border-bottom: 1px solid var(--nx-line);
}
.nx-badge { display: inline-block; background: #fff; border: 1px solid var(--nx-line); color: var(--nx-muted); font-size: 13px; font-weight: 600; padding: 7px 15px; border-radius: 999px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05); }
.nx-h1 { font-size: clamp(32px, 5.2vw, 54px); margin: 22px 0 18px; letter-spacing: -.035em; }
.nx-lead { font-size: 19px; color: var(--nx-body); max-width: 770px; margin: 0 auto 30px; text-wrap: pretty; }
.nx-cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nx-btn { display: inline-block; font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 11px; transition: .18s; text-decoration: none !important; line-height: 1.3; cursor: pointer; border: 0; font-family: inherit; }
.nx-btn-sm { font-size: 14px; padding: 10px 16px; border-radius: 9px; }
.nx-btn-primary { background: var(--nx-brand); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(59, 91, 253, .6); }
.nx-btn-primary:hover { background: var(--nx-brand-dk); transform: translateY(-1px); }
.nx-btn-ghost { background: #fff; color: var(--nx-ink) !important; border: 1px solid var(--nx-line); }
.nx-btn-ghost:hover { border-color: #c8d2e6; }
.nx-stats { list-style: none; margin: 52px auto 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 920px; }
.nx-stats li { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 20px 14px; box-shadow: var(--nx-sh); }
.nx-stat-n { display: block; font-size: 21px; font-weight: 800; color: var(--nx-ink); letter-spacing: -.02em; }
.nx-stat-l { display: block; font-size: 13px; color: var(--nx-muted); margin-top: 5px; line-height: 1.45; }

.nx-page-hero { background: linear-gradient(180deg, #f6f8ff, #fff); border-bottom: 1px solid var(--nx-line); padding: calc(var(--nx-header-space) + 40px) 0 48px; text-align: center; }
.nx-page-hero .nx-h1 { font-size: clamp(28px, 4.4vw, 44px); margin: 0 0 12px; }
.nx-page-hero .nx-lead { margin: 0 auto; font-size: 17px; color: var(--nx-muted); }

/* =====================================================================
   6. Content components (answer, quick grid, prose, tables, steps…)
   ===================================================================== */
.nx-answer { background: #fff; border: 1px solid var(--nx-line); border-left: 4px solid var(--nx-brand); border-radius: var(--nx-r); padding: 26px 28px; box-shadow: var(--nx-sh); }
.nx-answer-h { font-size: 13px !important; text-transform: uppercase; letter-spacing: .11em; color: var(--nx-brand) !important; margin: 0 0 10px !important; }
.nx-answer p { margin: 0; }
.nx-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.nx-quick { display: block; background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 22px; text-decoration: none !important; transition: .18s; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.nx-quick:hover { border-color: #bcc9ee; box-shadow: var(--nx-sh); transform: translateY(-2px); }
.nx-quick-i { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; background: var(--nx-soft); color: var(--nx-brand); font-weight: 800; font-size: 13px; margin-bottom: 12px; }
.nx-quick h3 { font-size: 16px; margin: 0 0 6px; color: var(--nx-ink); }
.nx-quick p { font-size: 14px; color: var(--nx-muted); margin: 0; line-height: 1.55; }
.nx-prose h2 { font-size: 27px; margin: 38px 0 12px; }
.nx-prose h3 { font-size: 19px; margin: 26px 0 8px; }
.nx-prose ul, .nx-prose ol { padding-left: 22px; }
.nx-prose li { margin-bottom: 8px; }
.nx-prose a { text-decoration: underline; text-underline-offset: 2px; }
.nx-callout { background: var(--nx-alt); border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 26px 28px; margin-top: 28px; }
.nx-callout h3 { margin-top: 0; }
.nx-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; overflow: hidden; margin: 18px 0; font-size: 15px; }
.nx-table th { background: var(--nx-alt); text-align: left; padding: 13px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--nx-muted); border-bottom: 1px solid var(--nx-line); }
.nx-table td { padding: 13px 16px; border-bottom: 1px solid #f0f3f9; vertical-align: top; }
.nx-table tr:last-child td { border-bottom: 0; }
.nx-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nx-yes { color: #0a7d4b; font-weight: 700; }
.nx-no { color: #c02626; font-weight: 700; }
.nx-maybe { color: #b26a00; font-weight: 700; }
.nx-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.nx-steps li { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 24px 26px 24px 84px; position: relative; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.nx-step-n { position: absolute; left: 24px; top: 24px; width: 42px; height: 42px; border-radius: 12px; background: var(--nx-brand); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.nx-steps h3 { margin: 0 0 6px; }
.nx-steps p { margin: 0; font-size: 16px; }
.nx-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nx-feature { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 22px; }
.nx-feature h3 { font-size: 16px; }
.nx-feature p { font-size: 14.5px; color: var(--nx-muted); margin: 0; line-height: 1.6; }
.nx-faq details { background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.nx-faq summary { cursor: pointer; padding: 17px 48px 17px 20px; font-weight: 600; color: var(--nx-ink); position: relative; list-style: none; font-size: 16.5px; }
.nx-faq summary::-webkit-details-marker { display: none; }
.nx-faq summary:after { content: "+"; position: absolute; right: 20px; top: 14px; font-size: 23px; color: var(--nx-brand); font-weight: 400; line-height: 1; }
.nx-faq details[open] summary:after { content: "−"; }
.nx-faq details[open] summary { border-bottom: 1px solid var(--nx-line); }
.nx-faq details p { padding: 16px 20px; margin: 0; font-size: 16px; }
.nx-os-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nx-os { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 22px; }
.nx-os h3 { font-size: 16px; margin-bottom: 10px; }
.nx-os ol { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--nx-body); }
.nx-os li { margin-bottom: 7px; }
.nx-check { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nx-check-item { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 22px 22px 22px 54px; position: relative; }
.nx-check-item:before { content: ""; position: absolute; left: 20px; top: 25px; width: 20px; height: 20px; border-radius: 6px; background: var(--nx-soft); border: 1px solid #c3cdf7; }
.nx-check-item:after { content: ""; position: absolute; left: 27px; top: 30px; width: 5px; height: 10px; border: solid var(--nx-brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.nx-check-item h3 { font-size: 16px; }
.nx-check-item p { font-size: 14.5px; color: var(--nx-muted); margin: 0; line-height: 1.6; }
.nx-cta { background: linear-gradient(135deg, #2540d6, #3b5bfd 55%, #5b7cff); padding: 66px 0; text-align: center; }
.nx-cta h2 { color: #fff !important; font-size: clamp(24px, 3.2vw, 34px); margin: 0 0 12px; }
.nx-cta p { color: rgba(255, 255, 255, .87); max-width: 640px; margin: 0 auto 26px; font-size: 17px; }
.nx-cta .nx-btn-primary { background: #fff; color: var(--nx-brand-dk) !important; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .4); }
.nx-cta .nx-btn-primary:hover { background: #f2f5ff; }
.nx-countries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.nx-country { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 24px; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.nx-flag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-brand); background: var(--nx-soft); border-radius: 999px; padding: 5px 12px; margin-bottom: 12px; }
.nx-country h3 { font-size: 17px; margin: 0 0 8px; }
.nx-country p { font-size: 14.5px; color: var(--nx-muted); margin: 0 0 10px; line-height: 1.65; }
.nx-country-more { margin: 0 !important; }
.nx-country-more a { font-size: 14px; font-weight: 600; text-decoration: none; }
.nx-country-more a:hover { text-decoration: underline; }
.nx-ipgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 8px; }
.nx-iptile { display: block; background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; padding: 16px 18px; text-decoration: none !important; transition: .16s; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.nx-iptile:hover { border-color: #bcc9ee; box-shadow: var(--nx-sh); transform: translateY(-2px); }
.nx-iptile-ip { display: block; font-family: var(--nx-mono); font-size: 15px; font-weight: 700; color: var(--nx-ink); letter-spacing: -.01em; }
.nx-iptile-b { display: block; font-size: 12.5px; color: var(--nx-muted); margin-top: 5px; line-height: 1.45; }
.nx-sec-alt .nx-iptile, .nx-sec-alt .nx-country { background: #fff; }
.ast-scroll-top { background: var(--nx-brand) !important; border-radius: 12px !important; }

/* =====================================================================
   7. Footer
   ===================================================================== */
.site-footer, .site-below-footer-wrap, .site-primary-footer-wrap, .ast-below-footer-wrap, .site-footer-section, .ast-builder-footer-grid-columns { background-color: #0b1220 !important; }
.site-footer { color: #9aa6bd; }
.site-footer .ast-builder-grid-row, .site-below-footer-wrap, .ast-below-footer-wrap { max-width: 100% !important; padding: 0 !important; }
.site-below-footer-wrap { border-top: 0 !important; }
.ast-footer-copyright { width: 100% !important; text-align: left !important; padding: 0 !important; color: #8994ab; }
.ast-builder-layout-element.site-footer-focus-item { width: 100%; }
.nx-foot { max-width: var(--nx-wrap); margin: 0 auto; padding: 58px 24px 0; text-align: left; }
.nx-foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 36px; }
.nx-foot-grid.nx-foot-5 { grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 28px; }
.nx-foot-logo { display: block; font-size: 20px; font-weight: 800; color: #fff !important; letter-spacing: -.03em; margin-bottom: 12px; }
.nx-foot-brand p { font-size: 14.5px; line-height: 1.7; color: #95a1b8 !important; margin: 0; max-width: 340px; }
.site-footer .nx-foot h3 { color: #fff !important; font-size: 12px !important; text-transform: uppercase; letter-spacing: .11em; margin: 0 0 14px !important; }
.nx-foot ul { list-style: none; margin: 0; padding: 0; }
.nx-foot li { margin-bottom: 10px; font-size: 14.5px; }
.site-footer .nx-foot a { color: #b9c4d8 !important; text-decoration: none !important; }
.site-footer .nx-foot a:hover { color: #fff !important; }
.site-footer .nx-foot-base { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .09); margin-top: 46px; padding: 22px 0 34px; font-size: 13px; color: #7f8ba3 !important; line-height: 1.65; }
.nx-foot-base span:last-child { max-width: 620px; text-align: right; }

/* =====================================================================
   8. Blog: archive hero, filters, cards, grid, pagination
   ===================================================================== */
.nx-archive-hero { background: radial-gradient(900px 380px at 50% -10%, #e8ecff 0%, rgba(255, 255, 255, 0) 62%), linear-gradient(180deg, #fbfcff, #fff); border-bottom: 1px solid var(--nx-line); padding: calc(var(--nx-header-space) + 36px) 0 44px; text-align: center; }
.nx-archive-hero .nx-h1 { font-size: clamp(30px, 4.6vw, 46px); margin: 6px 0 12px; }
.nx-archive-hero .nx-lead { margin: 0 auto; font-size: 17.5px; color: var(--nx-muted); }
.nx-archive-body { padding: 34px 24px 80px; }

.nx-crumbs { font-size: 13.5px; color: var(--nx-muted); margin: 0 0 18px; }
.nx-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.nx-post-hero .nx-crumbs ol { justify-content: flex-start; }
.nx-crumbs li + li::before { content: "›"; margin-right: 6px; color: #b5bdcc; }
.nx-crumbs a { color: var(--nx-muted); }
.nx-crumbs a:hover { color: var(--nx-brand); text-decoration: none; }
.nx-crumbs [aria-current] { color: var(--nx-ink); font-weight: 500; }

.nx-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.nx-filter-item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--nx-line); background: #fff; color: var(--nx-body); font-size: 14px; font-weight: 600; text-decoration: none !important; transition: .16s; }
.nx-filter-item:hover { border-color: #bcc9ee; color: var(--nx-brand); }
.nx-filter-item.is-active { background: var(--nx-ink); border-color: var(--nx-ink); color: #fff; }
.nx-filter-count { font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--nx-alt); color: var(--nx-muted); }
.nx-filter-item.is-active .nx-filter-count { background: rgba(255, 255, 255, .16); color: #fff; }

.nx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nx-grid-blog .nx-card-featured { grid-column: 1 / -1; }
.nx-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); overflow: hidden; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; cursor: pointer; margin: 0; }
.nx-card:hover { box-shadow: var(--nx-sh); transform: translateY(-3px); border-color: #d6ddf0; }
.nx-card-media { display: block; text-decoration: none !important; }
.nx-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.nx-card-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.nx-pill { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--nx-brand); background: var(--nx-soft); padding: 5px 10px; border-radius: 999px; text-decoration: none !important; line-height: 1.3; }
.nx-pill:hover { background: #dfe5ff; color: var(--nx-brand-dk); }
.nx-pill-soft { background: #fff5e6; color: #b26a00; }
.nx-card .nx-card-title, .entry-content .nx-card .nx-card-title { font-size: 18.5px; line-height: 1.35; margin: 0 0 10px; letter-spacing: -.015em; padding: 0; }
.nx-card-title a { color: var(--nx-ink); text-decoration: none !important; }
.nx-card-title a:hover, .nx-card:hover .nx-card-title a { color: var(--nx-brand); }
.nx-card-excerpt { font-size: 15px; color: var(--nx-muted); line-height: 1.65; margin: 0 0 18px; }
.nx-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.nx-card-more { font-size: 14px; font-weight: 600; color: var(--nx-brand); white-space: nowrap; }
.nx-card-more span { display: inline-block; transition: transform .18s ease; }
.nx-card:hover .nx-card-more span { transform: translateX(3px); }
.nx-meta { font-size: 13.5px; color: var(--nx-muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nx-meta-sep { color: #c3cad8; }

/* featured card */
.nx-card-featured { flex-direction: row; }
.nx-card-featured .nx-card-media { flex: 0 0 46%; }
.nx-card-featured .nx-cover { height: 100%; min-height: 320px; aspect-ratio: auto; }
.nx-card-featured .nx-card-body { padding: 34px 38px; justify-content: center; }
.nx-card.nx-card-featured .nx-card-title, .entry-content .nx-card.nx-card-featured .nx-card-title { font-size: clamp(22px, 2.6vw, 30px); margin-bottom: 14px; }
.nx-card-featured .nx-card-excerpt { font-size: 16.5px; }

/* generated covers */
.nx-cover { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--nx-alt); }
.nx-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.nx-card:hover .nx-cover img { transform: scale(1.03); }
.nx-cover-gen { display: flex; align-items: center; justify-content: center; }
.nx-cover-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 78%); }
.nx-cover-label { position: relative; z-index: 1; color: #fff; font-weight: 800; letter-spacing: -.01em; font-size: clamp(18px, 2.2vw, 24px); padding: 8px 16px; border-radius: 12px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(4px); text-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.nx-cover-ip { font-family: var(--nx-mono); font-size: clamp(20px, 2.4vw, 28px); }
.nx-card-featured .nx-cover-label { font-size: clamp(24px, 3vw, 34px); }
.nx-tone-blue { background: linear-gradient(135deg, #2540d6, #5b7cff); }
.nx-tone-indigo { background: linear-gradient(135deg, #3730a3, #6d6bff); }
.nx-tone-teal { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.nx-tone-violet { background: linear-gradient(135deg, #6d28d9, #a78bfa); }
.nx-tone-navy { background: linear-gradient(135deg, #0b1220, #3b5bfd); }
.nx-tone-sky { background: linear-gradient(135deg, #0369a1, #38bdf8); }
.nx-cover-icon { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(4px); color: #fff; }
.nx-cover-icon svg { width: 34px; height: 34px; }
.nx-card-featured .nx-cover-icon { width: 84px; height: 84px; border-radius: 24px; }
.nx-card-featured .nx-cover-icon svg { width: 44px; height: 44px; }

.nx-pagination, .wp-block-query-pagination { margin-top: 36px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.nx-pagination a, .nx-pagination span, .wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { padding: 9px 15px; border: 1px solid var(--nx-line); border-radius: 10px; background: #fff; font-size: 14px; font-weight: 600; color: var(--nx-body); text-decoration: none !important; }
.nx-pagination a:hover { border-color: var(--nx-brand); color: var(--nx-brand); }
.nx-pagination .current, .wp-block-query-pagination .current { background: var(--nx-brand); color: #fff; border-color: var(--nx-brand); }
.nx-pagination .dots { border: 0; background: transparent; }
.nx-empty { padding: 48px 24px; text-align: center; color: var(--nx-muted); background: var(--nx-alt); border: 1px dashed var(--nx-line); border-radius: var(--nx-r); }

/* query loop inside pages (home "Latest guides", /blog/) */
.entry-content > .nx-loop, .nx-loop { max-width: var(--nx-wrap) !important; margin: 0 auto !important; padding: 0 24px 78px; width: 100%; box-sizing: border-box; }
.nx-loop.nx-blog-loop { padding-top: 40px; }
/* home page "Latest guides": the heading section and the loop read as one band */
.entry-content > .nx-loop.nx-latest:not(.nx-blog-loop) { max-width: none !important; background: var(--nx-alt); border-bottom: 1px solid var(--nx-line); padding: 0 24px 76px; }
.nx-loop:not(.nx-blog-loop) > .nx-grid { max-width: calc(var(--nx-wrap) - 48px); margin: 0 auto; }
.entry-content > .nx-sec-alt:has(+ .nx-loop) { padding-bottom: 28px; border-bottom: 0; }
.nx-answer + .nx-ipgrid { margin-top: 22px; }
.nx-latest.wp-block-query { max-width: var(--nx-wrap) !important; margin: 0 auto !important; padding: 0 24px 78px; }
.nx-latest .wp-block-post-template { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 18px !important; list-style: none !important; padding: 0 !important; margin: 0 !important; }
.nx-latest .wp-block-post-template > li { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 24px !important; background: #fff !important; border: 1px solid var(--nx-line) !important; border-radius: var(--nx-r) !important; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: .18s; }
.nx-latest .wp-block-post-template > li:hover { box-shadow: var(--nx-sh); transform: translateY(-2px); }
.nx-latest .wp-block-post-title { font-size: 17px; margin: 8px 0 8px !important; line-height: 1.38; }
.nx-latest .wp-block-post-title a { color: var(--nx-ink); text-decoration: none !important; }
.nx-latest .wp-block-post-title a:hover { color: var(--nx-brand); }
.nx-latest .wp-block-post-excerpt { margin: 0; }
.nx-latest .wp-block-post-excerpt__excerpt { font-size: 14.5px; color: var(--nx-muted); line-height: 1.6; margin: 0; }
.nx-latest .wp-block-post-excerpt__more-text { margin: 12px 0 0 !important; }
.nx-latest .wp-block-post-excerpt__more-link { font-size: 14px; font-weight: 600; text-decoration: none !important; }
.nx-latest .wp-block-post-terms a { text-decoration: none !important; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.ast-single-post .entry-content .nx-latest a, .ast-single-post .entry-content .nx-loop a, .ast-single-post .entry-content .nx-iptile, .ast-single-post .entry-content .nx-quick, .ast-single-post .entry-content .nx-btn { text-decoration: none !important; }

/* =====================================================================
   9. Single post
   ===================================================================== */
.nx-single .nx-post, .nx-single .ast-article-single { padding: 0 !important; margin: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
.nx-post-hero { background: linear-gradient(180deg, #f6f8ff, #fff); border-bottom: 1px solid var(--nx-line); padding: calc(var(--nx-header-space) + 28px) 0 40px; }
.nx-post-hero-inner { max-width: var(--nx-wrap); }
.nx-post-top { margin-bottom: 14px; }
.nx-post-title { font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -.03em; margin: 0 0 16px; max-width: 900px; }
.nx-post-lead { font-size: 19px; color: var(--nx-muted); max-width: 800px; margin: 0 0 18px; text-wrap: pretty; }
.nx-post-hero .nx-meta { font-size: 14px; }

.nx-post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 40px; padding-bottom: 64px; align-items: stretch; }
.nx-post-main { min-width: 0; max-width: 760px; }
.nx-post-side { min-width: 0; }
.nx-side-sticky { position: sticky; top: calc(var(--nx-header-space) + var(--nx-admin-bar)); display: grid; gap: 18px; }

.nx-post-figure { margin: 0 0 28px; border-radius: var(--nx-r); overflow: hidden; border: 1px solid var(--nx-line); }
.nx-post-figure img { display: block; width: 100%; }

/* article typography */
.nx-single .entry-content.nx-article { font-size: 17.5px; line-height: 1.75; padding: 0 !important; margin: 0 !important; }
.nx-article > p { margin: 0 0 1.35em; }
.nx-article > p:first-child { font-size: 19px; color: var(--nx-body); }
.nx-article h2 { font-size: 27px; margin: 46px 0 14px; padding-top: 6px; letter-spacing: -.025em; }
.nx-article h3 { font-size: 20px; margin: 30px 0 10px; }
.nx-article h4 { font-size: 17px; margin: 24px 0 8px; }
.nx-article ul, .nx-article ol { padding-left: 24px; margin: 0 0 1.35em; }
.nx-article li { margin-bottom: 8px; }
.nx-article li::marker { color: var(--nx-brand); font-weight: 700; }
.nx-article a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: #b9c6ff; }
.nx-article a:hover { text-decoration-color: currentColor; }
.nx-article strong { color: var(--nx-ink); }
.nx-article img { border-radius: 12px; }
.nx-article figure { margin: 24px 0; }
.nx-article figcaption { font-size: 13.5px; color: var(--nx-muted); text-align: center; margin-top: 8px; }
.nx-article .nx-table-scroll { margin: 22px 0; }
.nx-article table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--nx-line); border-radius: 12px; overflow: hidden; font-size: 15px; margin: 0; background: #fff; }
.nx-article th { background: var(--nx-alt); text-align: left; padding: 12px 15px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--nx-muted); border-bottom: 1px solid var(--nx-line); }
.nx-article td { padding: 12px 15px; border-top: 1px solid #f0f3f9; vertical-align: top; }
.nx-article tr:first-child td { border-top: 0; }
.nx-article blockquote { border-left: 4px solid var(--nx-brand); background: var(--nx-alt); padding: 18px 22px; margin: 24px 0; border-radius: 0 12px 12px 0; font-style: normal; }
.nx-article blockquote p { margin: 0; }
.nx-article pre { background: #0b1220; color: #e6eaf2; padding: 18px 20px; border-radius: 12px; overflow: auto; font-size: 14px; }
.nx-article hr { border: 0; border-top: 1px solid var(--nx-line); margin: 36px 0; }
.nx-article .page-links { margin-top: 24px; }

/* table of contents */
.nx-toc { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 18px 18px 14px; }
.nx-toc-title, .nx-side-title { font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: var(--nx-brand); margin: 0 0 10px; }
.nx-toc-list { list-style: none; margin: 0; padding: 0; counter-reset: toc; max-height: calc(100vh - var(--nx-header-space) - 260px); overflow: auto; }
.nx-toc-list li { margin: 0; counter-increment: toc; }
.nx-toc-list a { display: block; padding: 7px 10px 7px 12px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--nx-body); text-decoration: none !important; border-radius: 0 8px 8px 0; transition: .15s; }
.nx-toc-list a:hover { color: var(--nx-brand); background: var(--nx-alt); }
.nx-toc-list a.is-active { color: var(--nx-brand); border-left-color: var(--nx-brand); background: var(--nx-soft); font-weight: 600; }
.nx-toc-mobile { display: none; background: var(--nx-alt); border: 1px solid var(--nx-line); border-radius: 12px; margin: 0 0 28px; }
.nx-toc-mobile summary { cursor: pointer; padding: 14px 18px; font-weight: 700; color: var(--nx-ink); list-style: none; position: relative; }
.nx-toc-mobile summary::-webkit-details-marker { display: none; }
.nx-toc-mobile summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 22px; color: var(--nx-brand); }
.nx-toc-mobile[open] summary::after { content: "−"; }
.nx-toc-mobile .nx-toc { border: 0; border-top: 1px solid var(--nx-line); border-radius: 0; background: transparent; padding-top: 10px; }
.nx-toc-mobile .nx-toc-title { display: none; }
.nx-toc-mobile .nx-toc-list { max-height: none; }

/* sidebar boxes */
.nx-side-box { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 18px; }
.nx-side-box p { font-size: 14.5px; color: var(--nx-muted); margin: 0 0 14px; line-height: 1.55; }
.nx-side-ips { display: grid; gap: 6px; }
.nx-side-ip { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--nx-line); text-decoration: none !important; transition: .15s; }
.nx-side-ip:hover { border-color: #bcc9ee; background: var(--nx-alt); }
.nx-side-ip code { background: transparent; padding: 0; color: var(--nx-ink); font-weight: 700; font-size: 13.5px; }
.nx-side-ip span { font-size: 12px; color: var(--nx-muted); text-align: right; }
.nx-side-more { display: inline-block; margin-top: 12px; font-size: 13.5px; font-weight: 600; text-decoration: none !important; }
.nx-side-cta { background: linear-gradient(160deg, #f6f8ff, #fff); }
.nx-side-cta .nx-btn { width: 100%; text-align: center; }

/* share */
.nx-share { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 40px 0 0; padding: 20px 0; border-top: 1px solid var(--nx-line); border-bottom: 1px solid var(--nx-line); }
.nx-share-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nx-muted); }
.nx-share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nx-share-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--nx-line); background: #fff; color: var(--nx-body); font: 600 13.5px/1 var(--nx-font); text-decoration: none !important; cursor: pointer; transition: .15s; }
.nx-share-btn:hover { border-color: var(--nx-brand); color: var(--nx-brand); }
.nx-share-btn.is-done { border-color: #0a7d4b; color: #0a7d4b; }
.nx-share-btn:not(.nx-copy) { width: 38px; padding: 0; justify-content: center; }

/* tags, about, nav */
.nx-tags { margin-top: 28px; font-size: 14px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nx-tags-label { color: var(--nx-muted); font-weight: 600; }
.nx-tags a { padding: 4px 10px; border-radius: 999px; background: var(--nx-alt); border: 1px solid var(--nx-line); color: var(--nx-body); text-decoration: none !important; }
.nx-about-guide { display: flex; gap: 18px; align-items: flex-start; margin-top: 28px; padding: 22px 24px; background: var(--nx-alt); border: 1px solid var(--nx-line); border-radius: var(--nx-r); }
.nx-about-mark { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #2540d6, #5b7cff); color: #fff; font-weight: 800; font-size: 15px; }
.nx-about-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--nx-brand); margin: 2px 0 6px; }
.nx-about-guide p { margin: 0; font-size: 15px; line-height: 1.6; }
.nx-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.nx-postnav-item { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--nx-line); border-radius: var(--nx-r); background: #fff; text-decoration: none !important; transition: .18s; }
.nx-postnav-item:hover { border-color: #bcc9ee; box-shadow: var(--nx-sh); transform: translateY(-2px); }
.nx-postnav-next { text-align: right; }
.nx-postnav-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--nx-muted); }
.nx-postnav-title { font-weight: 600; color: var(--nx-ink); line-height: 1.4; font-size: 15px; }

.nx-related { background: var(--nx-alt); border-top: 1px solid var(--nx-line); padding: 64px 0 72px; }
.nx-related h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 26px; }
.nx-comments { padding: 0 24px 40px; max-width: 830px; }
.nx-comments .comments-title, .nx-comments .comment-reply-title { font-size: 22px; margin: 0 0 14px; }
.nx-comments .comment-form input[type="text"], .nx-comments .comment-form input[type="email"], .nx-comments .comment-form input[type="url"], .nx-comments .comment-form textarea { border: 1px solid var(--nx-line); border-radius: 10px; padding: 12px 14px; font: 15px/1.4 var(--nx-font); width: 100%; background: #fff; }
.nx-comments .comment-form input:focus, .nx-comments .comment-form textarea:focus { border-color: var(--nx-brand); outline: 0; box-shadow: 0 0 0 4px rgba(59, 91, 253, .15); }
.nx-comments .comment-form .submit { background: var(--nx-brand); color: #fff; border: 0; border-radius: 10px; padding: 12px 22px; font-weight: 600; cursor: pointer; }
.nx-comments .comment-form .submit:hover { background: var(--nx-brand-dk); }
.nx-comments .comment-notes, .nx-comments .comment-form label { font-size: 14px; color: var(--nx-muted); }
.nx-comments .ast-comment-list { list-style: none; padding: 0; }
.nx-comments .ast-comment { background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-r); padding: 20px; margin-bottom: 14px; }
.nx-cta-tpl { margin: 0; }

/* =====================================================================
   10. Search + 404
   ===================================================================== */
.nx-search { display: flex; gap: 10px; max-width: 560px; margin: 24px auto 0; }
.nx-theme .nx-search input[type="search"] { flex: 1; min-width: 0; height: 50px !important; padding: 0 18px !important; border: 1px solid var(--nx-line) !important; border-radius: 12px !important; font: 16px/1.2 var(--nx-font) !important; color: var(--nx-ink); background: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .04); -webkit-appearance: none; appearance: none; }
.nx-theme .nx-search input[type="search"]:focus { border-color: var(--nx-brand) !important; outline: 0; box-shadow: 0 0 0 4px rgba(59, 91, 253, .15); }
.nx-search .nx-btn { padding-top: 0; padding-bottom: 0; height: 50px; display: inline-flex; align-items: center; }
.nx-404-body { border-top: 0; }
.nx-404-body h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 20px; }

/* =====================================================================
   11. Responsive
   ===================================================================== */
@media (max-width: 1100px) {
	.nx-post-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 36px; }
}
@media (max-width: 1024px) {
	.nx-quick-grid, .nx-features, .nx-os-grid, .nx-check, .nx-stats, .nx-countries { grid-template-columns: repeat(2, 1fr); }
	.nx-ipgrid { grid-template-columns: repeat(3, 1fr); }
	.nx-grid, .nx-latest .wp-block-post-template { grid-template-columns: repeat(2, 1fr); }
	.nx-foot-grid, .nx-foot-grid.nx-foot-5 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 921px) {
	.nx-post-layout { grid-template-columns: 1fr; gap: 0; padding-top: 30px; }
	.nx-post-side { display: none; }
	.nx-toc-mobile { display: block; }
	.nx-post-main { max-width: none; }
}
@media (max-width: 768px) {
	body { font-size: 16px; }
	.nx-sec { padding: 54px 0; }
	.nx-hero { padding: calc(var(--nx-header-space) + 36px) 0 52px; }
	.nx-page-hero, .nx-archive-hero { padding-top: calc(var(--nx-header-space) + 26px); }
	.nx-post-hero { padding-top: calc(var(--nx-header-space) + 16px); }
	.nx-quick-grid, .nx-features, .nx-os-grid, .nx-check, .nx-stats, .nx-countries { grid-template-columns: 1fr; }
	.nx-grid, .nx-latest .wp-block-post-template { grid-template-columns: 1fr; }
	.nx-card-featured { flex-direction: column; }
	.nx-card-featured .nx-card-media { flex: none; }
	.nx-card-featured .nx-cover { min-height: 0; aspect-ratio: 16 / 9; }
	.nx-card-featured .nx-card-body { padding: 22px; }
	.nx-ipgrid { grid-template-columns: repeat(2, 1fr); }
	.nx-steps li { padding: 20px; }
	.nx-step-n { position: static; margin-bottom: 12px; }
	.nx-btn { width: 100%; text-align: center; }
	.nx-btn-sm, .nx-share-btn { width: auto; }
	.nx-answer, .nx-callout { padding: 20px; }
	.nx-foot { padding: 44px 24px 0; }
	.nx-foot-grid, .nx-foot-grid.nx-foot-5 { grid-template-columns: 1fr; gap: 28px; }
	.nx-foot-base { flex-direction: column; }
	.nx-foot-base span:last-child { text-align: left; }
	.nx-h1 { letter-spacing: -.025em; }
	.nx-table th, .nx-table td { padding: 11px 12px; font-size: 14px; }
	.nx-postnav { grid-template-columns: 1fr; }
	.nx-postnav-next { text-align: left; }
	.nx-search { flex-direction: column; }
	.nx-theme .nx-search input[type="search"] { flex: none; width: 100%; }
	.nx-search .nx-btn { width: 100%; justify-content: center; }
	.nx-archive-body { padding: 26px 20px 60px; }
	.nx-single .entry-content.nx-article { font-size: 16.5px; }
	.nx-article h2 { font-size: 23px; margin-top: 36px; }
	.nx-about-guide { flex-direction: column; }
}
@media (max-width: 420px) {
	.nx-ipgrid { grid-template-columns: 1fr; }
	.nx-theme #masthead { padding: 0 8px; }
}
