/**
 * Ocean Nexus Child — Gaming Guide Styles
 * Inspired by modern gaming content sites; original palette & components.
 */

:root {
	--nx-primary: #0ea5e9;
	--nx-primary-dark: #0284c7;
	--nx-primary-deep: #0369a1;
	--nx-accent: #8b5cf6;
	--nx-header-bg: #0c1222;
	--nx-header-border: rgba(99, 102, 241, 0.25);
	--nx-body-bg: #f8fafc;
	--nx-surface: #ffffff;
	--nx-text: #1e293b;
	--nx-text-muted: #64748b;
	--nx-border: #e2e8f0;
	--nx-code-bg: #0f172a;
	--nx-code-text: #e2e8f0;
	--nx-table-head: #1e293b;
	--nx-success: #16a34a;
	--nx-success-bg: #f0fdf4;
	--nx-success-border: #bbf7d0;
	--nx-warning-bg: #fff7ed;
	--nx-warning-border: #fed7aa;
	--nx-danger-bg: #fef2f2;
	--nx-danger-border: #fecaca;
	--nx-info-bg: #eff6ff;
	--nx-info-border: #bfdbfe;
	--nx-radius: 10px;
	--nx-radius-sm: 6px;
	--nx-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
	--nx-shadow-hover: 0 8px 32px rgba(59, 130, 246, 0.12);
	--nx-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--nx-mono: "JetBrains Mono", "Fira Code", "Courier New", Courier, monospace;
	--nx-content-width: 1200px;
}

/* ── Base & Layout ─────────────────────────────────────────── */

.ocean-nexus-child {
	background: var(--nx-body-bg);
}

.ocean-nexus-child #main,
.ocean-nexus-child .content-area,
.ocean-nexus-child .entry-content {
	font-family: var(--nx-font);
	font-size: 17px;
	line-height: 1.75;
	color: var(--nx-text);
}

.ocean-nexus-child .container,
.ocean-nexus-child #content-wrap {
	max-width: var(--nx-content-width);
}

.ocean-nexus-child #content-wrap {
	background: var(--nx-surface);
	border-radius: var(--nx-radius);
	box-shadow: var(--nx-shadow);
	margin-top: 24px;
	margin-bottom: 40px;
	padding: 32px 28px;
}

@media (max-width: 768px) {
	.ocean-nexus-child #content-wrap {
		padding: 20px 16px;
		margin-top: 12px;
		border-radius: 0;
	}
}

/* ── Header ─────────────────────────────────────────────────── */

.ocean-nexus-child #site-header,
.ocean-nexus-child .header-top,
.ocean-nexus-child #site-header-inner,
.ocean-nexus-child .oceanwp-mobile-menu-icon a,
.ocean-nexus-child #site-navigation-wrap {
	background: var(--nx-header-bg) !important;
	border-bottom: 1px solid var(--nx-header-border);
}

.ocean-nexus-child #site-navigation-wrap .dropdown-menu > li > a,
.ocean-nexus-child #site-navigation-wrap .dropdown-menu > li > span.opl-link,
.ocean-nexus-child .oceanwp-mobile-menu-icon a,
.ocean-nexus-child #site-navigation-wrap .menu-bar {
	color: #f1f5f9 !important;
	font-weight: 500;
	font-size: 14px;
	letter-spacing: 0.01em;
	transition: color 0.2s ease;
}

.ocean-nexus-child #site-navigation-wrap .dropdown-menu > li > a:hover,
.ocean-nexus-child #site-navigation-wrap .dropdown-menu > li.current-menu-item > a {
	color: var(--nx-primary) !important;
}

.ocean-nexus-child #site-navigation-wrap .dropdown-menu ul.sub-menu {
	background: #14141f !important;
	border: 1px solid var(--nx-header-border);
	border-radius: var(--nx-radius-sm);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.ocean-nexus-child #site-navigation-wrap .dropdown-menu ul.sub-menu li a {
	color: #cbd5e1 !important;
}

.ocean-nexus-child #site-navigation-wrap .dropdown-menu ul.sub-menu li a:hover {
	background: rgba(59, 130, 246, 0.12) !important;
	color: #fff !important;
}

.ocean-nexus-child #site-logo #site-logo-inner a img,
.ocean-nexus-child #site-logo #site-logo-inner a {
	max-height: 52px;
}

.ocean-nexus-child #site-logo a.site-logo-text,
.ocean-nexus-child #site-logo a.site-logo-text:hover {
	color: #f8fafc !important;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.ocean-nexus-child #site-header #logo-wrap,
.ocean-nexus-child #site-header #site-logo {
	display: flex;
	align-items: center;
}

/* ── Typography ─────────────────────────────────────────────── */

.ocean-nexus-child .entry-content h1,
.ocean-nexus-child .page-header .page-header-title {
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 800;
	color: #0f172a;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.ocean-nexus-child .entry-content h2 {
	font-size: 1.5rem;
	font-weight: 700;
	color: #0f172a;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--nx-border);
}

.ocean-nexus-child .entry-content h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--nx-table-head);
}

.ocean-nexus-child .entry-content a {
	color: var(--nx-primary-dark);
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.ocean-nexus-child .entry-content a:hover {
	color: var(--nx-primary-deep);
	border-bottom-color: var(--nx-primary);
}

/* ── Buttons ─────────────────────────────────────────────────── */

.ocean-nexus-child .button,
.ocean-nexus-child button,
.ocean-nexus-child input[type="submit"],
.ocean-nexus-child .wp-block-button__link {
	background: linear-gradient(135deg, var(--nx-primary) 0%, var(--nx-primary-deep) 100%) !important;
	color: #fff !important;
	border: none !important;
	border-radius: var(--nx-radius-sm) !important;
	font-weight: 600 !important;
	padding: 12px 24px !important;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
	transition: transform 0.15s ease, box-shadow 0.2s ease !important;
}

.ocean-nexus-child .button:hover,
.ocean-nexus-child button:hover,
.ocean-nexus-child input[type="submit"]:hover,
.ocean-nexus-child .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45) !important;
}

/* ── Blog / Archive Cards ───────────────────────────────────── */

.ocean-nexus-child .blog-entry.grid-entry,
.ocean-nexus-child .blog-entry {
	background: var(--nx-surface);
	border: 1px solid var(--nx-border);
	border-radius: var(--nx-radius);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ocean-nexus-child .blog-entry.grid-entry:hover {
	border-color: #93c5fd;
	box-shadow: var(--nx-shadow-hover);
}

.ocean-nexus-child .blog-entry.grid-entry .blog-entry-header {
	padding: 20px 22px 8px;
}

.ocean-nexus-child .blog-entry.grid-entry .blog-entry-summary {
	padding: 0 22px 22px;
	color: var(--nx-text-muted);
	font-size: 15px;
}

/* ── Tables ──────────────────────────────────────────────────── */

.ocean-nexus-child .entry-content table,
.ocean-nexus-child .nx-table-wrap table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	min-width: 560px;
}

.ocean-nexus-child .nx-table-wrap {
	overflow-x: auto;
	margin: 24px 0;
	-webkit-overflow-scrolling: touch;
	border-radius: var(--nx-radius-sm);
	border: 1px solid var(--nx-border);
}

.ocean-nexus-child .entry-content table th,
.ocean-nexus-child .nx-table-wrap th {
	background: var(--nx-table-head);
	color: #fff;
	padding: 14px 16px;
	text-align: left;
	font-weight: 600;
}

.ocean-nexus-child .entry-content table td,
.ocean-nexus-child .nx-table-wrap td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--nx-border);
	vertical-align: top;
}

.ocean-nexus-child .entry-content table tr:nth-child(even) td,
.ocean-nexus-child .nx-table-wrap tr:nth-child(even) td {
	background: #f8fafc;
}

.ocean-nexus-child .entry-content table tr:hover td,
.ocean-nexus-child .nx-table-wrap tr:hover td {
	background: var(--nx-info-bg);
}

/* ── Footer ─────────────────────────────────────────────────── */

.ocean-nexus-child #footer {
	background: #0f172a;
	color: #94a3b8;
}

.ocean-nexus-child #footer a {
	color: #cbd5e1;
}

.ocean-nexus-child #footer a:hover {
	color: var(--nx-primary);
}

.ocean-nexus-child #footer-bottom {
	background: #0a0a0f;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ── Component: Wrap ─────────────────────────────────────────── */

.nx-wrap {
	max-width: 100%;
}

/* ── Component: Hero Banner ──────────────────────────────────── */

.nx-hero {
	background: linear-gradient(135deg, #0c1222 0%, #1e293b 55%, #0f172a 100%);
	border-radius: var(--nx-radius);
	padding: 36px 32px;
	margin: 0 0 28px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.nx-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at 30% 0%, rgba(14, 165, 233, 0.18) 0%, transparent 55%),
		radial-gradient(ellipse at 70% 100%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
	pointer-events: none;
}

.nx-hero-title {
	font-size: clamp(1.6rem, 4vw, 2.1rem) !important;
	font-weight: 800 !important;
	color: #f8fafc !important;
	margin: 0 0 10px !important;
	line-height: 1.3 !important;
	border: none !important;
	padding: 0 !important;
	position: relative;
	letter-spacing: -0.02em;
}

.nx-hero-sub {
	font-size: 14px;
	color: #94a3b8;
	margin: 0;
	position: relative;
	font-weight: 500;
}

.ocean-nexus-child .page-header {
	display: none;
}

/* ── Footer link bar ─────────────────────────────────────────── */

.nx-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
	padding: 20px 0 8px;
	margin-top: 40px;
	border-top: 1px solid var(--nx-border);
	font-size: 14px;
}

.nx-footer-links a {
	color: var(--nx-text-muted);
	font-weight: 500;
}

.nx-footer-links a:hover {
	color: var(--nx-primary-dark);
}

.nx-copyright {
	text-align: center;
	font-size: 13px;
	color: var(--nx-text-muted);
	margin: 16px 0 0;
}

/* ── Component: CTA Button ─────────────────────────────────── */

.nx-cta-wrap {
	text-align: center;
	margin: 0 0 28px;
}

.nx-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, var(--nx-primary) 0%, var(--nx-primary-deep) 100%);
	color: #fff !important;
	font-size: 17px;
	font-weight: 700;
	padding: 16px 36px;
	border: none;
	border-radius: var(--nx-radius);
	cursor: pointer;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
	transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
	width: 100%;
	max-width: 420px;
	line-height: 1.3;
	border-bottom: none !important;
}

.nx-cta-btn:hover {
	background: linear-gradient(135deg, var(--nx-primary-dark) 0%, #1e40af 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
	color: #fff !important;
}

/* ── Component: Freshness Badge ──────────────────────────────── */

.nx-freshness {
	font-size: 13px;
	color: var(--nx-text-muted);
	background: #f1f5f9;
	border: 1px solid var(--nx-border);
	border-radius: var(--nx-radius-sm);
	padding: 6px 14px;
	display: inline-block;
	margin-bottom: 20px;
	font-weight: 500;
}

/* ── Component: Quick Answer ─────────────────────────────────── */

.nx-quick-answer {
	background: var(--nx-success-bg);
	border: 1px solid var(--nx-success-border);
	border-radius: var(--nx-radius);
	padding: 18px 22px;
	margin: 0 0 28px;
}

.nx-quick-answer h2,
.nx-quick-answer .nx-box-title {
	font-size: 16px;
	color: #15803d;
	margin: 0 0 8px;
	font-weight: 700;
	border: none;
	padding: 0;
}

.nx-quick-answer p {
	font-size: 16px;
	color: #14532d;
	margin: 0;
	line-height: 1.7;
}

/* ── Component: Author Box ───────────────────────────────────── */

.nx-author-box {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #f8fafc;
	border: 1px solid var(--nx-border);
	border-radius: var(--nx-radius);
	padding: 18px 20px;
	margin: 28px 0;
}

.nx-author-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--nx-primary), var(--nx-accent));
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	flex-shrink: 0;
}

.nx-author-info h4 {
	margin: 0 0 4px;
	font-size: 16px;
	color: #0f172a;
}

.nx-author-info p {
	margin: 0;
	font-size: 14px;
	color: var(--nx-text-muted);
	line-height: 1.5;
}

/* ── Component: Table of Contents ────────────────────────────── */

.nx-toc {
	background: #f8fafc;
	border: 1px solid var(--nx-border);
	border-radius: var(--nx-radius);
	padding: 20px 24px;
	margin: 28px 0;
}

.nx-toc h2,
.nx-toc .nx-box-title {
	font-size: 18px;
	margin: 0 0 12px;
	color: #0f172a;
	border: none;
	padding: 0;
}

.nx-toc ol {
	margin: 0;
	padding-left: 20px;
}

.nx-toc li {
	margin-bottom: 6px;
}

.nx-toc a {
	color: var(--nx-primary-dark);
	font-size: 15px;
	font-weight: 500;
}

/* ── Component: Info / Intro / Pro Tip / Disclaimer ──────────── */

.nx-intro-box {
	background: var(--nx-info-bg);
	border-left: 4px solid var(--nx-primary);
	padding: 16px 20px;
	border-radius: 0 var(--nx-radius-sm) var(--nx-radius-sm) 0;
	margin: 24px 0;
	font-size: 16px;
}

.nx-pro-tip {
	background: var(--nx-info-bg);
	border-left: 4px solid var(--nx-primary);
	padding: 14px 18px;
	border-radius: 0 var(--nx-radius-sm) var(--nx-radius-sm) 0;
	margin: 20px 0;
	font-size: 16px;
	color: #1e3a8a;
}

.nx-disclaimer {
	background: var(--nx-danger-bg);
	border: 1px solid var(--nx-danger-border);
	border-radius: var(--nx-radius);
	padding: 16px 20px;
	margin: 28px 0;
	font-size: 15px;
	color: #7f1d1d;
	line-height: 1.6;
}

.nx-risk-box {
	background: var(--nx-warning-bg);
	border: 1px solid var(--nx-warning-border);
	border-radius: var(--nx-radius);
	padding: 20px 24px;
	margin: 24px 0;
}

.nx-risk-box h3 {
	color: #c2410c;
	margin: 0 0 12px;
	font-size: 17px;
}

.nx-safe-box {
	background: var(--nx-success-bg);
	border: 1px solid var(--nx-success-border);
	border-radius: var(--nx-radius);
	padding: 20px 24px;
	margin: 24px 0;
}

.nx-safe-box h3 {
	color: #15803d;
	margin: 0 0 12px;
	font-size: 17px;
}

/* ── Component: Badges ───────────────────────────────────────── */

.nx-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 100px;
	font-size: 12px;
	font-weight: 600;
	margin-left: 4px;
}

.nx-badge-green {
	background: #dcfce7;
	color: #166534;
}

.nx-badge-red {
	background: #fee2e2;
	color: #991b1b;
}

.nx-badge-blue {
	background: #dbeafe;
	color: #1e40af;
}

.nx-badge-amber {
	background: #fef3c7;
	color: #92400e;
}

/* ── Component: Steps ────────────────────────────────────────── */

.nx-steps {
	margin: 24px 0;
}

.nx-step {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 18px;
	padding: 16px;
	border: 1px solid var(--nx-border);
	border-radius: var(--nx-radius);
	background: var(--nx-surface);
}

.nx-step-num {
	background: linear-gradient(135deg, var(--nx-primary), var(--nx-accent));
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.nx-step-body h3 {
	margin: 0 0 6px;
	font-size: 17px;
	color: #0f172a;
}

.nx-step-body p {
	margin: 0;
	font-size: 15px;
	color: var(--nx-text-muted);
	line-height: 1.7;
}

/* ── Component: Feature Grid ─────────────────────────────────── */

.nx-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 16px;
	margin: 24px 0;
}

.nx-feature-card {
	background: var(--nx-surface);
	border: 1px solid var(--nx-border);
	border-radius: var(--nx-radius);
	padding: 20px 22px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.nx-feature-card:hover {
	border-color: #93c5fd;
	box-shadow: var(--nx-shadow-hover);
}

.nx-feature-card .nx-icon {
	font-size: 28px;
	margin-bottom: 8px;
	display: block;
}

.nx-feature-card h3 {
	font-size: 16px;
	color: var(--nx-table-head);
	margin: 0 0 8px;
}

.nx-feature-card p {
	font-size: 15px;
	color: var(--nx-text-muted);
	margin: 0;
	line-height: 1.6;
}

/* ── Component: Script / Resource Cards ──────────────────────── */

.nx-finder {
	background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
	border: 1px solid #c7d2fe;
	border-radius: 12px;
	padding: 22px 24px;
	margin-bottom: 32px;
}

.nx-finder-title {
	font-size: 16px;
	font-weight: 700;
	color: #3730a3;
	margin: 0 0 16px;
}

.nx-finder-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 10px;
}

.nx-finder-card {
	background: var(--nx-surface);
	border: 1px solid #e0e7ff;
	border-radius: var(--nx-radius-sm);
	padding: 12px 14px;
	cursor: default;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.nx-finder-card:hover {
	border-color: var(--nx-accent);
	box-shadow: 0 0 0 3px #eef2ff;
}

.nx-finder-card .nx-fc-goal {
	font-size: 12px;
	font-weight: 600;
	color: var(--nx-accent);
	margin: 0 0 3px;
}

.nx-finder-card .nx-fc-rec {
	font-size: 13px;
	color: #0f172a;
	font-weight: 600;
	margin: 0 0 2px;
}

.nx-finder-card .nx-fc-why {
	font-size: 11.5px;
	color: var(--nx-text-muted);
	margin: 0;
	line-height: 1.4;
}

.nx-script-card {
	background: var(--nx-surface);
	border: 1px solid var(--nx-border);
	border-left: 3px solid var(--nx-primary);
	border-radius: var(--nx-radius);
	padding: 20px 22px;
	margin-bottom: 20px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
	transition: border-color 0.2s, box-shadow 0.2s;
}

.nx-script-card:hover {
	border-color: #7dd3fc;
	border-left-color: var(--nx-accent);
	box-shadow: var(--nx-shadow-hover);
}

.nx-card-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 5px;
	flex-wrap: wrap;
}

.nx-script-card h3 {
	font-size: 17px;
	font-weight: 600;
	color: #0f172a;
	margin: 0;
	line-height: 1.4;
	flex: 1;
}

.nx-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	flex-wrap: wrap;
}

.nx-status {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
	white-space: nowrap;
}

.nx-status-working {
	background: var(--nx-success-bg);
	color: #15803d;
	border: 1px solid var(--nx-success-border);
}

.nx-status-patched {
	background: var(--nx-danger-bg);
	color: #dc2626;
	border: 1px solid var(--nx-danger-border);
}

.nx-status-key {
	background: #fffbeb;
	color: #b45309;
	border: 1px solid #fde68a;
}

.nx-status-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	display: inline-block;
	flex-shrink: 0;
}

.nx-status-working .nx-status-dot {
	background: var(--nx-success);
}

.nx-status-patched .nx-status-dot {
	background: #dc2626;
}

.nx-status-key .nx-status-dot {
	background: #d97706;
}

.nx-tested {
	font-size: 11px;
	color: #94a3b8;
}

.nx-script-desc {
	font-size: 14px;
	color: var(--nx-text-muted);
	margin: 6px 0 12px;
	line-height: 1.6;
}

.nx-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}

.nx-tag {
	font-size: 11px;
	padding: 3px 10px;
	border-radius: 20px;
	border: 1px solid var(--nx-border);
	color: var(--nx-text-muted);
	background: #f8fafc;
}

/* ── Component: Code Blocks ──────────────────────────────────── */

.nx-code,
.nx-code-block {
	background: var(--nx-code-bg);
	border-radius: var(--nx-radius-sm);
	padding: 14px 16px;
	font-family: var(--nx-mono);
	font-size: 13px;
	color: var(--nx-code-text);
	line-height: 1.7;
	word-break: break-all;
	margin-bottom: 10px;
	overflow-x: auto;
}

.nx-code-block {
	margin: 20px 0;
	padding: 20px;
}

.nx-code-block code {
	display: block;
	white-space: pre-wrap;
}

.nx-copy-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: var(--nx-radius-sm);
	border: 1px solid var(--nx-border);
	background: #f8fafc;
	color: var(--nx-text);
	cursor: pointer;
	transition: all 0.15s;
	user-select: none;
	font-family: var(--nx-font);
}

.nx-copy-btn:hover {
	background: #f1f5f9;
	border-color: #94a3b8;
}

.nx-copy-btn.copied {
	background: var(--nx-success-bg);
	border-color: #86efac;
	color: var(--nx-success);
}

/* ── Component: FAQ ──────────────────────────────────────────── */

.nx-faq {
	margin: 24px 0;
}

.nx-faq-item {
	border: 1px solid var(--nx-border);
	border-radius: var(--nx-radius-sm);
	margin-bottom: 10px;
	overflow: hidden;
}

.nx-faq-q {
	background: #f8fafc;
	padding: 14px 18px;
	font-weight: 600;
	font-size: 16px;
	color: #0f172a;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	transition: background 0.15s;
}

.nx-faq-q:hover {
	background: #f1f5f9;
}

.nx-faq-q::after {
	content: "+";
	font-size: 20px;
	font-weight: 400;
	color: var(--nx-primary);
	flex-shrink: 0;
	transition: transform 0.2s;
}

.nx-faq-item.is-open .nx-faq-q::after {
	content: "−";
}

.nx-faq-a {
	padding: 0 18px;
	font-size: 15px;
	color: var(--nx-text-muted);
	line-height: 1.7;
	border-top: 0 solid var(--nx-border);
	background: var(--nx-surface);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease, border-top-width 0.3s;
}

.nx-faq-item.is-open .nx-faq-a {
	padding: 14px 18px 16px;
	border-top-width: 1px;
	max-height: 600px;
}

/* ── Component: Error List ───────────────────────────────────── */

.nx-error-list {
	margin: 24px 0;
}

.nx-error-item {
	border: 1px solid var(--nx-border);
	border-radius: var(--nx-radius-sm);
	margin-bottom: 14px;
	overflow: hidden;
}

.nx-error-head {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 18px;
	background: #f8fafc;
	border-bottom: 1px solid var(--nx-border);
}

.nx-error-icon {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--nx-danger-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
}

.nx-error-title {
	font-size: 17px;
	font-weight: 600;
	color: #0f172a;
	margin: 0;
}

.nx-error-body {
	padding: 14px 18px;
	background: var(--nx-surface);
}

.nx-error-cause {
	font-size: 14px;
	color: var(--nx-text-muted);
	margin: 0 0 10px;
}

.nx-error-fix {
	background: var(--nx-success-bg);
	border-left: 3px solid var(--nx-success);
	padding: 10px 14px;
	border-radius: 0 var(--nx-radius-sm) var(--nx-radius-sm) 0;
	font-size: 15px;
	color: #14532d;
	margin: 0;
	line-height: 1.6;
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 768px) {
	.nx-features-grid {
		grid-template-columns: 1fr;
	}

	.nx-finder-grid {
		grid-template-columns: 1fr 1fr;
	}

	.nx-cta-btn {
		font-size: 15px;
		padding: 14px 20px;
	}

	.nx-step {
		flex-direction: row;
	}
}

@media (max-width: 400px) {
	.nx-finder-grid {
		grid-template-columns: 1fr;
	}

	.nx-step {
		flex-direction: column;
		gap: 10px;
	}

	.nx-author-box {
		flex-direction: column;
	}
}
