/*
Theme Name: NewRize Growth Pro
Theme URI: https://newrize.com/
Author: NewRize
Author URI: https://newrize.com/
Description: A fast, premium editorial WordPress theme for AI tools, WordPress tutorials, SEO, blogging growth and white-hat monetization.
Version: 3.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: newrize
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, news, one-column, two-columns, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
  --nr-ink: #14213d;
  --nr-ink-strong: #09142b;
  --nr-text: #2d3852;
  --nr-muted: #68738b;
  --nr-line: #e5e9f2;
  --nr-line-strong: #d7deea;
  --nr-surface: #ffffff;
  --nr-soft: #f5f7fb;
  --nr-soft-blue: #edf4ff;
  --nr-brand: #2563eb;
  --nr-brand-dark: #1d4ed8;
  --nr-accent: #14b8a6;
  --nr-warm: #f59e0b;
  --nr-danger: #dc2626;
  --nr-radius-sm: 10px;
  --nr-radius: 18px;
  --nr-radius-lg: 28px;
  --nr-shadow-sm: 0 8px 24px rgba(20, 33, 61, .06);
  --nr-shadow: 0 18px 50px rgba(20, 33, 61, .09);
  --nr-max: 1180px;
  --nr-reading: 760px;
  --nr-header: 76px;
  --nr-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --nr-serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--nr-text);
  background: var(--nr-surface);
  font-family: var(--nr-font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
svg { display: block; }
a { color: var(--nr-brand); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--nr-brand-dark); }
button, input, textarea, select { font: inherit; }
button, .button, input[type="submit"] { cursor: pointer; }
::selection { background: #dbeafe; color: var(--nr-ink-strong); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important;
  width: auto; height: auto;
  top: 12px; left: 12px;
  z-index: 100000;
  padding: 12px 16px;
  background: var(--nr-ink-strong);
  color: #fff;
  clip: auto;
  border-radius: 8px;
}

.nr-container { width: min(calc(100% - 40px), var(--nr-max)); margin-inline: auto; }
.nr-reading { width: min(100%, var(--nr-reading)); margin-inline: auto; }
.nr-section { padding: 88px 0; }
.nr-section--soft { background: var(--nr-soft); }
.nr-section--tight { padding: 64px 0; }
.nr-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--nr-brand-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nr-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--nr-accent); border-radius: 999px; }
.nr-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
.nr-section-head h2 { margin: 0; color: var(--nr-ink-strong); font-size: 3.2rem; line-height: 1.07; letter-spacing: -.045em; }
.nr-section-head p { max-width: 620px; margin: 10px 0 0; color: var(--nr-muted); }
.nr-section-link { flex: 0 0 auto; font-weight: 800; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  min-height: var(--nr-header);
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(215,222,234,.8);
  backdrop-filter: blur(14px);
}
.nr-header-inner { min-height: var(--nr-header); display: flex; align-items: center; gap: 28px; }
.site-branding { flex: 0 0 auto; }
.nr-brand-link { display: inline-flex; align-items: center; gap: 11px; color: var(--nr-ink-strong); text-decoration: none; }
.nr-brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  color: #fff;
  background: linear-gradient(145deg, var(--nr-brand), #4f46e5);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(37, 99, 235, .24);
  font-weight: 900;
  font-size: .9rem;
  letter-spacing: -.04em;
}
.nr-brand-name { color: var(--nr-ink-strong); font-size: 1.25rem; font-weight: 900; letter-spacing: -.05em; }
.custom-logo { display: block; max-height: 44px; width: auto; }
.nr-primary-nav { margin-left: auto; }
.nr-primary-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nr-primary-nav li { position: relative; }
.nr-primary-nav a { display: block; padding: 10px 11px; color: var(--nr-ink); text-decoration: none; font-size: .92rem; font-weight: 750; border-radius: 9px; }
.nr-primary-nav a:hover, .nr-primary-nav .current-menu-item > a, .nr-primary-nav .current-menu-ancestor > a { color: var(--nr-brand); background: var(--nr-soft-blue); }
.nr-primary-nav .sub-menu {
  position: absolute;
  top: calc(100% + 10px); left: 0;
  min-width: 240px;
  padding: 10px;
  display: none;
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--nr-line);
  border-radius: 14px;
  box-shadow: var(--nr-shadow);
}
.nr-primary-nav li:hover > .sub-menu, .nr-primary-nav li:focus-within > .sub-menu { display: flex; }
.nr-header-actions { display: flex; align-items: center; gap: 10px; }
.nr-icon-button {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px;
  color: var(--nr-ink);
  background: transparent;
  border: 1px solid var(--nr-line);
  border-radius: 12px;
}
.nr-icon-button:hover { color: var(--nr-brand); border-color: #bfdbfe; background: var(--nr-soft-blue); }
.nr-menu-toggle { display: none; }

.nr-search-panel { display: none; position: fixed; inset: 0; z-index: 1200; background: rgba(9,20,43,.58); padding: 110px 20px 20px; }
.nr-search-panel.is-open { display: block; }
.nr-search-box { width: min(100%, 720px); margin: auto; padding: 18px; background: #fff; border-radius: 20px; box-shadow: var(--nr-shadow); }
.nr-search-box form { display: flex; gap: 10px; }
.nr-search-box input[type="search"] { flex: 1; min-width: 0; padding: 15px 16px; color: var(--nr-ink); border: 1px solid var(--nr-line-strong); border-radius: 12px; outline: none; }
.nr-search-box input[type="search"]:focus { border-color: var(--nr-brand); box-shadow: 0 0 0 4px rgba(37,99,235,.1); }

.nr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 18px;
  color: #fff;
  background: var(--nr-brand);
  border: 1px solid var(--nr-brand);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 10px 24px rgba(37,99,235,.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nr-button:hover { color: #fff; background: var(--nr-brand-dark); transform: translateY(-1px); box-shadow: 0 14px 30px rgba(37,99,235,.24); }
.nr-button--ghost { color: var(--nr-ink); background: #fff; border-color: var(--nr-line-strong); box-shadow: none; }
.nr-button--ghost:hover { color: var(--nr-brand); background: var(--nr-soft-blue); border-color: #bfdbfe; box-shadow: none; }
.nr-button--dark { color: #fff; background: var(--nr-ink-strong); border-color: var(--nr-ink-strong); box-shadow: none; }
.nr-button--dark:hover { background: #172554; }

.nr-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 78px;
  background:
    radial-gradient(circle at 90% 10%, rgba(20,184,166,.16), transparent 28%),
    radial-gradient(circle at 10% 0%, rgba(37,99,235,.18), transparent 34%),
    linear-gradient(180deg, #fbfdff 0%, #f6f9ff 100%);
  border-bottom: 1px solid var(--nr-line);
}
.nr-hero::after {
  content: "";
  position: absolute;
  right: -140px; bottom: -180px;
  width: 520px; height: 520px;
  border: 1px solid rgba(37,99,235,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 52px rgba(37,99,235,.035), 0 0 0 104px rgba(20,184,166,.03);
}
.nr-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.13fr) minmax(360px,.87fr); gap: 68px; align-items: center; }
.nr-hero h1 { margin: 0; max-width: 760px; color: var(--nr-ink-strong); font-size: 5.7rem; line-height: .96; letter-spacing: -.065em; }
.nr-hero h1 span { color: var(--nr-brand); }
.nr-hero-lead { max-width: 690px; margin: 26px 0 0; color: #4f5b74; font-size: 1.24rem; line-height: 1.65; }
.nr-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.nr-trust-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 34px; color: var(--nr-muted); font-size: .9rem; font-weight: 700; }
.nr-trust-row span { display: inline-flex; align-items: center; gap: 7px; }
.nr-trust-dot { width: 7px; height: 7px; background: var(--nr-accent); border-radius: 50%; }
.nr-hero-panel {
  position: relative;
  padding: 26px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(215,222,234,.92);
  border-radius: var(--nr-radius-lg);
  box-shadow: 0 34px 90px rgba(20,33,61,.14);
}
.nr-hero-panel::before {
  content: "";
  position: absolute;
  inset: -14px 36px auto;
  height: 14px;
  background: linear-gradient(90deg, var(--nr-brand), var(--nr-accent));
  border-radius: 999px 999px 0 0;
  opacity: .9;
}
.nr-hero-panel-kicker { margin: 0 0 18px; color: var(--nr-muted); font-size: .76rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.nr-path-list { display: grid; gap: 12px; }
.nr-path-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 14px; align-items: center; padding: 14px; background: var(--nr-soft); border: 1px solid transparent; border-radius: 15px; text-decoration: none; }
.nr-path-item:hover { background: #fff; border-color: #bfdbfe; box-shadow: var(--nr-shadow-sm); }
.nr-path-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--nr-brand); background: #fff; border: 1px solid var(--nr-line); border-radius: 13px; }
.nr-path-item strong { display: block; color: var(--nr-ink-strong); font-size: .98rem; }
.nr-path-item small { display: block; margin-top: 2px; color: var(--nr-muted); font-size: .8rem; }
.nr-path-arrow { color: var(--nr-muted); font-size: 1.2rem; }

.nr-category-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.nr-category-card {
  position: relative;
  overflow: hidden;
  min-height: 265px;
  padding: 24px;
  color: var(--nr-ink);
  background: #fff;
  border: 1px solid var(--nr-line);
  border-radius: var(--nr-radius);
  text-decoration: none;
  box-shadow: var(--nr-shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.nr-category-card:hover { color: var(--nr-ink); transform: translateY(-5px); border-color: #bfdbfe; box-shadow: var(--nr-shadow); }
.nr-category-card::after { content: ""; position: absolute; right: -44px; bottom: -56px; width: 150px; height: 150px; border-radius: 50%; background: color-mix(in srgb, var(--card-accent, var(--nr-brand)) 12%, white); }
.nr-category-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 34px; color: var(--card-accent, var(--nr-brand)); background: color-mix(in srgb, var(--card-accent, var(--nr-brand)) 9%, white); border-radius: 15px; }
.nr-category-card h3 { margin: 0; color: var(--nr-ink-strong); font-size: 1.28rem; line-height: 1.2; letter-spacing: -.025em; }
.nr-category-card p { margin: 11px 0 0; color: var(--nr-muted); font-size: .92rem; line-height: 1.55; }
.nr-category-meta { display: inline-flex; margin-top: 18px; color: var(--card-accent, var(--nr-brand)); font-size: .8rem; font-weight: 850; }

.nr-content-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(300px,.8fr); gap: 28px; align-items: start; }
.nr-post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.nr-post-card { overflow: hidden; background: #fff; border: 1px solid var(--nr-line); border-radius: var(--nr-radius); box-shadow: var(--nr-shadow-sm); }
.nr-post-card:hover { border-color: #c9d6ec; box-shadow: var(--nr-shadow); }
.nr-post-card-media { display: block; overflow: hidden; aspect-ratio: 16/9; background: var(--nr-soft); text-decoration: none; }
.nr-post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.nr-post-card:hover .nr-post-card-media img { transform: scale(1.025); }
.nr-card-art { position: relative; display: grid; place-items: end start; width: 100%; height: 100%; padding: 22px; overflow: hidden; color: #fff; background: linear-gradient(145deg, #1d4ed8, #4f46e5); }
.nr-card-art::before, .nr-card-art::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.22); }
.nr-card-art::before { width: 220px; height: 220px; right: -80px; top: -90px; }
.nr-card-art::after { width: 120px; height: 120px; right: 28px; top: 20px; }
.nr-card-art--wordpress { background: linear-gradient(145deg, #0f766e, #14b8a6); }
.nr-card-art--seo { background: linear-gradient(145deg, #7c3aed, #2563eb); }
.nr-card-art--money { background: linear-gradient(145deg, #b45309, #f59e0b); }
.nr-card-art-label { position: relative; z-index: 1; max-width: 86%; font-size: 1.22rem; font-weight: 900; line-height: 1.1; letter-spacing: -.035em; }
.nr-post-card-body { padding: 22px; }
.nr-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 11px; color: var(--nr-muted); font-size: .76rem; font-weight: 750; }
.nr-post-meta a { color: var(--nr-brand); text-decoration: none; }
.nr-post-card h3 { margin: 0; color: var(--nr-ink-strong); font-size: 1.28rem; line-height: 1.28; letter-spacing: -.03em; }
.nr-post-card h3 a { color: inherit; text-decoration: none; }
.nr-post-card h3 a:hover { color: var(--nr-brand); }
.nr-post-card p { margin: 12px 0 0; color: var(--nr-muted); font-size: .91rem; line-height: 1.6; }
.nr-read-link { display: inline-flex; margin-top: 16px; color: var(--nr-ink-strong); text-decoration: none; font-size: .84rem; font-weight: 850; }
.nr-read-link:hover { color: var(--nr-brand); }

.nr-guide-stack { display: grid; gap: 12px; }
.nr-guide-item { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 17px; color: var(--nr-ink); background: #fff; border: 1px solid var(--nr-line); border-radius: 14px; text-decoration: none; }
.nr-guide-item:hover { color: var(--nr-ink); border-color: #bfdbfe; box-shadow: var(--nr-shadow-sm); }
.nr-guide-number { display: grid; place-items: center; width: 38px; height: 38px; color: var(--nr-brand); background: var(--nr-soft-blue); border-radius: 10px; font-size: .78rem; font-weight: 900; }
.nr-guide-item strong { display: block; color: var(--nr-ink-strong); line-height: 1.28; }
.nr-guide-item small { display: block; margin-top: 4px; color: var(--nr-muted); }
.nr-sidebar-card { padding: 24px; background: #fff; border: 1px solid var(--nr-line); border-radius: var(--nr-radius); box-shadow: var(--nr-shadow-sm); }
.nr-sidebar-card + .nr-sidebar-card { margin-top: 18px; }
.nr-sidebar-card h3 { margin: 0 0 15px; color: var(--nr-ink-strong); font-size: 1.05rem; }

.nr-newsletter { position: relative; overflow: hidden; padding: 46px; color: #fff; background: var(--nr-ink-strong); border-radius: var(--nr-radius-lg); }
.nr-newsletter::before { content: ""; position: absolute; width: 330px; height: 330px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(37,99,235,.7), rgba(37,99,235,0) 68%); }
.nr-newsletter-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr minmax(340px,.8fr); gap: 50px; align-items: center; }
.nr-newsletter h2 { margin: 0; font-size: 3.3rem; line-height: 1.03; letter-spacing: -.045em; }
.nr-newsletter p { margin: 14px 0 0; color: #cbd5e1; }
.nr-subscribe-form { display: flex; gap: 10px; padding: 6px; background: #fff; border-radius: 14px; }
.nr-subscribe-form input[type="email"] { flex: 1; min-width: 0; padding: 11px 12px; border: 0; outline: 0; color: var(--nr-ink-strong); background: transparent; }
.nr-form-note { margin-top: 10px; color: #94a3b8; font-size: .76rem; }
.nr-form-status { margin: 12px 0 0; padding: 10px 12px; color: var(--nr-ink-strong); background: #dcfce7; border-radius: 10px; font-size: .84rem; font-weight: 750; }
.nr-form-status--error { background: #fee2e2; color: #991b1b; }

.nr-page-hero { padding: 72px 0 52px; background: linear-gradient(180deg,#f8fbff,#fff); border-bottom: 1px solid var(--nr-line); }
.nr-page-hero h1 { max-width: 900px; margin: 0; color: var(--nr-ink-strong); font-size: 5rem; line-height: .98; letter-spacing: -.06em; }
.nr-page-hero p { max-width: 760px; margin: 20px 0 0; color: var(--nr-muted); font-size: 1.08rem; }
.nr-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 18px; color: var(--nr-muted); font-size: .79rem; font-weight: 700; }
.nr-breadcrumbs a { color: var(--nr-muted); text-decoration: none; }
.nr-breadcrumbs a:hover { color: var(--nr-brand); }
.nr-breadcrumbs span[aria-current="page"] { color: var(--nr-ink); }

.nr-archive-wrap { padding: 58px 0 88px; }
.nr-archive-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 38px; align-items: start; }
.nr-archive-list { display: grid; gap: 22px; }
.nr-list-card { display: grid; grid-template-columns: 280px 1fr; overflow: hidden; background: #fff; border: 1px solid var(--nr-line); border-radius: var(--nr-radius); box-shadow: var(--nr-shadow-sm); }
.nr-list-card .nr-post-card-media { aspect-ratio: auto; min-height: 220px; }
.nr-list-card .nr-post-card-body { display: flex; flex-direction: column; justify-content: center; }
.nr-pagination { margin-top: 34px; }
.nr-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nr-pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; color: var(--nr-ink); background: #fff; border: 1px solid var(--nr-line); border-radius: 10px; text-decoration: none; font-weight: 750; }
.nr-pagination .current, .nr-pagination a:hover { color: #fff; background: var(--nr-brand); border-color: var(--nr-brand); }

.nr-article-wrap { padding: 48px 0 90px; }
.nr-article-shell { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 56px; align-items: start; }
.nr-article-header { width: min(100%, 900px); margin: 0 auto 34px; text-align: center; }
.nr-article-header .nr-breadcrumbs { justify-content: center; }
.nr-article-header h1 { margin: 0; color: var(--nr-ink-strong); font-size: 4.8rem; line-height: 1.02; letter-spacing: -.055em; }
.nr-article-deck { max-width: 760px; margin: 18px auto 0; color: var(--nr-muted); font-size: 1.1rem; }
.nr-article-byline { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 18px; margin-top: 22px; color: var(--nr-muted); font-size: .83rem; font-weight: 700; }
.nr-featured-image { width: min(100%, 1050px); margin: 0 auto 44px; overflow: hidden; border-radius: var(--nr-radius-lg); box-shadow: var(--nr-shadow); }
.nr-featured-image img { display: block; width: 100%; }
.nr-article-content { min-width: 0; }
.nr-entry-content { color: #2d3852; font-size: 1.04rem; line-height: 1.82; }
.nr-entry-content > *:first-child { margin-top: 0; }
.nr-entry-content p { margin: 0 0 1.45em; }
.nr-entry-content h2 { scroll-margin-top: 105px; margin: 2.2em 0 .75em; color: var(--nr-ink-strong); font-size: 2.6rem; line-height: 1.15; letter-spacing: -.04em; }
.nr-entry-content h3 { scroll-margin-top: 105px; margin: 1.8em 0 .65em; color: var(--nr-ink-strong); font-size: 1.75rem; line-height: 1.2; letter-spacing: -.025em; }
.nr-entry-content h4 { margin: 1.5em 0 .55em; color: var(--nr-ink-strong); font-size: 1.12rem; }
.nr-entry-content ul, .nr-entry-content ol { margin: 0 0 1.5em; padding-left: 1.35em; }
.nr-entry-content li + li { margin-top: .55em; }
.nr-entry-content a { font-weight: 650; }
.nr-entry-content blockquote { margin: 2em 0; padding: 22px 26px; color: var(--nr-ink); background: var(--nr-soft-blue); border-left: 4px solid var(--nr-brand); border-radius: 0 var(--nr-radius) var(--nr-radius) 0; }
.nr-entry-content code { padding: .15em .35em; color: #be123c; background: #fff1f2; border-radius: 5px; font-size: .9em; }
.nr-entry-content pre { overflow-x: auto; padding: 20px; color: #e2e8f0; background: #0f172a; border-radius: 14px; }
.nr-entry-content pre code { padding: 0; color: inherit; background: transparent; }
.nr-entry-content table { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: .92rem; }
.nr-entry-content th, .nr-entry-content td { padding: 12px 14px; text-align: left; border: 1px solid var(--nr-line); }
.nr-entry-content th { color: var(--nr-ink-strong); background: var(--nr-soft); }
.nr-entry-content .wp-block-image { margin: 2em 0; }
.nr-entry-content .wp-block-image img { border-radius: var(--nr-radius); }

.nr-toc { margin: 0 0 32px; padding: 24px; background: var(--nr-soft); border: 1px solid var(--nr-line); border-radius: var(--nr-radius); }
.nr-toc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nr-toc h2 { margin: 0; font-size: 1.05rem; letter-spacing: -.02em; }
.nr-toc-toggle { padding: 5px 9px; color: var(--nr-brand); background: #fff; border: 1px solid var(--nr-line); border-radius: 8px; font-size: .75rem; font-weight: 800; }
.nr-toc-list { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.nr-toc-list.is-collapsed { display: none; }
.nr-toc-list li { margin: 0; }
.nr-toc-list li.nr-toc-h3 { padding-left: 18px; }
.nr-toc-list a { color: var(--nr-text); text-decoration: none; font-size: .9rem; font-weight: 650; }
.nr-toc-list a:hover { color: var(--nr-brand); }

.nr-article-sidebar { position: sticky; top: 100px; }
.nr-sticky-card { padding: 22px; background: #fff; border: 1px solid var(--nr-line); border-radius: var(--nr-radius); box-shadow: var(--nr-shadow-sm); }
.nr-sticky-card + .nr-sticky-card { margin-top: 18px; }
.nr-sticky-card h3 { margin: 0 0 12px; color: var(--nr-ink-strong); font-size: 1rem; }
.nr-progress { height: 7px; overflow: hidden; background: var(--nr-soft); border-radius: 999px; }
.nr-progress-bar { width: 0; height: 100%; background: linear-gradient(90deg,var(--nr-brand),var(--nr-accent)); transition: width .1s linear; }
.nr-share-list { display: flex; flex-wrap: wrap; gap: 8px; }
.nr-share-link { display: grid; place-items: center; width: 40px; height: 40px; color: var(--nr-ink); background: var(--nr-soft); border-radius: 10px; text-decoration: none; font-size: .8rem; font-weight: 900; }
.nr-share-link:hover { color: #fff; background: var(--nr-brand); }

.nr-article-cta { margin: 44px 0; padding: 30px; background: linear-gradient(135deg,#eef4ff,#f4fbfa); border: 1px solid #d9e6fb; border-radius: var(--nr-radius-lg); }
.nr-article-cta h2 { margin: 0; color: var(--nr-ink-strong); font-size: 1.7rem; }
.nr-article-cta p { margin: 10px 0 18px; }
.nr-faq-section { margin-top: 54px; }
.nr-faq-section h2 { margin: 0 0 22px; color: var(--nr-ink-strong); font-size: 2.1rem; letter-spacing: -.04em; }
.nr-faq-list { display: grid; gap: 12px; }
.nr-faq-item { padding: 0; background: #fff; border: 1px solid var(--nr-line); border-radius: 14px; }
.nr-faq-item summary { padding: 18px 20px; color: var(--nr-ink-strong); cursor: pointer; font-weight: 850; list-style: none; }
.nr-faq-item summary::-webkit-details-marker { display: none; }
.nr-faq-answer { padding: 0 20px 18px; color: var(--nr-muted); }
.nr-author-box { display: grid; grid-template-columns: 80px 1fr; gap: 20px; margin-top: 50px; padding: 26px; background: var(--nr-soft); border: 1px solid var(--nr-line); border-radius: var(--nr-radius); }
.nr-author-box img { border-radius: 50%; }
.nr-author-box h3 { margin: 0; color: var(--nr-ink-strong); }
.nr-author-box p { margin: 8px 0 0; color: var(--nr-muted); }
.nr-related { margin-top: 70px; }
.nr-related h2 { margin: 0 0 24px; color: var(--nr-ink-strong); font-size: 2rem; letter-spacing: -.04em; }

.nr-page-content { padding: 62px 0 90px; }
.nr-prose { width: min(100%, 820px); margin: auto; color: var(--nr-text); }
.nr-prose h2 { margin: 2em 0 .7em; color: var(--nr-ink-strong); font-size: 2rem; letter-spacing: -.035em; }
.nr-prose h3 { margin: 1.7em 0 .6em; color: var(--nr-ink-strong); font-size: 1.35rem; }
.nr-prose p { margin: 0 0 1.35em; }
.nr-prose ul, .nr-prose ol { margin: 0 0 1.5em; padding-left: 1.3em; }
.nr-prose li + li { margin-top: .5em; }
.nr-info-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin: 34px 0; }
.nr-info-card { padding: 22px; background: var(--nr-soft); border: 1px solid var(--nr-line); border-radius: var(--nr-radius); }
.nr-info-card h3 { margin: 0 0 8px; }
.nr-info-card p { margin: 0; color: var(--nr-muted); font-size: .92rem; }

.nr-contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.nr-contact-card { padding: 28px; background: var(--nr-soft); border: 1px solid var(--nr-line); border-radius: var(--nr-radius); }
.nr-contact-card h2 { margin-top: 0; }
.nr-contact-list { display: grid; gap: 14px; margin-top: 20px; }
.nr-contact-item { padding: 15px; background: #fff; border: 1px solid var(--nr-line); border-radius: 12px; }
.nr-contact-item strong { display: block; color: var(--nr-ink-strong); }
.nr-contact-item span, .nr-contact-item a { color: var(--nr-muted); font-size: .9rem; }
.nr-form { display: grid; gap: 17px; }
.nr-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.nr-field label { display: block; margin-bottom: 7px; color: var(--nr-ink-strong); font-size: .86rem; font-weight: 800; }
.nr-field input, .nr-field textarea, .nr-field select { width: 100%; padding: 13px 14px; color: var(--nr-ink); background: #fff; border: 1px solid var(--nr-line-strong); border-radius: 11px; outline: none; }
.nr-field textarea { min-height: 170px; resize: vertical; }
.nr-field input:focus, .nr-field textarea:focus, .nr-field select:focus { border-color: var(--nr-brand); box-shadow: 0 0 0 4px rgba(37,99,235,.09); }
.nr-hp-field { position: absolute; left: -9999px; }

.nr-sitemap-grid, .nr-authors-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.nr-sitemap-card, .nr-author-card { padding: 24px; background: #fff; border: 1px solid var(--nr-line); border-radius: var(--nr-radius); box-shadow: var(--nr-shadow-sm); }
.nr-sitemap-card h2, .nr-author-card h2 { margin: 0 0 15px; color: var(--nr-ink-strong); font-size: 1.3rem; }
.nr-sitemap-card ul { margin: 0; padding-left: 1.2em; }
.nr-author-card { display: grid; grid-template-columns: 72px 1fr; gap: 18px; }
.nr-author-card img { border-radius: 50%; }
.nr-author-card p { margin: 8px 0 0; color: var(--nr-muted); font-size: .92rem; }

.nr-empty-state { padding: 52px; text-align: center; background: var(--nr-soft); border: 1px solid var(--nr-line); border-radius: var(--nr-radius-lg); }
.nr-empty-state h2 { margin: 0; color: var(--nr-ink-strong); }
.nr-empty-state p { margin: 10px auto 20px; max-width: 600px; color: var(--nr-muted); }

.site-footer { color: #cbd5e1; background: #0b1327; }
.nr-footer-main { padding: 64px 0 42px; }
.nr-footer-grid { display: grid; grid-template-columns: 1.35fr repeat(3,minmax(0,.75fr)); gap: 42px; }
.nr-footer-brand p { max-width: 390px; margin: 16px 0 0; color: #94a3b8; font-size: .92rem; }
.site-footer .nr-brand-name { color: #fff; }
.nr-footer-col h2 { margin: 0 0 14px; color: #fff; font-size: .9rem; letter-spacing: .03em; }
.nr-footer-col ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.nr-footer-col a { color: #94a3b8; text-decoration: none; font-size: .88rem; }
.nr-footer-col a:hover { color: #fff; }
.nr-footer-bottom { padding: 20px 0; border-top: 1px solid #1e293b; }
.nr-footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; color: #718096; font-size: .8rem; }
.nr-footer-legal { display: flex; flex-wrap: wrap; gap: 14px; }
.nr-footer-legal a { color: #94a3b8; text-decoration: none; }

.alignwide { width: min(100vw - 40px, 1050px); max-width: none; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }

@media (max-width: 1020px) {
  .nr-primary-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; margin: 0; padding: 14px 20px 22px; background: #fff; border-bottom: 1px solid var(--nr-line); box-shadow: var(--nr-shadow-sm); }
  .nr-primary-nav.is-open { display: block; }
  .nr-primary-nav ul { align-items: stretch; flex-direction: column; }
  .nr-primary-nav a { padding: 12px; }
  .nr-primary-nav .sub-menu { position: static; min-width: 0; margin: 3px 0 6px 15px; padding: 0; display: flex; box-shadow: none; border: 0; }
  .nr-menu-toggle { display: inline-grid; }
  .nr-header-actions { margin-left: auto; }
  .nr-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .nr-hero-panel { max-width: 700px; }
  .nr-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .nr-content-grid, .nr-archive-layout, .nr-article-shell { grid-template-columns: 1fr; }
  .nr-article-sidebar { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
  .nr-sticky-card + .nr-sticky-card { margin-top: 0; }
  .nr-newsletter-grid { grid-template-columns: 1fr; gap: 26px; }
  .nr-footer-grid { grid-template-columns: 1.2fr repeat(2,minmax(0,1fr)); }
  .nr-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  body.admin-bar .site-header { top: 46px; }
  .nr-container { width: min(calc(100% - 28px), var(--nr-max)); }
  .nr-section { padding: 64px 0; }
  .nr-section-head { align-items: start; flex-direction: column; gap: 10px; }
  .nr-section-head h2 { font-size: 2.45rem; }
  .nr-hero { padding: 58px 0 54px; }
  .nr-hero h1 { font-size: 3.65rem; }
  .nr-hero-panel { padding: 18px; }
  .nr-path-item { grid-template-columns: 44px 1fr; }
  .nr-path-arrow { display: none; }
  .nr-category-grid, .nr-post-grid, .nr-info-grid, .nr-sitemap-grid, .nr-authors-grid { grid-template-columns: 1fr; }
  .nr-list-card { grid-template-columns: 1fr; }
  .nr-list-card .nr-post-card-media { min-height: 190px; }
  .nr-newsletter { padding: 30px 22px; }
  .nr-newsletter-grid { grid-template-columns: 1fr; }
  .nr-subscribe-form { flex-direction: column; padding: 8px; }
  .nr-page-hero { padding: 52px 0 38px; }
  .nr-page-hero h1 { font-size: 3.45rem; }
  .nr-newsletter h2 { font-size: 2.55rem; }
  .nr-entry-content h2 { font-size: 2.1rem; }
  .nr-entry-content h3 { font-size: 1.55rem; }
  .nr-article-wrap { padding-top: 34px; }
  .nr-article-header { text-align: left; }
  .nr-article-header .nr-breadcrumbs, .nr-article-byline { justify-content: flex-start; }
  .nr-article-header h1 { font-size: 3.3rem; }
  .nr-article-sidebar { grid-template-columns: 1fr; }
  .nr-author-box, .nr-author-card { grid-template-columns: 1fr; }
  .nr-contact-layout, .nr-form-row { grid-template-columns: 1fr; }
  .nr-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .nr-footer-brand { grid-column: 1 / -1; }
  .nr-footer-bottom-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .nr-header-inner { gap: 10px; }
  .nr-brand-name { font-size: 1.12rem; }
  .nr-hero h1 { font-size: 3.05rem; }
  .nr-article-header h1 { font-size: 2.8rem; }
  .nr-page-hero h1 { font-size: 2.95rem; }
  .nr-header-actions .nr-button { display: none; }
  .nr-category-grid, .nr-footer-grid { grid-template-columns: 1fr; }
  .nr-newsletter { border-radius: var(--nr-radius); }
  .nr-search-box form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Compatibility fallbacks and component layering. */
.nr-category-card::after { z-index: 0; pointer-events: none; }
.nr-category-card > * { position: relative; z-index: 1; }
.nr-category-icon { background: var(--nr-soft); background: color-mix(in srgb, var(--card-accent, var(--nr-brand)) 9%, white); }
.nr-category-card::after { background: var(--nr-soft); background: color-mix(in srgb, var(--card-accent, var(--nr-brand)) 12%, white); }
.nr-subscribe-form--compact { flex-direction: column; align-items: stretch; }
.nr-subscribe-form--compact .nr-button { width: 100%; }
.nr-page-lead { max-width: 780px; margin-top: 20px; color: var(--nr-muted); }
.nr-page-lead p { margin: 0; }
