/* ==========================================================================
   Jeeyio (jeeyio.mom) - Article & Knowledge Base Stylesheet
   Pure Native CSS - Ultra Fast Zero-Dependency Performance
   ========================================================================== */

.article-page {
  padding: 40px 0 80px;
}

/* Breadcrumbs */
.breadcrumb-nav {
  margin-bottom: 24px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.breadcrumb-item a {
  color: var(--text-muted);
}

.breadcrumb-item a:hover {
  color: var(--accent-cyan);
}

.breadcrumb-separator {
  color: var(--text-dim);
  user-select: none;
}

.breadcrumb-item.active {
  color: var(--text-main);
  font-weight: 500;
}

/* Article Layout Grid */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.article-main {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 42px 40px;
  backdrop-filter: blur(12px);
}

/* Article Header */
.article-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 28px;
  margin-bottom: 32px;
}

.article-meta-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
}

.article-time,
.article-author {
  font-size: 0.84rem;
  color: var(--text-dim);
}

.article-post-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 18px;
  color: #fff;
}

.article-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  background: rgba(0, 242, 254, 0.04);
  border-left: 3px solid var(--accent-cyan);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Article Body Content */
.article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-body h2::before {
  content: '';
  width: 4px;
  height: 22px;
  background: var(--accent-cyan);
  border-radius: 2px;
  display: inline-block;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 26px 0 12px;
}

.article-body p {
  margin-bottom: 18px;
}

.article-body strong {
  color: #fff;
}

.article-body ul, 
.article-body ol {
  margin: 0 0 20px 24px;
  color: var(--text-muted);
}

.article-body li {
  margin-bottom: 8px;
}

.article-body a {
  color: var(--accent-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body a:hover {
  color: var(--accent-emerald);
}

.article-body blockquote {
  background: rgba(15, 23, 42, 0.6);
  border-left: 4px solid var(--accent-emerald);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: normal;
  color: #e2e8f0;
}

.article-body pre {
  background: #020408;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #38ef7d;
  margin: 22px 0;
  line-height: 1.6;
}

.article-body code {
  font-family: var(--font-mono);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.88rem;
}

/* Callout Box */
.callout {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  margin: 26px 0;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.callout-title {
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* In-article CTA box */
.article-cta-box {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(56, 239, 125, 0.08) 100%);
  border: 1px solid rgba(0, 242, 254, 0.3);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 36px 0;
  text-align: center;
}

.article-cta-box h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.article-cta-box p {
  color: var(--text-muted);
  font-size: 0.96rem;
  max-width: 600px;
  margin: 0 auto 20px;
}

/* Article Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
}

.sidebar-widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-post-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-post-item a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
  transition: var(--transition);
}

.sidebar-post-item a:hover {
  color: var(--accent-cyan);
  padding-left: 4px;
}

.sidebar-post-item span {
  font-size: 0.76rem;
  color: var(--text-dim);
  display: block;
  margin-top: 3px;
}

/* Responsive */
@media (max-width: 991px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .article-main {
    padding: 24px 18px;
  }
  .article-post-title {
    font-size: 1.6rem;
  }
}
