/* ══════════════════════════════════════════════════════════════
   AKRALABS JOURNAL & BLOG STYLING SYSTEM
   Cosmic Editorial Publication Architecture
   ══════════════════════════════════════════════════════════════ */

:root {
  --space-void: #020408;
  --space-deep: #05080e;
  --space-surface: rgba(8, 14, 23, 0.78);
  --space-card: rgba(10, 18, 29, 0.82);
  --space-card-hover: rgba(14, 25, 40, 0.94);
  
  --border-subtle: rgba(0, 229, 255, 0.12);
  --border-focus: rgba(0, 229, 255, 0.45);
  --border-gold: rgba(224, 184, 63, 0.35);
  --border-card: rgba(255, 255, 255, 0.08);
  
  --text-pure: #ffffff;
  --text-main: #f0f6f8;
  --text-dim: #94abb5;
  --text-muted: #536f78;
  
  --cyan: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.4);
  --cyan-dim: rgba(0, 229, 255, 0.08);
  
  --gold: #e0b83f;
  --gold-glow: rgba(224, 184, 63, 0.45);
  
  --purple: #a855f7;
  --emerald: #10b981;
  --line: rgba(75, 135, 155, 0.14);
  
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  --font-mono: 'Geist Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--space-void);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Background Cosmic Atmosphere */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: radial-gradient(circle 800px at 50% -20%, rgba(0, 229, 255, 0.07), transparent 70%),
              radial-gradient(circle 600px at 80% 10%, rgba(168, 85, 247, 0.04), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Shared Header & Navbar ─── */
.hud-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 32px;
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar-zone-left {
  display: flex;
  align-items: center;
}

.hud-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-pure);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

.t-akra { color: #fff; }
.t-labs { color: var(--cyan); }

.brand-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.hud-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.hud-link:hover {
  color: var(--text-pure);
  background: var(--cyan-dim);
}

.hud-link.active {
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.navbar-zone-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hud-btn-primary {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #020408;
  background: var(--cyan);
  padding: 8px 18px;
  border-radius: 9999px;
  text-transform: uppercase;
  transition: all 0.2s ease;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.hud-btn-primary:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

.primary-btn-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #020408;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 6px;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #060a12;
  border-left: 1px solid var(--border-subtle);
  z-index: 2000;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.drawer-close-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 28px;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-link {
  color: var(--text-main);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-link.active {
  color: var(--cyan);
}

.drawer-cta-btn {
  margin-top: 24px;
  text-align: center;
  padding: 12px;
  background: var(--cyan);
  color: #020408;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
}

/* ─── Hero Section ─── */
.journal-hero {
  position: relative;
  z-index: 1;
  padding: 72px 24px 48px;
  text-align: center;
  max-width: 1080px;
  margin: 0 auto;
}

.journal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  margin-bottom: 24px;
}

.kicker-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.kicker-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--cyan);
}

.journal-title {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text-pure);
  margin-bottom: 18px;
}

.hero-serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--cyan);
  letter-spacing: 0.02em;
  display: inline-block;
  padding: 0 4px;
  text-shadow: 0 0 35px var(--cyan-glow);
}

.journal-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto 36px;
}

/* ─── Search Bar ─── */
.journal-search-wrap {
  max-width: 540px;
  margin: 0 auto 36px;
}

.journal-search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(10, 18, 29, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  padding: 0 18px;
  transition: all 0.2s ease;
}

.journal-search-input-box:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-dim);
  background: rgba(14, 25, 40, 0.9);
}

.search-icon {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-right: 12px;
}

.journal-search-input-box input {
  width: 100%;
  height: 46px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-pure);
  font-size: 14px;
  font-family: var(--font-sans);
}

.journal-search-input-box input::placeholder {
  color: var(--text-muted);
}

/* ─── Category Filter Pills ─── */
.category-filters-nav {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
  overflow-x: auto;
  padding: 8px 4px;
  -webkit-overflow-scrolling: touch;
}

.category-pills-track {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  background: rgba(8, 14, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
}

.cat-pill {
  color: var(--text-dim);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 7px 15px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cat-pill:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
}

.cat-pill.active {
  color: #020408;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
}

/* ─── Journal Layout Container ─── */
.journal-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── Featured Article Spotlight ─── */
.featured-article-spotlight {
  margin-bottom: 64px;
}

.featured-card {
  background: var(--space-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-card:hover {
  border-color: rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.9), 0 0 30px var(--cyan-dim);
}

.featured-card-link {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  text-decoration: none;
  color: inherit;
}

.featured-image-col {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}

.featured-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.featured-label-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(2, 4, 8, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 5px 11px;
  border-radius: 9999px;
}

.featured-content-col {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.editorial-cat-badge {
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--cyan-dim);
  padding: 3px 9px;
  border-radius: 4px;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.editorial-date-badge, .editorial-read-badge {
  color: var(--text-muted);
  font-size: 12px;
}

.featured-headline {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-pure);
  margin-bottom: 16px;
  transition: color 0.2s ease;
}

.featured-card:hover .featured-headline {
  color: var(--cyan);
}

.featured-excerpt {
  color: var(--text-dim);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
}

.author-avatar-chip {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.author-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-pure);
}

.author-role {
  font-size: 11px;
  color: var(--text-muted);
}

.featured-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
}

/* ─── 3-Column Article Grid ─── */
.journal-grid-section {
  margin-bottom: 96px;
}

.section-subhead-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 14px;
}

.section-subhead-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-pure);
}

.results-counter {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.journal-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.journal-card {
  background: var(--space-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.journal-card:hover {
  border-color: rgba(0, 229, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 20px var(--cyan-dim);
}

.card-inner-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #000;
}

.card-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.journal-card:hover .card-cover-img {
  transform: scale(1.05);
}

.card-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(2, 4, 8, 0.82);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-pure);
  margin-bottom: 10px;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-card:hover .card-title {
  color: var(--cyan);
}

.card-excerpt {
  color: var(--text-dim);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
}

/* Empty State */
.journal-empty-state {
  text-align: center;
  padding: 64px 24px;
  background: var(--space-card);
  border: 1px dashed var(--border-subtle);
  border-radius: 16px;
}

.empty-cosmic-icon {
  font-size: 28px;
  color: var(--cyan);
  margin-bottom: 14px;
}

.journal-empty-state h4 {
  font-size: 18px;
  color: var(--text-pure);
  margin-bottom: 8px;
}

.journal-empty-state p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 20px;
}

.reset-filter-btn {
  display: inline-block;
  background: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 9999px;
  text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════
   ARTICLE DETAIL PAGE STYLING
   ══════════════════════════════════════════════════════════════ */
.draft-preview-banner {
  background: #ffaa00;
  color: #000;
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
}

.article-page-main {
  position: relative;
  z-index: 1;
}

.article-header {
  padding: 56px 24px 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.article-header-inner {
  max-width: 840px;
  margin: 0 auto;
}

.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumb-link {
  color: var(--text-dim);
  text-decoration: none;
}

.breadcrumb-link:hover {
  color: var(--cyan);
}

.article-main-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-pure);
  margin-bottom: 18px;
}

.article-main-excerpt {
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-dim);
  margin-bottom: 28px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-author-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.15);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.meta-author-text {
  display: flex;
  flex-direction: column;
}

.meta-stats-group {
  font-size: 13px;
  color: var(--text-muted);
}

.meta-bullet {
  margin: 0 6px;
}

.article-cover-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 9;
  max-height: 520px;
}

.article-hero-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article Layout with Sticky Sidebar */
.article-layout-container {
  max-width: 1180px;
  margin: 48px auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.article-sidebar {
  position: sticky;
  top: 96px;
}

.toc-sticky-card {
  background: var(--space-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 22px;
}

.toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.toc-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
}

.toc-chevron-mobile {
  display: none;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.toc-item.level-3 {
  padding-left: 14px;
}

.toc-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  transition: all 0.2s ease;
  display: block;
}

.toc-link:hover, .toc-link.active {
  color: var(--cyan);
  transform: translateX(3px);
}

.sidebar-share-box {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.share-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.share-btn-group {
  display: flex;
  gap: 8px;
}

.share-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s ease;
}

.share-btn:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
  color: var(--cyan);
}

.copy-success-badge {
  display: block;
  font-size: 11px;
  color: var(--cyan);
  margin-top: 6px;
}

/* ─── Editorial Reading Column (700-800px max) ─── */
.article-body-col {
  max-width: 760px;
  color: var(--text-main);
  font-size: 17.5px;
  line-height: 1.82;
}

.editorial-heading {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-pure);
  margin-top: 48px;
  margin-bottom: 18px;
  line-height: 1.3;
  position: relative;
}

.editorial-heading.h2 {
  font-size: 27px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 10px;
}

.editorial-heading.h3 {
  font-size: 21px;
}

.heading-anchor {
  position: absolute;
  left: -24px;
  color: var(--text-muted);
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.editorial-heading:hover .heading-anchor {
  opacity: 0.6;
}

.editorial-p {
  margin-bottom: 24px;
  color: #d1e2e8;
}

.editorial-quote {
  border-left: 3px solid var(--cyan);
  background: rgba(0, 229, 255, 0.04);
  padding: 22px 28px;
  border-radius: 0 10px 10px 0;
  margin: 36px 0;
}

.editorial-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 8px;
}

.editorial-quote cite {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--cyan);
}

.editorial-figure {
  margin: 36px 0;
}

.editorial-img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.editorial-figcaption {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}

.editorial-list {
  margin: 20px 0 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #d1e2e8;
}

.editorial-callout {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 10px;
  margin: 32px 0;
  background: rgba(8, 14, 23, 0.9);
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.callout-indicator {
  color: var(--cyan);
  flex-shrink: 0;
}

.callout-title {
  display: block;
  font-size: 14px;
  color: var(--cyan);
  margin-bottom: 4px;
}

.editorial-callout p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
}

/* ─── AkraLabs Product Callout Block ─── */
.akralabs-product-callout {
  background: linear-gradient(135deg, rgba(10, 18, 29, 0.92), rgba(6, 12, 20, 0.95));
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 229, 255, 0.03);
}

.product-callout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.product-badge-group {
  display: flex;
  gap: 8px;
}

.product-tag-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  background: var(--cyan);
  color: #020408;
  padding: 3px 8px;
  border-radius: 9999px;
}

.product-category-pill {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--text-dim);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 9999px;
}

.product-rating-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}

.product-callout-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.product-logo-frame {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.product-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-pure);
  margin-bottom: 4px;
}

.product-desc {
  font-size: 13.5px;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 8px;
}

.product-price-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan);
}

.product-callout-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.product-explore-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
}

.product-explore-cta:hover {
  color: #fff;
  transform: translateX(2px);
}

/* ─── AkraLabs Editorial Verdict Block ─── */
.akralabs-verdict-box {
  background: rgba(6, 11, 18, 0.95);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  overflow: hidden;
  margin: 44px 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.verdict-banner {
  background: linear-gradient(90deg, rgba(224, 184, 63, 0.15), transparent);
  border-bottom: 1px solid var(--border-gold);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.verdict-crest {
  color: var(--gold);
}

.verdict-title {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold);
  flex-grow: 1;
}

.verdict-rating-score {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: rgba(224, 184, 63, 0.25);
  border: 1px solid var(--gold);
  padding: 3px 10px;
  border-radius: 9999px;
}

.verdict-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 20px;
  gap: 16px;
}

.verdict-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.verdict-summary-cell {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.cell-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.cell-val {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-pure);
}

.cell-summary-text {
  font-size: 14px;
  color: #c0d5dc;
  line-height: 1.6;
}

/* Bottom Article Actions */
.article-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bottom-tags {
  display: flex;
  gap: 8px;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 9999px;
}

.bottom-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}

.bottom-share-btn:hover {
  background: var(--cyan-dim);
  border-color: var(--cyan);
}

/* ─── Related Articles Section ─── */
.related-signals-section {
  background: rgba(4, 7, 12, 0.95);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 96px;
}

.related-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.related-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--text-pure);
}

.related-all-link {
  color: var(--cyan);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.related-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  background: var(--space-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s;
}

.related-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.related-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
}

.related-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card-body {
  padding: 16px;
}

.related-meta {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.related-card-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.35;
}

/* ─── Footer ─── */
.editorial-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #020408;
  padding: 64px 24px 32px;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-col {
  max-width: 400px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 12px;
  line-height: 1.6;
}

.footer-links-col {
  display: flex;
  gap: 64px;
}

.footer-group-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-pure);
  margin-bottom: 16px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--cyan);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-meta-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}

/* ─── Responsive Media Queries ─── */
@media (max-width: 1100px) {
  .journal-articles-grid, .related-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-layout-container {
    grid-template-columns: 240px 1fr;
    gap: 36px;
  }
}

@media (max-width: 860px) {
  .hud-links {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .journal-title {
    font-size: 38px;
  }
  .featured-card-link {
    grid-template-columns: 1fr;
  }
  .featured-image-col {
    min-height: 240px;
  }
  .featured-content-col {
    padding: 24px;
  }
  .article-layout-container {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: relative;
    top: 0;
    margin-bottom: 24px;
  }
  .toc-chevron-mobile {
    display: inline-block;
    cursor: pointer;
  }
  .toc-nav {
    display: none;
  }
  .toc-nav.open {
    display: block;
  }
  .article-main-title {
    font-size: 32px;
  }
  .footer-top-row {
    flex-direction: column;
  }
  .verdict-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .journal-articles-grid, .related-cards-grid {
    grid-template-columns: 1fr;
  }
  .hud-nav {
    padding: 0 16px;
  }
  .journal-title {
    font-size: 30px;
  }
  .featured-headline {
    font-size: 22px;
  }
}
