/* /niche-edits/ — page-specific rules on top of nh-base.css + nh-pages.css (mockup 2026-10-01) */
.pg-ne .hl { color: var(--nh-h2-accent, #0da8d6); }
.pg-ne-sub { margin-top: 12px; font-size: 1.05rem; }

/* Light hero */
.pg-ne-hero.nhp-hero { color: var(--nh-ink); background: #f5f7fb; padding: 32px 0 56px; }
.pg-ne-hero.nhp-hero::before { display: none; }
.pg-ne-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pg-ne-hero .nhp-crumb { color: var(--nh-muted); margin-bottom: 36px; }
.pg-ne-hero .nhp-crumb a { color: var(--nh-muted); }
.pg-ne-hero .nhp-crumb > span:last-child { color: var(--nh-muted); }
.pg-ne-hero .nhp-kicker { color: var(--nh-cyan-d); margin-bottom: 16px; }
.pg-ne-hero .nhp-h1 { color: var(--nh-ink); font-size: clamp(2.3rem, 5vw, 4.1rem); max-width: 620px; }
.pg-ne-hero .nhp-h1 .hl { color: var(--nh-cyan-d); }
.pg-ne-hero .nhp-ul::after { left: 0; right: 0; bottom: -.08em; }
.pg-ne-hero .nhp-lead { color: var(--nh-body); max-width: 560px; margin-top: 22px; font-weight: 500; }
.pg-ne-ghost.nh-btn-ghost { color: var(--nh-ink); border-color: var(--nh-ink); background: #fff; }
.pg-ne-ghost.nh-btn-ghost:hover { background: var(--nh-ink); color: #fff; border-color: var(--nh-ink); }

/* Hero illustration */
.pg-ne-art { position: relative; background: var(--nh-lav); border-radius: var(--nh-r-lg); padding: 48px 44px 40px; display: flex; justify-content: center; }
.pg-ne-art-card { width: 100%; max-width: 360px; background: #fff; border-radius: 16px; padding: 34px 32px 30px; box-shadow: 0 18px 40px rgba(15,29,51,.1); display: grid; gap: 14px; }
.pg-ne-art-label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--nh-ink); margin-bottom: 6px; }
.pg-ne-art-line { display: block; height: 9px; width: 100%; border-radius: 999px; background: var(--nh-line); }
.pg-ne-art-line--w2 { width: 92%; } .pg-ne-art-line--w3 { width: 70%; } .pg-ne-art-line--w4 { width: 66%; } .pg-ne-art-line--short { width: 30%; }
.pg-ne-art-row { display: flex; align-items: center; gap: 12px; }
.pg-ne-art-link { display: inline-block; padding: 4px 10px; border-radius: 6px; background: #bfe8fb; color: var(--nh-ink); font-weight: 800; font-size: .86rem; line-height: 1.3; white-space: nowrap; }
.pg-ne-art-spark { width: 24px; height: 24px; color: var(--nh-cyan-d); flex-shrink: 0; }
.pg-ne-art-badge { position: absolute; top: 22px; right: 26px; background: var(--nh-mint); color: var(--nh-ink); font-weight: 800; font-size: .86rem; padding: 10px 18px; border-radius: 999px; box-shadow: 0 6px 16px rgba(15,29,51,.08); }

/* Strip */
.pg-ne-strip { background: #f5f7fb; border-bottom: 1px solid var(--nh-line); }
.pg-ne-strip-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--nh-line); }
.pg-ne-strip-item { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 26px 16px; font-weight: 800; color: var(--nh-ink); font-size: .98rem; border-left: 1px solid var(--nh-line); }
.pg-ne-strip-item:first-child { border-left: 0; }
.pg-ne-strip-item svg { width: 30px; height: 30px; color: var(--nh-cyan-d); flex-shrink: 0; }

/* What + Before you buy */
.pg-ne-what { padding: 64px 0 48px; }
.pg-ne-what-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.pg-ne-what .nh-h2 { margin-bottom: 18px; }
.pg-ne-prose p { font-size: 1.05rem; line-height: 1.65; color: var(--nh-body); margin: 0 0 16px; }
.pg-ne-prose p:last-child { margin-bottom: 0; }
.pg-ne-buy { background: linear-gradient(180deg, #e4f2fb 0%, #daeefb 100%); border-radius: 18px; padding: 30px 32px; }
.pg-ne-buy h3 { margin: 0 0 20px; font-size: 1.35rem; font-weight: 800; color: var(--nh-ink); }
.pg-ne-buy .nhp-check { gap: 14px; }
.pg-ne-buy .nhp-check li { font-weight: 600; font-size: .96rem; }

/* Comparison table */
.pg-ne-cmp { padding: 32px 0 56px; }
.pg-ne-table-wrap { margin-top: 26px; border-radius: 14px; }
.pg-ne-table thead th { background: #f4f6fa; color: var(--nh-ink); position: static; font-size: .95rem; padding: 16px 18px; }
.pg-ne-table thead th.pg-ne-hl { background: #e2f1fb; }
.pg-ne-table tbody th { background: #fff; width: 30%; font-size: .95rem; padding: 17px 18px; }
.pg-ne-table td { padding: 17px 18px; color: var(--nh-body); font-size: .95rem; }
.pg-ne-table td.pg-ne-hl { background: #f1f8fd; color: var(--nh-ink); }
.pg-ne-note { display: flex; align-items: flex-start; gap: 12px; margin: 22px 0 0; font-size: .92rem; color: var(--nh-muted); line-height: 1.5; }
.pg-ne-note strong { color: var(--nh-ink); font-weight: 800; }
.pg-ne-note svg { width: 22px; height: 22px; color: var(--nh-cyan-d); flex-shrink: 0; }

/* Use cases */
.pg-ne-when { background: #f8f7f4; padding: 56px 0 64px; }
.pg-ne-when .nh-h2 { margin-bottom: 26px; }
.pg-ne-uses { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.pg-ne-use { display: flex; gap: 20px; align-items: flex-start; background: #fff; border: 1.5px solid var(--nh-line); border-top: 5px solid var(--nh-cyan); border-radius: 16px; padding: 26px 26px 28px; transition: transform .25s var(--nh-ease), box-shadow .25s var(--nh-ease); }
.pg-ne-use:hover { transform: translateY(-3px); box-shadow: var(--nh-sh); }
.pg-ne-use-ico { flex-shrink: 0; width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.pg-ne-use-ico svg { width: 26px; height: 26px; }
.pg-ne-use--sky { border-top-color: #8fd9ff; } .pg-ne-use--sky .pg-ne-use-ico { background: var(--nh-sky); color: var(--nh-cyan-d); }
.pg-ne-use--lav { border-top-color: #c9bdf7; } .pg-ne-use--lav .pg-ne-use-ico { background: var(--nh-lav); color: #6d5be0; }
.pg-ne-use--peach { border-top-color: #f8c6a6; } .pg-ne-use--peach .pg-ne-use-ico { background: var(--nh-peach); color: #ef8a4a; }
.pg-ne-use--mint { border-top-color: #b4eccb; } .pg-ne-use--mint .pg-ne-use-ico { background: var(--nh-mint); color: #22a85a; }
.pg-ne-use h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 800; color: var(--nh-ink); line-height: 1.25; }
.pg-ne-use p { margin: 0; font-size: .95rem; color: var(--nh-body); line-height: 1.55; }

/* Process */
/* Process — heading row on top, then a horizontal stepper (same pattern as the guest-posting page):
   numbered circle, connector at circle height, title + text underneath. */
.pg-ne-proc { padding: 64px 0 32px; }
.pg-ne-proc-grid { display: block; }
.pg-ne-proc-copy { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 36px; }
.pg-ne-proc-copy .nh-h2 { margin: 0; }
.pg-ne-proc-copy .pg-ne-sub { margin: 0; }
.pg-ne-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.pg-ne-steps li { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.pg-ne-step-n { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--nh-ink); color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: .02em; box-shadow: 0 6px 16px rgba(15,29,51,.18); }
.pg-ne-steps li:not(:last-child)::after { content: ''; position: absolute; top: 27px; left: 72px; right: -16px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--nh-cyan-d), var(--nh-cyan)); }
.pg-ne-steps h3 { margin: 20px 0 8px; font-size: 1.12rem; font-weight: 800; line-height: 1.25; color: var(--nh-ink); }
.pg-ne-steps p { margin: 0; font-size: .95rem; color: var(--nh-body); line-height: 1.6; max-width: 30ch; }

/* Guarantee */
.pg-ne-guar-sec { padding: 40px 0 40px; }
.pg-ne-guar { background: var(--nh-navy); color: #fff; border-radius: 18px; padding: 32px 40px; display: grid; grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; }
.pg-ne-shield { width: 84px; height: 84px; border-radius: 18px; background: rgba(37,208,255,.12); color: var(--nh-cyan); display: inline-flex; align-items: center; justify-content: center; }
.pg-ne-shield svg { width: 38px; height: 38px; }
.pg-ne-guar-copy { padding-left: 36px; border-left: 1px solid rgba(255,255,255,.14); }
.pg-ne-guar-copy h2 { margin: 0 0 10px; color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 800; letter-spacing: -.02em; }
.pg-ne-guar-copy h2 .hl { color: var(--nh-cyan); }
.pg-ne-guar-copy p { margin: 0; color: rgba(255,255,255,.82); font-size: .98rem; line-height: 1.55; max-width: 560px; }
.pg-ne-guar-list { padding-left: 36px; border-left: 1px solid rgba(255,255,255,.14); gap: 14px; }
.pg-ne-guar-list li { white-space: nowrap; font-weight: 600; }

/* CTA */
.pg-ne-cta { padding: 20px 0 64px; text-align: center; }
.pg-ne-cta .nh-h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.pg-ne-cta p { margin: 12px 0 0; color: var(--nh-body); font-size: 1.05rem; }
.pg-ne-cta-actions { justify-content: center; margin-top: 24px; }

@media (max-width: 1024px) {
  .pg-ne-hero-grid { gap: 36px; }
  .pg-ne-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
  .pg-ne-steps li:not(:last-child)::after { content: none; }
  .pg-ne-steps p { max-width: 38ch; }
  .pg-ne-guar { grid-template-columns: auto 1fr; }
  .pg-ne-guar-list { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 28px; }
}
@media (max-width: 860px) {
  .pg-ne-hero-grid, .pg-ne-what-grid { grid-template-columns: 1fr; }
  .pg-ne-art { padding: 40px 24px 32px; }
  .pg-ne-strip-row { grid-template-columns: 1fr; border-top: 0; }
  .pg-ne-strip-item { justify-content: flex-start; border-left: 0; border-top: 1px solid var(--nh-line); padding: 16px 0; }
  .pg-ne-uses { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pg-ne-hero.nhp-hero { padding-bottom: 40px; }
  .pg-ne-hero .nhp-crumb { margin-bottom: 24px; }
  .pg-ne-buy { padding: 24px 22px; }
  .pg-ne-use { padding: 22px 20px; gap: 16px; }
  .pg-ne-use-ico { width: 50px; height: 50px; }
  /* phones: vertical timeline — circle left, text right, connector running down between circles */
  .pg-ne-proc-copy { margin-bottom: 28px; }
  .pg-ne-steps { grid-template-columns: 1fr; gap: 28px; }
  .pg-ne-steps li { flex-direction: row; gap: 16px; }
  .pg-ne-step-n { width: 48px; height: 48px; font-size: .95rem; }
  .pg-ne-steps li:not(:last-child)::after { content: ''; top: 56px; bottom: -20px; left: 23px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--nh-cyan-d), var(--nh-cyan)); }
  .pg-ne-steps h3 { margin: 10px 0 6px; }
  .pg-ne-steps p { max-width: none; }
  .pg-ne-guar { grid-template-columns: 1fr; padding: 26px 22px; gap: 20px; }
  .pg-ne-guar-copy { padding-left: 0; border-left: 0; }
  .pg-ne-guar-list li { white-space: normal; }
  .pg-ne-cta-actions .nh-btn { width: 100%; }
}

/* Phones: the comparison table fits the screen instead of scrolling sideways */
@media (max-width: 640px) {
  .pg-ne-table thead th, .pg-ne-table tbody th, .pg-ne-table td { padding: 12px 10px; font-size: .86rem; }
  .pg-ne-table tbody th { width: auto; }
  .pg-ne-table thead th:first-child { width: 30%; }
}
