/* ═══════════════════════════════════════
   NEWS ARTICLE — Liquid Glass (na-*)
   ═══════════════════════════════════════ */

/* Override template grid when article is present */
.news-section:has(.na-wrap) {
  display: block;
}

/* ── Breadcrumb ─────────────────────────────────────────────────── */
.cc-breadcrumb {
  margin-bottom: 16px;
}

.cc-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.cc-breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  color: var(--ink-mute);
}

.cc-breadcrumb__item:not(:last-child)::after {
  content: '/';
  color: var(--ink-mute);
  opacity: .4;
}

.cc-breadcrumb__link {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color .15s;
}

.cc-breadcrumb__link:hover {
  color: var(--blue);
}

.cc-breadcrumb__item[aria-current="page"] {
  color: var(--ink-soft);
  font-weight: 500;
}

/* ── Wrapper ────────────────────────────────────────────────────── */
.na-wrap {
  position: relative;
  padding: 4px 0 24px;
}

/*
  Chrome GPU compositor fix: too many simultaneous backdrop-filter layers
  on one page causes visual artifacts (flickers, corruption when hovering
  header or browser navigation buttons). Remove backdrop-filter from all
  article elements — compensate with higher background opacity.
*/
.na-wrap .gl {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--card-bg);
}


/* ── Two-column layout ──────────────────────────────────────────── */
.na-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.na-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.na-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 80px;
}

/* Reset global .sidebar styles inside our sidebar */
.na-sidebar .sidebar {
  width: 100%;
  padding: 0;
  margin: 0;
}

/* ── Header card ────────────────────────────────────────────────── */
.na-header {
  padding: 22px 24px;
  box-shadow: var(--glass-shadow);
}

.na-wrap .na-header {
  background: linear-gradient(135deg, rgba(10, 132, 255, .20), rgba(6, 144, 223, 0.1)),
    var(--card-bg);
}

.na-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

/* Category pill — gradient */
.na-pill {
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0a84ff, #5e5ce6);
  color: #fff;
  display: inline-block;
}

.na-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.na-meta-text {
  font-size: 12px;
  color: var(--ink-mute);
}

/* news-btn — restyled to blue */
.news-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid rgba(10, 132, 255, .45);
  border-radius: 100px;
  cursor: pointer;
  background: rgba(10, 132, 255, .06);
  color: #0a84ff;
  font-size: 12px;
  font-weight: 600;
  transition: background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}

.news-btn:hover {
  background: rgba(10, 132, 255, .12);
  border-color: rgb(10, 132, 255);
  box-shadow: 0 0 18px rgba(10, 132, 255, .7);
}

.news-btn:active {
  transform: scale(.96);
  background: rgba(10, 132, 255, .18);
}

.news-btn__icon {
  width: 15px;
  height: 15px;
  opacity: .75;
  flex-shrink: 0;
}

/* Article title */
.na-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 16px;
}

/* Author row */
.na-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(12, 13, 16, .07);
}

[data-theme="dark"] .na-author-row {
  border-top-color: rgba(255, 255, 255, .07);
}

.na-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;

}

.na-author-avatar-img {
  width: 100%;
}

.na-author-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
}

.na-author-role {
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 1px;
}

/* ── Hero image ─────────────────────────────────────────────────── */
.na-hero {
  border-radius: 20px;
  overflow: hidden;
  line-height: 0;
}

/*
  .na-hero with overflow:hidden + border-radius + data-anim creates a compositor
  layer that conflicts with the fixed header when they overlap during scroll.
  Hero image doesn't need entrance animation — show it immediately.
*/
.na-hero[data-anim] {
  opacity: 1;
  transform: none;
  transition: none;
}

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

/* ── Hero video preview (thumbnail + play button, links out to source) ── */
.na-hero-video {
  position: relative;
  display: block;
}

.na-hero-video::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(10, 10, 14, .55);
  backdrop-filter: blur(2px);
  transform: translate(-50%, -50%);
  transition: transform .25s cubic-bezier(.2, .7, .2, 1), background .25s ease;
}

.na-hero-video::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-38%, -50%);
}

.na-hero-video:hover::before {
  background: var(--blue);
  transform: translate(-50%, -50%) scale(1.08);
}

/* ── Embedded video (responsive iframe, e.g. YouTube embed in body) ── */
.na-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
}

.na-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Lead text ──────────────────────────────────────────────────── */
.na-lead {
  padding: 22px 26px;
}

.na-lead p {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

/* ── Body text ──────────────────────────────────────────────────── */
.na-body {
  padding: 22px 24px;
}

.na-body p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.85;
  margin: 0 0 14px;
}

.na-body p:last-child {
  margin: 0;
}

/* ── Inline text link (add manually to <a> inside article body) ──── */
.na-inline-link {
  color: var(--blue);
  text-decoration: none;
}

.na-inline-link:hover,
.na-inline-link:focus-visible {
  text-decoration: underline;
}

@media (hover: none) {
  .na-inline-link {
    text-decoration: underline;
  }
}

/* ── Subheadings ────────────────────────────────────────────────── */
.na-subhead {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 4px 0 0;
  padding: 0 2px;
}

/* ── Pull quote ─────────────────────────────────────────────────── */
.na-pullquote {
  position: relative;
  padding: 28px 28px 22px;
  box-shadow: var(--glass-shadow);
  background: linear-gradient(135deg, rgba(10, 255, 112, 0.15), rgba(90, 193, 252, 0.2)),
    var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

.na-pullquote-mark {
  position: absolute;
  top: 10px;
  left: 18px;
  font-size: 64px;
  font-weight: 800;
  color: rgba(86, 142, 226, 0.9);
  line-height: 1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.na-pullquote-text {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--ink);
  margin: 8px 0 18px;
  padding-left: 24px;
  position: relative;
  z-index: 1;
}

.na-pullquote-speaker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 24px;
}

.na-pullquote-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0a84ff, #5e5ce6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

.na-pullquote-speaker-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.na-pullquote-speaker-title {
  font-size: 10px;
  color: var(--ink-mute);
  margin-top: 1px;
}

/* ── Tags + footer share ────────────────────────────────────────── */
.na-tags-block {
  padding: 18px 22px;
}

.na-eyebrow {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin-bottom: 10px;
}

.na-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.na-tag {
  padding: 5px 14px;
  border-radius: 100px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}

.na-tag:hover {
  background: var(--card-bg);
}

.na-share-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(12, 13, 16, .07);
  flex-wrap: wrap;
  gap: 10px;
}

[data-theme="dark"] .na-share-footer {
  border-top-color: rgba(255, 255, 255, .07);
}

.na-share-label {
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 500;
}

.na-share-circles {
  display: flex;
  gap: 8px;
  align-items: center;
}

.na-share-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform .2s ease;
  overflow: hidden;
}

.na-share-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.na-share-circle:hover {
  transform: translateY(-5px);
}

.na-share-circle:active {
  transform: scale(.9);
}

/* copy-link circle — no image, text emoji */
.na-share-circle--copy {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  font-size: 16px;
  line-height: 1;
  position: relative;
}

/* "Copied!" tooltip that appears on click */
.na-share-circle--copy::after {
  content: 'Copied!';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(12, 13, 16, .88);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 20px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}

.na-share-circle--copy.na-copied::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Sidebar ─────────────────────────────────────────────────────── */
.na-related {
  padding: 16px 18px;
  box-shadow: inset 5px 16px 5px -16px rgba(255, 250, 250, 0.75), inset 5px -15px 3px -15px rgba(255, 250, 250, 0.75), inset 15px 5px 3px -15px rgba(255, 250, 250, 0.75), inset -15px 5px 3px -15px rgba(255, 250, 250, 0.75);
  border-radius: var(--r-lg);
  border: 1px solid rgba(48, 209, 88, .3);
  background: linear-gradient(160deg, rgba(48, 209, 88, .48), rgba(100, 210, 255, .2));

}

.na-related-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.na-related-item {
  display: flex;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  padding: 12px 0;
  border-bottom: 1px solid rgba(12, 13, 16, .18);
}

.na-related-item:last-child {
  border-bottom: none;
}

[data-theme="dark"] .na-related-item {
  border-bottom-color: rgba(255, 255, 255, .12);
}

.na-related-item:hover .na-related-title {
  color: #0a84ff;
}

.na-related-thumb {
  width: 54px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: linear-gradient(135deg, #d8e2f0, #e0d8f0);
}

.na-related-title {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  transition: color .15s;
}

.na-related-date {
  font-size: 10px;
  color: var(--ink-mute);
  margin-top: 3px;
}

.na-no-related {
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  padding: 8px 0;
}

/* ── Toast ───────────────────────────────────────────────────────── */
.na-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(12, 13, 16, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fff;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  white-space: nowrap;
}

.na-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Popup — liquid glass ────────────────────────────────────────── */
.popup-news {
  /* layout & positioning (from original) */
  width: 90%;
  max-width: 450px;
  min-width: 276px;
  max-height: 260px;
  height: 20dvw;
  min-height: fit-content;
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  overflow: hidden;
  /* liquid glass */
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
}

[data-theme="dark"] .popup-news {
  background: rgba(24, 24, 36, .92);
  border-color: rgba(255, 255, 255, .1);
}

.popup-news__share {

  border-radius: 18px 18px 0 0;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-news__share-text {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.popup-news__btn-close {
  color: var(--ink-mute);
  font-size: 20px;
  font-weight: bold;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(12, 13, 16, .07);
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-news__btn-close:hover {
  background: rgba(12, 13, 16, .13);
  box-shadow: none;
  border: none;
  transform: none;
}

.popup-news__btn-close:active {
  background: rgba(12, 13, 16, .2);
  transform: scale(.94);
}

.popup-news__section {
  display: flex;
  justify-content: space-between;
  width: 85%;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem auto;
  padding: 1rem;
}

.popup-news__section-item {
  width: 3rem;
  height: 3rem;
}

.popup-news__section-item.na-share-circle--copy {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
}

.popup-news__section-item:hover {
  transform: translateY(-5px);
  transition: ease 0.3s;
}

.popup-news__section-item:active {
  transform: scale(0.9);
}

.popup-news__section-img {
  width: 100%;
  object-fit: cover;
}

/* X/Twitter icon is black SVG — invert to white in dark mode */
[data-theme="dark"] img[src*="twitter_x"] {
  filter: brightness(0) invert(1);
}

/* ── Pagination ─────────────────────────────────────────────────── */
.news__pagination {
  display: flex;
  width: 100%;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2rem;
  align-items: center;
}

.news__ellipsis {
  padding: 0.4rem 0.8rem;
  color: #a0aec0;
}

.news__pagination_number {
  padding: 0.4rem 0.8rem;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: ease-out 0.3s;
  border: 1px solid #718096;
}

.news__pagination_number.active {
  background-color: #b32d4a !important;
  border-color: #9a2640 !important;
  cursor: default;
  pointer-events: none;
}

.news__pagination_number:not(.active):hover {
  background-color: #4a5568;
  border-color: #718096;
  transform: translateY(-2px);
}

.news__pagination_number:active {
  transform: scale(0.8);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .na-layout {
    grid-template-columns: 1fr;
  }

  .na-sidebar {
    display: none;
  }

  .na-title {
    font-size: 22px;
  }

  .na-pullquote-text {
    font-size: 15px;
  }

  .na-lead p {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .na-title {
    font-size: 19px;
  }

  .na-lead p {
    font-size: 14px;
  }

  .popup-news__section {
    width: 100%;
  }

  .news__pagination {
    gap: 0.2rem;
  }

  .news__ellipsis {
    padding: 0.2rem;
  }

  .news__pagination_number {
    padding: 0.2rem 0.4rem;
    font-size: 0.8rem;
  }
}

/* ═══════════════════════════════════════════════════════
   NEWS LISTING — nl-*
   ═══════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────────── */
.nl-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  padding: 44px 44px 40px;
  background: linear-gradient(135deg, #0c0d10 0%, #1a1c30 50%, #0a1a4a 100%);
  color: #fff;
  margin-bottom: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.nl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(191, 90, 242, .25), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(10, 132, 255, .2), transparent 50%);
  pointer-events: none;
}

.nl-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .22);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 16px;
  position: relative;
}

.nl-hero__title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  margin: 0 0 14px;
  position: relative;
}

.nl-hero__gradient {
  background: linear-gradient(90deg, #bf5af2, #64d2ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nl-hero__sub {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .72);
  margin: 0;
  max-width: 580px;
  position: relative;
}

/* ── Layout ─────────────────────────────────────────────────────── */
.nl-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 20px;
  align-items: start;
}

.nl-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.nl-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 80px;
}

.nl-sidebar .sidebar {
  width: 100%;
}

/* ── Category filter bar ─────────────────────────────────────────── */
.nl-filters {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  padding: 6px;
  background: var(--card-bg);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  box-shadow: var(--glass-shadow);
}

.nl-filter-btn {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background .3s, color .15s;
  white-space: nowrap;
  cursor: pointer;
}

.nl-filter-btn:hover {
  background: var(--sticky-bg);
  color: var(--ink);
}

.nl-filter-btn--active {
  background: #0c0d10;
  color: #fff;
}

.nl-filter-btn--active:hover {
  background: #1a1c24;
  color: #fff;
}

[data-theme="dark"] .nl-filter-btn {
  color: #9aa5b8;
}

[data-theme="dark"] .nl-filter-btn:hover {
  background: rgba(255, 255, 255, .1);
  color: #e0e0e0;
}

[data-theme="dark"] .nl-filter-btn--active {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

[data-theme="dark"] .nl-filter-btn--active:hover {
  background: rgba(255, 255, 255, .22);
}

/* ── Category pills (on card thumbnails) ─────────────────────────── */
.nl-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .92);
  color: var(--ink-soft);
}

/* Grid card pills — white bg, colored text */
.nl-card__thumb .nl-pill--casino {
  color: #0058b8;
}

.nl-card__thumb .nl-pill--betting {
  color: #7e2cc6;
}

.nl-card__thumb .nl-pill--finance {
  color: #c8331f;
}

.nl-card__thumb .nl-pill--ai {
  color: #a55b00;
}

.nl-card__thumb .nl-pill--ad-network {
  color: #1c7a3a;
}

/* Featured card image pills — gradient bg, white text */
.nl-featured__img .nl-pill {
  color: #fff;
}

.nl-featured__img .nl-pill--casino {
  background: linear-gradient(135deg, #0a84ff, #5e5ce6);
}

.nl-featured__img .nl-pill--betting {
  background: linear-gradient(135deg, #bf5af2, #5e5ce6);
}

.nl-featured__img .nl-pill--finance {
  background: linear-gradient(135deg, #ff453a, #ff9f0a);
}

.nl-featured__img .nl-pill--ai {
  background: linear-gradient(135deg, #ff9f0a, #ff2d92);
}

.nl-featured__img .nl-pill--ad-network {
  background: linear-gradient(135deg, #30d158, #0a84ff);
}

/* ── Thumbnail gradient placeholders ─────────────────────────────── */
.nl-thumb-bg--casino {
  background: linear-gradient(135deg, #0a84ff, #5e5ce6);
}

.nl-thumb-bg--betting {
  background: linear-gradient(135deg, #bf5af2, #5e5ce6);
}

.nl-thumb-bg--finance {
  background: linear-gradient(135deg, #ff453a, #ff9f0a);
}

.nl-thumb-bg--ad-network {
  background: linear-gradient(135deg, #30d158, #64d2ff);
}

.nl-thumb-bg--default {
  background: linear-gradient(135deg, #d8e2f0, #c0cad8);
}

/* ── Featured card ───────────────────────────────────────────────── */
.nl-featured {
  display: block;
  text-decoration: none;
  color: inherit;
}

.nl-featured .news-main {
  margin-bottom: 0;
}

/* ── Cards grid ─────────────────────────────────────────────────── */
.nl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.nl-card {
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}

.nl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .12);
}

.nl-card__thumb {
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
}

.nl-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.nl-card:hover .nl-card__thumb img {
  transform: scale(1.05);
}

.nl-card__pill-wrap {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.nl-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.nl-card__title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nl-card__meta {
  font-size: 10px;
  color: var(--ink-mute);
  margin-top: auto;
}

/* ── Pagination ─────────────────────────────────────────────────── */
.nl-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 0 4px;
  flex-wrap: wrap;
}

.nl-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink-soft);
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  transition: background .15s, color .15s, transform .15s;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: var(--glass-shadow);
}

.nl-page-btn:hover {
  background: var(--glass-bg-strong);
  color: var(--ink);
  transform: translateY(-1px);
}

.nl-page-btn:active {
  transform: scale(.94);
}

.nl-page-btn--active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  cursor: default;
  pointer-events: none;
}

.nl-page-ellipsis {
  font-size: 12px;
  color: var(--ink-mute);
  padding: 0 2px;
}

[data-theme="dark"] .nl-page-btn--active {
  background: rgba(255, 255, 255, .15);
  border-color: transparent;
}

.nl-page-btn--nav {
  background: rgba(10, 132, 255, 0.08);
  border-color: rgba(10, 132, 255, 0.20);
  min-width: 40px;
  font-size: 15px;
}

.nl-page-btn--nav:hover {
  background: rgba(10, 132, 255, 0.15);
  border-color: rgba(10, 132, 255, 0.35);
}

[data-theme="dark"] .nl-page-btn--nav {
  background: rgba(10, 132, 255, 0.12);
  border-color: rgba(10, 132, 255, 0.25);
}

[data-theme="dark"] .nl-page-btn--nav:hover {
  background: rgba(10, 132, 255, 0.22);
}

/* ── Sidebar — Trending ─────────────────────────────────────────── */
.nl-trending {
  padding: 16px 18px;
  box-shadow: inset 5px 16px 5px -16px rgba(255, 250, 250, 0.75), inset 5px -15px 3px -15px rgba(255, 250, 250, 0.75), inset 15px 5px 3px -15px rgba(255, 250, 250, 0.75), inset -15px 5px 3px -15px rgba(255, 250, 250, 0.75);
  border-radius: var(--r-lg);
  border: 1px solid rgba(48, 209, 88, .3);
  background: linear-gradient(160deg, rgba(48, 209, 88, .48), rgba(100, 210, 255, .2));
}


.nl-trending__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 12px;
}

.nl-trending__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}

.nl-trending__item:hover .nl-trending__title {
  color: #0a84ff;
}

.nl-trending__num {
  font-size: 24px;
  font-weight: 800;
  color: rgba(12, 13, 16, .3);
  flex-shrink: 0;
  width: 24px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

[data-theme="dark"] .nl-trending__num {
  color: rgba(255, 255, 255, .3);
}

.nl-trending__title {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.38;
  color: var(--ink);
  transition: color .15s;
}

.nl-trending__meta {
  font-size: 9.5px;
  color: var(--ink-mute);
  margin-top: 3px;
}

/* ── Sidebar — Browse by category ───────────────────────────────── */
.nl-cats {
  padding: 16px 18px;
  box-shadow: var(--glass-shadow);
  background: var(--card-bg);
}

.nl-cat-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 12px;
}

.nl-cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background .15s;
}

.nl-cat-row:hover {
  background: var(--glass-bg);
}

.nl-cat-row--active {
  background: var(--glass-bg);
  font-weight: 600;
  color: var(--ink);
}

.nl-cat-row__count {
  font-size: 10.5px;
  color: var(--ink-mute);
  font-weight: 400;
}

/* ── Sidebar — Newsletter ───────────────────────────────────────── */
.nl-newsletter {
  padding: 18px 18px 16px;
  box-shadow: var(--glass-shadow);
  background: var(--card-bg);
}

.nl-newsletter__title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
  letter-spacing: -.01em;
}

.nl-newsletter__sub {
  font-size: 11px;
  color: var(--ink-mute);
  line-height: 1.45;
  margin: 0 0 12px;
}

.nl-newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nl-newsletter__input {
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  font-size: 11.5px;
  color: var(--ink-soft);
  outline: none;
  transition: border-color .15s, background .15s;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
}

.nl-newsletter__input:focus {
  border-color: rgba(10, 132, 255, .5);
}

.nl-newsletter__btn {
  padding: 9px 16px;
  border-radius: 100px;
  background: #0c0d10;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background .15s;
  font-family: inherit;
}

.nl-newsletter__btn:hover {
  background: #1e2030;
}

[data-theme="dark"] .nl-newsletter__btn {
  background: rgba(255, 255, 255, .15);
}

[data-theme="dark"] .nl-newsletter__btn:hover {
  background: rgba(255, 255, 255, .22);
}

/* ── Empty state ─────────────────────────────────────────────────── */
.nl-empty {
  text-align: center;
  padding: 52px 24px;
  color: var(--ink-mute);
  font-size: 14px;
  grid-column: 1 / -1;
  line-height: 1.6;
}

/* ── Responsive (nl-*) ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nl-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .nl-layout {
    grid-template-columns: 1fr;
  }

  .nl-sidebar {
    display: none;
  }

  .nl-hero__title {
    font-size: 34px;
  }
}

@media (max-width: 640px) {
  .nl-hero {
    padding: 28px 22px 24px;
    border-radius: 18px;
  }

  .nl-hero__title {
    font-size: 26px;
  }

  .nl-hero__sub {
    font-size: 12.5px;
  }

  .nl-grid {
    grid-template-columns: 1fr;
  }

  .nl-filters {
    border-radius: 16px;
  }

}

/* ── Author block (cc-author-*) — used inside na-pullquote ────────── */
.cc-author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--glass-border);
}

.cc-author__avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--glass-border);
}

.cc-author__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-author__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cc-author__meta {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.cc-author__name {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cc-author__role {
  font-size: .76rem;
  color: var(--text-secondary);
}

.cc-author__date {
  font-size: .72rem;
  color: var(--text-secondary);
  opacity: .7;
}

.cc-author__linkedin {
  flex-shrink: 0;
  font-size: .76rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}

.cc-author__linkedin:hover {
  text-decoration: underline;
}