/*
 * blog-styles.css — Blog, Archive & Tag page styles
 * Cosmic Numerology Pro Theme
 *
 * INSTALL: /wp-content/themes/cosmic-numerology-pro/blog-styles.css
 *
 * Enqueued via functions.php at priority 10000
 * (above cosmic-override.css at 9999) scoped to blog/archive/tag pages.
 * All classes prefixed ng-home-*, ng-arch-*, ng-sw-* — zero side effects.
 */


/* ═══════════════════════════════════
   FROM home.php
═══════════════════════════════════ */


/*
 * OVERRIDE FIXES — beats cosmic-override.css (priority 9999) on our scoped classes
 * These !important rules neutralise the global h2/h3/img/a rules that break layout
 */

/* Fix h2 text-align:center !important from override.css */
.ng-home-feat-title,
.ng-home-feat-title * {
  text-align: left !important;
  font-size: clamp(20px, 2.5vw, 30px) !important;
  font-weight: 600 !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}
.ng-home-card-title,
.ng-home-card-title * {
  text-align: left !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}
.ng-home-hero-title {
  text-align: left !important;
  font-size: clamp(36px, 5vw, 62px) !important;
  font-weight: 600 !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
}
.ng-home-hero-title em {
  font-style: italic !important;
  color: #FFD700 !important;
}
.ng-home-empty-title { text-align: center !important; font-size: 30px !important; }

/* Fix img { height: auto } from override.css — breaks fixed-height thumb containers */
.ng-home-feat-thumb img,
.ng-home-card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* Fix a { color: var(--c-lavender) } from override.css — kills card text colors */
.ng-home-featured,
.ng-home-featured:hover,
.ng-home-card,
.ng-home-card:hover {
  color: inherit !important;
  text-decoration: none !important;
}
.ng-home-feat-exc,
.ng-home-card-exc {
  color: rgba(255,255,255,0.45) !important;
}
.ng-home-feat-cta { color: #FFD700 !important; }
.ng-home-card:hover .ng-home-card-title { color: #FFD700 !important; }
.ng-home-filter-chip { text-decoration: none !important; }
.ng-home-filter-chip.active { color: #FFD700 !important; }

/* Fix .ng-home-grid conflicting with global grid resets if any */
.ng-home-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
}

/* Fix .ng-home-layout grid */
.ng-home-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 300px !important;
  align-items: start !important;
}
@media (max-width: 1024px) {
  .ng-home-layout { grid-template-columns: 1fr !important; }
}

/* Fix sidebar widgets */
.ng-sw-title { text-align: left !important; font-size: 11px !important; }
.ng-sw-cta-title { text-align: center !important; font-size: 19px !important; }
.ng-sw-cat-link { color: rgba(255,255,255,0.6) !important; }
.ng-sw-tag { color: rgba(255,255,255,0.55) !important; }
.ng-sw-tag:hover { color: #cc99ff !important; }

/* Fix filter bar link colors */
.ng-home-filter-inner a { color: rgba(255,255,255,0.55) !important; }
.ng-home-filter-inner a:hover,
.ng-home-filter-inner a.active { color: #FFD700 !important; }

/* Pagination */
.ng-home-pagination .page-numbers a { color: rgba(255,255,255,0.65) !important; }
.ng-home-pagination .page-numbers a:hover { color: #cc99ff !important; }
.ng-home-pagination .page-numbers .current { color: #0a0015 !important; }

/* ─────────────────────────────────────────────────────
   home.php — Blog index styles
   All classes prefixed ng-home-* or ng-sw-*
   Zero interference with existing theme CSS
───────────────────────────────────────────────────── */

.ng-home-wrap { width: 100%; overflow-x: hidden; }

/* Reading progress */
.ng-progress-track {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 3px; z-index: 99999;
  background: rgba(255,255,255,0.05);
}
.ng-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #7b2ff7, #FFD700, #f107a3);
  transition: width 0.15s linear;
}

/* ── Hero ──────────────────────────────────────────── */
.ng-home-hero {
  position: relative;
  min-height: 360px;
  display: flex; align-items: center;
  overflow: hidden;
}
.ng-home-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #0a0015 0%, #1a0035 50%, #0d001a 100%);
}
/* Animated floating orbs */
.ng-home-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); animation: ngOrbFloat 8s ease-in-out infinite;
}
.ng-home-orb-1 {
  width: 400px; height: 400px;
  background: rgba(123,47,247,0.22);
  top: -120px; left: -80px;
  animation-delay: 0s;
}
.ng-home-orb-2 {
  width: 300px; height: 300px;
  background: rgba(241,7,163,0.15);
  top: -60px; right: -60px;
  animation-delay: -3s;
}
.ng-home-orb-3 {
  width: 200px; height: 200px;
  background: rgba(255,215,0,0.08);
  bottom: -40px; left: 40%;
  animation-delay: -5s;
}
@keyframes ngOrbFloat {
  0%,100% { transform: translateY(0px) scale(1); }
  50%      { transform: translateY(-20px) scale(1.05); }
}
.ng-home-grid {
  position: relative; inset: 0;
  background-image:
    linear-gradient(rgba(255,215,0,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.ng-home-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; width: 100%;
  padding: 60px 48px 50px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .ng-home-hero-inner { padding: 44px 20px 36px; }
  .ng-home-hero { min-height: 300px; }
}
.ng-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 6px; font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 16px; letter-spacing: 0.03em;
}
.ng-breadcrumb a { color: rgba(255,215,0,0.6); text-decoration: none; transition: color 0.2s; }
.ng-breadcrumb a:hover { color: #FFD700; }
.ng-bc-sep { color: rgba(255,215,0,0.3); font-size: 9px; }
.ng-home-hero-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(123,47,247,0.22);
  border: 1px solid rgba(123,47,247,0.45);
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
  color: #cc99ff;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.07em; text-transform: uppercase;
  margin-bottom: 14px;
}
.ng-home-hero-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 600; color: #fff;
  margin: 0 0 14px; line-height: 1.15;
  letter-spacing: -0.02em;
}
.ng-home-hero-title em {
  font-style: italic;
  color: #FFD700;
  text-shadow: 0 0 40px rgba(255,215,0,0.35);
}
.ng-home-hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.75; margin: 0 0 28px;
  max-width: 580px;
  font-family: 'Poppins', sans-serif;
}
.ng-home-hero-meta {
  display: flex; align-items: center; gap: 20px;
  font-family: 'Poppins', sans-serif;
}
.ng-home-hero-stat {
  display: flex; flex-direction: column; gap: 2px;
}
.ng-home-hero-stat-num {
  font-size: 22px; font-weight: 800;
  color: #FFD700; line-height: 1;
  font-family: 'Cormorant Garamond', serif;
}
.ng-home-hero-stat-lbl {
  font-size: 10px; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.ng-home-hero-sep {
  width: 1px; height: 32px;
  background: rgba(255,255,255,0.12);
}

/* ── Category filter bar ───────────────────────────── */
.ng-home-filter-bar {
  background: rgba(10,0,21,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,215,0,0.1);
  position: sticky; top: 72px; z-index: 100;
}
.ng-home-filter-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 32px;
  display: flex; align-items: center;
  gap: 4px; overflow-x: auto;
  scrollbar-width: none;
}
.ng-home-filter-inner::-webkit-scrollbar { display: none; }
.ng-home-filter-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 16px;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s;
}
.ng-home-filter-chip:hover {
  color: rgba(255,215,0,0.8);
  border-bottom-color: rgba(255,215,0,0.35);
}
.ng-home-filter-chip.active {
  color: #FFD700;
  border-bottom-color: #FFD700;
}
.ng-home-filter-count {
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.07);
  border-radius: 10px; padding: 1px 6px;
}
@media (max-width: 768px) {
  .ng-home-filter-inner { padding: 0 16px; }
}

/* ── Main layout ───────────────────────────────────── */
.ng-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  max-width: 1200px; margin: 0 auto;
  padding: 48px 32px 80px;
  align-items: start;
}
@media (max-width: 1024px) {
  .ng-home-layout {
    grid-template-columns: 1fr;
    padding: 32px 20px 60px;
  }
}

/* ── Featured post ─────────────────────────────────── */
.ng-home-featured {
  display: block;
  text-decoration: none;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,215,0,0.18);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 36px;
  transition: all 0.3s;
}
.ng-home-featured:hover {
  border-color: rgba(255,215,0,0.38);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: translateY(-3px);
}
.ng-home-feat-thumb {
  position: relative;
  height: 340px; overflow: hidden;
}
@media (max-width: 600px) { .ng-home-feat-thumb { height: 220px; } }
.ng-home-feat-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.ng-home-featured:hover .ng-home-feat-thumb img { transform: scale(1.04); }
.ng-home-feat-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a0040, #3d0080, #1a0040);
  display: flex; align-items: center; justify-content: center;
}
.ng-home-feat-glyph { font-size: 80px; opacity: 0.6; }
/* Gradient overlay on thumbnail */
.ng-home-feat-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,0,21,0.9) 100%);
}
.ng-home-feat-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 5px 12px;
  background: #FFD700;
  border-radius: 20px;
  font-size: 10px; font-weight: 900;
  color: #0a0015;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.ng-home-feat-body { padding: 24px 28px 28px; }
.ng-home-feat-cats {
  display: flex; gap: 7px; margin-bottom: 10px; flex-wrap: wrap;
}
.ng-home-feat-cat {
  padding: 3px 10px;
  background: rgba(123,47,247,0.22);
  border: 1px solid rgba(123,47,247,0.4);
  border-radius: 12px;
  font-size: 10px; font-weight: 700;
  color: #cc99ff;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.ng-home-feat-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 600; color: #fff;
  line-height: 1.28; margin: 0 0 12px;
  transition: color 0.2s;
}
.ng-home-featured:hover .ng-home-feat-title { color: #FFD700; }
.ng-home-feat-exc {
  font-size: 14px; color: rgba(255,255,255,0.52);
  line-height: 1.75; margin: 0 0 18px;
  font-family: 'Poppins', sans-serif;
}
.ng-home-feat-meta {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: 12px; color: rgba(255,215,0,0.55);
  font-family: 'Poppins', sans-serif;
}
.ng-home-feat-meta span {
  display: flex; align-items: center; gap: 4px;
}
.ng-home-feat-author {
  display: flex; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.65) !important;
}
.ng-home-feat-avatar {
  width: 22px !important; height: 22px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255,215,0,0.3) !important;
}
.ng-home-feat-dot { color: rgba(255,255,255,0.2); }
.ng-home-feat-cta {
  margin-left: auto;
  color: #FFD700 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
}

/* ── Section divider ───────────────────────────────── */
.ng-home-section-head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
}
.ng-home-divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.2), transparent);
}
.ng-home-divider-txt {
  font-size: 11px; font-weight: 700;
  color: rgba(255,215,0,0.5);
  text-transform: uppercase; letter-spacing: 0.15em;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
}

/* ── Post grid ─────────────────────────────────────── */
.ng-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-bottom: 40px;
}
@media (max-width: 600px) { .ng-home-grid { grid-template-columns: 1fr; } }

.ng-home-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px; overflow: hidden;
  text-decoration: none;
  transition: all 0.28s;
}
.ng-home-card:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
.ng-home-card-thumb {
  position: relative; height: 190px; overflow: hidden;
}
.ng-home-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.ng-home-card:hover .ng-home-card-thumb img { transform: scale(1.06); }
.ng-home-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a0040, #3d0080);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px;
}
.ng-home-card-cat {
  position: absolute; bottom: 10px; left: 10px;
  padding: 3px 9px;
  background: rgba(10,0,21,0.88);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 8px;
  font-size: 10px; font-weight: 700;
  color: #FFD700;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.ng-home-card-read-overlay {
  position: absolute; inset: 0;
  background: rgba(123,47,247,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 700; color: #fff;
}
.ng-home-card:hover .ng-home-card-read-overlay { opacity: 1; }

.ng-home-card-body {
  padding: 16px 18px 18px;
  flex: 1; display: flex; flex-direction: column;
}
.ng-home-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px; font-weight: 600;
  color: #fff; line-height: 1.35;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.2s;
}
.ng-home-card:hover .ng-home-card-title { color: #FFD700; }
.ng-home-card-exc {
  font-size: 12px; color: rgba(255,255,255,0.45);
  line-height: 1.65; margin: 0 0 12px; flex: 1;
  font-family: 'Poppins', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ng-home-card-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.ng-home-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: rgba(255,215,0,0.5);
  font-family: 'Poppins', sans-serif;
}
.ng-home-card-meta span { display: flex; align-items: center; gap: 3px; }
.ng-home-card-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.ng-home-card-tag {
  font-size: 10px; font-weight: 600;
  color: rgba(154,92,255,0.8);
  background: rgba(123,47,247,0.1);
  border: 1px solid rgba(123,47,247,0.2);
  border-radius: 8px; padding: 2px 7px;
  font-family: 'Poppins', sans-serif;
}

/* ── Pagination ────────────────────────────────────── */
.ng-home-pagination { margin-top: 8px; }
.ng-home-pagination .page-numbers {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0; padding: 0;
  font-family: 'Poppins', sans-serif;
}
.ng-home-pagination .page-numbers a,
.ng-home-pagination .page-numbers span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.ng-home-pagination .page-numbers a {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
}
.ng-home-pagination .page-numbers a:hover {
  background: rgba(123,47,247,0.2);
  border-color: rgba(123,47,247,0.4);
  color: #cc99ff;
}
.ng-home-pagination .page-numbers .current {
  background: #FFD700; border: 1px solid #FFD700;
  color: #0a0015; width: 40px; height: 40px; border-radius: 10px;
}
.ng-home-pagination .page-numbers .prev,
.ng-home-pagination .page-numbers .next {
  width: auto; padding: 0 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65); font-size: 12px; text-decoration: none;
}
.ng-home-pagination .page-numbers .prev:hover,
.ng-home-pagination .page-numbers .next:hover {
  background: rgba(123,47,247,0.2);
  border-color: rgba(123,47,247,0.4); color: #cc99ff;
}

/* ── Empty state ───────────────────────────────────── */
.ng-home-empty {
  text-align: center; padding: 100px 20px;
}
.ng-home-empty-glyph { font-size: 60px; margin-bottom: 16px; }
.ng-home-empty-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px; font-weight: 600; color: #fff; margin: 0 0 10px;
}
.ng-home-empty-txt {
  font-size: 14px; color: rgba(255,255,255,0.5);
  max-width: 400px; margin: 0 auto 24px; line-height: 1.7;
  font-family: 'Poppins', sans-serif;
}
.ng-home-empty-btn {
  display: inline-block; padding: 12px 24px;
  background: rgba(123,47,247,0.2);
  border: 1px solid rgba(123,47,247,0.4);
  border-radius: 30px; color: #cc99ff; font-weight: 600;
  text-decoration: none; font-family: 'Poppins', sans-serif; transition: all 0.2s;
}
.ng-home-empty-btn:hover { background: rgba(123,47,247,0.4); color: #fff; }

/* ── Sidebar ───────────────────────────────────────── */
.ng-home-sidebar {
  position: sticky; top: 120px;
  display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 1024px) { .ng-home-sidebar { position: static; } }

/* Shared sidebar widget styles (same as archive/single) */
.ng-sw {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 20px;
  font-family: 'Poppins', sans-serif;
}
.ng-sw-title {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700;
  color: rgba(255,215,0,0.6);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin: 0 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ng-sw-cta {
  background: linear-gradient(135deg,rgba(123,47,247,.15),rgba(241,7,163,.1));
  border-color: rgba(123,47,247,.3); text-align: center;
}
.ng-sw-glyph { font-size: 34px; margin-bottom: 8px; }
.ng-sw-cta-title {
  font-family: 'Cormorant Garamond',serif;
  font-size: 19px; font-weight: 600; color: #FFD700; margin: 0 0 8px;
}
.ng-sw-cta-txt {
  font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.65; margin: 0 0 14px;
}
.ng-sw-cta-btn {
  display: block; padding: 11px 18px;
  background: linear-gradient(135deg,#7b2ff7,#f107a3);
  border-radius: 30px; color: #fff; font-weight: 700; font-size: 13px;
  text-decoration: none; box-shadow: 0 4px 18px rgba(123,47,247,.4);
  transition: all .25s; margin-bottom: 10px;
}
.ng-sw-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px rgba(123,47,247,.6); }
.ng-sw-trust {
  font-size: 11px; color: rgba(255,255,255,.4);
  display: flex; justify-content: center; gap: 6px;
}
.ng-sw-jyoti {
  background: linear-gradient(135deg,rgba(13,0,37,.9),rgba(61,0,128,.4));
  border-color: rgba(255,215,0,.2);
}
.ng-sw-jyoti-inner { display: flex; gap: 14px; align-items: center; }
.ng-sw-jyoti-face {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg,#1a0040,#3d0080);
  border: 2px solid #FFD700;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; flex-shrink: 0;
}
.ng-sw-bindi {
  width: 6px; height: 6px; border-radius: 50%;
  background: #FF2244; box-shadow: 0 0 5px #FF2244;
}
.ng-sw-eyes { display: flex; gap: 8px; }
.ng-sw-eye {
  width: 7px; height: 9px; border-radius: 50%;
  background: #1a0040; border: 1.5px solid #FFD700;
}
.ng-sw-live {
  font-size: 10px; color: #00C864; font-weight: 700;
  display: flex; align-items: center; gap: 5px; margin-bottom: 4px;
}
.ng-sw-live-dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: #00C864;
  animation: ngLivePulse 1.5s ease-in-out infinite;
}
@keyframes ngLivePulse { 0%,100% { opacity:1; } 50% { opacity:.35; } }
.ng-sw-jyoti-name {
  font-family: 'Cormorant Garamond',serif;
  font-size: 17px; font-weight: 700; color: #FFD700; margin: 0 0 3px;
}
.ng-sw-jyoti-desc {
  font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.5; margin: 0 0 9px;
}
.ng-sw-jyoti-btn {
  display: inline-block; padding: 7px 14px;
  background: rgba(255,215,0,.1); border: 1px solid rgba(255,215,0,.38);
  border-radius: 20px; color: #FFD700; font-size: 12px; font-weight: 700;
  text-decoration: none; transition: all .2s;
}
.ng-sw-jyoti-btn:hover { background: rgba(255,215,0,.22); color: #fff; }
.ng-sw-cat-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.ng-sw-cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; border-radius: 8px;
  font-size: 13px; color: rgba(255,255,255,.6);
  text-decoration: none; transition: all .2s;
}
.ng-sw-cat-link:hover { background: rgba(123,47,247,.15); color: #cc99ff; }
.ng-sw-cat-count {
  font-size: 10px; color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.06); border-radius: 10px; padding: 1px 7px;
}
.ng-sw-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.ng-sw-tag {
  padding: 5px 11px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: 20px; font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,.55); text-decoration: none; transition: all .2s;
}
.ng-sw-tag:hover {
  background: rgba(123,47,247,.2); border-color: rgba(123,47,247,.4); color: #cc99ff;
}

/* Subscribe widget */
.ng-sw-subscribe { text-align: center; }
.ng-sw-subscribe-icon { font-size: 28px; margin-bottom: 8px; }
.ng-sw-subscribe-title {
  font-family: 'Cormorant Garamond',serif;
  font-size: 17px; font-weight: 600; color: #FFD700; margin: 0 0 6px;
}
.ng-sw-subscribe-txt {
  font-size: 12px; color: rgba(255,255,255,.5); line-height: 1.6; margin: 0 0 12px;
}
.ng-sw-subscribe-btn {
  display: inline-block; padding: 9px 18px;
  background: rgba(255,215,0,.1); border: 1px solid rgba(255,215,0,.35);
  border-radius: 20px; color: #FFD700; font-size: 12px; font-weight: 700;
  text-decoration: none; transition: all .2s;
}
.ng-sw-subscribe-btn:hover { background: rgba(255,215,0,.22); color: #fff; }


/* ═══════════════════════════════════
   FROM archive.php
═══════════════════════════════════ */


/*
 * OVERRIDE FIXES — beats cosmic-override.css (priority 9999) on scoped classes
 * Fixes: h2 text-align:center !important, img height:auto, a color:lavender
 */
.ng-arch-title { text-align: left !important; font-size: clamp(28px,4vw,48px) !important; font-weight: 600 !important; font-family: 'Cormorant Garamond',Georgia,serif !important; }
.ng-arch-feat-title,
.ng-arch-feat-title * { text-align: left !important; font-size: clamp(18px,2.2vw,26px) !important; font-weight: 600 !important; font-family: 'Cormorant Garamond',Georgia,serif !important; }
.ng-arch-card-title { text-align: left !important; font-size: 17px !important; font-weight: 600 !important; }
.ng-arch-empty-title { text-align: center !important; }
.ng-section-title { text-align: center !important; }
.ng-arch-feat-thumb img,
.ng-arch-card-thumb img,
.ng-arch-related-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.ng-arch-featured,
.ng-arch-featured:hover,
.ng-arch-card,
.ng-arch-card:hover { color: inherit !important; text-decoration: none !important; }
.ng-arch-feat-exc { color: rgba(255,255,255,0.5) !important; }
.ng-arch-card-exc { color: rgba(255,255,255,0.45) !important; }
.ng-arch-feat-read { color: #FFD700 !important; }
.ng-arch-card:hover .ng-arch-card-title { color: #FFD700 !important; }
.ng-arch-featured:hover .ng-arch-feat-title { color: #FFD700 !important; }
.ng-arch-layout { display: grid !important; grid-template-columns: minmax(0,1fr) 300px !important; align-items: start !important; }
.ng-arch-grid { display: grid !important; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)) !important; }
@media(max-width:1024px){ .ng-arch-layout { grid-template-columns: 1fr !important; } }
@media(max-width:600px){ .ng-arch-grid { grid-template-columns: 1fr !important; } }
.ng-sw-title { text-align: left !important; font-size: 11px !important; }
.ng-sw-cta-title { text-align: center !important; font-size: 19px !important; }
.ng-sw-cat-link { color: rgba(255,255,255,0.6) !important; text-decoration: none !important; }
.ng-sw-jyoti-btn,
.ng-sw-cta-btn { text-decoration: none !important; }
.ng-sw-tag { color: rgba(255,255,255,0.55) !important; text-decoration: none !important; }
.ng-arch-pagination a { text-decoration: none !important; }
.ng-arch-pagination .page-numbers a { color: rgba(255,255,255,0.65) !important; }
.ng-arch-pagination .page-numbers .current { color: #0a0015 !important; }
.ng-breadcrumb a { color: rgba(255,215,0,0.6) !important; }

/* ── Wrapper ─────────────────────────────────── */
.ng-archive-wrap { width: 100%; overflow-x: hidden; }

/* ── Reading progress bar ─────────────────────── */
.ng-progress-track {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 3px;
  z-index: 99999;
  background: rgba(255,255,255,0.05);
}
.ng-progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #7b2ff7, #FFD700, #f107a3);
  transition: width 0.15s linear;
}

/* ── Archive Hero ─────────────────────────────── */
.ng-arch-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.ng-arch-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(123,47,247,0.3) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(241,7,163,0.2) 0%, transparent 50%),
    linear-gradient(180deg, #0a0015 0%, #1a0035 100%);
}
/* Decorative grid lines in hero */
.ng-arch-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,215,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,215,0,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.ng-arch-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px;
  width: 100%;
  padding: 48px 48px 40px;
}
@media (max-width: 768px) {
  .ng-arch-hero-inner { padding: 36px 20px 28px; }
}

/* Breadcrumb */
.ng-breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 6px; font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}
.ng-breadcrumb a { color: rgba(255,215,0,0.6); text-decoration: none; transition: color 0.2s; }
.ng-breadcrumb a:hover { color: #FFD700; }
.ng-bc-sep { color: rgba(255,215,0,0.35); font-size: 9px; }

/* Archive type badge */
.ng-arch-type-badge {
  display: inline-flex; align-items: center;
  padding: 4px 12px;
  background: rgba(123,47,247,0.25);
  border: 1px solid rgba(123,47,247,0.45);
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
  color: #cc99ff;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 12px;
}

/* Archive title */
.ng-arch-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ng-arch-hash {
  color: rgba(255,215,0,0.55);
  margin-right: 4px;
  font-style: normal;
}

/* Archive description */
.ng-arch-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0 0 16px;
  max-width: 640px;
  font-family: 'Poppins', sans-serif;
}

/* Post count pill */
.ng-arch-count {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: rgba(255,215,0,0.65);
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.04em;
}

/* ── Layout ───────────────────────────────────── */
.ng-arch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 32px 80px;
  align-items: start;
}
@media (max-width: 1024px) {
  .ng-arch-layout {
    grid-template-columns: 1fr;
    padding: 32px 20px 60px;
  }
}

/* ── Featured Post ────────────────────────────── */
.ng-arch-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,215,0,0.18);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 32px;
  transition: all 0.28s;
}
.ng-arch-featured:hover {
  border-color: rgba(255,215,0,0.38);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}
@media (max-width: 700px) {
  .ng-arch-featured { grid-template-columns: 1fr; }
}
.ng-arch-feat-thumb {
  position: relative;
  min-height: 240px;
  overflow: hidden;
}
.ng-arch-feat-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ng-arch-featured:hover .ng-arch-feat-thumb img { transform: scale(1.04); }
.ng-arch-feat-placeholder {
  width: 100%; height: 100%;
  min-height: 240px;
  background: linear-gradient(135deg, #1a0040, #3d0080);
  display: flex; align-items: center; justify-content: center;
  font-size: 64px;
}
.ng-arch-feat-body {
  padding: 28px 24px;
  display: flex; flex-direction: column; justify-content: center;
}
.ng-arch-feat-cat {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(123,47,247,0.25);
  border: 1px solid rgba(123,47,247,0.4);
  border-radius: 12px;
  font-size: 10px; font-weight: 700;
  color: #cc99ff;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.ng-arch-feat-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 10px;
  transition: color 0.2s;
}
.ng-arch-featured:hover .ng-arch-feat-title { color: #FFD700; }
.ng-arch-feat-exc {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin: 0 0 16px;
  font-family: 'Poppins', sans-serif;
}
.ng-arch-feat-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12px;
  color: rgba(255,215,0,0.55);
  font-family: 'Poppins', sans-serif;
}
.ng-arch-feat-meta span {
  display: flex; align-items: center; gap: 4px;
}
.ng-arch-feat-read {
  margin-left: auto;
  color: #FFD700 !important;
  font-weight: 700;
}

/* ── Section divider ──────────────────────────── */
.ng-arch-divider-label {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px;
  font-family: 'Poppins', sans-serif;
}
.ng-arch-divider-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.2), transparent);
}
.ng-arch-divider-txt {
  font-size: 11px; font-weight: 700;
  color: rgba(255,215,0,0.5);
  text-transform: uppercase; letter-spacing: 0.15em;
  white-space: nowrap;
}

/* ── Post grid ────────────────────────────────── */
.ng-arch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 600px) {
  .ng-arch-grid { grid-template-columns: 1fr; }
}

.ng-arch-card {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.25s;
}
.ng-arch-card:hover {
  border-color: rgba(255,215,0,0.25);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.4);
}
.ng-arch-card-thumb {
  position: relative; height: 170px; overflow: hidden;
}
.ng-arch-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.ng-arch-card:hover .ng-arch-card-thumb img { transform: scale(1.05); }
.ng-arch-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1a0040, #3d0080);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.ng-arch-card-cat {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(10,0,21,0.85);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 10px; font-weight: 700;
  color: #FFD700;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase; letter-spacing: 0.07em;
}
.ng-arch-card-body {
  padding: 16px; flex: 1;
  display: flex; flex-direction: column;
}
.ng-arch-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.ng-arch-card:hover .ng-arch-card-title { color: #FFD700; }
.ng-arch-card-exc {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin: 0 0 10px; flex: 1;
  font-family: 'Poppins', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ng-arch-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px;
  color: rgba(255,215,0,0.5);
  font-family: 'Poppins', sans-serif;
  margin-bottom: 8px;
}
.ng-arch-card-meta span {
  display: flex; align-items: center; gap: 3px;
}
.ng-arch-card-tags {
  display: flex; flex-wrap: wrap; gap: 5px;
}
.ng-arch-tag {
  font-size: 10px; font-weight: 600;
  color: rgba(154,92,255,0.8);
  background: rgba(123,47,247,0.1);
  border: 1px solid rgba(123,47,247,0.2);
  border-radius: 10px;
  padding: 2px 7px;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  transition: all 0.2s;
}
.ng-arch-tag:hover {
  background: rgba(123,47,247,0.25);
  color: #cc99ff;
}

/* ── Pagination ───────────────────────────────── */
.ng-arch-pagination { margin-top: 8px; }
.ng-arch-pagination .page-numbers {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; margin: 0; padding: 0;
  font-family: 'Poppins', sans-serif;
}
.ng-arch-pagination .page-numbers li { }
.ng-arch-pagination .page-numbers a,
.ng-arch-pagination .page-numbers span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  font-size: 13px; font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.ng-arch-pagination .page-numbers a {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
}
.ng-arch-pagination .page-numbers a:hover {
  background: rgba(123,47,247,0.2);
  border-color: rgba(123,47,247,0.4);
  color: #cc99ff;
}
.ng-arch-pagination .page-numbers .current {
  background: #FFD700;
  border: 1px solid #FFD700;
  color: #0a0015;
  width: 40px; height: 40px;
  border-radius: 10px;
}
.ng-arch-pagination .page-numbers .prev,
.ng-arch-pagination .page-numbers .next {
  width: auto; padding: 0 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
  font-size: 12px;
  text-decoration: none;
}
.ng-arch-pagination .page-numbers .prev:hover,
.ng-arch-pagination .page-numbers .next:hover {
  background: rgba(123,47,247,0.2);
  border-color: rgba(123,47,247,0.4);
  color: #cc99ff;
}

/* ── Empty state ──────────────────────────────── */
.ng-arch-empty {
  text-align: center; padding: 80px 20px;
}
.ng-arch-empty-glyph { font-size: 56px; margin-bottom: 16px; }
.ng-arch-empty-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600; color: #fff;
  margin: 0 0 10px;
}
.ng-arch-empty-txt {
  font-size: 14px; color: rgba(255,255,255,0.5);
  margin: 0 0 24px;
  font-family: 'Poppins', sans-serif;
}
.ng-arch-empty-btn {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(123,47,247,0.2);
  border: 1px solid rgba(123,47,247,0.4);
  border-radius: 30px;
  color: #cc99ff; font-weight: 600;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  transition: all 0.2s;
}
.ng-arch-empty-btn:hover {
  background: rgba(123,47,247,0.4);
  color: #fff;
}

/* ── SIDEBAR ──────────────────────────────────── */
.ng-arch-sidebar {
  position: sticky; top: 90px;
  display: flex; flex-direction: column; gap: 20px;
}
@media (max-width: 1024px) { .ng-arch-sidebar { position: static; } }

/* Sidebar widget base */
.ng-sw {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px; padding: 20px;
  font-family: 'Poppins', sans-serif;
}
.ng-sw-title {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700;
  color: rgba(255,215,0,0.6);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* CTA widget */
.ng-sw-cta {
  background: linear-gradient(135deg, rgba(123,47,247,0.15), rgba(241,7,163,0.1));
  border-color: rgba(123,47,247,0.3);
  text-align: center;
}
.ng-sw-glyph { font-size: 34px; margin-bottom: 8px; }
.ng-sw-cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px; font-weight: 600;
  color: #FFD700; margin: 0 0 8px;
}
.ng-sw-cta-txt {
  font-size: 12px; color: rgba(255,255,255,0.55);
  line-height: 1.65; margin: 0 0 14px;
}
.ng-sw-cta-btn {
  display: block;
  padding: 11px 18px;
  background: linear-gradient(135deg, #7b2ff7, #f107a3);
  border-radius: 30px; color: #fff;
  font-weight: 700; font-size: 13px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(123,47,247,0.4);
  transition: all 0.25s; margin-bottom: 10px;
}
.ng-sw-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(123,47,247,0.6);
}
.ng-sw-trust {
  font-size: 11px; color: rgba(255,255,255,0.4);
  display: flex; justify-content: center; gap: 6px;
}

/* Jyoti widget */
.ng-sw-jyoti {
  background: linear-gradient(135deg, rgba(13,0,37,0.9), rgba(61,0,128,0.4));
  border-color: rgba(255,215,0,0.2);
}
.ng-sw-jyoti-inner {
  display: flex; gap: 14px; align-items: center;
}
.ng-sw-jyoti-face {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #1a0040, #3d0080);
  border: 2px solid #FFD700;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px; flex-shrink: 0;
}
.ng-sw-bindi {
  width: 6px; height: 6px; border-radius: 50%;
  background: #FF2244; box-shadow: 0 0 5px #FF2244;
}
.ng-sw-eyes { display: flex; gap: 8px; }
.ng-sw-eye {
  width: 7px; height: 9px; border-radius: 50%;
  background: #1a0040; border: 1.5px solid #FFD700;
}
.ng-sw-live {
  font-size: 10px; color: #00C864; font-weight: 700;
  display: flex; align-items: center; gap: 5px; margin-bottom: 4px;
}
.ng-sw-live-dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: #00C864;
  animation: ngLivePulse 1.5s ease-in-out infinite;
}
@keyframes ngLivePulse { 0%,100% { opacity:1; } 50% { opacity:0.35; } }
.ng-sw-jyoti-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; font-weight: 700;
  color: #FFD700; margin: 0 0 3px;
}
.ng-sw-jyoti-desc {
  font-size: 11px; color: rgba(255,255,255,0.5);
  line-height: 1.5; margin: 0 0 9px;
}
.ng-sw-jyoti-btn {
  display: inline-block;
  padding: 7px 14px;
  background: rgba(255,215,0,0.1);
  border: 1px solid rgba(255,215,0,0.38);
  border-radius: 20px;
  color: #FFD700; font-size: 12px; font-weight: 700;
  text-decoration: none; transition: all 0.2s;
}
.ng-sw-jyoti-btn:hover {
  background: rgba(255,215,0,0.22); color: #fff;
}

/* Category list */
.ng-sw-cat-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.ng-sw-cat-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; border-radius: 8px;
  font-size: 13px; color: rgba(255,255,255,0.6);
  text-decoration: none; transition: all 0.2s;
}
.ng-sw-cat-link:hover,
.ng-sw-cat-active {
  background: rgba(123,47,247,0.15); color: #cc99ff;
}
.ng-sw-cat-active { color: #FFD700 !important; }
.ng-sw-cat-count {
  font-size: 10px; color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  border-radius: 10px; padding: 1px 7px;
}

/* Tags cloud */
.ng-sw-tags {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.ng-sw-tag {
  padding: 5px 11px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
  color: rgba(255,255,255,0.55);
  text-decoration: none; transition: all 0.2s;
}
.ng-sw-tag:hover {
  background: rgba(123,47,247,0.2);
  border-color: rgba(123,47,247,0.4);
  color: #cc99ff;
}
.ng-sw-tag-active {
  background: rgba(255,215,0,0.12) !important;
  border-color: rgba(255,215,0,0.4) !important;
  color: #FFD700 !important;
}

/* Recent posts */
.ng-sw-recent {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.ng-sw-recent-link {
  display: flex; align-items: flex-start;
  gap: 10px; text-decoration: none; transition: all 0.2s;
}
.ng-sw-recent-link:hover .ng-sw-recent-title { color: #FFD700; }
.ng-sw-recent-thumb {
  width: 50px; height: 50px;
  border-radius: 8px; object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.07);
}
.ng-sw-recent-placeholder {
  width: 50px; height: 50px;
  border-radius: 8px; flex-shrink: 0;
  background: rgba(123,47,247,0.2);
  display: flex; align-items: center;
  justify-content: center; font-size: 20px;
}
.ng-sw-recent-title {
  font-size: 12px; color: rgba(255,255,255,0.65);
  line-height: 1.45; transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}


/* ═══════════════════════════════════
   FROM tag.php
═══════════════════════════════════ */


/*
 * OVERRIDE FIXES — beats cosmic-override.css (priority 9999)
 */
.ng-arch-title { text-align: left !important; font-size: clamp(28px,4vw,48px) !important; font-weight: 600 !important; font-family: 'Cormorant Garamond',Georgia,serif !important; }
.ng-arch-feat-title,.ng-arch-feat-title * { text-align: left !important; font-size: clamp(18px,2.2vw,26px) !important; font-weight: 600 !important; font-family: 'Cormorant Garamond',Georgia,serif !important; }
.ng-arch-card-title { text-align: left !important; font-size: 17px !important; font-weight: 600 !important; }
.ng-arch-feat-thumb img,.ng-arch-card-thumb img { width: 100% !important; height: 100% !important; object-fit: cover !important; display: block !important; }
.ng-arch-featured,.ng-arch-card { color: inherit !important; text-decoration: none !important; }
.ng-arch-feat-exc { color: rgba(255,255,255,0.5) !important; }
.ng-arch-card-exc { color: rgba(255,255,255,0.45) !important; }
.ng-arch-feat-read { color: #FFD700 !important; }
.ng-arch-card:hover .ng-arch-card-title,.ng-arch-featured:hover .ng-arch-feat-title { color: #FFD700 !important; }
.ng-arch-layout { display: grid !important; grid-template-columns: minmax(0,1fr) 300px !important; align-items: start !important; }
.ng-arch-grid { display: grid !important; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)) !important; }
@media(max-width:1024px){ .ng-arch-layout { grid-template-columns: 1fr !important; } }
.ng-sw-title { text-align: left !important; font-size: 11px !important; }
.ng-sw-cta-title { text-align: center !important; font-size: 19px !important; }
.ng-sw-cat-link,.ng-sw-tag,.ng-sw-jyoti-btn,.ng-sw-cta-btn { text-decoration: none !important; }
.ng-arch-pagination a { text-decoration: none !important; }
.ng-arch-pagination .page-numbers a { color: rgba(255,255,255,0.65) !important; }
.ng-arch-pagination .page-numbers .current { color: #0a0015 !important; }
.ng-tag-hero-chip { text-decoration: none !important; }

/* Reuse all styles from archive.php (both files share ng-arch-* and ng-sw-* classes) */

/* Tag hero accent colour tweak */
.ng-tag-hero .ng-arch-hero-bg {
  background:
    radial-gradient(ellipse at 10% 70%, rgba(241,7,163,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 15%, rgba(123,47,247,0.2) 0%, transparent 50%),
    linear-gradient(180deg, #0a0015 0%, #20002a 100%);
}

/* Related tags in hero */
.ng-tag-hero-related {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 8px; margin-top: 16px;
  font-family: 'Poppins', sans-serif;
}
.ng-tag-hero-related-label {
  font-size: 11px; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.1em;
}
.ng-tag-hero-chip {
  padding: 4px 11px;
  background: rgba(241,7,163,0.1);
  border: 1px solid rgba(241,7,163,0.3);
  border-radius: 20px;
  font-size: 11px; font-weight: 600;
  color: rgba(255,150,220,0.85);
  text-decoration: none; transition: all 0.2s;
}
.ng-tag-hero-chip:hover {
  background: rgba(241,7,163,0.22);
  color: #fff;
}

/* Current tag highlighted in post card */
.ng-arch-tag-current {
  background: rgba(255,215,0,0.12) !important;
  border-color: rgba(255,215,0,0.35) !important;
  color: #FFD700 !important;
}

/* Progress bar + all shared archive styles */
.ng-progress-track {
  position: fixed; top:0; left:0;
  width:100%; height:3px;
  z-index:99999;
  background: rgba(255,255,255,0.05);
}
.ng-progress-bar {
  height:100%; width:0%;
  background: linear-gradient(90deg,#7b2ff7,#FFD700,#f107a3);
  transition: width .15s linear;
}

/* All shared ng-arch-* and ng-sw-* styles are identical to archive.php.
   Since both files output their own <style> blocks, they co-exist fine.
   Duplicating the full CSS here ensures tag.php works standalone
   even if archive.php is never loaded on the same page. */
.ng-archive-wrap{width:100%;overflow-x:hidden}
.ng-arch-hero{position:relative;min-height:280px;display:flex;align-items:flex-end;overflow:hidden}
.ng-arch-hero-bg{position:absolute;inset:0;background:radial-gradient(ellipse at 15% 60%,rgba(123,47,247,.3) 0%,transparent 55%),radial-gradient(ellipse at 85% 20%,rgba(241,7,163,.2) 0%,transparent 50%),linear-gradient(180deg,#0a0015 0%,#1a0035 100%)}
.ng-arch-hero-bg::after{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(255,215,0,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,215,0,.04) 1px,transparent 1px);background-size:40px 40px}
.ng-arch-hero-inner{position:relative;z-index:2;max-width:1200px;width:100%;padding:48px 48px 40px}
@media(max-width:768px){.ng-arch-hero-inner{padding:36px 20px 28px}}
.ng-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:6px;font-size:12px;color:rgba(255,255,255,.4);font-family:'Poppins',sans-serif;margin-bottom:14px;letter-spacing:.03em}
.ng-breadcrumb a{color:rgba(255,215,0,.6);text-decoration:none;transition:color .2s}
.ng-breadcrumb a:hover{color:#FFD700}
.ng-bc-sep{color:rgba(255,215,0,.35);font-size:9px}
.ng-arch-type-badge{display:inline-flex;align-items:center;padding:4px 12px;background:rgba(123,47,247,.25);border:1px solid rgba(123,47,247,.45);border-radius:20px;font-size:11px;font-weight:600;color:#cc99ff;font-family:'Poppins',sans-serif;letter-spacing:.06em;text-transform:uppercase;margin-bottom:12px}
.ng-arch-title{font-family:'Cormorant Garamond','Georgia',serif;font-size:clamp(28px,4vw,48px);font-weight:600;color:#fff;margin:0 0 10px;line-height:1.2;letter-spacing:-.01em}
.ng-arch-hash{color:rgba(255,215,0,.55);margin-right:4px;font-style:normal}
.ng-arch-desc{font-size:15px;color:rgba(255,255,255,.55);line-height:1.7;margin:0 0 16px;max-width:640px;font-family:'Poppins',sans-serif}
.ng-arch-count{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;color:rgba(255,215,0,.65);font-family:'Poppins',sans-serif;letter-spacing:.04em}
.ng-arch-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:40px;max-width:1200px;margin:0 auto;padding:48px 32px 80px;align-items:start}
@media(max-width:1024px){.ng-arch-layout{grid-template-columns:1fr;padding:32px 20px 60px}}
.ng-arch-featured{display:grid;grid-template-columns:1fr 1fr;gap:0;background:rgba(255,255,255,.025);border:1px solid rgba(255,215,0,.18);border-radius:20px;overflow:hidden;text-decoration:none;margin-bottom:32px;transition:all .28s}
.ng-arch-featured:hover{border-color:rgba(255,215,0,.38);transform:translateY(-3px);box-shadow:0 16px 48px rgba(0,0,0,.45)}
@media(max-width:700px){.ng-arch-featured{grid-template-columns:1fr}}
.ng-arch-feat-thumb{position:relative;min-height:240px;overflow:hidden}
.ng-arch-feat-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.ng-arch-featured:hover .ng-arch-feat-thumb img{transform:scale(1.04)}
.ng-arch-feat-placeholder{width:100%;height:100%;min-height:240px;background:linear-gradient(135deg,#1a0040,#3d0080);display:flex;align-items:center;justify-content:center;font-size:64px}
.ng-arch-feat-body{padding:28px 24px;display:flex;flex-direction:column;justify-content:center}
.ng-arch-feat-cat{display:inline-block;padding:3px 10px;background:rgba(123,47,247,.25);border:1px solid rgba(123,47,247,.4);border-radius:12px;font-size:10px;font-weight:700;color:#cc99ff;font-family:'Poppins',sans-serif;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.ng-arch-feat-title{font-family:'Cormorant Garamond',serif;font-size:clamp(18px,2.2vw,26px);font-weight:600;color:#fff;line-height:1.3;margin:0 0 10px;transition:color .2s}
.ng-arch-featured:hover .ng-arch-feat-title{color:#FFD700}
.ng-arch-feat-exc{font-size:13px;color:rgba(255,255,255,.5);line-height:1.7;margin:0 0 16px;font-family:'Poppins',sans-serif}
.ng-arch-feat-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;font-size:12px;color:rgba(255,215,0,.55);font-family:'Poppins',sans-serif}
.ng-arch-feat-meta span{display:flex;align-items:center;gap:4px}
.ng-arch-feat-read{margin-left:auto;color:#FFD700!important;font-weight:700}
.ng-arch-divider-label{display:flex;align-items:center;gap:14px;margin-bottom:24px;font-family:'Poppins',sans-serif}
.ng-arch-divider-line{flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(255,215,0,.2),transparent)}
.ng-arch-divider-txt{font-size:11px;font-weight:700;color:rgba(255,215,0,.5);text-transform:uppercase;letter-spacing:.15em;white-space:nowrap}
.ng-arch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;margin-bottom:40px}
@media(max-width:600px){.ng-arch-grid{grid-template-columns:1fr}}
.ng-arch-card{display:flex;flex-direction:column;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.07);border-radius:16px;overflow:hidden;text-decoration:none;transition:all .25s}
.ng-arch-card:hover{border-color:rgba(255,215,0,.25);transform:translateY(-4px);box-shadow:0 14px 40px rgba(0,0,0,.4)}
.ng-arch-card-thumb{position:relative;height:170px;overflow:hidden}
.ng-arch-card-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.ng-arch-card:hover .ng-arch-card-thumb img{transform:scale(1.05)}
.ng-arch-card-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#1a0040,#3d0080);display:flex;align-items:center;justify-content:center;font-size:40px}
.ng-arch-card-cat{position:absolute;bottom:8px;left:8px;background:rgba(10,0,21,.85);border:1px solid rgba(255,215,0,.3);border-radius:8px;padding:2px 8px;font-size:10px;font-weight:700;color:#FFD700;font-family:'Poppins',sans-serif;text-transform:uppercase;letter-spacing:.07em}
.ng-arch-card-body{padding:16px;flex:1;display:flex;flex-direction:column}
.ng-arch-card-title{font-family:'Cormorant Garamond',serif;font-size:17px;font-weight:600;color:#fff;line-height:1.35;margin:0 0 8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;transition:color .2s}
.ng-arch-card:hover .ng-arch-card-title{color:#FFD700}
.ng-arch-card-exc{font-size:12px;color:rgba(255,255,255,.45);line-height:1.6;margin:0 0 10px;flex:1;font-family:'Poppins',sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ng-arch-card-meta{display:flex;align-items:center;gap:10px;font-size:11px;color:rgba(255,215,0,.5);font-family:'Poppins',sans-serif;margin-bottom:8px}
.ng-arch-card-meta span{display:flex;align-items:center;gap:3px}
.ng-arch-card-tags{display:flex;flex-wrap:wrap;gap:5px}
.ng-arch-tag{font-size:10px;font-weight:600;color:rgba(154,92,255,.8);background:rgba(123,47,247,.1);border:1px solid rgba(123,47,247,.2);border-radius:10px;padding:2px 7px;font-family:'Poppins',sans-serif;text-decoration:none;transition:all .2s}
.ng-arch-tag:hover{background:rgba(123,47,247,.25);color:#cc99ff}
.ng-arch-pagination{margin-top:8px}
.ng-arch-pagination .page-numbers{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0;font-family:'Poppins',sans-serif}
.ng-arch-pagination .page-numbers a,.ng-arch-pagination .page-numbers span{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;font-size:13px;font-weight:600;text-decoration:none;transition:all .2s}
.ng-arch-pagination .page-numbers a{background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.65)}
.ng-arch-pagination .page-numbers a:hover{background:rgba(123,47,247,.2);border-color:rgba(123,47,247,.4);color:#cc99ff}
.ng-arch-pagination .page-numbers .current{background:#FFD700;border:1px solid #FFD700;color:#0a0015;width:40px;height:40px;border-radius:10px}
.ng-arch-pagination .page-numbers .prev,.ng-arch-pagination .page-numbers .next{width:auto;padding:0 14px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.1);color:rgba(255,255,255,.65);font-size:12px;text-decoration:none}
.ng-arch-pagination .page-numbers .prev:hover,.ng-arch-pagination .page-numbers .next:hover{background:rgba(123,47,247,.2);border-color:rgba(123,47,247,.4);color:#cc99ff}
.ng-arch-empty{text-align:center;padding:80px 20px}
.ng-arch-empty-glyph{font-size:56px;margin-bottom:16px}
.ng-arch-empty-title{font-family:'Cormorant Garamond',serif;font-size:28px;font-weight:600;color:#fff;margin:0 0 10px}
.ng-arch-empty-txt{font-size:14px;color:rgba(255,255,255,.5);margin:0 0 24px;font-family:'Poppins',sans-serif}
.ng-arch-empty-btn{display:inline-block;padding:12px 24px;background:rgba(123,47,247,.2);border:1px solid rgba(123,47,247,.4);border-radius:30px;color:#cc99ff;font-weight:600;text-decoration:none;font-family:'Poppins',sans-serif;transition:all .2s}
.ng-arch-empty-btn:hover{background:rgba(123,47,247,.4);color:#fff}
.ng-arch-sidebar{position:sticky;top:90px;display:flex;flex-direction:column;gap:20px}
@media(max-width:1024px){.ng-arch-sidebar{position:static}}
.ng-sw{background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:20px;font-family:'Poppins',sans-serif}
.ng-sw-title{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:700;color:rgba(255,215,0,.6);text-transform:uppercase;letter-spacing:.14em;margin:0 0 14px;padding-bottom:10px;border-bottom:1px solid rgba(255,255,255,.07)}
.ng-sw-cta{background:linear-gradient(135deg,rgba(123,47,247,.15),rgba(241,7,163,.1));border-color:rgba(123,47,247,.3);text-align:center}
.ng-sw-glyph{font-size:34px;margin-bottom:8px}
.ng-sw-cta-title{font-family:'Cormorant Garamond',serif;font-size:19px;font-weight:600;color:#FFD700;margin:0 0 8px}
.ng-sw-cta-txt{font-size:12px;color:rgba(255,255,255,.55);line-height:1.65;margin:0 0 14px}
.ng-sw-cta-btn{display:block;padding:11px 18px;background:linear-gradient(135deg,#7b2ff7,#f107a3);border-radius:30px;color:#fff;font-weight:700;font-size:13px;text-decoration:none;box-shadow:0 4px 18px rgba(123,47,247,.4);transition:all .25s;margin-bottom:10px}
.ng-sw-cta-btn:hover{transform:translateY(-2px);box-shadow:0 8px 26px rgba(123,47,247,.6)}
.ng-sw-trust{font-size:11px;color:rgba(255,255,255,.4);display:flex;justify-content:center;gap:6px}
.ng-sw-jyoti{background:linear-gradient(135deg,rgba(13,0,37,.9),rgba(61,0,128,.4));border-color:rgba(255,215,0,.2)}
.ng-sw-jyoti-inner{display:flex;gap:14px;align-items:center}
.ng-sw-jyoti-face{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,#1a0040,#3d0080);border:2px solid #FFD700;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;flex-shrink:0}
.ng-sw-bindi{width:6px;height:6px;border-radius:50%;background:#FF2244;box-shadow:0 0 5px #FF2244}
.ng-sw-eyes{display:flex;gap:8px}
.ng-sw-eye{width:7px;height:9px;border-radius:50%;background:#1a0040;border:1.5px solid #FFD700}
.ng-sw-live{font-size:10px;color:#00C864;font-weight:700;display:flex;align-items:center;gap:5px;margin-bottom:4px}
.ng-sw-live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#00C864;animation:ngLivePulse 1.5s ease-in-out infinite}
@keyframes ngLivePulse{0%,100%{opacity:1}50%{opacity:.35}}
.ng-sw-jyoti-name{font-family:'Cormorant Garamond',serif;font-size:17px;font-weight:700;color:#FFD700;margin:0 0 3px}
.ng-sw-jyoti-desc{font-size:11px;color:rgba(255,255,255,.5);line-height:1.5;margin:0 0 9px}
.ng-sw-jyoti-btn{display:inline-block;padding:7px 14px;background:rgba(255,215,0,.1);border:1px solid rgba(255,215,0,.38);border-radius:20px;color:#FFD700;font-size:12px;font-weight:700;text-decoration:none;transition:all .2s}
.ng-sw-jyoti-btn:hover{background:rgba(255,215,0,.22);color:#fff}
.ng-sw-cat-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.ng-sw-cat-link{display:flex;align-items:center;justify-content:space-between;padding:7px 10px;border-radius:8px;font-size:13px;color:rgba(255,255,255,.6);text-decoration:none;transition:all .2s}
.ng-sw-cat-link:hover{background:rgba(123,47,247,.15);color:#cc99ff}
.ng-sw-cat-count{font-size:10px;color:rgba(255,255,255,.3);background:rgba(255,255,255,.06);border-radius:10px;padding:1px 7px}
.ng-sw-tags{display:flex;flex-wrap:wrap;gap:7px}
.ng-sw-tag{padding:5px 11px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.09);border-radius:20px;font-size:11px;font-weight:600;color:rgba(255,255,255,.55);text-decoration:none;transition:all .2s}
.ng-sw-tag:hover{background:rgba(123,47,247,.2);border-color:rgba(123,47,247,.4);color:#cc99ff}
.ng-sw-tag-active{background:rgba(255,215,0,.12)!important;border-color:rgba(255,215,0,.4)!important;color:#FFD700!important}
.ng-sw-recent{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.ng-sw-recent-link{display:flex;align-items:flex-start;gap:10px;text-decoration:none;transition:all .2s}
.ng-sw-recent-link:hover .ng-sw-recent-title{color:#FFD700}
.ng-sw-recent-thumb{width:50px;height:50px;border-radius:8px;object-fit:cover;flex-shrink:0;border:1px solid rgba(255,255,255,.07)}
.ng-sw-recent-placeholder{width:50px;height:50px;border-radius:8px;flex-shrink:0;background:rgba(123,47,247,.2);display:flex;align-items:center;justify-content:center;font-size:20px}
.ng-sw-recent-title{font-size:12px;color:rgba(255,255,255,.65);line-height:1.45;transition:color .2s;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}