/* SEMUSIK NAV — Compact dropdown (Kompas-style) */

/* NAV ITEM WRAPPER — holds link + optional dropdown */
.nav__item {
  display: inline-block;
  position: relative;
}

/* HIDE ALL dropdowns by default */
.nav__dropdown {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 9999;
  min-width: 220px;
  padding: 8px 0;
  border-radius: 4px;
}

/* SHOW dropdown on hover of the nav__item container */
.nav__item--has-dropdown:hover .nav__dropdown {
  display: block !important;
}

/* Keep dropdown open when hovering the dropdown itself */
.nav__dropdown:hover {
  display: block !important;
}

/* TOP-LEVEL LINKS — compact */
.nav__link {
  display: inline-block;
  font-size: 12px !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  color: #333 !important;
  padding: 10px 12px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.nav__link:hover {
  color: #111 !important;
}

.nav__link.active {
  color: #000 !important;
}

/* Arrow for items with children */
.nav__arrow {
  font-size: 9px !important;
  margin-left: 3px;
  opacity: 0.6;
}

/* SUB-MENU LINKS */
.nav__dropdown-link {
  display: block !important;
  font-size: 12px !important;
  padding: 7px 18px !important;
  color: #444 !important;
  white-space: nowrap !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 400 !important;
  border-bottom: 1px solid #f4f4f4 !important;
  text-decoration: none !important;
}

.nav__dropdown-link:last-child {
  border-bottom: none !important;
}

.nav__dropdown-link:hover {
  background: #f7f7f7 !important;
  color: #111 !important;
}

.nav__dropdown-link.active {
  color: #000 !important;
  font-weight: 500 !important;
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleFade {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll reveal — JS adds .visible class via IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
              transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal per article card */
.article:nth-child(1) { transition-delay: 0ms; }
.article:nth-child(2) { transition-delay: 80ms; }
.article:nth-child(3) { transition-delay: 160ms; }
.article:nth-child(4) { transition-delay: 240ms; }
.article:nth-child(5) { transition-delay: 320ms; }
.article:nth-child(6) { transition-delay: 400ms; }

/* ============================================
   ENHANCED ARTICLE CARD HOVER
   ============================================ */
.article {
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.35s cubic-bezier(0.22,1,0.36,1);
}
.article:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26,22,20,0.12);
}
.article__image {
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}
.article:hover .article__image {
  transform: scale(1.04);
}
.article__title {
  transition: color 0.2s;
}
.article:hover .article__title {
  color: var(--accent);
}
.article__category {
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.article:hover .article__category {
  background: var(--accent) !important;
  color: #fff !important;
  transform: scale(1.03);
}

/* Darkening overlay on hover */
.article__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,22,20,0);
  transition: background 0.35s;
  z-index: 1;
  border-radius: 4px;
}
.article:hover .article__image::before {
  background: rgba(26,22,20,0.15);
}

/* Dark mode hover shadow */
@media (prefers-color-scheme: dark) {
  [data-theme="dark"] .article:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  }
}
[data-theme="dark"] .article:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

/* ============================================
   HERO MODERNIZATION — Full-bleed gradient overlay
   ============================================ */
.hero {
  position: relative;
}

.feature {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.feature__image {
  position: relative;
}

.feature__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(26,22,20,0.5) 70%,
    rgba(26,22,20,0.85) 100%
  );
  z-index: 1;
  border-radius: 6px;
}

.feature__image-caption {
  position: absolute;
  bottom: 12px;
  left: 16px;
  z-index: 2;
  color: rgba(245,240,232,0.6);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.feature__title {
  font-size: clamp(32px, 5vw, 56px) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.03em !important;
  font-weight: 700 !important;
}

.feature__deck {
  font-size: 18px !important;
  line-height: 1.5 !important;
  color: var(--ink-soft) !important;
  max-width: 680px;
}

.feature__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

/* ============================================
   SOURCES STRIP — Scrolling marquee with logos
   ============================================ */
.sources-strip {
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sources-strip__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.sources-strip__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mid);
  white-space: nowrap;
  padding-right: 24px;
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}

.sources-strip__track {
  display: flex;
  overflow: hidden;
  flex: 1;
}

.sources-strip__track::before,
.sources-strip__track::after {
  content: '';
  flex-shrink: 0;
}

.sources-marquee {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.sources-marquee:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.sources-marquee__item {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--ink-mid);
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.2s;
  flex-shrink: 0;
}

.sources-marquee__item:hover {
  opacity: 1;
}

/* ============================================
   NEWSLETTER SECTION — Cleaner modern design
   ============================================ */
.newsletter {
  padding: 80px 0 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200,64,31,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter__eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.newsletter__title {
  font-family: var(--serif);
  font-size: clamp(32px, 5vw, 52px) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.025em !important;
  font-weight: 700 !important;
  margin-bottom: 16px !important;
  color: var(--ink) !important;
}

.newsletter__deck {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: var(--ink-mid) !important;
  max-width: 520px;
  margin: 0 auto 36px !important;
}

.newsletter__form {
  display: flex;
  max-width: 480px;
  margin: 0 auto 16px;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(26,22,20,0.06);
}

.newsletter__input {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 14px;
  border: none;
  background: var(--paper-cream);
  color: var(--ink);
  outline: none;
}

.newsletter__input::placeholder {
  color: var(--ink-mid);
  opacity: 0.6;
}

.newsletter__btn {
  padding: 14px 24px;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter__btn:hover {
  background: var(--ink);
}

.newsletter__note {
  font-size: 12px;
  color: var(--ink-mid);
  opacity: 0.7;
  margin-top: 12px !important;
}

.newsletter__social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.newsletter__stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-mid);
}

.newsletter__stat-icon {
  font-size: 16px;
}

/* ============================================
   ANIMATED GRADIENT ACCENT
   ============================================ */
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-accent {
  background: linear-gradient(270deg, var(--accent), var(--gold), var(--accent-soft), var(--gold));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 6s ease infinite;
}

/* Hero accent line */
.hero__edition::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-right: 12px;
  vertical-align: middle;
  animation: gradientShift 4s ease infinite;
  background-size: 200% 200%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

/* ============================================
   PULSE WIDGET — Clean stats styling
   ============================================ */
.pulse-card__metric {
  font-size: 48px !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1 !important;
  color: var(--ink) !important;
  font-family: var(--serif) !important;
}

[data-theme="dark"] .pulse-card__metric {
  color: var(--surface-dark-fg) !important;
}

/* ===== NEWSLETTER MODERNIZATION ===== */
.newsletter { background: linear-gradient(135deg, #faf8f5 0%, #f5f0eb 100%); position: relative; overflow: hidden; }
.newsletter::before {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 70%);
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 768px) { .newsletter__inner { grid-template-columns: 1fr; gap: 32px; } }
.newsletter__title { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.025em; margin-bottom: 16px; }
.newsletter__subtitle { font-size: 17px; color: var(--ink-mid); line-height: 1.6; margin-bottom: 0; }
.newsletter__form-wrap {
  position: relative;
  padding: 3px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end));
  background-size: 200% 200%;
  animation: gradient-shift 4s ease infinite;
  border-radius: 16px;
}
.newsletter__form {
  background: white;
  border-radius: 13px;
  padding: 6px;
  display: flex;
  gap: 8px;
}
[data-theme="dark"] .newsletter__form { background: #1a1a1a; }
.newsletter__input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.newsletter__input::placeholder { color: var(--ink-mid); }
.newsletter__btn {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.newsletter__btn:hover { transform: scale(1.02); box-shadow: 0 4px 20px rgba(124,58,237,0.4); }
.newsletter__btn:active { transform: scale(0.98); }
.newsletter__stat-row {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.newsletter__stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-mid);
}
.newsletter__stat-icon { color: var(--gradient-mid); }

/* ===== MODERN ARTICLE CARD ===== */
.article__card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
}
.article__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.article__image-wrap { position: relative; overflow: hidden; }
.article__image-wrap img { transition: transform 0.5s cubic-bezier(0.22,1,0.36,1); }
.article__card:hover .article__image-wrap img { transform: scale(1.06); }
/* Gradient overlay on image */
.article__image-overlay {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
  pointer-events: none;
}
.article__card:hover .article__image-overlay { opacity: 1; }
/* Staggered scroll reveal */
.articles__grid .article__card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--delay, 0s), transform 0.6s var(--delay, 0s), box-shadow 0.3s, translate 0.3s;
}
.articles__grid .article__card.revealed { opacity: 1; transform: translateY(0); }
/* Category pill badge */
.article__category {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
}
/* Hover link arrow animation */
.article__cta { font-weight: 600; color: var(--gradient-start); }
.article__cta:hover { color: var(--gradient-end); }
.article__cta-arrow { display: inline-block; transition: transform 0.2s; margin-left: 4px; }
.article__card:hover .article__cta-arrow { transform: translateX(4px); }

@media (prefers-color-scheme: dark) {
  [data-theme="dark"] .article__card {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
  }
}

/* ============================================
   DESIGN SYSTEM OVERHAUL — Semusik ID
   The Verge meets Nikkei Asia aesthetic
   ============================================ */

/* 1. CSS CUSTOM PROPERTIES (Design Tokens) */
:root {
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --gradient-start: #7C3AED;
  --gradient-mid: #A855F7;
  --gradient-end: #EC4899;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.15);
  --space-section: 100px;
  --space-section-sm: 60px;
}

/* 2. TYPOGRAPHY SCALE */
h1, .display { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.03em; line-height: 1.1; }
h2, .heading-xl { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.025em; line-height: 1.15; }
h3, .heading-lg { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.02em; line-height: 1.2; }
.section-title { font-size: clamp(28px, 3.5vw, 42px); letter-spacing: -0.025em; }

/* 3. GRADIENT TEXT */
.gradient-text { background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid), var(--gradient-end)); background-size: 200% 200%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: gradient-shift 4s ease infinite; }
@keyframes gradient-shift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* 4. SMOOTH SCROLL + SELECTION */
html { scroll-behavior: smooth; }
::selection { background: rgba(124, 58, 237, 0.2); color: inherit; }

/* 5. GLASS CARD */
.glass-card { background: var(--glass-bg); backdrop-filter: blur(12px) saturate(180%); -webkit-backdrop-filter: blur(12px) saturate(180%); border: 1px solid var(--glass-border); border-radius: 16px; box-shadow: var(--glass-shadow); }
[data-theme="dark"] .glass-card { background: rgba(26, 26, 26, 0.7); --glass-border: rgba(255, 255, 255, 0.1); }

/* 6. BODY BACKGROUND */
body { background: radial-gradient(ellipse at top right, rgba(124,58,237,0.04) 0%, transparent 50%), radial-gradient(ellipse at bottom left, rgba(236,72,153,0.03) 0%, transparent 50%), var(--paper-cream); }
[data-theme="dark"] body { background: radial-gradient(ellipse at top right, rgba(124,58,237,0.08) 0%, transparent 50%), radial-gradient(ellipse at bottom left, rgba(236,72,153,0.05) 0%, transparent 50%), #0f0f0f; }

/* 7. SECTION PADDING */
section { padding: var(--space-section) 0; }
@media (max-width: 768px) { section { padding: var(--space-section-sm) 0; } }

/* 8. PULSE TICKER UPGRADE */
.pulse-ticker { background: linear-gradient(90deg, #1a1a1a, #2d1b4e, #1a1a1a); }
.pulse-ticker__source { color: var(--gradient-mid); font-weight: 600; }

/* Mobile panel — fixed overlay */
.nav__mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper-cream);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.nav__mobile-panel.open {
  transform: translateX(0);
}

/* Mobile header bar */
.nav__mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper-cream);
  z-index: 10;
}

.nav__mobile-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.nav__mobile-close:hover {
  background: var(--line);
}

.nav__mobile-close svg {
  width: 24px;
  height: 24px;
}

/* Mobile menu */
.nav__mobile-menu {
  padding: 8px 0;
}

.nav__mobile-item {
  border-bottom: 1px solid var(--line);
  position: relative;
}

.nav__mobile-link {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  padding: 16px 24px;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav__mobile-link.active,
.nav__mobile-link:hover {
  color: var(--accent);
}

/* Mobile submenu toggle button */
.nav__mobile-toggle {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--ink-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.nav__mobile-toggle svg {
  width: 20px;
  height: 20px;
}

.nav__mobile-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

/* Submenu */
.nav__mobile-submenu {
  display: none;
  padding: 0 0 8px;
  background: var(--surface-warm);
}

.nav__mobile-submenu.open {
  display: block;
}

.nav__mobile-sublink {
  display: block;
  font-size: 15px;
  color: var(--ink-mid);
  padding: 10px 24px 10px 40px;
  text-decoration: none;
  transition: color 0.2s;
}

.nav__mobile-sublink:hover,
.nav__mobile-sublink.active {
  color: var(--accent);
}

/* Mobile footer */
.nav__mobile-footer {
  padding: 24px;
  border-top: 1px solid var(--line);
}

/* Hamburger visibility (already in main.css but kept here for clarity) */
.nav__hamburger {
  display: none; /* Shown via @media max-width:640px in main.css */
}

/* Dark mode mobile panel */
@media (prefers-color-scheme: dark) {
  [data-theme="dark"] .nav__mobile-panel {
    background: var(--surface-dark);
  }
  [data-theme="dark"] .nav__mobile-header,
  [data-theme="dark"] .nav__mobile-item,
  [data-theme="dark"] .nav__mobile-footer {
    border-color: rgba(255,255,255,0.1);
  }
  [data-theme="dark"] .nav__mobile-close:hover,
  [data-theme="dark"] .nav__mobile-item:hover {
    background: rgba(255,255,255,0.05);
  }
}

/* ===== ARCHIVE PAGE STYLES ===== */
.archive-header {
  background: linear-gradient(to bottom, var(--surface-warm), var(--paper-cream));
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.archive-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.archive-header__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.archive-header__eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 0.02em;
}
.archive-header__count {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  background: rgba(124,58,237,0.08);
  color: var(--gradient-start);
  border-radius: 100px;
}
.archive-header__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.archive-header__desc {
  font-size: 18px;
  color: var(--ink-mid);
  max-width: 600px;
  line-height: 1.6;
  margin: 0;
}
/* Category nav pills */
.archive-category-nav {
  margin-top: 24px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.archive-category-nav li {
  list-style: none;
}
.archive-category-nav a {
  font-size: 13px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-mid);
  text-decoration: none;
  transition: all 0.2s;
  background: white;
}
.archive-category-nav a:hover {
  border-color: var(--gradient-start);
  color: var(--gradient-start);
  background: rgba(124,58,237,0.04);
}
/* Filter chips */
.archive-filter {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.archive-filter__btn {
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: white;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.archive-filter__btn:hover { border-color: var(--gradient-mid); color: var(--gradient-start); }
.archive-filter__btn.active {
  background: var(--gradient-start);
  color: white;
  border-color: var(--gradient-start);
}
/* Archive grid — 3 columns */
.articles__grid--archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .articles__grid--archive { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .articles__grid--archive { grid-template-columns: 1fr; } }
/* Empty state */
.archive-empty__cta {
  display: inline-block;
  padding: 12px 24px;
  background: var(--gradient-start);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.archive-empty__cta:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(124,58,237,0.3); }
/* Pagination */
.semusik-pagination { display: flex; justify-content: center; }
.semusik-pagination .nav-links { display: flex; gap: 4px; align-items: center; }
.semusik-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mid);
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid transparent;
}
.semusik-pagination .page-numbers:hover { background: var(--surface-warm); }
.semusik-pagination .page-numbers.current {
  background: var(--gradient-start);
  color: white;
}
.semusik-pagination .page-numbers.dots { cursor: default; }
.semusik-pagination .page-numbers.dots:hover { background: transparent; }
.semusik-pagination .page-numbers.prev,
.semusik-pagination .page-numbers.next {
  width: auto;
  padding: 0 16px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.semusik-pagination .page-numbers.prev:hover,
.semusik-pagination .page-numbers.next:hover { background: var(--gradient-start); color: white; border-color: var(--gradient-start); }

/* ===== MAP SECTION POLISH ===== */
.map-section { background: var(--surface-warm); }
.map-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.map-chip {
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: white;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.map-chip:hover { border-color: var(--gradient-mid); color: var(--gradient-start); }
.map-chip.active {
  background: var(--gradient-start);
  color: white;
  border-color: var(--gradient-start);
}
.map-svg-wrapper {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.map-legend { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.map-legend__items { display: flex; gap: 20px; flex-wrap: wrap; }
.map-legend__item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-mid); }
.map-legend__swatch { width: 12px; height: 12px; border-radius: 3px; }
.map-legend__hint { font-size: 12px; color: var(--ink-mid); }

/* ===== PULSE WIDGET MODERNIZATION ===== */
.pulse__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 32px; }
@media (max-width: 768px) { .pulse__inner { grid-template-columns: 1fr; } }
.pulse__headline-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1b4e 100%);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}
.pulse__headline-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gradient-mid);
  margin-bottom: 12px;
}
.pulse__headline-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  color: white;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.pulse__headline-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 16px;
}
.pulse__headline-source { color: var(--gradient-mid); font-weight: 600; }
.pulse__metrics { display: flex; flex-direction: column; gap: 12px; }
.pulse-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.pulse-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--gradient-mid); }
.pulse-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.pulse-card__content { flex: 1; min-width: 0; }
.pulse-card__source { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; color: var(--gradient-mid); text-transform: uppercase; margin-bottom: 4px; }
.pulse-card__title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; margin-bottom: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pulse-card__meta { font-size: 12px; color: var(--ink-mid); }
.pulse-card__metric { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 100px; margin-left: auto; }
.pulse-card__metric--up { background: rgba(16,185,129,0.1); color: #10b981; }
.pulse-card__metric--down { background: rgba(239,68,68,0.1); color: #ef4444; }
[data-theme="dark"] .pulse-card { background: rgba(26,26,26,0.7); }
[data-theme="dark"] .pulse-card__title { color: rgba(255,255,255,0.9); }
[data-theme="dark"] .pulse-card__meta { color: rgba(255,255,255,0.4); }
.footer {
  background: #0f0f0f;
  color: rgba(255,255,255,0.7);
  margin-top: 0;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px var(--gutter) 60px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
}
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr; gap: 48px; padding: 60px var(--gutter) 40px; }
  .footer__nav-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .footer__nav-group { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
}
/* Brand */
.footer__logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: white;
  text-decoration: none;
  letter-spacing: -0.02em;
  display: inline-block;
  margin-bottom: 16px;
}
.footer__logo-dot { color: var(--gradient-mid); }
.footer__tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
  max-width: 280px;
}
/* Social */
.footer__social {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
  text-decoration: none;
}
.footer__social-link:hover {
  background: var(--gradient-start);
  color: white;
  transform: translateY(-2px);
}
/* Credentials badges */
.footer__credentials { display: flex; gap: 8px; flex-wrap: wrap; }
.footer__credential-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  color: rgba(255,255,255,0.5);
}
/* Nav group */
.footer__nav-group { display: contents; }
.footer__col {}
.footer__col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 16px;
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__list a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__list a:hover { color: var(--gradient-mid); }
/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}
.footer__copy span { color: var(--gradient-mid); }
.footer__bottom-links {
  display: flex;
  gap: 20px;
}
.footer__bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .newsletter__form {
    flex-direction: column;
    border-radius: 0;
    border: none;
  }
  .newsletter__input {
    border: 1px solid var(--line);
    border-radius: 4px;
    margin-bottom: 8px;
  }
  .newsletter__btn {
    border-radius: 4px;
    padding: 14px;
  }
  .sources-strip__label {
    display: none;
  }
}

/* ===== HERO MODERNIZATION ===== */
.hero { padding-top: 60px; position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero__inner { position: relative; z-index: 1; }
.hero__accent-bar {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  border-radius: 2px;
  margin-bottom: 20px;
  animation: accent-pulse 2s ease-in-out infinite;
}
@keyframes accent-pulse {
  0%, 100% { width: 60px; opacity: 1; }
  50% { width: 100px; opacity: 0.8; }
}
.hero__featured { position: relative; border-radius: 20px; overflow: hidden; }
.hero__featured .article__image-wrap { border-radius: 16px; overflow: hidden; }
.hero__featured .article__image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 1;
  z-index: 1;
}
.hero__featured .article__meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  z-index: 2;
}
.hero__featured .article__title {
  font-size: clamp(28px, 4vw, 48px);
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero__featured .article__category { position: absolute; top: 20px; left: 20px; z-index: 2; }
.hero__sidebar { display: flex; flex-direction: column; gap: 16px; }
.hero__card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s cubic-bezier(0.22,1,0.36,1);
}
.hero__card:hover { transform: translateX(4px); border-color: var(--gradient-mid); box-shadow: var(--shadow-glow); }
.hero__card-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--gradient-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero__card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
@media (max-width: 768px) {
  .hero__grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .hero__featured .article__meta { padding: 20px; }
}

/* ===== FULL-PAGE HERO ===== */
.hero-fullpage {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-fullpage__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-fullpage__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  animation: bgKenBurns 20s ease-in-out infinite alternate;
}
@keyframes bgKenBurns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-2%, -1%); }
}
.hero-fullpage__bg-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a0a2e 0%, #0f1a2e 30%, #1a0a1a 60%, #0a1a0a 100%);
}
.hero-fullpage__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.1) 40%, rgba(10,10,10,0.7) 85%, rgba(10,10,10,1) 100%),
    linear-gradient(to right, rgba(10,10,10,0.6) 0%, transparent 50%);
}
.hero-fullpage__particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  left: var(--px);
  top: var(--py);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gradient-mid);
  opacity: 0;
  animation: particleFloat var(--ps) ease-in-out var(--del) infinite;
}
@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translateY(0) scale(1); }
  20% { opacity: 0.6; }
  50% { opacity: 0.8; transform: translateY(-60px) scale(1.5); }
  80% { opacity: 0.3; }
}
.hero-fullpage__topbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.hero-fullpage__edition {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero-fullpage__edition-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-mid);
  box-shadow: 0 0 12px var(--gradient-mid);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--gradient-mid); }
  50% { opacity: 0.5; box-shadow: 0 0 20px var(--gradient-mid); }
}
.hero-fullpage__cat-nav { display: flex; gap: 24px; }
.hero-fullpage__cat-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.hero-fullpage__cat-link:hover { color: var(--hc, var(--gradient-mid)); border-bottom-color: var(--hc, var(--gradient-mid)); }
.hero-fullpage__content {
  position: relative;
  z-index: 10;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  padding: 60px 60px 80px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.hero-fullpage__feature-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  color: inherit;
  animation: heroFadeInUp 0.8s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes heroFadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-fullpage__feature-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  padding: 6px 14px;
  border-radius: 100px;
  width: fit-content;
  animation: heroFadeInUp 0.8s 0.1s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-fullpage__feature-inner { display: flex; flex-direction: column; gap: 16px; }
.hero-fullpage__feature-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: white;
  animation: heroFadeInUp 0.8s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-fullpage__feature-deck {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 560px;
  animation: heroFadeInUp 0.8s 0.3s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-fullpage__feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: heroFadeInUp 0.8s 0.4s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-fullpage__author { display: flex; align-items: center; gap: 10px; }
.hero-fullpage__author-avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); }
.hero-fullpage__author-name { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.7); }
.hero-fullpage__read-info { display: flex; align-items: center; gap: 16px; }
.hero-fullpage__readtime { font-size: 13px; color: rgba(255,255,255,0.4); }
.hero-fullpage__read-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  padding: 10px 20px;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-fullpage__feature-card:hover .hero-fullpage__read-btn { transform: scale(1.04); box-shadow: 0 4px 24px rgba(124,58,237,0.4); }
.hero-fullpage__sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: heroFadeInUp 0.8s 0.3s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-fullpage__sidebar-header { display: flex; flex-direction: column; gap: 4px; }
.hero-fullpage__sidebar-label { font-size: 14px; font-weight: 700; color: white; }
.hero-fullpage__sidebar-sub { font-size: 11px; color: rgba(255,255,255,0.35); }
.hero-fullpage__sidebar-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.hero-fullpage__sidebar-item { animation: heroFadeInUp 0.6s calc(0.4s + var(--i, 0) * 0.08s) cubic-bezier(0.22,1,0.36,1) both; }
.hero-fullpage__sidebar-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  color: inherit;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}
.hero-fullpage__sidebar-link:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); transform: translateX(4px); }
.hero-fullpage__sidebar-num { font-size: 22px; font-weight: 800; color: rgba(255,255,255,0.15); font-family: var(--font-display); min-width: 36px; line-height: 1; }
.hero-fullpage__sidebar-content { flex: 1; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hero-fullpage__sidebar-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-fullpage__sidebar-title { font-size: 14px; font-weight: 600; color: white; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-fullpage__sidebar-meta { font-size: 11px; color: rgba(255,255,255,0.3); }
.hero-fullpage__sidebar-arrow { color: rgba(255,255,255,0.2); flex-shrink: 0; transition: transform 0.2s, color 0.2s; }
.hero-fullpage__sidebar-link:hover .hero-fullpage__sidebar-arrow { transform: translateX(4px); color: var(--gradient-mid); }
.hero-fullpage__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
  animation: heroFadeInUp 1s 0.8s cubic-bezier(0.22,1,0.36,1) both;
}
.scroll-indicator__mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-indicator__wheel {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.4);
  border-radius: 2px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(6px); }
}
.scroll-indicator__text { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
@media (max-width: 1024px) {
  .hero-fullpage__content { grid-template-columns: 1fr; gap: 40px; padding: 40px 40px 80px; }
  .hero-fullpage__sidebar { display: none; }
  .hero-fullpage__topbar { padding: 20px 32px; }
}
@media (max-width: 640px) {
  .hero-fullpage__topbar { padding: 16px 20px; flex-wrap: wrap; gap: 12px; }
  .hero-fullpage__cat-nav { display: none; }
  .hero-fullpage__content { padding: 32px 20px 60px; }
  .hero-fullpage__feature-title { font-size: clamp(26px, 7vw, 42px); }
  .hero-fullpage__scroll-indicator { bottom: 24px; }
}



/* ============================================
   ARTICLE PAGE POLISH
   ============================================ */

.single-article__body > p:last-of-type {
  background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(236,72,153,0.04));
  border-left: 3px solid var(--gradient-mid);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 48px;
  font-style: normal;
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.6;
}
.single-article__body > p:last-of-type strong:first-child {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  margin-bottom: 4px;
}

.single-article__tags a {
  display: inline-block;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 5px 12px !important;
  border-radius: 100px !important;
  border: 1px solid var(--line) !important;
  background: var(--paper-warm) !important;
  color: var(--ink-mid) !important;
  text-decoration: none !important;
  margin: 4px !important;
  transition: all 0.2s ease !important;
}
.single-article__tags a:hover {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
  color: white !important;
  border-color: transparent !important;
  transform: translateY(-1px);
}

.single-article__share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  margin-top: 32px;
}
.single-article__share-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--ink-mid) !important;
  margin-right: 8px !important;
}
.single-article__share a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 100px !important;
  border: 1px solid var(--line) !important;
  background: white !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}
.single-article__share a:hover {
  background: var(--gradient-start) !important;
  color: white !important;
  border-color: transparent !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(124,58,237,0.3);
}

.single-article__body h2 {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.single-article__body h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  border-radius: 2px;
}
.single-article__body h3 {
  position: relative;
  padding-left: 16px;
}
.single-article__body h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
  border-radius: 2px;
}

.single-article__body a {
  color: var(--gradient-start) !important;
  text-decoration: none !important;
  border-bottom: 1.5px solid rgba(124,58,237,0.3) !important;
  transition: border-color 0.2s, color 0.2s !important;
}
.single-article__body a:hover {
  color: var(--gradient-end) !important;
  border-bottom-color: var(--gradient-end) !important;
}

.single-article__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px var(--gutter) 80px;
}
@media (max-width: 1024px) {
  .single-article__layout { grid-template-columns: 1fr; gap: 0; }
  .single-article__layout aside { display: none; }
}

.single-article__body .semusik-related {
  margin: 48px 0;
  padding: 32px;
  background: var(--paper-warm);
  border-radius: 16px;
  border: 1px solid var(--line);
}
.single-article__body .semusik-related h3 {
  font-family: var(--mono);
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--ink-mid) !important;
  margin: 0 0 20px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid var(--line) !important;
}
.single-article__body .semusik-related h3::before { display: none; }
.single-article__body .semusik-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.single-article__body .semusik-related ul li { margin: 0; padding: 0; }
.single-article__body .semusik-related ul li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: white;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--ink) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.25s cubic-bezier(0.22,1,0.36,1);
}
.single-article__body .semusik-related ul li a::before {
  content: '92';
  color: var(--gradient-start);
  font-weight: 700;
  flex-shrink: 0;
}
.single-article__body .semusik-related ul li a:hover {
  background: linear-gradient(135deg, rgba(124,58,237,0.05), rgba(236,72,153,0.03));
  border-color: rgba(124,58,237,0.2);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(124,58,237,0.1);
}


/* ============================================
   CSS SPECIFICITY FIXES - Override main.css
   Added parent context for higher specificity
   ============================================ */

/* Tags pill styling with higher specificity */
article.single .single-article__tags a,
.single-article__layout .single-article__tags a {
  border-radius: 100px !important;
  border: 1px solid var(--line) !important;
  background: var(--paper-warm) !important;
  margin: 4px !important;
  padding: 6px 14px !important;
  font-size: 13px !important;
  color: var(--ink-mid) !important;
  transition: all 0.2s ease !important;
}

article.single .single-article__tags a:hover,
.single-article__layout .single-article__tags a:hover {
  background: var(--paper) !important;
  border-color: var(--gradient-start) !important;
  color: var(--gradient-start) !important;
  transform: translateY(-1px) !important;
}

/* Share button styling with higher specificity */
article.single .single-article__share a,
.single-article__layout .single-article__share a {
  border-radius: 100px !important;
  border: 1px solid var(--line) !important;
  background: white !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  color: var(--ink-mid) !important;
  transition: all 0.2s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

article.single .single-article__share a:hover,
.single-article__layout .single-article__share a:hover {
  background: var(--paper) !important;
  border-color: var(--gradient-start) !important;
  color: var(--gradient-start) !important;
  transform: translateY(-1px) !important;
}

/* Sumber/Source box gradient background with fallback */
.single-article__body > p:last-of-type {
  background: #f5f0eb !important;
  background: linear-gradient(135deg, rgba(124,58,237,0.06), rgba(236,72,153,0.04)) !important;
  border-left: 3px solid #A855F7 !important;
  padding: 16px 20px !important;
  border-radius: 8px !important;
  margin-top: 32px !important;
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */

@media (prefers-color-scheme: dark) {
  [data-theme="dark"] .single-article__tags a,
  article.single .single-article__tags a,
  .single-article__layout .single-article__tags a {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: rgba(255,255,255,0.7) !important;
  }
  
  [data-theme="dark"] .single-article__tags a:hover,
  article.single .single-article__tags a:hover,
  .single-article__layout .single-article__tags a:hover {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(168,85,247,0.5) !important;
    color: rgba(255,255,255,0.9) !important;
  }

  [data-theme="dark"] .single-article__share a,
  article.single .single-article__share a,
  .single-article__layout .single-article__share a {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: rgba(255,255,255,0.8) !important;
  }
  
  [data-theme="dark"] .single-article__share a:hover,
  article.single .single-article__share a:hover,
  .single-article__layout .single-article__share a:hover {
    background: rgba(255,255,255,0.1) !important;
    border-color: rgba(168,85,247,0.5) !important;
    color: rgba(255,255,255,0.95) !important;
  }

  [data-theme="dark"] .single-article__body > p:last-of-type {
    background: rgba(255,255,255,0.04) !important;
    background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(236,72,153,0.08)) !important;
    border-left-color: #A855F7 !important;
  }

  [data-theme="dark"] .semusik-related,
  .single-article__body .semusik-related {
    background: rgba(255,255,255,0.04) !important;
    border-color: rgba(255,255,255,0.1) !important;
    border-radius: 12px !important;
    padding: 20px !important;
  }
  
  [data-theme="dark"] .semusik-related h3,
  .single-article__body .semusik-related h3 {
    color: rgba(255,255,255,0.7) !important;
    border-bottom-color: rgba(255,255,255,0.1) !important;
  }
  
  [data-theme="dark"] .semusik-related ul li a,
  .single-article__body .semusik-related ul li a {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: rgba(255,255,255,0.85) !important;
  }
  
  [data-theme="dark"] .semusik-related ul li a:hover,
  .single-article__body .semusik-related ul li a:hover {
    background: rgba(124,58,237,0.15) !important;
    border-color: rgba(168,85,247,0.4) !important;
    color: rgba(255,255,255,0.95) !important;
  }
  
  [data-theme="dark"] .semusik-related ul li a::before {
    color: #A855F7 !important;
  }
}
