/* ── NEWS SECTION — shared styles for /news and /news/* ── */

/* ── Local CSS variables ── */
:root {
  --border: rgba(248,245,253,0.07);
  --surface-card: #19191f;
}

/* ── Ambient glow ── */
.ns-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 20%, rgba(251,191,36,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 80% 80%, rgba(251,191,36,0.04) 0%, transparent 70%);
}

/* ── Page wrap ── */
.ns-wrap {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 1.5rem 4rem;
}

/* ── Hero ── */
.ns-hero {
  text-align: center;
  margin-bottom: 3rem;
}

.ns-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--on-surface);
  margin: 0 0 0.75rem;
  line-height: 1.15;
}

.ns-title .ns-gradient {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ns-desc {
  font-size: 1.05rem;
  color: var(--on-surface-variant);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Category filters ── */
.ns-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.ns-filter-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--on-surface-variant);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.ns-filter-btn:hover,
.ns-filter-btn.active {
  background: rgba(251,191,36,0.12);
  border-color: rgba(251,191,36,0.4);
  color: #fbbf24;
}

/* ── Post grid ── */
.ns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* ── Post card ── */
.ns-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  overflow: hidden;
}

.ns-card-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.ns-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ns-card:hover .ns-card-img img {
  transform: scale(1.03);
}

.ns-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.ns-card:hover {
  border-color: rgba(251,191,36,0.35);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(251,191,36,0.08);
}

.ns-card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ns-category-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(251,191,36,0.12);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}

.ns-card-date,
.ns-card-read {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  opacity: 0.7;
}

.ns-card-date::after {
  content: '·';
  margin-left: 0.6rem;
}

.ns-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--on-surface);
  line-height: 1.4;
  margin: 0;
}

.ns-card:hover .ns-card-title {
  color: #fbbf24;
}

.ns-card-excerpt {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.ns-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.ns-tag {
  font-size: 0.7rem;
  color: var(--on-surface-variant);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.ns-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--on-surface-variant);
  padding: 3rem;
  opacity: 0.6;
}

/* ── Pagination ── */
.ns-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(248,245,253,0.07);
}

.ns-page-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(248,245,253,0.6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.ns-page-btn .material-symbols-outlined {
  font-size: 1rem;
}

.ns-page-btn:hover {
  color: #fbbf24;
  background: rgba(251,191,36,0.07);
  border-color: rgba(251,191,36,0.25);
}

.ns-page-info {
  font-size: 0.78rem;
  color: rgba(248,245,253,0.35);
  font-weight: 500;
}

/* ── ARTICLE PAGE ── */

main.na-wrap {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 1.5rem 5rem;
  box-sizing: border-box;
  width: 100%;
}

/* Breadcrumb */
.na-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--on-surface-variant);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.na-breadcrumb a {
  color: var(--on-surface-variant);
  text-decoration: none;
  transition: color 0.2s;
}

.na-breadcrumb a:hover {
  color: #fbbf24;
}

.na-breadcrumb .na-bc-sep {
  opacity: 0.4;
  font-size: 0.75rem;
}

.na-breadcrumb .na-bc-current {
  color: var(--on-surface);
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
}

/* Force block layout on article elements */
.na-wrap article {
  display: block;
  width: 100%;
}

/* Article header */
.na-header {
  margin-bottom: 2.5rem;
}

.na-header-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.na-category-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(251,191,36,0.12);
  color: #fbbf24;
  border: 1px solid rgba(251,191,36,0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
}

.na-date,
.na-read {
  font-size: 0.78rem;
  color: var(--on-surface-variant);
  opacity: 0.7;
}

.na-date::after {
  content: '·';
  margin-left: 0.6rem;
}

.na-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--on-surface);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.na-lede {
  font-size: 1.1rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
  margin: 0 0 1.5rem;
  border-left: 3px solid rgba(251,191,36,0.4);
  padding-left: 1rem;
}

/* Article lede + image side by side */
.na-lede-row {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}

.na-lede-row .na-lede {
  margin-bottom: 0;
  flex: 1;
}

.na-lede-img {
  width: 280px;
  flex-shrink: 0;
  border-radius: 0.6rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.na-lede-img:hover {
  box-shadow: 0 0 15px 4px rgba(251,191,36,0.35), 0 0 30px 8px rgba(251,191,36,0.15);
}

.na-lede-img img {
  width: 100%;
  max-width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 640px) {
  .na-lede-row {
    flex-direction: column;
  }
  .na-lede-img {
    width: 100%;
  }
}

/* Article hero image */
.na-hero-img {
  width: 100%;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.na-hero-img img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.na-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* Audio player */
.na-audio {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(251,191,36,0.05);
  border: 1px solid rgba(251,191,36,0.15);
  border-radius: 0.75rem;
  padding: 0.9rem 1.1rem;
  margin-bottom: 2rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.na-audio:hover {
  border-color: rgba(251,191,36,0.4);
  box-shadow: 0 0 24px rgba(251,191,36,0.12), 0 0 48px rgba(251,191,36,0.06);
}

.na-audio-icon {
  color: #fbbf24;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.na-audio-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.na-audio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.na-volume {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.na-mute-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(251,191,36,0.7);
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.na-mute-btn:hover { color: #fbbf24; }
.na-mute-btn .material-symbols-outlined { font-size: 1.1rem; }

.na-volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 80px;
  height: 3px;
  border-radius: 2px;
  background: rgba(248,245,253,0.15);
  outline: none;
  cursor: pointer;
}

.na-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fbbf24;
  cursor: pointer;
}

.na-volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fbbf24;
  border: none;
  cursor: pointer;
}

.na-audio-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(251,191,36,0.8);
}

.na-audio-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.na-audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: #fbbf24;
  border: none;
  border-radius: 50%;
  color: #0e0e13;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 0 12px rgba(251,191,36,0.3);
}
.na-audio-btn:hover { transform: scale(1.08); box-shadow: 0 0 20px rgba(251,191,36,0.5); }
.na-audio-btn .material-symbols-outlined { font-size: 1.2rem; }

.na-skip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(248,245,253,0.5);
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
  font-size: 0.6rem;
  font-weight: 700;
  transition: all 0.15s;
  line-height: 1;
}
.na-skip-btn:hover { border-color: rgba(251,191,36,0.4); color: #fbbf24; }
.na-skip-btn .material-symbols-outlined { font-size: 1rem; }

.na-speed-btns {
  display: flex;
  gap: 0.3rem;
}

.na-waveform {
  display: block;
  height: 52px;
  flex: 1;
  min-width: 0;
}

.na-speed-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px;
  color: rgba(248,245,253,0.5);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.na-speed-btn:hover { color: rgba(248,245,253,0.9); border-color: rgba(251,191,36,0.3); }
.na-speed-btn.active { background: rgba(251,191,36,0.12); border-color: rgba(251,191,36,0.4); color: #fbbf24; }

/* Progress bar */
.na-audio-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.na-audio-time {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(248,245,253,0.35);
  white-space: nowrap;
  min-width: 2.8rem;
}
.na-audio-time.na-audio-duration { text-align: right; }

.na-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  cursor: pointer;
  position: relative;
  overflow: visible;
}
.na-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  border-radius: 99px;
  pointer-events: none;
  width: 0%;
  transition: width 0.1s linear;
}
.na-progress:hover .na-progress-fill { background: linear-gradient(90deg, #fde68a, #fbbf24); }
.na-progress-thumb {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #fbbf24;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s;
  pointer-events: none;
  box-shadow: 0 0 6px rgba(251,191,36,0.6);
}
.na-progress:hover .na-progress-thumb { transform: translate(-50%, -50%) scale(1); }

/* Article body */
.na-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--on-surface-variant);
}

.na-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--on-surface);
  margin: 2.5rem 0 0.75rem;
  line-height: 1.3;
}

.na-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--on-surface);
  margin: 1.75rem 0 0.5rem;
}

.na-body p {
  margin: 0 0 1.25rem;
}

.na-body strong {
  color: var(--on-surface);
  font-weight: 600;
}

.na-body a {
  color: #fbbf24;
  text-decoration: none;
}

.na-body a:hover {
  text-decoration: underline;
}

.na-body ul,
.na-body ol {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

.na-body li {
  margin-bottom: 0.5rem;
}

/* Reference table */
.na-body .na-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.88rem;
}

.na-body .na-table th {
  text-align: left;
  padding: 0.6rem 0.85rem;
  background: rgba(255,0,127,0.08);
  color: rgba(248,245,253,0.55);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(248,245,253,0.1);
}

.na-body .na-table td {
  padding: 0.65rem 0.85rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(248,245,253,0.06);
  color: rgba(248,245,253,0.8);
  line-height: 1.5;
}

.na-body .na-table tr:last-child td {
  border-bottom: none;
}

.na-body .na-table td:first-child {
  white-space: nowrap;
  color: #f8f5fd;
}

.na-body blockquote {
  border-left: 3px solid rgba(251,191,36,0.5);
  margin: 1.5rem 0;
  padding: 0.5rem 0 0.5rem 1.25rem;
  color: var(--on-surface);
  font-style: italic;
  font-size: 1.05rem;
}

/* Tags footer */
.na-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.na-tag {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
}

/* Back link */
.na-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--on-surface-variant);
  text-decoration: none;
  margin-top: 2.5rem;
  transition: color 0.2s;
}

.na-back:hover {
  color: #fbbf24;
}

.na-back .material-symbols-outlined {
  font-size: 1rem;
}

/* ── Article layout: content + sidebar ── */
.na-layout {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}

.na-content {
  flex: 1;
  min-width: 0;
}

/* ── Scroll offset so headings aren't hidden under fixed nav ── */
.na-body h2[id] {
  scroll-margin-top: 110px;
}

/* ── Table of Contents sidebar ── */
.na-sidebar {
  width: 248px;
  flex-shrink: 0;
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: none;
}
.na-sidebar::-webkit-scrollbar { display: none; }

.na-toc {
  background: linear-gradient(145deg, rgba(255,0,127,0.06) 0%, rgba(19,19,24,0.9) 50%);
  border: 1px solid rgba(255,0,127,0.18);
  border-radius: 16px;
  padding: 1.4rem 1.25rem 1.25rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset,
              0 20px 40px rgba(0,0,0,0.3);
}

.na-toc::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255,0,127,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.na-toc-title {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff007f;
  margin: 0 0 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.na-toc-title::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #ff007f, rgba(255,0,127,0.3));
  border-radius: 2px;
  flex-shrink: 0;
}

.na-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  /* single consistent left border track */
  border-left: 1px solid rgba(255,255,255,0.07);
}

.na-toc-list a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.79rem;
  line-height: 1.45;
  color: rgba(248,245,253,0.38);
  text-decoration: none;
  /* fixed padding — never changes */
  padding: 0.48rem 0.5rem 0.48rem 0.9rem;
  margin-left: -1px;
  border-left: 2px solid transparent;
  border-radius: 0 6px 6px 0;
  transition: color 0.22s, border-left-color 0.22s, background 0.22s;
  position: relative;
}

/* numbered dot */
.na-toc-list a::before {
  content: attr(data-num);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 700;
  background: rgba(255,255,255,0.05);
  color: rgba(248,245,253,0.3);
  transition: background 0.22s, color 0.22s;
  flex-shrink: 0;
}

.na-toc-list a:hover {
  color: rgba(248,245,253,0.85);
  border-left-color: rgba(255,0,127,0.4);
  background: rgba(255,0,127,0.05);
}

.na-toc-list a:hover::before {
  background: rgba(255,0,127,0.15);
  color: rgba(255,0,127,0.8);
}

.na-toc-list a.active {
  color: #ff007f;
  border-left-color: #ff007f;
  background: rgba(255,0,127,0.07);
  font-weight: 500;
}

.na-toc-list a.active::before {
  background: rgba(255,0,127,0.2);
  color: #ff007f;
}

/* Newsy AI TOC entry */
.nc-toc-link {
  color: rgba(255,0,127,0.7) !important;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 0.75rem !important;
}
.nc-toc-link:hover {
  color: #ff007f !important;
  background: rgba(255,0,127,0.08) !important;
}

/* ── Author row with profile image ── */
.na-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: space-between;
}

.na-author .na-header-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.na-author-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid rgba(255,0,127,0.5);
  box-shadow: 0 0 0 3px rgba(255,0,127,0.1);
  flex-shrink: 0;
  transition: transform 0.6s ease;
}

.na-author a:hover .na-author-img {
  transform: rotate(360deg);
}

.na-author-details {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.na-author-details a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--on-surface);
  text-decoration: none;
  transition: color 0.2s;
}

.na-author-details a:hover {
  color: #ff007f;
}

.na-author-role {
  font-size: 0.72rem;
  color: rgba(248,245,253,0.4);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ── Mobile Newsy button + TOC accordion (hidden on desktop) ── */
.na-mobile-newsy-btn,
.na-mobile-toc {
  display: none;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .na-sidebar {
    display: none;
  }
  .na-layout {
    display: block;
  }

  .na-mobile-newsy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
    padding: 0.65rem 1rem;
    background: rgba(255,0,127,0.08);
    border: 1px solid rgba(255,0,127,0.25);
    border-radius: 0.6rem;
    color: rgba(248,245,253,0.85);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
  }

  .na-mobile-newsy-btn:hover {
    background: rgba(255,0,127,0.15);
    border-color: rgba(255,0,127,0.5);
  }

  .na-mobile-newsy-btn .material-symbols-outlined {
    font-size: 1.1rem;
    color: #ff007f;
  }

  .na-mobile-toc {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid rgba(248,245,253,0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgba(25,25,31,0.6);
  }

  .na-mobile-toc-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(248,245,253,0.85);
    cursor: pointer;
    list-style: none;
    user-select: none;
  }

  .na-mobile-toc-trigger::-webkit-details-marker { display: none; }

  .na-mobile-toc-trigger .material-symbols-outlined:first-child {
    font-size: 1rem;
    color: #fbbf24;
  }

  .na-mobile-toc-chevron {
    margin-left: auto;
    font-size: 1.1rem;
    color: rgba(248,245,253,0.4);
    transition: transform 0.2s;
  }

  .na-mobile-toc[open] .na-mobile-toc-chevron {
    transform: rotate(180deg);
  }

  .na-mobile-toc-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0.5rem;
    border-top: 1px solid rgba(248,245,253,0.07);
  }

  .na-mobile-toc-list li a {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    color: rgba(248,245,253,0.7);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
  }

  .na-mobile-toc-list li a:hover {
    color: #fbbf24;
    background: rgba(251,191,36,0.06);
  }
}

@media (max-width: 640px) {
  .ns-grid {
    grid-template-columns: 1fr;
  }

  main.na-wrap {
    padding: 100px 1rem 4rem;
  }

  .na-title {
    font-size: 1.5rem;
  }

  .na-breadcrumb .na-bc-current {
    max-width: 180px;
  }
}
