/**
 * Kishan Shinde Blog - Core CSS Design System
 * Direct Answer First Architecture, 70/30 Grid, Dark/Light Accents, Sub-50ms Responsive Layout
 */

:root {
  --bg-body: #0d0f12;
  --bg-surface: #14171d;
  --bg-surface-elevated: #1a1f27;
  --bg-card: #161a22;
  --border-subtle: #232936;
  --border-strong: #2e3646;

  --text-main: #f0f3f6;
  --text-muted: #9ba1b0;
  --text-dim: #656d7d;

  --accent-gold: #d4a373;
  --accent-gold-bg: rgba(212, 163, 115, 0.08);
  --accent-gold-border: rgba(212, 163, 115, 0.35);

  --accent-cyan: #38bdf8;
  --accent-cyan-bg: rgba(56, 189, 248, 0.08);
  
  --accent-green: #10b981;
  --accent-green-bg: rgba(16, 185, 129, 0.1);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);

  --max-w: 1240px;
}

/* Light Theme overrides if applied */
@media (prefers-color-scheme: light) {
  :root {
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-card: #ffffff;
    --border-subtle: #e2e8f0;
    --border-strong: #cbd5e1;
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #94a3b8;
    --accent-gold: #b45309;
    --accent-gold-bg: rgba(180, 83, 9, 0.06);
    --accent-gold-border: rgba(180, 83, 9, 0.25);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  }
}

/* Base Reset & Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body.site-body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.site-body.is-blog-page {
  padding-top: 5rem;
}

/* Signature Mix-Blend-Difference Cursor Follower (Matches React App) */
.site-cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  background-color: #ffffff;
  border-radius: 9999px;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.22s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s ease;
  opacity: 0;
  display: none;
}
@media (pointer: fine) {
  .site-cursor-follower {
    display: block;
  }
}
.site-cursor-follower.hovering {
  transform: translate(-50%, -50%) scale(2.6);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 25px;
  padding-right: 25px;
}

@media (max-width: 768px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* ========================================================
   TOP TELEMETRY NOTICE BAR
/* ========================================================
   PORTFOLIO-MATCHED FIXED HEADER & NAVIGATION
   ======================================================== */
.portfolio-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem 1.5rem;
}

.portfolio-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
}

.portfolio-brand {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .portfolio-brand {
    font-size: 2.2rem;
  }
}

.header-right-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-search-pill {
  position: relative;
  width: 260px;
}
@media (max-width: 640px) {
  .header-search-pill {
    width: 170px;
  }
}

.header-search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.header-search-form input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0.5rem 0.85rem 0.5rem 2.2rem;
  font-size: 0.82rem;
  border-radius: var(--radius-full);
  outline: none;
  transition: all 0.2s ease;
}
.header-search-form input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.12);
}
.header-search-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.search-icon {
  position: absolute;
  left: 0.85rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.portfolio-menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #ffffff;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.portfolio-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.04);
}

/* FULLSCREEN MENU OVERLAY */
.fullscreen-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: #121212;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  overflow-y: auto;
}

.menu-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.2rem;
  color: #ffffff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.menu-close-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.menu-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  max-width: 1080px;
  width: 100%;
  align-items: center;
}
@media (max-width: 900px) {
  .menu-content-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.fullscreen-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, transform 0.2s ease;
}
.menu-link-item:hover, .menu-link-item.active {
  color: #ffffff;
  transform: translateX(8px);
}
.menu-link-item .link-plus {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  opacity: 0.35;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-link-item:hover .link-plus {
  opacity: 1;
  transform: rotate(90deg);
}

.menu-secondary-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.menu-sub-box {
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.menu-sub-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.85rem;
}

.menu-cluster-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.menu-cluster-links a {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.menu-cluster-links a:hover {
  color: var(--accent-cyan);
}
.header-search-form input:focus {
  border-color: var(--accent-cyan);
  background-color: var(--bg-card);
}

.search-icon {
  position: absolute;
  left: 0.8rem;
  font-size: 0.78rem;
  color: var(--text-dim);
  pointer-events: none;
}

.btn-admin-pill {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.82rem;
}
.btn-admin-pill:hover {
  color: var(--text-main);
  border-color: var(--border-strong);
}

/* AJAX Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  overflow-y: auto;
  z-index: 200;
  padding: 0.5rem 0;
}

.search-item {
  display: block;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
}
.search-item:last-child {
  border-bottom: none;
}
.search-item:hover {
  background-color: var(--bg-surface);
}

.search-item-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.search-item-cat {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.search-item-answer {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

mark.search-highlight {
  background-color: rgba(212, 163, 115, 0.3);
  color: #fff;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}

/* ========================================================
   SINGLE ARTICLE VIEW (70% / 30% GRID)
   ======================================================== */
.main-content {
  flex: 1;
  padding-top: 2rem;
  padding-bottom: 4rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items: start;
}

/* Breadcrumbs Navigation */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}
.breadcrumbs a:hover {
  color: var(--text-main);
}
.breadcrumb-current {
  color: var(--text-muted);
}

/* Article Header */
.article-header {
  margin-bottom: 1.5rem;
}

.category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  background-color: var(--accent-cyan-bg);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.article-h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

/* E-E-A-T Author & Telemetry Bar */
.article-author-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
}

.author-meta-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--border-strong);
}

.author-avatar-badge {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.author-name-line {
  font-size: 0.88rem;
}

.author-name {
  font-weight: 700;
  color: var(--text-main);
}
.author-name:hover {
  color: var(--accent-cyan);
}

.author-role {
  color: var(--text-dim);
}

.author-meta-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--accent-green-bg);
  color: var(--accent-green);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
}

/* DIRECT ANSWER BOX (Position Zero Snippet Target) */
.direct-answer-box {
  background: var(--accent-gold-bg);
  border: 1.5px solid var(--accent-gold-border);
  border-left: 5px solid var(--accent-gold);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-bottom: 2rem;
}

.direct-answer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.direct-answer-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-protocol {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-gold);
  background-color: rgba(212, 163, 115, 0.12);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.direct-answer-text {
  font-size: 1.12rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.direct-answer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(212, 163, 115, 0.2);
  padding-top: 0.65rem;
}
.direct-answer-footer a {
  color: var(--accent-gold);
  font-weight: 600;
}
.direct-answer-footer a:hover {
  text-decoration: underline;
}

/* Featured Hero Image */
.article-featured-image {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
}
.article-featured-image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Prose Body Typography & Tables */
.article-prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 2.5rem;
}

.article-prose h2 {
  font-size: 1.65rem;
  font-weight: 700;
  margin-top: 2.2rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
}

.article-prose h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 1.8rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.article-prose p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
}

.article-prose ul, .article-prose ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.article-prose li {
  margin-bottom: 0.5rem;
}

.article-prose strong {
  color: var(--text-main);
}

/* Semantic HTML Comparison Table */
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.9rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-prose thead {
  background-color: var(--bg-surface-elevated);
}

.article-prose th {
  padding: 0.85rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-strong);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-prose td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.article-prose tbody tr:last-child td {
  border-bottom: none;
}

.article-prose tbody tr:hover {
  background-color: var(--bg-surface-elevated);
}

.article-prose blockquote {
  border-left: 4px solid var(--accent-cyan);
  padding: 0.85rem 1.25rem;
  margin: 1.5rem 0;
  background-color: var(--accent-cyan-bg);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-main);
}

.article-prose code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background-color: var(--bg-surface-elevated);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.article-prose pre {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 1.5rem 0;
}
.article-prose pre code {
  background: none;
  border: none;
  padding: 0;
}

/* Interactive FAQ Accordion Block */
.article-faq-section {
  margin-top: 3rem;
  margin-bottom: 2.5rem;
  padding: 2rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.faq-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-card.open {
  border-color: var(--border-strong);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-toggle-icon {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: transform 0.2s ease;
}
.faq-card.open .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

.faq-answer-content {
  padding: 0 1.25rem 1.25rem 1.25rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Empirical Telemetry & Verification Sources Box */
.telemetry-citations-card {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.telemetry-citations-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.telemetry-citations-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.telemetry-citations-card ul {
  padding-left: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}

.telemetry-citations-card li {
  margin-bottom: 0.35rem;
}

/* Contextual Interlinking: Previous & Next Questions */
.article-prev-next-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 3rem;
}

.nav-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.nav-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.nav-direction {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.next-card {
  text-align: right;
}
.next-card .nav-direction {
  justify-content: flex-end;
}

.nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
}

/* Threaded Comments & Discussion Section */
.comments-section {
  padding: 2rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.comments-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.comments-count-badge {
  font-size: 0.8rem;
  font-weight: 600;
  background-color: var(--border-strong);
  color: var(--text-muted);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.comment-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.comment-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.comment-author-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.comment-avatar-bubble {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
}
.reply-bubble {
  background: linear-gradient(135deg, #10b981, #06b6d4);
  width: 30px;
  height: 30px;
  font-size: 0.78rem;
}

.comment-meta {
  display: flex;
  flex-direction: column;
}

.commenter-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.comment-time {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.reply-to-tag {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

.comment-body {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.comment-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-reply-trigger {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
}
.btn-reply-trigger:hover {
  text-decoration: underline;
}

.comment-replies {
  list-style: none;
  margin-top: 1rem;
  padding-left: 1.5rem;
  border-left: 2px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reply-card {
  background-color: var(--bg-surface-elevated);
}

.no-comments-msg {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-style: italic;
  margin-bottom: 2rem;
}

/* Comment Form */
.comment-form-container {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.75rem;
}

.form-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.replying-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--accent-cyan-bg);
  border: 1px solid var(--accent-cyan);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.btn-cancel-reply {
  background: none;
  border: none;
  color: #ef4444;
  font-weight: 600;
  font-size: 0.78rem;
  cursor: pointer;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
}

.form-field input, .form-field textarea {
  width: 100%;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--accent-cyan);
}

.btn-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn-primary-action:hover {
  opacity: 0.9;
}

/* ========================================================
   STICKY SIDEBAR (30% COLUMN)
   ======================================================== */
.article-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-widget {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.widget-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.65rem;
}

/* 1. Personal Author Profile Widget */
.widget-personal-bio {
  background: linear-gradient(180deg, var(--bg-surface-elevated) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.widget-personal-bio::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-cyan));
}

.personal-bio-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.personal-bio-avatar {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  border: 2px solid var(--accent-gold);
  object-fit: cover;
  flex-shrink: 0;
}

.personal-bio-identity {
  display: flex;
  flex-direction: column;
}

.personal-bio-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.personal-bio-name {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin: 0;
}

.personal-bio-tagline {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  margin-top: 0.2rem;
  line-height: 1.3;
}

.personal-bio-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.personal-bio-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.btn-bio-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.18s ease;
  text-align: center;
}

.btn-bio-primary {
  background-color: var(--accent-gold);
  color: #1a150e;
}
.btn-bio-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-bio-secondary {
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}
.btn-bio-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-1px);
}

.personal-bio-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.personal-bio-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all 0.18s ease;
}

.personal-bio-socials a:hover {
  color: var(--text-main);
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
}

/* List Widgets (Latest & Popular) */
.widget-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.widget-list-item {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.65rem;
}
.widget-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.widget-item-link {
  display: block;
}

.widget-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  display: block;
}
.widget-item-link:hover .widget-item-title {
  color: var(--accent-cyan);
}

.widget-item-date, .widget-item-meta {
  font-size: 0.72rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* Categories Pill Cloud */
.category-pill-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
}
.cat-pill:hover {
  color: var(--text-main);
  border-color: var(--border-strong);
}

.cat-count {
  font-size: 0.68rem;
  font-weight: 700;
  background-color: var(--border-strong);
  color: var(--text-dim);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
}

/* Author Bio Widget */
.sidebar-author-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.sidebar-author-img {
  border-radius: var(--radius-full);
  border: 2px solid var(--border-strong);
}

.sidebar-author-name {
  font-size: 0.9rem;
  color: var(--text-main);
}

.sidebar-author-role {
  font-size: 0.72rem;
  color: var(--accent-cyan);
}

.sidebar-author-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.sidebar-author-link {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-cyan);
}
.sidebar-author-link:hover {
  text-decoration: underline;
}

/* Recent Comments Stream */
.widget-comments {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.widget-comment-item {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.65rem;
}
.widget-comment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rc-author {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.rc-post-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  margin-bottom: 0.25rem;
}
.rc-post-title:hover {
  color: var(--accent-cyan);
}

.rc-snippet {
  font-size: 0.76rem;
  font-style: italic;
  color: var(--text-muted);
}

/* ========================================================
   ARTICLES DIRECTORY & ARCHIVE VIEW (/articles)
   ======================================================== */
.archive-hero {
  padding: 3rem 0 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse at top, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
}

.hero-container {
  max-width: 860px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background-color: var(--accent-cyan-bg);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.archive-h1 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.archive-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-search-wrapper {
  position: relative;
  max-width: 620px;
  margin: 0 auto;
}

.hero-search-form {
  position: relative;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-full);
}

.search-submit-icon {
  position: absolute;
  left: 1.2rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  pointer-events: none;
}

.hero-search-form input {
  width: 100%;
  background-color: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  color: var(--text-main);
  padding: 0.85rem 1rem 0.85rem 2.8rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.hero-search-form input:focus {
  border-color: var(--accent-cyan);
}

.btn-search-hero {
  position: absolute;
  right: 6px;
  background-color: var(--accent-cyan);
  color: #0c1929;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
}

/* Cluster Taxonomy Filter Bar */
.cluster-filter-section {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-surface);
}

.cluster-scroll-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  padding-bottom: 0.2rem;
}
.cluster-scroll-row::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  background-color: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}
.filter-pill.active {
  background-color: var(--text-main);
  color: var(--bg-body);
  border-color: var(--text-main);
  font-weight: 600;
}
.filter-pill:hover:not(.active) {
  border-color: var(--border-strong);
  color: var(--text-main);
}

.pill-badge {
  font-size: 0.7rem;
  background-color: var(--border-strong);
  color: var(--text-dim);
  padding: 0.05rem 0.35rem;
  border-radius: var(--radius-full);
}
.filter-pill.active .pill-badge {
  background-color: rgba(0,0,0,0.2);
  color: var(--bg-body);
}

/* Card Grid (.articles-grid) */
.archive-grid-section {
  padding: 3rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.article-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.card-cat-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
}

.card-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.card-h2 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

.card-title-link {
  color: var(--text-main);
}
.card-title-link:hover {
  color: var(--accent-cyan);
}

.card-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.85rem;
  font-size: 0.78rem;
}

.read-time {
  color: var(--text-dim);
}

.card-read-more {
  font-weight: 600;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.card-read-more:hover {
  text-decoration: underline;
}

/* Pagination Bar */
.pagination-wrapper {
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.pagination-info {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.pagination-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-pagination {
  padding: 0.45rem 0.85rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}
.btn-pagination:hover {
  color: var(--text-main);
  border-color: var(--border-strong);
}

.page-numbers {
  display: flex;
  gap: 0.25rem;
}

.page-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}
.page-btn.active {
  background-color: var(--accent-cyan);
  color: #0c1929;
  border-color: var(--accent-cyan);
}
.page-btn:hover:not(.active) {
  border-color: var(--border-strong);
  color: var(--text-main);
}

.no-results-box {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}

.no-results-icon {
  font-size: 2.5rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

/* ========================================================
   PORTFOLIO-MATCHED SIGNATURE FOOTER
   ======================================================== */
.portfolio-footer {
  margin-top: auto;
  background-color: #0B0B0C;
  color: #ffffff;
  padding: 5rem 1.5rem 2.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.portfolio-footer .footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
@media (max-width: 900px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 540px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-col-block .col-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
  font-weight: 600;
}

.col-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.col-list a {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}
.col-list a:hover {
  opacity: 0.7;
}

.col-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-actions-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-buttons-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-pill-outline {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  color: #ffffff;
  text-align: center;
  transition: all 0.2s ease;
}
.btn-pill-outline:hover {
  background-color: #ffffff;
  color: #000000;
}

.machine-discovery-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
}
.machine-discovery-links a {
  color: rgba(255, 255, 255, 0.6);
}
.machine-discovery-links a:hover {
  color: #ffffff;
}

/* Huge Signature Name */
.footer-huge-name-wrapper {
  text-align: center;
  margin: 3.5rem 0 1.5rem 0;
  overflow: hidden;
}

.footer-huge-name {
  font-size: clamp(4.5rem, 19vw, 16rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #ffffff;
  user-select: none;
}

.footer-bottom-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-back-top {
  color: rgba(255, 255, 255, 0.6);
}
.footer-back-top:hover {
  color: #ffffff;
}

.footer-meta-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-meta-nav a:hover {
  color: var(--text-main);
}

/* ========================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ======================================================== */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    margin-top: 2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
  }
  .search-box-wrapper {
    width: 200px;
  }
  .article-h1 {
    font-size: 1.75rem;
  }
  .archive-h1 {
    font-size: 1.85rem;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .article-prev-next-nav {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .bar-content {
    justify-content: center;
  }
  .telemetry-text {
    display: none;
  }
}

/* ========================================================
   FULLSCREEN NAVIGATION MENU - LIGHT COLOR & HIGH VISIBILITY
   ======================================================== */
.menu-nav-link {
  color: #ffffff !important;
  opacity: 1 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
  will-change: transform;
}

.menu-nav-link span:first-child {
  color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: color 0.2s ease, text-shadow 0.2s ease, transform 0.2s ease;
}

.menu-nav-link:hover span:first-child {
  color: #d4ff00 !important;
  text-shadow: 0 0 24px rgba(212, 255, 0, 0.55);
}

.menu-nav-link .menu-plus {
  color: #a1a1aa !important;
  opacity: 0.8 !important;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.25s ease;
}

.menu-nav-link:hover .menu-plus {
  color: #d4ff00 !important;
  opacity: 1 !important;
  transform: rotate(45deg);
}

.menu-nav-link.active-nav-link span:first-child {
  color: #d4ff00 !important;
  text-shadow: 0 0 20px rgba(212, 255, 0, 0.4);
}

.menu-nav-link.active-nav-link .menu-plus {
  color: #d4ff00 !important;
  opacity: 1 !important;
}

#navbarOpenBtn {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* ======================================================== */
/* Global Site Horizontal Padding: 25px desktop, 10px mobile */
/* ======================================================== */
.site-px, .container-site {
  padding-left: 25px !important;
  padding-right: 25px !important;
}

@media (max-width: 768px) {
  .site-px, .container-site {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* ======================================================== */
/* HERO LEFT RAIL (Guaranteed Single-Axis Center Alignment) */
/* ======================================================== */
.hero-left-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 17px;
  width: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 30;
}

@media (max-width: 768px) {
  .hero-left-rail {
    left: 1px;
  }
}

.hero-left-rail .rail-dot {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background-color: #000000;
  border-radius: 9999px;
  z-index: 2;
}

.hero-left-rail .rail-line {
  position: absolute;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(50% + 80px);
  width: 2px;
  background-color: #000000;
  opacity: 0.8;
  z-index: 1;
}

.hero-left-rail .rail-socials {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  pointer-events: auto;
  z-index: 3;
}

.hero-left-rail .rail-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #000000;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-left-rail .rail-socials a:hover {
  opacity: 0.6;
  transform: scale(1.1);
}

.hero-left-rail .rail-socials a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .hero-left-rail .rail-dot,
  .hero-left-rail .rail-line {
    display: none !important;
  }
  .hero-left-rail .rail-socials {
    gap: 1rem;
  }
}

