/* News Rank — dark independent-media desk */
:root {
  --nr-bg: #070809;
  --nr-surface: #121417;
  --nr-surface-2: #181b1f;
  --nr-fg: #f4f6f8;
  --nr-muted: #8b919a;
  --nr-subtle: #5c636c;
  --nr-accent: #2ee6d6;
  --nr-accent-fg: #04110f;
  --nr-border: #23282e;
  --nr-radius: 8px;
}

.nr-kicker {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nr-accent);
  margin: 0 0 0.35rem;
}

.nr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter 0.15s ease, border-color 0.15s ease;
}
.nr-btn--accent {
  background: var(--nr-accent);
  color: var(--nr-accent-fg);
}
.nr-btn--accent:hover {
  filter: brightness(1.08);
  color: var(--nr-accent-fg);
}
.nr-btn--ghost {
  background: transparent;
  border-color: var(--nr-border);
  color: var(--nr-muted);
}
.nr-btn--ghost:hover {
  color: var(--nr-fg);
  border-color: #3a424c;
}

.nr-auth {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.nr-auth-name {
  color: var(--nr-fg);
  font-size: 0.875rem;
  font-weight: 600;
}
.nr-auth-handle {
  color: var(--nr-subtle);
  font-size: 0.8rem;
}
.nr-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
}
.nr-muted {
  color: var(--nr-muted);
  font-size: 0.85rem;
}

.nr-vote {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.nr-vote-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--nr-border);
  background: var(--nr-surface-2);
  color: var(--nr-muted);
  cursor: pointer;
  line-height: 1;
  font-size: 0.7rem;
}
.nr-vote-btn:hover {
  color: var(--nr-fg);
  border-color: #3a424c;
}
.nr-vote-btn.is-active {
  color: #06210f;
  background: #3dd68c;
  border-color: #3dd68c;
}
.nr-vote-score {
  min-width: 1.75rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--nr-fg);
  font-size: 0.9rem;
}
.nr-vote-math {
  font-size: 0.75rem;
  color: var(--nr-subtle);
  margin-left: 0.25rem;
}

.nr-hero {
  position: relative;
  display: block;
  min-height: 22rem;
  border-radius: var(--nr-radius);
  overflow: hidden;
  background: var(--nr-surface);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08);
}
/* Image fill only inside overlay .nr-hero frame — NOT stack */
.nr-hero > .nr-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nr-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(7, 8, 9, 0.95) 10%, rgba(7, 8, 9, 0.35) 55%, transparent);
}
.nr-hero-title {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.1;
  font-weight: 650;
  color: var(--nr-fg);
}
.nr-hero-dek {
  margin: 0;
  max-width: 36rem;
  color: var(--nr-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.nr-hero--x {
  min-height: 0;
  box-shadow: none;
  background: transparent;
}

.nr-rail {
  margin: 2.5rem 0;
}
.nr-rail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.nr-rail-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 650;
  color: var(--nr-fg);
}
.nr-view-all {
  color: var(--nr-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}
.nr-view-all:hover {
  color: var(--nr-accent);
}
.nr-rail-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .nr-rail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nr-rail-grid.nr-cols-1 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1024px) {
  .nr-rail-grid.nr-cols-1 {
    grid-template-columns: 1fr;
  }
  .nr-rail-grid.nr-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nr-rail-grid.nr-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .nr-rail-grid.nr-cols-4,
  .nr-rail-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .nr-rail-grid.nr-cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .nr-rail-grid.nr-cols-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}
.nr-hero-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.nr-hero-wrap .nr-vote {
  margin-top: 0;
}
.nr-card {
  display: flex;
  flex-direction: column;
  background: var(--nr-surface);
  border-radius: var(--nr-radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08);
  padding-bottom: 0.75rem;
}
.nr-card-link {
  text-decoration: none;
  color: inherit;
  flex: 1;
}
.nr-card-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--nr-surface-2);
}
.nr-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nr-card-body {
  padding: 0.85rem 0.9rem 0.25rem;
}
.nr-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.25;
  font-weight: 650;
  color: var(--nr-fg);
}
.nr-card-dek {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--nr-muted);
}
.nr-card .nr-vote {
  padding: 0 0.9rem;
}

.nr-card--x {
  padding: 0;
}
.nr-x-embed {
  overflow: hidden;
  border-radius: 6px;
}
.nr-x-embed iframe {
  max-width: 100%;
}
.nr-x-fallback {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  min-height: 8rem;
  justify-content: center;
}
.nr-x-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nr-accent);
}
.nr-x-fallback-title {
  font-weight: 650;
  color: var(--nr-fg);
  font-size: 1rem;
  line-height: 1.3;
}
.nr-x-fallback-url {
  font-size: 0.8rem;
  color: var(--nr-subtle);
  word-break: break-all;
}

.nr-top {
  background: var(--nr-surface);
  border-radius: var(--nr-radius);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08);
  padding: 1.1rem 1.15rem 0.5rem;
}
.nr-top-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.nr-top-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--nr-fg);
}
.nr-top-tabs {
  display: inline-flex;
  gap: 0.25rem;
  background: var(--nr-bg);
  padding: 0.2rem;
  border-radius: 6px;
}
.nr-top-tab {
  border: 0;
  background: transparent;
  color: var(--nr-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
}
.nr-top-tab.is-active {
  background: var(--nr-surface-2);
  color: var(--nr-accent);
}
.nr-top-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nr-top-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--nr-border);
}
.nr-top-rank {
  width: 1.5rem;
  text-align: center;
  font-weight: 700;
  color: var(--nr-subtle);
  font-variant-numeric: tabular-nums;
}
.nr-top-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 48px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--nr-surface-2);
}
.nr-top-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nr-top-body {
  min-width: 0;
  flex: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.nr-top-item-title {
  color: var(--nr-fg);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
}
.nr-top-item-title:hover {
  color: var(--nr-accent);
}
.nr-top-score {
  color: var(--nr-accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 0.8rem;
  white-space: nowrap;
}
.nr-top-empty {
  color: var(--nr-muted);
  padding: 1rem 0;
  font-size: 0.9rem;
  border-top: 1px solid var(--nr-border);
}

.nr-wrap {
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 1.25rem 3rem;
}
.nr-hero-row {
  display: grid;
  gap: 0.85rem;
}
@media (min-width: 1024px) {
  .nr-hero-row {
    grid-template-columns: 3fr 2fr;
  }
  .nr-hero-row .nr-hero {
    min-height: 28rem;
  }
}
.nr-sub-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.nr-sub-stack .nr-hero {
  min-height: 13rem;
  flex: 1;
}
.nr-sub-stack .nr-hero-title {
  font-size: 1.25rem;
}


/* Headlines layout */
.nr-rail-grid--headlines {
  gap: 0.35rem 1.25rem;
}
.nr-headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--nr-border);
}
.nr-headline-link {
  flex: 1;
  min-width: 12rem;
  text-decoration: none;
  color: inherit;
  line-height: 1.35;
}
.nr-headline-title {
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--nr-fg);
}
.nr-headline-link:hover .nr-headline-title {
  color: var(--nr-accent);
}
.nr-headline .nr-vote {
  margin-top: 0;
}
.nr-rail-title-spacer {
  flex: 1;
}
.nr-rail-head:has(.nr-rail-title-spacer) .nr-view-all {
  margin-left: auto;
}

/* Layer 2 panels */
.nr-panel {
  background: var(--nr-surface);
  border-radius: var(--nr-radius);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08);
  padding: 1.25rem 1.35rem;
  margin: 1rem 0;
  color: var(--nr-fg);
}
.nr-panel--wide { max-width: 100%; width: 100%; }
.nr-panel-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 650;
}
.nr-form { display: flex; flex-direction: column; gap: 0.75rem; }
.nr-label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--nr-muted);
}
.nr-input {
  background: var(--nr-bg);
  border: 1px solid var(--nr-border);
  border-radius: 6px;
  color: var(--nr-fg);
  padding: 0.55rem 0.7rem;
  font: inherit;
}
.nr-flash {
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
}
.nr-flash--ok { background: rgb(46 230 214 / 0.12); color: var(--nr-accent); }
.nr-flash--err { background: rgb(255 80 80 / 0.12); color: #ff8b8b; }
.nr-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1rem; }
.nr-tab {
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--nr-muted);
  background: var(--nr-bg);
  font-size: 0.85rem;
  font-weight: 600;
}
.nr-tab.is-active { color: var(--nr-accent); }
.nr-queue-item {
  display: grid;
  gap: 1rem;
  grid-template-columns: 120px 1fr;
  padding: 1rem 0;
  border-top: 1px solid var(--nr-border);
}
@media (max-width: 640px) {
  .nr-queue-item { grid-template-columns: 1fr; }
}
.nr-queue-thumb img {
  width: 100%;
  border-radius: 6px;
  display: block;
}
.nr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.nr-person {
  padding: 1rem 0;
  border-top: 1px solid var(--nr-border);
}
.nr-person-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.nr-person-score {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--nr-accent);
  font-variant-numeric: tabular-nums;
}
.nr-person-note {
  color: var(--nr-muted);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}
.nr-sample-list {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.1rem;
  font-size: 0.85rem;
}
.nr-sample-list a { color: var(--nr-muted); }

.nr-chip-link {
  color: var(--nr-accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-right: 0.35rem;
}
.nr-chip-link:hover { text-decoration: underline; }
.nr-submitter {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--nr-subtle);
  margin: 0.15rem 0 0.25rem;
}
.nr-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--nr-muted);
}

.nr-source-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--nr-muted);
  border: 1px solid var(--nr-border);
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  margin: 0.2rem 0.35rem 0.2rem 0;
}
.nr-row-2 {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .nr-row-2 { grid-template-columns: 1fr; }
}
.nr-queue-embed {
  max-width: 320px;
  overflow: hidden;
}


/* Social embeds: stack preview full width above fields */
.nr-queue-item--embed {
  grid-template-columns: 1fr;
}
.nr-queue-item--embed .nr-queue-embed {
  max-width: 100%;
  width: 100%;
}
.nr-queue-item--embed .nr-queue-embed iframe,
.nr-queue-item--embed .nr-queue-embed blockquote {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: auto;
  margin-right: auto;
}


/* Queue: stack platform previews full width */
.nr-queue-item--embed {
  grid-template-columns: 1fr !important;
}
.nr-queue-item--embed .nr-queue-embed {
  max-width: 100%;
  width: 100%;
  justify-self: stretch;
}
.nr-queue-item--embed .nr-queue-embed iframe,
.nr-queue-item--embed .nr-queue-embed blockquote {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.nr-card--platform .nr-platform-embed {
  width: 100%;
  overflow: hidden;
}
.nr-card--platform .nr-platform-embed iframe,
.nr-card--platform .nr-platform-embed blockquote {
  max-width: 100% !important;
  margin: 0 auto !important;
}

/* Hero adjustable height */
.nr-hero-wrap .nr-hero {
  min-height: var(--nr-hero-height, 420px);
}
.nr-hero > .nr-hero-img {
  min-height: var(--nr-hero-height, 420px);
  object-fit: cover;
}

/* Queue: desktop split for platform embeds */
.nr-queue-item--split {
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1.2fr);
  align-items: start;
}
.nr-queue-item--split .nr-queue-embed {
  max-width: 100%;
  width: 100%;
}
.nr-queue-item--article {
  grid-template-columns: 200px 1fr;
}
.nr-queue-item--article .nr-queue-thumb img {
  width: 100%;
  border-radius: 8px;
  display: block;
}
@media (max-width: 900px) {
  .nr-queue-item--split,
  .nr-queue-item--article {
    grid-template-columns: 1fr;
  }
}

/* Dashboard approved cards */
.nr-dash-cards {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  margin-top: 0.5rem;
}
.nr-dash-card {
  display: flex;
  flex-direction: column;
  background: var(--nr-surface);
  border-radius: var(--nr-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.08);
}
.nr-dash-card-media {
  aspect-ratio: 16 / 9;
  background: var(--nr-surface-2);
}
.nr-dash-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.nr-dash-card-body {
  padding: 0.55rem 0.65rem;
}
.nr-dash-card-title {
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1.3;
  color: var(--nr-fg);
}
.nr-top-cat {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.75rem;
  color: var(--nr-muted);
}

.nr-yt-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}
.nr-yt-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.nr-card--platform .nr-platform-embed {
  min-height: 120px;
}


.nr-actions--batch-top {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--nr-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.nr-actions--batch-bottom {
  margin-top: 1.25rem;
  padding-top: 1rem;
}
.nr-card--tiktok-thumb {
  padding: 0.75rem;
}
.nr-card-media--tiktok {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-height: none;
  background: #111;
  border-radius: 6px;
  overflow: hidden;
}
.nr-card-media--tiktok img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.nr-rail-grid.nr-cols-1 .nr-card-media--tiktok {
  aspect-ratio: 4 / 5;
}
@media (max-width: 640px) {
  .nr-card-media--tiktok {
    aspect-ratio: 4 / 5;
  }
}
.nr-play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: rgb(0 0 0 / 0.65);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}
.nr-queue-thumb--tiktok {
  position: relative;
  min-height: 200px;
}
.nr-queue-thumb--tiktok img {
  width: 100%;
  border-radius: 8px;
  display: block;
}


/* Hero stack: media on top, caption under */
.nr-hero-wrap--stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.nr-hero-wrap--stack .nr-hero-media {
  display: block;
  width: 100%;
  border-radius: var(--nr-radius, 12px);
  overflow: hidden;
  background: var(--nr-surface-2, #111);
}
.nr-hero-wrap--stack .nr-hero-media .nr-hero-img,
.nr-hero-wrap--stack .nr-hero-media img {
  width: 100%;
  height: auto;
  max-height: var(--nr-hero-height, 420px);
  object-fit: cover;
  min-height: 0;
  display: block;
}
.nr-hero-wrap--stack .nr-hero-media--video {
  width: 100%;
}
.nr-hero-wrap--stack .nr-hero-media--video .nr-yt-wrap {
  aspect-ratio: 16 / 9;
  max-height: none;
}
.nr-hero-caption {
  padding: 0 0.15rem 0.35rem;
}
.nr-hero-caption-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.nr-hero-caption .nr-hero-title {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  margin: 0.25rem 0;
  line-height: 1.2;
}
.nr-hero-caption .nr-hero-dek {
  opacity: 0.85;
  margin: 0;
}
.nr-hero--video {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--nr-radius, 12px);
}
.nr-hero--video .nr-hero-overlay {
  pointer-events: none;
}



/* ===== Hero stack: in-flow, full image, caption under (no crop) ===== */
.nr-hero-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 1;
}
.nr-hero-wrap--stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  position: relative;
  z-index: 1;
  /* grow with content — never absolute overlay on following rows */
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.nr-hero-wrap--stack .nr-hero-media {
  display: block;
  width: 100%;
  max-width: 100%;
  position: relative;
  border-radius: var(--nr-radius, 12px);
  overflow: hidden;
  background: var(--nr-surface-2, #111);
  line-height: 0;
}
.nr-hero-wrap--stack .nr-hero-media .nr-hero-img,
.nr-hero-wrap--stack .nr-hero-media img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: contain !important;
  object-position: center top;
  display: block;
}
.nr-hero-wrap--stack .nr-hero-media--video {
  width: 100%;
  line-height: normal;
}
.nr-hero-wrap--stack .nr-hero-media--video .nr-yt-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: none;
}
.nr-hero-wrap--stack .nr-hero-caption {
  padding: 0 0.1rem 0.5rem;
  width: 100%;
  position: relative;
  z-index: 1;
}
.nr-hero-wrap--stack .nr-hero-caption-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.nr-hero-wrap--stack .nr-hero-title {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  margin: 0.25rem 0;
  line-height: 1.2;
}
.nr-hero-wrap--stack .nr-hero-dek {
  opacity: 0.85;
  margin: 0.35rem 0 0;
  line-height: 1.45;
}
.nr-hero-wrap--stack .nr-vote {
  margin-top: 0.35rem;
}

/* Overlay keeps adjustable frame height */
.nr-hero-wrap--overlay .nr-hero,
.nr-hero-wrap:not(.nr-hero-wrap--stack) .nr-hero {
  position: relative;
  display: block;
  width: 100%;
  min-height: var(--nr-hero-height, 420px);
  overflow: hidden;
  border-radius: var(--nr-radius, 12px);
}
.nr-hero-wrap--overlay .nr-hero-img,
.nr-hero-wrap:not(.nr-hero-wrap--stack) .nr-hero-img {
  width: 100%;
  height: 100%;
  min-height: var(--nr-hero-height, 420px);
  object-fit: cover;
  display: block;
}


/* Rail gap from Settings / shortcode */
.nr-rail-grid {
  gap: var(--nr-rail-gap, 1rem);
}

/* Stack hero: force visible full-width images (overlay already works) */
.nr-hero-wrap--stack {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 1;
}
.nr-hero-wrap--stack > .nr-hero-media {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 120px;
  position: relative !important;
  overflow: visible !important;
  line-height: normal !important;
  border-radius: var(--nr-radius, 12px);
  background: var(--nr-surface-2, #1a1a1a);
}
.nr-hero-wrap--stack > .nr-hero-media img,
.nr-hero-wrap--stack > .nr-hero-media .nr-hero-img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: unset !important;
  vertical-align: top;
  border: 0;
  border-radius: var(--nr-radius, 12px);
}
.nr-hero-wrap--stack > .nr-hero-caption {
  display: block !important;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0 0.15rem 0.25rem;
}


/* ========== HERO FINAL (2.2.9) ========== */
.nr-hero-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* STACK: in-flow image + caption under — never absolute */
.nr-hero-wrap--stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.85rem;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  position: relative !important;
}
.nr-hero-wrap--stack .nr-hero-media {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  position: relative !important;
  overflow: hidden;
  border-radius: var(--nr-radius, 12px);
  background: var(--nr-surface-2, #111);
  line-height: 0;
}
.nr-hero-wrap--stack .nr-hero-media img,
.nr-hero-wrap--stack .nr-hero-media .nr-hero-img {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  object-fit: initial !important;
  border-radius: var(--nr-radius, 12px);
}
.nr-hero-wrap--stack .nr-hero-caption {
  position: static !important;
  display: block !important;
  width: 100%;
  margin: 0;
  padding: 0 0.15rem 0.35rem;
  background: none !important;
  inset: auto !important;
}
.nr-hero-wrap--stack .nr-hero-caption .nr-hero-title {
  position: static !important;
  color: var(--nr-fg, #fff);
}
.nr-hero-wrap--stack .nr-hero-caption .nr-hero-dek {
  position: static !important;
  color: var(--nr-muted, #aaa);
}

/* OVERLAY: fluid width, height from --nr-hero-height */
.nr-hero-wrap--overlay,
.nr-hero-wrap:not(.nr-hero-wrap--stack) {
  width: 100%;
}
.nr-hero-wrap--overlay .nr-hero,
.nr-hero-wrap:not(.nr-hero-wrap--stack) .nr-hero {
  position: relative;
  display: block;
  width: 100% !important;
  max-width: 100%;
  min-height: var(--nr-hero-height, 420px);
  height: var(--nr-hero-height, 420px);
  overflow: hidden;
  border-radius: var(--nr-radius, 12px);
  box-sizing: border-box;
}
.nr-hero-wrap--overlay .nr-hero > .nr-hero-img,
.nr-hero-wrap:not(.nr-hero-wrap--stack) .nr-hero > .nr-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 0;
}


/* Desk panels full width */
.nr-panel,
.nr-panel--wide {
  max-width: 100% !important;
  width: 100%;
  box-sizing: border-box;
}

/* Account approved grid 3 / 2 / 1 */
.nr-dash-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
@media (min-width: 641px) {
  .nr-dash-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .nr-dash-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
.nr-dash-card-media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  background: var(--nr-surface-2, #1a1a1a);
  color: var(--nr-muted, #888);
  font-size: 0.85rem;
  font-weight: 650;
}
.nr-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 1rem;
}
.nr-pager-link {
  display: inline-block;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--nr-fg, #fff);
  background: var(--nr-surface-2, #222);
}
.nr-pager-link.is-active {
  background: var(--nr-accent, #22d3ee);
  color: #000;
}
.nr-vote-count {
  opacity: 0.75;
  font-weight: 500;
}


/* Login chip — compact so it stays in the header row */
.nr-auth {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  width: auto;
  max-width: 100%;
  justify-content: flex-end;
  margin-left: auto;
}
.nr-auth--out {
  justify-content: flex-end;
  width: auto;
}
.nr-auth-links--desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}
.nr-auth-burger {
  display: none;
  margin-left: 0;
  position: relative;
}
.nr-burger {
  list-style: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
  box-sizing: border-box;
}
.nr-burger::-webkit-details-marker { display: none; }
.nr-burger::marker { content: ""; }
.nr-burger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.nr-auth-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  min-width: 180px;
  background: var(--nr-surface, #111);
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  z-index: 40;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.35);
}
@media (max-width: 768px) {
  .nr-auth--has-menu .nr-auth-name--desktop,
  .nr-auth--has-menu .nr-auth-links--desktop {
    display: none;
  }
  .nr-auth--has-menu .nr-auth-burger {
    display: block;
  }
  .nr-auth--simple .nr-auth-name--desktop,
  .nr-auth--simple .nr-auth-name--mobile-hide {
    display: none;
  }
  .nr-auth--simple {
    justify-content: flex-start;
  }
  .nr-auth--simple .nr-chip-logout {
    margin-left: auto;
  }
  .nr-auth--out {
    justify-content: flex-end;
  }
}
.nr-sort-link { margin-right: 0.5rem; text-decoration: none; }
.nr-sort-link.is-active { font-weight: 700; text-decoration: underline; }

@media (max-width: 768px) {
  .nr-auth--simple .nr-auth-name { display: none; }
  .nr-auth--has-menu .nr-auth-name { display: none; }
}


/* 3.2 hero excerpt full width + mobile overlay */
.nr-hero-dek,
.nr-hero-overlay .nr-hero-dek,
.nr-hero-caption .nr-hero-dek {
  max-width: 100% !important;
  width: 100% !important;
}
@media (max-width: 768px) {
  .nr-hero {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .nr-hero-wrap--stack {
    gap: 0.4rem;
  }
  .nr-hero-wrap--stack .nr-hero-caption .nr-hero-dek {
    margin-top: 0.2rem;
  }
}

.nr-headline-link { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.nr-headline-thumb { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 6px; overflow: hidden; background: #222; }
.nr-headline-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nr-theme-light .nr-card {
  background: #fff;
  color: #111;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12);
}
.nr-theme-light .nr-card-title,
.nr-theme-light .nr-headline-title { color: #111; }
.nr-theme-light .nr-card-dek,
.nr-theme-light .nr-kicker,
.nr-theme-light .nr-muted { color: #444; }
.nr-theme-light .nr-card-media { background: #eee; }
.nr-theme-light .nr-headline { border-color: rgb(0 0 0 / 0.08); }

.nr-batch-toggle { display: flex; align-items: center; gap: 0.65rem; padding: 0.45rem 0; cursor: pointer; }
.nr-batch-toggle input { width: 1.15rem; height: 1.15rem; }
.nr-batch-hit { color: var(--nr-accent, #22d3ee); text-decoration: underline; cursor: pointer; font-size: 1rem; }

.nr-theme-light .nr-hero {
  background: #f3f4f6;
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.1);
}
.nr-theme-light .nr-hero-overlay {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.96) 8%, rgba(255, 255, 255, 0.45) 52%, transparent);
}
.nr-theme-light .nr-hero-title,
.nr-theme-light .nr-hero-caption .nr-hero-title { color: #111; }
.nr-theme-light .nr-hero-dek,
.nr-theme-light .nr-hero-caption .nr-hero-dek { color: #333; }
.nr-headline-link:not(:has(.nr-headline-thumb)) { gap: 0; }
.nr-top-item:not(:has(.nr-top-thumb)) { gap: 0.35rem; }

/* 3.12 Moderate: Categories field, bot badges */
.nr-queue-item select.nr-multi {
  width: 100%;
  max-width: 100%;
  min-height: 6.5rem;
  padding: 0.25rem;
  box-sizing: border-box;
}
.nr-queue-item select.nr-multi option {
  padding: 0.2rem 0.35rem;
}
.nr-queue-item select.nr-multi option:checked {
  font-weight: 600;
}
.nr-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.35rem 0;
}
.nr-badge {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--nr-border);
  color: var(--nr-fg);
  font-size: 0.75rem;
  line-height: 1.5;
}
.nr-badge--bot {
  border-color: var(--nr-accent);
  color: var(--nr-accent);
}
.nr-badge--stale {
  background: #b45309;
  border-color: #b45309;
  color: #fff;
}
.nr-bot-note {
  margin: 0.35rem 0;
  padding: 0.4rem 0.6rem;
  border-left: 3px solid var(--nr-accent);
  background: var(--nr-surface-2);
  color: var(--nr-fg);
  font-size: 0.875rem;
  overflow-wrap: anywhere;
}

/* 3.13 quick Moderate */
.nr-q-jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.75rem 0; }
.nr-q-jump-link { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.35rem 0.7rem; border: 1px solid var(--nr-border); border-radius: 999px; color: var(--nr-fg); text-decoration: none; font-size: 0.85rem; font-weight: 600; }
.nr-q-jump-link.is-empty { color: var(--nr-subtle); }
.nr-q-n { color: var(--nr-muted); font-weight: 500; font-size: 0.8rem; }
.nr-q-legend { font-size: 0.85rem; margin: 0 0 0.5rem; }
.nr-q-key { display: inline-flex; width: 1.4em; height: 1.4em; align-items: center; justify-content: center; border-radius: 50%; color: #fff; font-weight: 700; }
.nr-q-key--publish { background: #16a34a; }
.nr-q-key--trash { background: #dc2626; }
.nr-q-section { margin: 1.25rem 0 0; scroll-margin-top: 80px; }
.nr-q-head { font-size: 1.1rem; margin: 0 0 0.5rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--nr-border); display: flex; align-items: baseline; gap: 0.5rem; }
.nr-q-rows { display: flex; flex-direction: column; }
.nr-q-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.nr-q-grid.nr-q-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .nr-q-grid, .nr-q-grid.nr-q-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .nr-q-grid, .nr-q-grid.nr-q-cols-2 { grid-template-columns: 1fr; } }
.nr-q-card { position: relative; border: 2px solid transparent; border-radius: var(--nr-radius); transition: border-color 0.15s ease, background 0.15s ease; }
.nr-q-card--row { display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; grid-template-areas: "thumb main marks" "details details details"; gap: 0.5rem 1rem; padding: 0.75rem; border-top: 1px solid var(--nr-border); }
.nr-q-card--row .nr-q-thumb { grid-area: thumb; }
.nr-q-card--row .nr-q-main { grid-area: main; min-width: 0; }
.nr-q-card--row .nr-q-marks { grid-area: marks; align-self: start; }
.nr-q-card--row .nr-q-details { grid-area: details; }
@media (max-width: 640px) {
  .nr-q-card--row { grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "thumb main" "marks marks" "details details"; }
}
.nr-q-card--tile { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.6rem; background: var(--nr-surface-2); }
.nr-q-thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; display: block; }
.nr-q-thumb-empty { display: flex; aspect-ratio: 16 / 10; align-items: center; justify-content: center; border-radius: 6px; background: var(--nr-surface-2); color: var(--nr-muted); font-size: 0.8rem; }
.nr-q-media { min-width: 0; overflow: hidden; }
.nr-q-media .nr-queue-embed { max-width: 100%; }
.nr-q-media iframe, .nr-q-media blockquote { max-width: 100% !important; }
.nr-q-meta { font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: baseline; }
.nr-q-meta .nr-kicker { margin: 0; }
.nr-q-type { margin-left: auto; font-size: 0.72rem; color: var(--nr-muted); border: 1px solid var(--nr-border); border-radius: 999px; padding: 0 0.45rem; }
.nr-q-title { font-size: 1rem; line-height: 1.3; margin: 0.25rem 0; color: var(--nr-fg); }
.nr-q-excerpt { font-size: 0.85rem; color: var(--nr-muted); margin: 0 0 0.25rem; }
.nr-q-sum, .nr-q-src { font-size: 0.8rem; margin: 0.15rem 0; }
.nr-q-src a { color: var(--nr-accent); }
.nr-q-marks { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.nr-mark { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 0 0.6rem; border-radius: 8px; border: 2px solid var(--nr-border); background: var(--nr-bg); color: var(--nr-fg); font-weight: 700; font-size: 0.85rem; cursor: pointer; user-select: none; }
.nr-mark input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nr-mark--publish span[aria-hidden], .nr-mark--trash span[aria-hidden] { font-size: 1.25rem; line-height: 1; }
.nr-mark--publish { border-color: #16a34a; color: #22c55e; }
.nr-mark--trash { border-color: #dc2626; color: #ef4444; }
.nr-mark--hold, .nr-mark--pending { border-color: #d97706; color: #f59e0b; }
.nr-mark--decline { border-color: #6b7280; color: #9ca3af; }
.nr-mark:has(input:focus-visible) { outline: 2px solid var(--nr-accent); outline-offset: 2px; }
.nr-mark--publish:has(input:checked) { background: #16a34a; color: #fff; }
.nr-mark--trash:has(input:checked) { background: #dc2626; color: #fff; }
.nr-mark--hold:has(input:checked), .nr-mark--pending:has(input:checked) { background: #d97706; color: #fff; }
.nr-mark--decline:has(input:checked) { background: #6b7280; color: #fff; }
.nr-q-card.is-publish, .nr-q-card:has(.nr-mark--publish input:checked) { border-color: #16a34a; background: rgb(22 163 74 / 0.08); }
.nr-q-card.is-trash, .nr-q-card:has(.nr-mark--trash input:checked) { border-color: #dc2626; background: rgb(220 38 38 / 0.08); }
.nr-q-card.is-hold, .nr-q-card.is-pending, .nr-q-card:has(.nr-mark--hold input:checked), .nr-q-card:has(.nr-mark--pending input:checked) { border-color: #d97706; background: rgb(217 119 6 / 0.08); }
.nr-q-card.is-decline, .nr-q-card:has(.nr-mark--decline input:checked) { border-color: #6b7280; background: rgb(107 114 128 / 0.1); }
.nr-q-details > summary { cursor: pointer; color: var(--nr-accent); font-size: 0.85rem; padding: 0.2rem 0; }
.nr-q-fields { display: grid; gap: 0.35rem; padding: 0.5rem 0; }
.nr-q-fields select.nr-multi { width: 100%; min-height: 5.5rem; box-sizing: border-box; }
.nr-q-place { border: 0; padding: 0; margin: 0.25rem 0; display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.nr-q-place legend { font-size: 0.8rem; color: var(--nr-muted); float: left; margin-right: 0.5rem; }
.nr-q-place .nr-check { display: inline-flex; gap: 0.3rem; align-items: center; }
.nr-q-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin: 0.75rem 0 0; padding: 0.6rem 0; border-top: 1px dashed var(--nr-border); }
.nr-q-bottom { position: sticky; bottom: 0; z-index: 5; background: var(--nr-surface, #121417); margin-top: 1rem; padding: 0 0.5rem; border-radius: 8px; box-shadow: 0 -6px 16px rgb(0 0 0 / 0.35); }
.nr-q-bottom .nr-q-submit { border-top: 0; margin: 0; }
.nr-q .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.nr-off-note { display: block; padding: 0.5rem 0.75rem; border: 1px dashed #d97706; color: #b45309; background: rgb(217 119 6 / 0.08); border-radius: 6px; font-size: 0.85rem; }

/* 3.13 rail dates */
.nr-date { display: block; margin: 0.25rem 0 0; line-height: 1.3; }
.nr-headline-link .nr-date { margin-left: auto; }

/* 3.14 Moderate: one-card Publish (teal), bot pull */
.nr-q-pub { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 0.8rem; border-radius: 8px; border: 2px solid #0d9488; background: #0d9488; color: #fff; font-weight: 700; font-size: 0.85rem; cursor: pointer; }
.nr-q-pub:hover, .nr-q-pub:focus-visible { background: #0f766e; border-color: #0f766e; outline: 2px solid var(--nr-accent); outline-offset: 2px; }
.nr-q-key--pub { display: inline-block; width: auto; height: auto; margin-right: 0.3rem; padding: 0 0.35rem; line-height: 1.5; border-radius: 4px; background: #0d9488; color: #fff; font-weight: 700; }
.nr-q-botpull { margin: 0.5rem 0; }

/* 3.14 rail tabs: phones show one rail with a sticky tab bar; desktop keeps columns */
.nr-rtabs { --nr-tab-bg: var(--nr-bg, #0b0d10); --nr-tab-fg: #9ca3af; --nr-tab-active: var(--nr-accent, #2ee6d6); --nr-tab-size: 0.95rem; }
.nr-rtabs-bar { display: none; gap: 0.25rem; overflow-x: auto; padding: 0.4rem 0.25rem; background: var(--nr-tab-bg); border-bottom: 1px solid var(--nr-border, #2a2f36); z-index: 50; scrollbar-width: none; }
.nr-rtabs-bar::-webkit-scrollbar { display: none; }
.nr-rtab { flex: 1 1 0; text-align: center; white-space: nowrap; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--nr-tab-fg); font-size: var(--nr-tab-size); font-weight: 700; padding: 0.45rem 0.8rem; cursor: pointer; }
.nr-rtab.is-active { color: var(--nr-tab-active); border-bottom-color: var(--nr-tab-active); }
.nr-rtabs-panels { display: grid; grid-template-columns: repeat(var(--nr-tab-cols, 3), minmax(0, 1fr)); gap: 1rem; align-items: start; }
.nr-rtab-panel { min-width: 0; scroll-margin-top: 4rem; }
.nr-rtabs.is-tabbed .nr-rtabs-bar { display: flex; position: sticky; top: var(--nr-tab-top, 0px); }
.nr-rtabs.is-tabbed .nr-rtabs-panels { display: block; }
.nr-rtabs.is-tabbed .nr-rtab-panel[hidden] { display: none; }
@media (max-width: 781px) {
  .nr-rtabs .nr-rtabs-bar { display: flex; position: sticky; top: var(--nr-tab-top, 0px); }
  .nr-rtabs .nr-rtabs-panels { display: block; }
  .nr-rtabs .nr-rtab-panel[hidden] { display: none; }
}
@media (min-width: 782px) { .nr-rtabs:not(.is-tabbed) .nr-rtab-panel[hidden] { display: block; } }
/* 3.14.2 sticky offset: just under the theme's sticky header. Humanity exposes --h-top
   (admin bar included) and --h-header-h; other themes fall back to the admin bar, plus the
   "extra space" setting (--nr-tab-offset). */
.nr-rtabs { --nr-ab: 0px; --nr-tab-top: calc(var(--h-top, var(--nr-ab)) + var(--h-header-h, 0px) + var(--nr-tab-offset, 0px)); }
@media (min-width: 601px) { body.admin-bar .nr-rtabs { --nr-ab: 46px; } }
@media (min-width: 783px) { body.admin-bar .nr-rtabs { --nr-ab: 32px; } }

/* 3.14 click-to-load embeds */
.nr-ctl { position: relative; display: flex; flex-direction: column; gap: 0.5rem; width: 100%; max-width: 550px; margin: 0 auto; padding: 0.9rem; border-radius: 12px; background: #111418; color: #e5e7eb; border: 1px solid #2a2f36; text-align: left; cursor: pointer; font: inherit; }
.nr-ctl:hover, .nr-ctl:focus-visible { border-color: var(--nr-accent, #2ee6d6); outline: none; }
.nr-ctl-head { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #9ca3af; }
.nr-ctl-logo { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; background: #000; color: #fff; font-weight: 800; font-size: 0.8rem; }
.nr-ctl--instagram .nr-ctl-logo { background: #c13584; }
.nr-ctl--tiktok .nr-ctl-logo { background: #010101; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.nr-ctl-account { color: #e5e7eb; font-weight: 700; }
.nr-ctl-text { margin: 0; font-size: 0.95rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.nr-ctl-thumb { width: 100%; max-height: 360px; object-fit: cover; border-radius: 8px; background: #000; }
.nr-ctl-go { align-self: flex-start; padding: 0.35rem 0.8rem; border-radius: 999px; background: var(--nr-accent, #2ee6d6); color: #04110f; font-weight: 700; font-size: 0.85rem; }
.nr-rtabs .nr-rail { margin-top: 0 !important; }
/* 3.14.2: one label only. Where the tab bar shows, the rail's own title row is hidden. */
@media (max-width: 781px) { .nr-rtabs .nr-rtab-panel > .nr-rail > .nr-rail-head { display: none; } }
.nr-rtabs.is-tabbed .nr-rtab-panel > .nr-rail > .nr-rail-head { display: none; }

/* 3.14.2 NR themes set their own colors, so a theme that sets --nr-* on <html> by color
   mode (Humanity) can't turn theme="dark" cards white. Dark values = NR's defaults. */
.nr-theme-dark { --nr-surface: #121417; --nr-surface-2: #181b1f; --nr-fg: #f4f6f8; --nr-muted: #8b919a; --nr-border: #23282e; }
.nr-theme-light { --nr-surface: #fff; --nr-surface-2: #f3f4f6; --nr-fg: #111; --nr-muted: #444; --nr-border: rgb(0 0 0 / 0.12); }

/* 3.14.2 White boxes (setting, default off; boxes="white|dark"): white cards on rails and a
   white stacked hero; rail titles and View all keep the page/theme colors. */
.nr-boxes-white .nr-card,
.nr-boxes-white .nr-headline,
.nr-hero-wrap--stack.nr-boxes-white {
  --nr-surface: #fff; --nr-surface-2: #f3f4f6; --nr-fg: #111; --nr-muted: #555; --nr-subtle: #6b7280; --nr-border: rgb(0 0 0 / 0.12);
  background: #fff; color: #111;
}
.nr-boxes-white .nr-card { box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12); }
.nr-boxes-white .nr-headline { padding: 0.55rem 0.75rem; border-radius: var(--nr-radius); border: 1px solid rgb(0 0 0 / 0.12); margin-bottom: 0.5rem; }
.nr-boxes-white .nr-card-title,
.nr-boxes-white .nr-headline-title,
.nr-hero-wrap--stack.nr-boxes-white .nr-hero-title { color: #111; }
.nr-boxes-white .nr-card-dek,
.nr-boxes-white .nr-card .nr-kicker,
.nr-boxes-white .nr-headline .nr-kicker,
.nr-boxes-white .nr-card .nr-muted,
.nr-hero-wrap--stack.nr-boxes-white .nr-hero-dek,
.nr-hero-wrap--stack.nr-boxes-white .nr-kicker { color: #444; }
.nr-boxes-white .nr-card-media { background: #eee; }
.nr-hero-wrap--stack.nr-boxes-white { padding: 0.75rem 0.75rem 0.25rem; border-radius: var(--nr-radius); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.12); }
.nr-hero-wrap--stack.nr-boxes-white .nr-hero-caption { padding: 0 0.25rem 0.5rem; }

/* 3.15 X, Instagram and TikTok embed cards: no wrapper, in every theme and box mode. */
.nr-card.nr-card--platform:is([data-nr-type="x"], [data-nr-type="instagram"], [data-nr-type="tiktok"]):has(.nr-platform-embed) {
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* 3.15 per-shortcode font overrides (classes are only printed when the attribute is set). */
.nr-o-hts .nr-hero-title { font-size: var(--nr-o-hts) !important; }
.nr-o-htw .nr-hero-title { font-weight: var(--nr-o-htw) !important; }
.nr-o-hes .nr-hero-dek { font-size: var(--nr-o-hes) !important; }
.nr-o-ts .nr-card-title, .nr-o-ts .nr-headline-title, .nr-o-ts .nr-top-item-title { font-size: var(--nr-o-ts) !important; }
.nr-o-tw .nr-card-title, .nr-o-tw .nr-headline-title, .nr-o-tw .nr-top-item-title { font-weight: var(--nr-o-tw) !important; }
.nr-o-hs .nr-rail-title, .nr-o-hs .nr-top-title { font-size: var(--nr-o-hs) !important; }

/* 3.15 fill="1": grow to the tallest column in a Columns row. Cards keep their size;
   extra height goes evenly between them so the stack ends level with its neighbour. */
.wp-block-column:has(.nr-fill) { display: flex; flex-direction: column; }
.wp-block-column:has(.nr-fill) > :has(.nr-fill) { flex: 1 1 auto; display: flex; flex-direction: column; }
.wp-block-column .nr-fill { flex: 1 1 auto; }
.nr-hero-wrap.nr-fill { display: flex; flex-direction: column; }
.nr-hero-wrap--overlay.nr-fill > .nr-hero { flex: 1 1 auto; }
.nr-hero-wrap--stack.nr-fill > .nr-hero-caption { flex: 1 1 auto; }
.nr-rail.nr-fill { display: flex; flex-direction: column; }
.nr-rail.nr-fill > .nr-rail-grid { flex: 1 1 auto; align-content: space-between; }
.nr-top.nr-fill { display: flex; flex-direction: column; }
.nr-top.nr-fill > .nr-top-list { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: space-between; }

/* 3.15 tab spacing (only with a gap set): space under the bar, kept while it sticks. */
.nr-rtabs--gap .nr-rtabs-bar { box-shadow: 0 var(--nr-tab-gap) 0 0 var(--nr-tab-bg); }
@media (max-width: 781px) { .nr-rtabs--gap .nr-rtabs-panels { padding-top: var(--nr-tab-gap); } }
.nr-rtabs--gap.is-tabbed .nr-rtabs-panels { padding-top: var(--nr-tab-gap); }

/* 3.16 Moderate: Placement pills (like Hold/Decline/Publish), MISSING notes, Close Details */
.nr-pill { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 56px; min-height: 36px; padding: 0 0.7rem; border-radius: 8px; border: 2px solid var(--nr-accent); background: var(--nr-bg); color: var(--nr-fg); font-weight: 700; font-size: 0.85rem; cursor: pointer; user-select: none; }
.nr-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.nr-pill:has(input:checked) { background: var(--nr-accent); color: #fff; }
.nr-pill:has(input:focus-visible) { outline: 2px solid var(--nr-accent); outline-offset: 2px; }
.nr-q-missing ul { margin: 0.4rem 0 0.4rem 1.2rem; }
.nr-q-missing-note { margin: 0.3rem 0; padding: 0.3rem 0.5rem; border: 2px solid #dc2626; border-radius: 6px; color: #ef4444; font-size: 0.85rem; }
.nr-q-close-wrap { margin: 0.4rem 0 0; }
.nr-q-reason { display: none; flex-wrap: wrap; gap: 0.35rem; align-items: center; margin: 0.4rem 0 0; }
.nr-q-card:has(.nr-mark--decline input:checked) .nr-q-reason { display: flex; }
.nr-q-reason-l { font-size: 0.8rem; color: var(--nr-muted); }
.nr-pill--sm { min-width: 0; min-height: 30px; font-size: 0.78rem; border-color: #6b7280; }
.nr-pill--sm:has(input:checked) { background: #6b7280; }
.nr-section-map .nr-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-bottom: 1rem; }
.nr-section-map th, .nr-section-map td { border-bottom: 1px solid var(--nr-border); padding: 0.3rem 0.4rem; text-align: left; }

/* 3.16 item 6: X / Instagram / TikTok iframes: rounded 12px and the iframe color scheme
   matches the embed theme, so no white corners show behind a dark X post. */
.nr-platform-embed iframe, .nr-x-embed iframe { border-radius: 12px; overflow: hidden; }
.nr-x-embed[data-x-theme="dark"] .twitter-tweet iframe { color-scheme: dark; }
.nr-x-embed[data-x-theme="light"] .twitter-tweet iframe { color-scheme: light; }
.nr-x-embed[data-x-theme="auto"] .twitter-tweet iframe { color-scheme: light dark; }
.nr-platform-embed .instagram-media iframe, .nr-platform-embed iframe.instagram-media, .nr-platform-embed .tiktok-embed iframe, .nr-platform-embed iframe[src*="tiktok.com"] { color-scheme: light; }
/* 3.16 item 8: X widgets add 10px above and below; zero it in every NR X path
   (rail cards, .nr-x-embed, click-to-load, rail tabs). */
.nr-x-embed .twitter-tweet, .nr-x-embed .twitter-tweet-rendered, .nr-ctl-live .twitter-tweet, .nr-rtabs .twitter-tweet, .nr-card--x .twitter-tweet { margin-top: 0 !important; margin-bottom: 0 !important; }
/* 3.16 item 9: overlay hero: the image always covers the whole frame (the inline
   height:auto left a band under it on phones). Phone height = height_mobile when set. */
.nr-hero-wrap--overlay .nr-hero > img.nr-hero-img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; min-height: 0; object-fit: cover; }
@media (max-width: 781px) {
  .nr-hero-wrap--overlay .nr-hero { height: var(--nr-hero-height-m, var(--nr-hero-height, 420px)) !important; min-height: var(--nr-hero-height-m, var(--nr-hero-height, 420px)) !important; }
}
/* 3.16 item 10: title underline bar (only printed when on). Always left-aligned. */
.nr-tbar :is(.nr-rail-head, .nr-top-head) { padding-bottom: var(--nr-tbar-gap, 6px); margin-bottom: var(--nr-tbar-below, 12px); border-bottom: var(--nr-tbar-t, 2px) solid var(--nr-tbar-c, var(--nr-accent, #2ee6d6)); }
.nr-tbar--title :is(.nr-rail-head, .nr-top-head) { padding-bottom: 0; border-bottom: 0; }
.nr-tbar--title :is(.nr-rail-title, .nr-top-title) { padding-bottom: var(--nr-tbar-gap, 6px); border-bottom: var(--nr-tbar-t, 2px) solid var(--nr-tbar-c, var(--nr-accent, #2ee6d6)); }

/* 3.16 item 11: X card display (layout #2: whole card is the button) */
.nr-card--xc { --xc-bg:#16181c; --xc-fg:#e7e9ea; --xc-mute:#8b98a5; --xc-line:#2f3336; }
.nr-card--xc[data-x-theme="light"] { --xc-bg:#fff; --xc-fg:#0f1419; --xc-mute:#536471; --xc-line:#cfd9de; }
@media (prefers-color-scheme: light) { .nr-card--xc[data-x-theme="auto"] { --xc-bg:#fff; --xc-fg:#0f1419; --xc-mute:#536471; --xc-line:#cfd9de; } }
.nr-xc { display:flex; flex-direction:column; width:100%; box-sizing:border-box; background:var(--xc-bg); color:var(--xc-fg); border:1px solid var(--xc-line); border-radius:12px; overflow:hidden; cursor:pointer; text-decoration:none; text-align:left; }
.nr-xc:hover { border-color:var(--xc-mute); }
.nr-xc:focus-visible { outline:2px solid #1d9bf0; outline-offset:2px; }
.nr-xc-media { position:relative; display:block; width:100%; aspect-ratio:var(--nr-xc-shape,16/9); overflow:hidden; background:#000; }
.nr-xc-media img { position:absolute; inset:0; width:100% !important; height:100% !important; max-width:none; object-fit:cover; object-position:top; margin:0; }
.nr-xc-play { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:56px; height:56px; border-radius:50%; background:rgba(0,0,0,.6); color:#fff; font-size:22px; line-height:56px; text-align:center; padding-left:4px; box-sizing:border-box; }
.nr-xc-body { display:flex; flex-direction:column; gap:8px; padding:12px 14px 14px; }
.nr-card--xc-text .nr-xc { min-height:var(--nr-xc-min,180px); }
.nr-xc-by { display:flex; align-items:center; gap:10px; }
.nr-xc-av { width:36px; height:36px; border-radius:50%; object-fit:cover; flex:0 0 36px; margin:0; }
.nr-xc-av--blank { display:inline-flex; align-items:center; justify-content:center; background:var(--xc-line); font-weight:700; }
.nr-xc-names { display:flex; flex-direction:column; min-width:0; flex:1; line-height:1.25; }
.nr-xc-name { font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nr-xc-user { color:var(--xc-mute); font-size:.9em; }
.nr-xc-logo { color:var(--xc-mute); font-size:18px; }
.nr-xc-text { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:var(--nr-xc-lines,4); line-clamp:var(--nr-xc-lines,4); overflow:hidden; white-space:pre-line; line-height:1.4; overflow-wrap:anywhere; }
@media (max-width:781px) {
  .nr-xc-media { aspect-ratio:var(--nr-xc-shape-m,var(--nr-xc-shape,16/9)); }
  .nr-xc-text { -webkit-line-clamp:var(--nr-xc-lines-m,var(--nr-xc-lines,4)); line-clamp:var(--nr-xc-lines-m,var(--nr-xc-lines,4)); }
}

/* 3.17 item 5: overlay hero image position (Top default; Center / Bottom). */
.nr-hero-wrap--overlay .nr-hero > img.nr-hero-img { object-position: center var(--nr-hero-pos, top); }

/* 3.17 item 6: X card text / name sizes (classes only printed when a size is set). */
.nr-xcfs .nr-xc-text { font-size: var(--nr-xc-fs); }
.nr-xcns .nr-xc-name { font-size: var(--nr-xc-ns); }
@media (max-width:781px) {
  .nr-xcfs-m .nr-xc-text { font-size: var(--nr-xc-fs-m); }
  .nr-xcns-m .nr-xc-name { font-size: var(--nr-xc-ns-m); }
}

/* 3.17 item 7: X card date, like an X post ("3:42 PM · Oct 25, 2026"). */
.nr-xc-date { display:block; color:var(--xc-mute); font-size:.8125em; line-height:1.3; text-align:left; }

/* 3.17 item 8: card padding (News, YouTube thumbnail and X cards). The inset shows
   the card's own background (white with White boxes), like the stacked hero. */
.nr-cpad .nr-card:is(:not(.nr-card--platform), .nr-card--youtube-thumb) { padding: var(--nr-cpad) var(--nr-cpad) .75rem; }
.nr-cpad .nr-card:is(:not(.nr-card--platform), .nr-card--youtube-thumb) .nr-card-media { border-radius: 8px; }
.nr-cpad .nr-card:is(:not(.nr-card--platform), .nr-card--youtube-thumb) .nr-card-body { padding: .85rem .2rem .25rem; }
.nr-cpad .nr-card:is(:not(.nr-card--platform), .nr-card--youtube-thumb) .nr-vote { padding: 0 .2rem; }
.nr-cpad .nr-card--xc .nr-xc-media { width:auto; margin: var(--nr-cpad) var(--nr-cpad) 0; border-radius: 8px; }
@media (max-width:781px) {
  .nr-cpad .nr-card:is(:not(.nr-card--platform), .nr-card--youtube-thumb) { padding: var(--nr-cpad-m) var(--nr-cpad-m) .75rem; }
  .nr-cpad .nr-card--xc .nr-xc-media { margin: var(--nr-cpad-m) var(--nr-cpad-m) 0; }
}

/* ===== 3.18 ===== */
/* Item 5: rails follow their own width (container queries). Caps only lower the columns;
   phones and tablets keep the screen-width rules above. */
.nr-rail { container: nr-rail / inline-size; }
@media (min-width: 1024px) {
  @container nr-rail (max-width: 1079px) {
    .nr-rail-grid.nr-cols-6:not(.nr-rail-grid--carousel) { grid-template-columns: repeat(5, 1fr); }
  }
  @container nr-rail (max-width: 899px) {
    .nr-rail-grid:is(.nr-cols-5, .nr-cols-6):not(.nr-rail-grid--carousel) { grid-template-columns: repeat(4, 1fr); }
  }
  @container nr-rail (max-width: 719px) {
    .nr-rail-grid:is(.nr-cols-4, .nr-cols-5, .nr-cols-6):not(.nr-rail-grid--carousel) { grid-template-columns: repeat(3, 1fr); }
  }
  @container nr-rail (max-width: 539px) {
    .nr-rail-grid:is(.nr-cols-3, .nr-cols-4, .nr-cols-5, .nr-cols-6):not(.nr-rail-grid--carousel) { grid-template-columns: repeat(2, 1fr); }
  }
}
@container nr-rail (max-width: 359px) {
  .nr-rail-grid:not(.nr-rail-grid--carousel) { grid-template-columns: 1fr; }
}
/* Item 5: headline dates go under the title when the cell is narrow. */
.nr-headline { container: nr-hl / inline-size; }
@container nr-hl (max-width: 419px) {
  .nr-headline-link { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0.15rem; align-items: start; min-width: 0; }
  .nr-headline-link > * { grid-column: 2; }
  .nr-headline-link > .nr-headline-thumb { grid-column: 1; grid-row: 1 / span 4; }
  .nr-headline-link:not(:has(.nr-headline-thumb)) { grid-template-columns: minmax(0, 1fr); }
  .nr-headline-link:not(:has(.nr-headline-thumb)) > * { grid-column: 1; }
  .nr-headline-link .nr-date { margin-left: 0; }
}

/* Item 7: rail title link and pill See all. */
.nr-rail-title-link { color: inherit; text-decoration: none; }
.nr-rail-title-link:hover, .nr-rail-title-link:focus-visible { color: var(--nr-accent); }
.nr-view-all--pill { display: inline-block; padding: 6px 14px; font-size: 12px; font-weight: 700; line-height: 1.2; border-radius: 999px; border: 1px solid var(--nr-border); color: var(--nr-fg); background: transparent; }
.nr-view-all--pill:hover, .nr-view-all--pill:focus-visible { border-color: var(--nr-accent); color: var(--nr-accent); }
.nr-theme-light .nr-view-all--pill { border-color: #d5dae3; color: #111827; background: #fff; }
/* Designer fix: bigger tap area (look unchanged) and a white border on dark rails. */
.nr-view-all--pill { position: relative; }
.nr-view-all--pill::after { content: ""; position: absolute; inset: -10px -6px; }
.nr-theme-dark .nr-view-all--pill { border-color: rgba(255, 255, 255, 0.7); color: #fff; }

/* Item 2: carousel rails. Desktop: arrows; phones: swipe with the next card peeking. */
.nr-car { position: relative; }
.nr-rail-grid.nr-rail-grid--carousel { display: flex; gap: var(--nr-rail-gap, 1rem); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
.nr-rail-grid--carousel::-webkit-scrollbar { display: none; }
.nr-rail-grid--carousel > * { flex: 0 0 calc((100% - (var(--nr-car-cols, 4) - 1) * var(--nr-rail-gap, 1rem)) / var(--nr-car-cols, 4)); min-width: 0; scroll-snap-align: start; }
.nr-rail-grid--carousel:focus-visible { outline: 2px solid var(--nr-accent); outline-offset: 2px; }
@container nr-rail (max-width: 559px) {
  .nr-rail-grid--carousel > * { flex-basis: 82%; }
}
@media (max-width: 781px) {
  .nr-rail-grid--carousel > * { flex-basis: 82%; }
}
.nr-car-btn { position: absolute; top: 38%; z-index: 3; width: 40px; height: 40px; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; padding: 0 0 3px; border-radius: 50%; border: 1px solid var(--nr-border); background: var(--nr-surface); color: var(--nr-fg); font-size: 28px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgb(0 0 0 / 0.25); transition: opacity 0.15s; }
.nr-car-btn:hover, .nr-car-btn:focus-visible { border-color: var(--nr-accent); color: var(--nr-accent); }
.nr-car-prev { left: 6px; }
.nr-car-next { right: 6px; }
.nr-car-btn[disabled] { opacity: 0; pointer-events: none; }
.nr-theme-light .nr-car-btn { background: #fff; color: #111827; border-color: #d5dae3; box-shadow: 0 2px 10px rgb(0 0 0 / 0.12); }
@media (max-width: 781px), (hover: none) and (pointer: coarse) {
  .nr-car-btn { display: none; }
}
.nr-car-all { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.3rem; min-height: 12rem; padding: 1rem; box-sizing: border-box; text-align: center; text-decoration: none; border: 1px solid var(--nr-border); border-radius: var(--nr-radius); background: var(--nr-surface); color: var(--nr-fg); }
.nr-car-all:hover, .nr-car-all:focus-visible { border-color: var(--nr-accent); color: var(--nr-accent); }
.nr-car-all-label { font-size: 1.1rem; font-weight: 800; }
.nr-car-all-sub { font-size: 0.85rem; color: var(--nr-muted); }
.nr-theme-light .nr-car-all { background: #fff; color: #111827; border-color: #d5dae3; }
@media (max-width: 781px) {
  .nr-car-stack-m .nr-rail-grid--carousel { display: grid; grid-template-columns: 1fr; overflow: visible; scroll-snap-type: none; }
  .nr-car-stack-m .nr-car-all { min-height: 0; }
}

/* Item 6: YouTube thumbnail cards: play badge and source label. */
.nr-yt-badged .nr-card-media { position: relative; }
.nr-yt-play { width: 52px; height: 52px; padding: 0 0 0 4px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; font-size: 20px; line-height: 1; pointer-events: none; }
.nr-card--youtube-thumb .nr-yt-label { display: block; margin-bottom: 0.25rem; }

/* Item 8: X card base size (name, handle, text and date scale with it). */
.nr-xcsz .nr-xc { font-size: var(--nr-xc-sz); }
@media (max-width: 781px) {
  .nr-xcsz-m .nr-xc { font-size: var(--nr-xc-sz-m); }
}
.nr-xc-text--fallback { color: var(--xc-mute); font-weight: 600; }

/* Item 1: Moderate comment line. */
.nr-q-comment .nr-input { width: 100%; }

/* 3.18 Designer fixes (scoped to the new options and layouts). */
/* Hero overlay="dark": dark bottom gradient, white title and summary, red category label. */
.nr-hero-wrap.nr-hero-dark .nr-hero-overlay { background: linear-gradient(to top, rgba(10, 20, 40, 0.85), transparent 60%); }
.nr-hero-wrap.nr-hero-dark .nr-hero-title { color: #fff; }
.nr-hero-wrap.nr-hero-dark .nr-hero-dek { color: rgba(255, 255, 255, 0.9); }
.nr-hero-wrap.nr-hero-dark .nr-kicker { display: inline-block; align-self: flex-start; padding: 4px 8px; border-radius: 4px; background: var(--nr-kicker-red, #d7263d); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; }
/* Red kickers: YouTube label everywhere, and category labels inside carousels. */
.nr-kicker.nr-yt-label,
.nr-rail--carousel .nr-card .nr-kicker { color: var(--nr-kicker-red, #d7263d); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.nr-theme-light .nr-kicker.nr-yt-label,
.nr-theme-light.nr-rail--carousel .nr-card .nr-kicker { color: var(--nr-kicker-red, #d7263d); }
/* Carousel dates sit on the left under the title. Narrow headline cells: date on the left under the title. */
.nr-rail--carousel .nr-card .nr-date { margin-left: 0; }
@container nr-hl (max-width: 419px) {
  .nr-headline-link .nr-date { text-align: left !important; }
}
/* X fallback cards ("View post on X"): sized to their content, with a real link look. */
.nr-card.nr-card--xc-fb { align-self: start; }
.nr-card--xc-fb .nr-xc { min-height: 0; }
.nr-card--xc-fb .nr-xc-text--fallback { color: #1d9bf0; font-weight: 700; -webkit-line-clamp: none; line-clamp: none; }
.nr-card--xc-fb .nr-xc:hover .nr-xc-text--fallback,
.nr-card--xc-fb .nr-xc:focus-visible .nr-xc-text--fallback { text-decoration: underline; }
.nr-card--xc[data-x-theme="light"].nr-card--xc-fb .nr-xc-text--fallback { color: #1a73c9; }
/* Embed fallback: the X label was too small to read as a capital X. */
.nr-card[data-nr-type="x"] .nr-x-badge { font-size: 1rem; font-weight: 800; letter-spacing: 0; line-height: 1; }

/* ===================== 3.19 ===================== */
/* Item 1: one category group per ticked site on the Moderate card. */
.nr-q-sitecats { display: grid; gap: 0.5rem; }
.nr-q-sitecats:empty { display: none; }
.nr-q-sitecat { margin: 0; padding: 0.5rem 0.6rem 0.6rem; border: 1px solid var(--nr-border); border-radius: 8px; min-width: 0; }
.nr-q-sitecat legend { padding: 0 0.3rem; font-size: 0.8rem; font-weight: 700; color: var(--nr-fg); }
.nr-q-sc-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; margin-bottom: 0.4rem; }
.nr-pill.nr-pill--sc { min-width: 0; min-height: 30px; font-size: 0.8rem; font-weight: 600; }
.nr-pill.nr-pill--sc.is-locked { cursor: default; opacity: 1; gap: 0.3rem; }
.nr-pill--sc.is-locked .nr-lock { flex: 0 0 auto; width: 12px; height: 12px; }
.nr-q-sc-missing { display: inline-flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; padding: 0.15rem 0.2rem 0.15rem 0.5rem; border: 1px dashed #b45309; border-radius: 8px; }
.nr-q-sc-flag { font-size: 0.78rem; font-weight: 700; color: #b45309; }
.nr-theme-dark .nr-q-sc-flag, .nr-q-sc-flag:where(.nr-theme-dark *) { color: #f59e0b; }
.nr-pill.nr-pill--add { min-width: 0; min-height: 28px; font-size: 0.78rem; border-color: #b45309; }
.nr-pill.nr-pill--add:has(input:checked) { background: #b45309; color: #fff; }
.nr-q-sc-more { width: 100%; box-sizing: border-box; }
/* Item 2: restored edits note. */
.nr-q-restored { margin: 0 0 0.5rem; padding: 0.5rem 0.75rem; border: 1px solid var(--nr-accent); border-left-width: 4px; border-radius: 6px; background: rgb(46 230 214 / 0.10); color: var(--nr-fg); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.nr-q-restored .nr-btn { padding: 0.3rem 0.7rem; font-size: 0.85rem; }
/* Designer fix: the amber flag passes contrast on the dark Moderate screen. */
.nr-q .nr-q-sc-flag { color: #f59e0b; font-size: 0.85rem; }
/* Designer fix: 44px tap targets on phones. */
@media (max-width: 781px) {
  .nr-pill.nr-pill--sc, .nr-pill.nr-pill--add, .nr-q-restored .nr-btn { min-height: 44px; }
}
/* Item 3: the original title under the Title box. */
.nr-q-orig { margin: -0.1rem 0 0.2rem; font-size: 0.8rem; color: var(--nr-muted); }
.nr-q-orig-l { font-weight: 700; margin-right: 0.3rem; }
/* Item 4: Moderate text size (Settings → Moderate → Text size). */
.nr-q.nr-q--fs .nr-q-fields,
.nr-q.nr-q--fs .nr-label,
.nr-q.nr-q--fs .nr-input,
.nr-q.nr-q--fs select,
.nr-q.nr-q--fs select option,
.nr-q.nr-q--fs textarea,
.nr-q.nr-q--fs .nr-q-place legend,
.nr-q.nr-q--fs .nr-q-sitecat legend,
.nr-q.nr-q--fs .nr-pill,
.nr-q.nr-q--fs .nr-q-orig,
.nr-q.nr-q--fs .nr-q-details > summary,
.nr-q.nr-q--fs .nr-q-sum,
.nr-q.nr-q--fs .nr-muted,
.nr-q.nr-q--fs .nr-q-src,
.nr-q.nr-q--fs .nr-q-restored,
.nr-q.nr-q--fs .nr-q-restored .nr-btn,
.nr-q.nr-q--fs .nr-mark,
.nr-q.nr-q--fs .nr-q-pub,
.nr-q.nr-q--fs .nr-q-close { font-size: var(--nr-q-fs); }
/* Item 6: opt-in left title bar on a rail: [nr_rail title_bar="left" view_all_style="pill"]. */
.nr-tbar-left .nr-rail-head { align-items: center; }
/* Matches Humanity's Section title (6px bar, 14px gap, weight 800) and follows its bar color and width. */
.nr-tbar-left .nr-rail-title { padding-left: 14px; font-weight: 800; border-left: var(--h-st-w, 6px) solid var(--nr-tbl-c, var(--h-st-c, #d7263d)); line-height: 1.1; }
.nr-tbar-left .nr-view-all--pill:hover,
.nr-tbar-left .nr-view-all--pill:focus-visible { border-color: var(--nr-tbl-c, var(--h-st-c, #d7263d)); color: var(--nr-tbl-c, var(--h-st-c, #d7263d)); }
/* Item 7: hero slider [nr_hero slider="5"]. */
.nr-hslider, .nr-hslider-stage { position: relative; }
.nr-hslider-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.nr-hslider-track::-webkit-scrollbar { display: none; }
.nr-hslider-track:focus-visible { outline: 2px solid var(--nr-accent, #2ee6d6); outline-offset: 2px; }
.nr-hslide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.nr-hslider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(17, 24, 39, 0.6); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.nr-hslider-prev { left: 10px; }
.nr-hslider-next { right: 10px; }
.nr-hslider-btn:hover, .nr-hslider-btn:focus-visible { background: rgba(17, 24, 39, 0.85); outline: 2px solid #fff; outline-offset: 1px; }
.nr-hslider-dots { display: flex; justify-content: center; align-items: center; gap: 0; padding: 4px 0 0; }
/* 44px tap area with the 10px dot inside. */
.nr-hslider-dot { width: 44px; height: 44px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.nr-hslider-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid #6b7280; box-sizing: border-box; }
.nr-hslider-dot.is-on { background: none; }
.nr-hslider-dot.is-on::before { background: #d7263d; border-color: #d7263d; }
.nr-hslider-pause { margin-left: 6px; min-width: 44px; min-height: 44px; border: 1px solid #6b7280; background: transparent; color: inherit; border-radius: 999px; font-size: 13px; line-height: 1; padding: 4px 10px; cursor: pointer; }
.nr-hero-title { text-wrap: balance; }
@media (max-width: 781px) {
  .nr-hslider-btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nr-hslider-track { scroll-behavior: auto; }
}
