/* ============================================================
   LUCID — Light & Flat Modern Blog Theme
   ============================================================ */

:root {
  --nx-primary: #2563EB;
  --nx-primary-dark: #1D4ED8;
  --nx-secondary: #7C3AED;
  --nx-success: #10B981;
  --nx-heading: #0F172A;
  --nx-gradient: linear-gradient(135deg, #2563EB, #7C3AED);
  --nx-gradient-mesh: linear-gradient(135deg, #EEF2FF 0%, #F8FAFC 40%, #F0F9FF 100%);
  --nx-bg: #F8FAFC;
  --nx-surface: #FFFFFF;
  --nx-text: #334155;
  --nx-text-secondary: #64748B;
  --nx-muted: #94A3B8;
  --nx-line: #E2E8F0;
  --nx-radius: 12px;
  --nx-radius-sm: 8px;
  --nx-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --nx-shadow-lg: 0 4px 20px rgba(0,0,0,.08);
  --nx-glass: rgba(255,255,255,.85);
  --nx-glass-border: #E2E8F0;
  --nx-glow-cyan: none;
  --nx-glow-purple: none;
  --nx-font: 'DM Sans', system-ui, sans-serif;
  --nx-font-display: 'Sora', 'DM Sans', sans-serif;
  --nx-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --nx-container: 1200px;
  --nx-header-h: 64px;
  --nx-transition: .25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--nx-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--nx-text);
  background: var(--nx-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--nx-primary); text-decoration: none; transition: color var(--nx-transition); }
a:hover { color: var(--nx-primary-dark); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }

/* --- Layout --- */
.nx-container { width: 100%; max-width: var(--nx-container); margin: 0 auto; padding: 0 24px; }
.nx-section { padding: 80px 0; }
.nx-section--tight { padding: 48px 0; }
.nx-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.display-none { display: none; }

/* --- Typography --- */
.nx-title-xxl {
  font-family: var(--nx-font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.nx-title-xl {
  font-family: var(--nx-font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
}
.nx-title-lg {
  font-family: var(--nx-font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
}
.nx-title-md {
  font-family: var(--nx-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
}
.nx-title-sm {
  font-family: var(--nx-font-display);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.4;
}

.nx-gradient-text {
  background: none;
  color: var(--nx-heading);
}

.nx-kicker {
  display: inline-block;
  padding: 4px 14px;
  font-family: var(--nx-font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  border-radius: 100px;
  border: 1px solid var(--nx-line);
  color: var(--nx-primary);
  background: #EEF2FF;
  margin-bottom: 12px;
}

.nx-meta {
  font-family: var(--nx-font-mono);
  font-size: 12px;
  color: var(--nx-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.nx-meta__dot::before { content: '·'; margin: 0 2px; }

/* --- Buttons --- */
.nx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--nx-radius-sm);
  background: var(--nx-primary);
  color: #fff;
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform var(--nx-transition), background var(--nx-transition);
}
.nx-btn:hover {
  transform: translateY(-2px);
  background: var(--nx-primary-dark);
  color: #fff;
}
.nx-btn--ghost {
  background: transparent;
  color: var(--nx-primary);
  border: 1.5px solid var(--nx-line);
}
.nx-btn--ghost:hover {
  border-color: var(--nx-primary);
  background: #EEF2FF;
  transform: none;
}

/* --- Badge --- */
.nx-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  font-family: var(--nx-font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 4px;
  margin-bottom: 8px;
}
.nx-badge--outline {
  border: 1px solid var(--nx-line);
  color: var(--nx-primary);
  background: #EEF2FF;
}
.nx-badge--filled {
  background: var(--nx-primary);
  color: #fff;
}

/* --- Progress Circle (bottom-right) --- */
.nx-progress-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--nx-transition), visibility var(--nx-transition);
}
.nx-progress-wrap.is-visible { opacity: 1; visibility: visible; }
.nx-progress-wrap svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.nx-progress-wrap circle { fill: none; stroke-width: 3; }
.nx-progress-wrap .track { stroke: var(--nx-line); }
.nx-progress-wrap .progress { stroke: url(#nx-grad); stroke-linecap: round; transition: stroke-dashoffset 60ms linear; }
.nx-progress-wrap .arrow {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nx-primary);
  font-size: 16px;
}

/* --- Header (Glassmorphism) --- */
.nx-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--nx-line);
  transition: background var(--nx-transition), box-shadow var(--nx-transition);
}
.nx-header__glow {
  display: none;
}
.nx-header--scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.nx-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nx-header-h);
}
.nx-header__logo { display: flex; align-items: center; gap: 10px; }
.nx-header__logo img { height: 32px; width: auto; }
.nx-header__logo-text {
  font-family: var(--nx-font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--nx-heading);
  letter-spacing: -.02em;
}
.nx-header__nav { display: flex; align-items: center; gap: 4px; }
.nx-header__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--nx-text-secondary);
  position: relative;
  padding: 6px 14px;
  border-radius: 6px;
  transition: color var(--nx-transition), background var(--nx-transition);
}
.nx-header__link:hover {
  color: var(--nx-heading);
  background: rgba(0,0,0,.03);
}
.nx-header__link--active {
  color: var(--nx-primary);
  background: #EEF2FF;
}
.nx-header__link--active::before {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--nx-primary);
}
.nx-header__actions { display: flex; align-items: center; gap: 12px; }
.nx-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--nx-primary);
  border-radius: 8px;
  transition: all var(--nx-transition);
}
.nx-header__cta:hover {
  background: transparent;
  color: var(--nx-primary);
  outline: 2px solid var(--nx-primary);
  outline-offset: -2px;
}
.nx-header__cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: nx-pulse 2s ease-in-out infinite;
}
@keyframes nx-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

.nx-nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nx-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--nx-text);
  border-radius: 2px;
  transition: transform var(--nx-transition), opacity var(--nx-transition);
}
.nx-nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nx-nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nx-nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero (Animated Gradient Mesh + Blobs) --- */
.nx-hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background: var(--nx-bg);
}
.nx-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(124,58,237,.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(37,99,235,.03) 0%, transparent 50%);
}
.nx-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0,0,0,.03) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.nx-hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .03;
  animation: nxFloat 10s ease-in-out infinite alternate;
}
.nx-hero__blob--1 {
  width: 600px;
  height: 600px;
  top: -25%;
  right: -10%;
  background: rgba(124,58,237,.5);
}
.nx-hero__blob--2 {
  width: 400px;
  height: 400px;
  bottom: -20%;
  left: -8%;
  background: rgba(0,229,255,.35);
  animation-delay: 3s;
  animation-direction: alternate-reverse;
}
.nx-hero__blob--3 {
  width: 300px;
  height: 300px;
  top: 30%;
  left: 40%;
  background: rgba(16,185,129,.2);
  animation-delay: 5s;
}

@keyframes nxFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, -40px) scale(1.2); }
}

.nx-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.nx-hero__glass {
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  padding: 48px;
  box-shadow: var(--nx-shadow);
}
.nx-hero__title {
  color: var(--nx-heading);
  margin-bottom: 16px;
}
.nx-hero__desc {
  font-size: 17px;
  color: var(--nx-text-secondary);
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.nx-hero__desc p { margin: 0; }
/* hero title color handled in base */

/* Hero: Featured post card */
.nx-hero__featured {
  display: flex;
  flex-direction: column;
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--nx-transition), box-shadow var(--nx-transition), border-color var(--nx-transition);
}
.nx-hero__featured:hover {
  transform: translateY(-6px);
  box-shadow: var(--nx-shadow-lg);
  border-color: var(--nx-line);
}
.nx-hero__featured-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.nx-hero__featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.nx-hero__featured:hover .nx-hero__featured-img img { transform: scale(1.05); }
.nx-hero__featured-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nx-hero__featured-title {
  font-family: var(--nx-font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--nx-text);
  line-height: 1.35;
}
.nx-hero__featured-desc {
  font-size: 13px;
  color: var(--nx-text-secondary);
  line-height: 1.6;
}

.nx-hero--image {
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  background-size: cover;
  background-position: center;
}
.nx-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.1) 100%);
  z-index: 1;
}
.nx-hero--image .nx-container { position: relative; z-index: 2; }
.nx-hero--image .nx-hero__title { color: #fff; }
.nx-hero--image .nx-meta,
.nx-hero--image .nx-meta a { color: rgba(255,255,255,.7); }
.nx-hero--image .nx-hero__blob { display: none; }

/* --- Feature Grid --- */
.nx-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.nx-feature {
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--nx-transition), box-shadow var(--nx-transition), border-color var(--nx-transition);
}
.nx-feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--nx-gradient);
  opacity: 0;
  transition: opacity var(--nx-transition);
}
.nx-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--nx-shadow-lg);
  border-color: var(--nx-line);
}
.nx-feature:hover::before { opacity: 1; }
.nx-feature__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #EEF2FF;
  border: 1px solid var(--nx-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--nx-primary);
}
.nx-feature__icon svg {
  width: 22px;
  height: 22px;
}
.nx-feature__title {
  font-family: var(--nx-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--nx-text);
}
.nx-feature__desc { font-size: 14px; color: var(--nx-text-secondary); line-height: 1.6; }

/* --- Grids --- */
.nx-grid { display: grid; gap: 24px; }
.nx-grid--2 { grid-template-columns: repeat(2, 1fr); }
.nx-grid--3 { grid-template-columns: repeat(3, 1fr); }
.nx-grid--sidebar { grid-template-columns: 1fr 320px; gap: 40px; }

/* --- Card (Glassmorphism + Glow) --- */
.nx-card {
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  overflow: hidden;
  transition: transform var(--nx-transition), box-shadow var(--nx-transition), border-color var(--nx-transition);
}
.nx-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--nx-shadow-lg);
  border-color: var(--nx-line);
}
.nx-card__image { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.nx-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.nx-card:hover .nx-card__image img { transform: scale(1.05); }
.nx-card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.05) 0%, transparent 50%);
  pointer-events: none;
}
.nx-card__body { padding: 20px; }
.nx-card__title {
  font-family: var(--nx-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--nx-text);
}
.nx-card__title a { color: inherit; transition: color var(--nx-transition); }
.nx-card__title a:hover { color: var(--nx-primary); }
.nx-card__excerpt {
  font-size: 14px;
  color: var(--nx-text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nx-card--featured .nx-card__title { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
.nx-card--horizontal { display: grid; grid-template-columns: 280px 1fr; }
.nx-card--horizontal .nx-card__image { aspect-ratio: auto; height: 100%; }

/* News Hero (blog page featured) */
.nx-news-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--nx-line);
  align-items: center;
}
.nx-news-hero__image {
  display: block;
  border-radius: var(--nx-radius);
  overflow: hidden;
  aspect-ratio: 16/10;
}
.nx-news-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.nx-news-hero__image:hover img { transform: scale(1.04); }
.nx-news-hero__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.nx-news-hero__title {
  font-family: var(--nx-font-display);
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--nx-text);
}
.nx-news-hero__title a { color: inherit; text-decoration: none; }
.nx-news-hero__title a:hover { color: var(--nx-primary); }
.nx-news-hero__excerpt {
  font-size: 15px;
  color: var(--nx-text-secondary);
  line-height: 1.7;
}

.nx-card--mini {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--nx-line);
  background: transparent;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-top: none;
  box-shadow: none;
  backdrop-filter: none;
}
.nx-card--mini:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--nx-line);
}
.nx-card--mini .nx-card__rank {
  font-family: var(--nx-font-mono);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--nx-primary);
  line-height: 1;
  min-width: 36px;
  opacity: .7;
}
.nx-card--mini .nx-card__title { font-size: .9rem; margin-bottom: 4px; }

/* --- Section Header --- */
.nx-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}
.nx-section-header__title {
  font-family: var(--nx-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nx-heading);
}

/* --- Dark Band --- */
.nx-band {
  background: #F1F5F9;
  border-top: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
  padding: 64px 0;
  position: relative;
}
.nx-band .nx-section-header__title { color: var(--nx-heading); }
.nx-band .nx-card { background: var(--nx-surface); border-color: var(--nx-line); }
.nx-band .nx-card:hover { border-color: var(--nx-line); box-shadow: var(--nx-shadow-lg); }

/* --- CTA Strip --- */
.nx-cta-strip {
  position: relative;
  padding: 56px 0;
  text-align: center;
  overflow: hidden;
  background: var(--nx-surface);
  border-top: 1px solid var(--nx-line);
  border-bottom: 1px solid var(--nx-line);
}
.nx-cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 30% 50%, rgba(124,58,237,.03) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 70% 50%, rgba(37,99,235,.02) 0%, transparent 60%);
  pointer-events: none;
}
.nx-cta-strip__inner { position: relative; z-index: 1; }
.nx-cta-strip__title {
  font-family: var(--nx-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--nx-text);
}
.nx-cta-strip__desc {
  color: var(--nx-text-secondary);
  max-width: 520px;
  margin: 0 auto 24px;
  font-size: 15px;
}
.nx-cta-strip .nx-btn { box-shadow: none; }

/* --- Prose --- */
.nx-prose { max-width: 720px; font-size: 17px; line-height: 1.85; color: var(--nx-text-secondary); }
.nx-prose h2 {
  font-family: var(--nx-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nx-text);
  margin: 48px 0 16px;
}
.nx-prose h3 {
  font-family: var(--nx-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--nx-text);
  margin: 36px 0 12px;
}
.nx-prose p { margin-bottom: 20px; }
.nx-prose img { border-radius: var(--nx-radius-sm); margin: 32px 0; }
.nx-prose ul, .nx-prose ol { margin: 0 0 20px 24px; }
.nx-prose ul { list-style: disc; }
.nx-prose ol { list-style: decimal; }
.nx-prose li { margin-bottom: 8px; }
.nx-prose blockquote {
  border-left: 3px solid var(--nx-primary);
  padding: 16px 24px;
  margin: 32px 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--nx-text);
  background: var(--nx-surface);
  border-radius: 0 var(--nx-radius-sm) var(--nx-radius-sm) 0;
}
.nx-prose a {
  color: var(--nx-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nx-prose pre {
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius-sm);
  padding: 20px;
  overflow-x: auto;
  font-family: var(--nx-font-mono);
  font-size: 14px;
  margin: 24px 0;
}
.nx-prose code {
  font-family: var(--nx-font-mono);
  font-size: .9em;
  background: #EEF2FF;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--nx-primary);
}
.nx-prose pre code { background: none; padding: 0; color: var(--nx-text); }
.nx-prose--dropcap > p:first-of-type::first-letter {
  float: left;
  font-family: var(--nx-font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: .85;
  margin: 4px 12px 0 0;
  color: var(--nx-primary);
}

/* --- Table of Contents --- */
.nx-toc {
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  padding: 20px 24px;
}
.nx-toc__title {
  font-family: var(--nx-font-mono);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
  color: var(--nx-primary);
}
.nx-toc__list { list-style: none; }
.nx-toc__list li { margin-bottom: 8px; }
.nx-toc__list a {
  font-size: 13px;
  color: var(--nx-text-secondary);
  transition: color var(--nx-transition);
}
.nx-toc__list a:hover,
.nx-toc__list a.is-active { color: var(--nx-primary); }

/* --- Author / Share --- */
.nx-author {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius);
  margin: 48px 0;
}
.nx-author__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--nx-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
}
.nx-author__name {
  font-family: var(--nx-font-display);
  font-weight: 600;
  font-size: .95rem;
}
.nx-author__bio { font-size: 13px; color: var(--nx-muted); margin-top: 2px; }

.nx-share { display: flex; align-items: center; gap: 10px; }
.nx-share__label {
  font-family: var(--nx-font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--nx-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.nx-share__btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  color: var(--nx-text-secondary);
  transition: all var(--nx-transition);
}
.nx-share__btn:hover {
  border-color: var(--nx-primary);
  color: var(--nx-primary);
  background: #EEF2FF;
}
.nx-share__btn svg { width: 15px; height: 15px; fill: currentColor; }

/* --- Sidebar --- */
.nx-sidebar { position: sticky; top: calc(var(--nx-header-h) + 24px); }
.nx-sidebar__block { margin-bottom: 28px; }

/* --- Newsletter CTA --- */
.nx-newsletter {
  position: relative;
  overflow: hidden;
  background: var(--nx-surface);
  border-radius: var(--nx-radius);
  padding: 56px 40px;
  text-align: center;
  border: 1px solid var(--nx-line);
}
.nx-newsletter::before {
  display: none;
}
.nx-newsletter__title {
  font-family: var(--nx-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
  color: var(--nx-text);
}
.nx-newsletter__desc {
  font-size: 14px;
  color: var(--nx-text-secondary);
  margin-bottom: 24px;
  position: relative;
}
.nx-newsletter__form {
  display: flex;
  gap: 8px;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}
.nx-newsletter__input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--nx-line);
  background: var(--nx-bg);
  color: var(--nx-text);
  border-radius: var(--nx-radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color var(--nx-transition);
}
.nx-newsletter__input::placeholder { color: var(--nx-muted); }
.nx-newsletter__input:focus {
  border-color: var(--nx-primary);
}
.nx-newsletter__submit {
  padding: 12px 24px;
  background: var(--nx-primary);
  color: #fff;
  border: none;
  border-radius: var(--nx-radius-sm);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--nx-transition);
}
.nx-newsletter__submit:hover { background: var(--nx-primary-dark); }

/* --- Pagination --- */
.nx-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.nx-pagination a,
.nx-pagination span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--nx-radius-sm);
  font-family: var(--nx-font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--nx-text-secondary);
  border: 1px solid var(--nx-line);
  transition: all var(--nx-transition);
}
.nx-pagination a:hover {
  border-color: var(--nx-primary);
  color: var(--nx-primary);
}
.nx-pagination .is-active {
  background: var(--nx-primary);
  color: #fff;
  border-color: transparent;
}
.nx-pagination__dots {
  min-width: auto;
  border: none;
  background: none;
  color: var(--nx-text-secondary);
  font-size: 18px;
  letter-spacing: 2px;
  padding: 0 4px;
}
.nx-pagination__arrow {
  font-size: 16px;
  font-weight: 700;
}

/* --- Footer --- */
.nx-footer {
  background: #1E293B;
  color: rgba(255,255,255,.7);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.nx-footer__accent {
  height: 2px;
  background: var(--nx-primary);
}
.nx-footer__inner { padding: 56px 0 0; position: relative; }
.nx-footer::before {
  display: none;
}
.nx-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.nx-footer__logo img { height: 28px; width: auto; }
.nx-footer__brand-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--nx-muted);
  margin-top: 14px;
}
.nx-footer__heading {
  font-family: var(--nx-font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--nx-primary);
  margin-bottom: 14px;
}
.nx-footer__links li { margin-bottom: 8px; }
.nx-footer__links a {
  color: var(--nx-muted);
  font-size: 13px;
  transition: color var(--nx-transition);
}
.nx-footer__links a:hover { color: var(--nx-primary); }
.nx-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--nx-font-mono);
  font-size: 11px;
  color: var(--nx-muted);
  position: relative;
}
.nx-footer__social { display: flex; gap: 14px; }
.nx-footer__social a {
  color: rgba(255,255,255,.5);
  transition: all var(--nx-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
}
.nx-footer__social a:hover {
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.nx-footer__social svg { width: 16px; height: 16px; fill: currentColor; }
.nx-footer__bottom-links { display: flex; gap: 16px; }
.nx-footer__bottom-links a {
  color: var(--nx-muted);
  font-size: 11px;
  font-family: var(--nx-font-mono);
  transition: color var(--nx-transition);
}
.nx-footer__bottom-links a:hover { color: var(--nx-primary); }

/* light overrides removed — base theme is light */

/* --- FAQ / Accordion --- */
.nx-accordion { max-width: 780px; }
.nx-accordion__item { border-bottom: 1px solid var(--nx-line); }
.nx-accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: var(--nx-font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--nx-text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--nx-transition);
}
.nx-accordion__trigger:hover { color: var(--nx-primary); }
.nx-accordion__icon { width: 22px; height: 22px; position: relative; flex-shrink: 0; }
.nx-accordion__icon::before,
.nx-accordion__icon::after {
  content: '';
  position: absolute;
  background: var(--nx-primary);
  border-radius: 2px;
  transition: transform var(--nx-transition);
}
.nx-accordion__icon::before { width: 12px; height: 2px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.nx-accordion__icon::after { width: 2px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.nx-accordion__item.is-open .nx-accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.nx-accordion__panel { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.nx-accordion__panel-inner {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--nx-text-secondary);
}

/* --- Contact Page --- */
.nx-contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}
.nx-contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 36px 24px;
  border-radius: var(--nx-radius);
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  text-decoration: none;
  overflow: hidden;
  transition: transform var(--nx-transition), box-shadow var(--nx-transition), border-color var(--nx-transition);
}
.nx-contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--nx-shadow-lg);
  border-color: var(--nx-line);
}
.nx-contact-card__glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--nx-gradient);
  opacity: 0;
  transition: opacity var(--nx-transition);
}
.nx-contact-card:hover .nx-contact-card__glow { opacity: 1; }
.nx-contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #EEF2FF;
  border: 1px solid var(--nx-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nx-primary);
}
.nx-contact-card__label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--nx-text-secondary);
}
.nx-contact-card__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--nx-text);
}
.nx-contact-form-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 48px;
  border-radius: var(--nx-radius);
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  overflow: hidden;
}
.nx-contact-form-wrap__glow {
  display: none;
}
.nx-contact-form-header {
  text-align: center;
  margin-bottom: 32px;
}
.nx-contact-form { max-width: none; }
.nx-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.nx-contact-success {
  margin-top: 20px;
  padding: 20px;
  background: #EEF2FF;
  border: 1px solid var(--nx-line);
  border-radius: var(--nx-radius-sm);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--nx-primary);
  font-size: 14px;
}
.nx-contact-success svg { flex-shrink: 0; stroke: var(--nx-primary); }
.nx-contact-error {
  margin-top: 20px;
  padding: 20px;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: var(--nx-radius-sm);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #991b1b;
}
.nx-contact-error svg { flex-shrink: 0; stroke: #dc2626; }

.seo-captcha { display: block; margin: 0; padding: 0; }
.seo-captcha-inner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.seo-captcha-q { font-size: 14px; color: var(--nx-text-secondary, #64748b); font-weight: 600; white-space: nowrap; }
.seo-captcha-in { width: 64px !important; height: 42px !important; min-width: 64px; border: 1.5px solid var(--nx-line, #e2e8f0) !important; border-radius: var(--nx-radius-sm, 8px); padding: 0 8px !important; font-size: 16px; text-align: center; background: #fff !important; color: var(--nx-heading, #0f172a); outline: none; transition: border-color .2s, box-shadow .2s; box-sizing: border-box; }
.seo-captcha-in:focus { border-color: var(--nx-primary, #2563eb) !important; box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.seo-captcha-in::placeholder { color: #cbd5e1; }
.seo-captcha-ref { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: none !important; background: transparent !important; color: #94a3b8; cursor: pointer; border-radius: 8px; padding: 0; transition: color .2s, background .2s; }
.seo-captcha-ref:hover { color: var(--nx-primary, #2563eb); background: rgba(37,99,235,.06) !important; }
.seo-captcha-ref:focus { outline: none; }
.seo-captcha-hint { display: block; font-size: 11px; color: #94a3b8; margin-top: 6px; font-weight: 400; }
@media (max-width: 600px) {
  .nx-form__row { grid-template-columns: 1fr; }
  .nx-contact-form-wrap { padding: 28px 20px; }
}

/* --- Form --- */
.nx-form { max-width: 560px; }
.nx-form__group { margin-bottom: 18px; }
.nx-form__label {
  display: block;
  font-family: var(--nx-font-mono);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--nx-text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.nx-form__input,
.nx-form__textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--nx-surface);
  border: 1.5px solid var(--nx-line);
  border-radius: var(--nx-radius-sm);
  color: var(--nx-text);
  transition: border-color var(--nx-transition), box-shadow var(--nx-transition);
}
.nx-form__input:focus,
.nx-form__textarea:focus {
  outline: none;
  border-color: var(--nx-primary);
}
.nx-form__textarea { min-height: 130px; resize: vertical; }

/* --- Page Header --- */
.nx-page-header {
  padding: 80px 0 48px;
  text-align: center;
  background: var(--nx-surface);
  border-bottom: 1px solid var(--nx-line);
  position: relative;
}
.nx-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 60% at 50% 0%, rgba(124,58,237,.03) 0%, transparent 60%);
  pointer-events: none;
}
.nx-page-header--image {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: #fff;
}
.nx-page-header--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11,13,23,.6) 0%, rgba(11,13,23,.85) 100%);
}
.nx-page-header__inner { position: relative; z-index: 1; }

/* --- 404 --- */
.nx-404 { text-align: center; padding: 100px 0; }
.nx-404__code {
  font-family: var(--nx-font-mono);
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--nx-primary);
}
.nx-404__title { font-size: 1.4rem; margin: 16px 0 24px; }

/* --- Slider --- */
.nx-slider { position: relative; }
.nx-slide {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 52px;
  background-size: cover;
  background-position: center;
}
.nx-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,13,23,.9) 0%, rgba(11,13,23,.2) 60%, transparent 100%);
}
.nx-slide__content { position: relative; z-index: 1; color: #fff; max-width: 560px; }
.nx-slide__title {
  font-family: var(--nx-font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 8px;
}
.nx-slide__title a { color: #fff; }
.nx-slide__title a:hover { color: var(--nx-primary); }

/* --- bxSlider base + overrides --- */
.bx-wrapper { position: relative; border: none; background: none; box-shadow: none; margin: 0; padding: 0; }
.bx-wrapper img { max-width: 100%; display: block; }
.bx-viewport { -webkit-transform: translateZ(0); }
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: 18px;
  width: 100%;
  z-index: 10;
}
.bx-wrapper .bx-pager { text-align: center; font-size: 0; line-height: 0; }
.bx-wrapper .bx-pager-item { display: inline-block; vertical-align: bottom; }
.bx-wrapper .bx-pager.bx-default-pager a {
  display: block;
  text-indent: -9999px;
  outline: 0;
  margin: 0 5px;
  background: rgba(255,255,255,.2);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: background .3s, box-shadow .3s;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background: var(--nx-primary);
}
.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  outline: 0;
  cursor: pointer;
  text-decoration: none;
  width: 42px;
  height: 42px;
  background: rgba(11,13,23,.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%;
  text-indent: 0;
  font-size: 0;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}
.bx-wrapper .bx-controls-direction a:hover {
  background: rgba(0,0,0,.6);
  border-color: rgba(255,255,255,.3);
}
.bx-wrapper .bx-controls-direction a svg { display: block; pointer-events: none; }
.bx-wrapper .bx-controls-direction a.disabled { display: none; }
.bx-wrapper .bx-prev { left: 18px; }
.bx-wrapper .bx-next { right: 18px; }

/* --- Scroll Reveal --- */
.nx-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.nx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.nx-hero .nx-reveal,
.nx-hero.nx-reveal,
.nx-intro .nx-reveal,
.nx-intro.nx-reveal,
.nx-slider .nx-reveal,
.nx-slider.nx-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.nx-reveal--delay-1 { transition-delay: .1s; }
.nx-reveal--delay-2 { transition-delay: .2s; }
.nx-reveal--delay-3 { transition-delay: .3s; }

/* --- Glow / Utility --- */
.nx-glow-border {
  border: 1px solid var(--nx-line);
  box-shadow: var(--nx-shadow);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nx-hero__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .nx-grid--sidebar { grid-template-columns: 1fr; }
  .nx-sidebar { position: static; }
  .nx-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nx-hero__inner { grid-template-columns: 1fr; }
  .nx-hero__featured-body { padding: 16px; }
}

@media (max-width: 900px) {
  .nx-header__nav { display: none; }
  .nx-nav-toggle { display: flex; }
  .nx-header__cta { display: none; }
  .nx-header__nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nx-header-h) 0 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 0;
    z-index: 999;
    overflow-y: auto;
    border-top: 1px solid var(--nx-line);
  }
  .nx-header__nav.is-open .nx-header__link {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--nx-line);
    color: var(--nx-text);
    border-radius: 0;
    background: none;
  }
  .nx-header__nav.is-open .nx-header__link::before { display: none; }
  .nx-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .nx-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .nx-card--horizontal { grid-template-columns: 1fr; }
  .nx-news-hero { grid-template-columns: 1fr; gap: 24px; }
  .nx-slide { min-height: 360px; padding: 36px 20px; }
}

@media (max-width: 600px) {
  .nx-grid--2 { grid-template-columns: 1fr; }
  .nx-grid--3 { grid-template-columns: 1fr; }
  .nx-features { grid-template-columns: 1fr; }
  .nx-footer__grid { grid-template-columns: 1fr; }
  .nx-newsletter__form { flex-direction: column; }
  .nx-hero { padding: 80px 0 60px; }
  .nx-hero__glass { padding: 28px 20px; }
  .nx-section { padding: 48px 0; }
  .nx-slide { min-height: 280px; }
  .nx-cta-strip { padding: 40px 0; }
}

/* --------------------------------------------------------
   POLL / ANKET  –  Nexus (glassmorphism)
   -------------------------------------------------------- */
.nx-poll {
  max-width: 680px;
  margin: 0 auto;
  background: var(--nx-surface);
  border: 1px solid var(--nx-line);
  border-radius: 20px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
}
.nx-poll__glow {
  display: none;
}

.nx-poll__header { position: relative; z-index: 1; text-align: center; margin-bottom: 32px; }
.nx-poll__header .nx-kicker { margin-bottom: 10px; display: inline-block; }
.nx-poll__title {
  font-family: var(--nx-font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 700;
  margin: 0 0 8px;
}
.nx-poll__meta {
  font-size: 14px;
  color: var(--nx-muted);
}
.nx-poll__total {
  font-weight: 700;
  color: var(--nx-primary);
  font-size: 15px;
}

.nx-poll__options {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.nx-poll__option {
  background: var(--nx-bg);
  border: 1px solid var(--nx-line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .25s, background .25s;
}
.nx-poll__option:hover {
  border-color: var(--nx-primary);
  background: #EEF2FF;
}
.nx-poll__option--winner {
  border-color: var(--nx-primary);
  background: #EEF2FF;
}

.nx-poll__option-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.nx-poll__option-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--nx-text);
}
.nx-poll__option--winner .nx-poll__option-name {
  color: var(--nx-primary);
}
.nx-poll__pct {
  font-family: var(--nx-font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--nx-muted);
}
.nx-poll__option--winner .nx-poll__pct {
  color: var(--nx-primary);
  font-size: 20px;
}

.nx-poll__bar-track {
  width: 100%;
  height: 5px;
  background: var(--nx-line);
  border-radius: 3px;
  overflow: hidden;
}
.nx-poll__bar {
  height: 100%;
  border-radius: 3px;
  background: var(--nx-muted);
  transition: width .6s ease;
}
.nx-poll__option--winner .nx-poll__bar {
  background: var(--nx-primary);
}

.nx-poll__option-votes {
  display: block;
  font-size: 12px;
  color: var(--nx-muted);
  margin-top: 6px;
  text-align: right;
}

.nx-poll__vote-btn {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  justify-content: center;
}

.nx-content-with-poll {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.nx-poll--inline {
  max-width: none;
  padding: 24px 20px;
  border-radius: 16px;
  position: sticky;
  top: calc(var(--nx-header-h, 72px) + 16px);
  overflow: visible;
}
.nx-poll--inline .nx-poll__title { font-size: 1rem; }
.nx-poll--inline .nx-poll__options { gap: 8px; margin-bottom: 16px; }
.nx-poll--inline .nx-poll__option { padding: 10px 12px; border-radius: 10px; }
.nx-poll--inline .nx-poll__header { margin-bottom: 16px; }
.nx-poll--inline .nx-poll__pct { font-size: 13px; }
.nx-poll--inline .nx-poll__option--winner .nx-poll__pct { font-size: 16px; }
.nx-poll--inline .nx-poll__option-name { font-size: 13px; }
.nx-poll--inline .nx-poll__option-votes { font-size: 11px; }

@media (max-width: 900px) {
  .nx-content-with-poll { grid-template-columns: 1fr; }
  .nx-poll--inline { position: static; max-width: 400px; }
}
@media (max-width: 600px) {
  .nx-poll { padding: 28px 20px; border-radius: 14px; }
  .nx-poll--inline { max-width: 100%; }
  .nx-poll__option { padding: 12px 14px; }
  .nx-pagination { flex-wrap: wrap; gap: 4px; }
  .nx-pagination a, .nx-pagination span { min-width: 32px; height: 32px; font-size: 12px; }
  .seo-captcha-q { white-space: normal; }
}

/* [data-theme="light"] overrides removed — base theme is now light */
