/* ============================================
   Guide Section — Minimal Clean Redesign
   White base, large image cards, editorial feel
   ============================================ */

:root {
  --g-text: #1a1a1a;
  --g-text-secondary: #555555;
  --g-text-muted: #999999;
  --g-bg: #ffffff;
  --g-bg-subtle: #f8f8f8;
  --g-bg-alt: #f2f2f2;
  --g-border: #e5e5e5;
  --g-border-light: #eeeeee;
  --g-accent: #1a1a1a;
  --g-accent-hover: #333333;
  --g-highlight: #2563eb;
  --g-radius: 4px;
  --g-radius-lg: 8px;
  --g-shadow: 0 1px 3px rgba(0,0,0,0.06);
  --g-shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --g-shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --g-transition: 0.2s ease;
  --g-font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --g-font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.guide-main {
  min-height: 100vh;
  background: var(--g-bg);
  color: var(--g-text);
}

/* ============================================
   Editorial Hero
   ============================================ */
.guide-hero-editorial {
  position: relative;
  padding: calc(80px + 3rem) 0 3rem;
  background: var(--g-bg);
  border-bottom: 1px solid var(--g-border);
  overflow: hidden;
}

.guide-hero-inner {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: end;
}

.guide-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--g-text-muted);
  margin-bottom: 1.5rem;
  font-family: var(--g-font-sans);
}

.guide-breadcrumb a {
  color: var(--g-text-muted);
  text-decoration: none;
  transition: color var(--g-transition);
}

.guide-breadcrumb a:hover {
  color: var(--g-text);
}

.guide-breadcrumb-sep {
  opacity: 0.4;
}

.guide-hero-badge {
  display: inline-block;
  font-family: var(--g-font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g-text-muted);
  margin-bottom: 1rem;
}

.guide-hero-title {
  font-family: var(--g-font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--g-text);
  margin-bottom: 1rem;
  max-width: 700px;
  letter-spacing: -0.02em;
}

.guide-hero-title em {
  font-style: italic;
  color: var(--g-text-secondary);
}

.guide-hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--g-text-secondary);
  max-width: 520px;
  margin-bottom: 1.5rem;
  font-family: var(--g-font-sans);
}

.guide-hero-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--g-text-muted);
  font-family: var(--g-font-sans);
}

.guide-meta-count {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-weight: 500;
  color: var(--g-text-secondary);
}

.guide-meta-count svg {
  width: 15px;
  height: 15px;
}

.guide-meta-sep {
  opacity: 0.3;
}

.guide-hero-counter {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding-bottom: 0.5rem;
}

.guide-hero-counter-number {
  font-family: var(--g-font-serif);
  font-size: 5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--g-border);
  letter-spacing: -0.04em;
}

.guide-hero-counter-label {
  font-family: var(--g-font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--g-text-muted);
  text-align: right;
}

/* ============================================
   Category Filter Bar
   ============================================ */
.guide-filter-section {
  background: var(--g-bg);
  border-bottom: 1px solid var(--g-border);
  position: sticky;
  top: 80px;
  z-index: 50;
}

.guide-filter-bar {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.guide-filter-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0.875rem 0;
}

.guide-filter-tabs::-webkit-scrollbar {
  display: none;
}

.guide-filter-tab {
  flex-shrink: 0;
  padding: 0.4375rem 1.125rem;
  font-family: var(--g-font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--g-text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--g-transition);
  white-space: nowrap;
  margin-bottom: -1px;
}

.guide-filter-tab:hover {
  color: var(--g-text);
}

.guide-filter-tab.active {
  color: var(--g-text);
  font-weight: 600;
  border-bottom-color: var(--g-text);
}

.guide-filter-count {
  font-size: 0.8125rem;
  color: var(--g-text-muted);
  white-space: nowrap;
  font-family: var(--g-font-sans);
}

.guide-filter-count span {
  font-weight: 600;
  color: var(--g-text);
}

/* ============================================
   Featured Article
   ============================================ */
.guide-featured {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.guide-featured-link {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
  background: var(--g-bg-subtle);
  border-radius: var(--g-radius-lg);
  overflow: hidden;
  transition: box-shadow var(--g-transition);
}

.guide-featured-link:hover {
  box-shadow: var(--g-shadow-lg);
}

.guide-featured-image {
  position: relative;
  overflow: hidden;
  background: var(--g-bg-alt);
  min-height: 380px;
}

.guide-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.guide-featured-link:hover .guide-featured-image img {
  transform: scale(1.03);
}

.guide-featured-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g-text-muted);
  background: var(--g-bg-alt);
}

.guide-featured-image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.25;
}

.guide-featured-category {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.25rem 0.75rem;
  background: var(--g-text);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  font-family: var(--g-font-sans);
}

.guide-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2.75rem;
}

.guide-featured-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g-text-muted);
  font-family: var(--g-font-sans);
  margin-bottom: 1rem;
}

.guide-featured-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--g-text-muted);
}

.guide-featured-title {
  font-family: var(--g-font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--g-text);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}

.guide-featured-excerpt {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--g-text-secondary);
  margin: 0 0 1.5rem;
  font-family: var(--g-font-sans);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-featured-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--g-border);
  margin-top: auto;
}

.guide-read-time {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: var(--g-text-muted);
  font-family: var(--g-font-sans);
}

.guide-read-time svg {
  width: 14px;
  height: 14px;
}

.guide-featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--g-font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--g-text);
  transition: gap var(--g-transition);
}

.guide-featured-cta svg {
  width: 16px;
  height: 16px;
  transition: transform var(--g-transition);
}

.guide-featured-link:hover .guide-featured-cta {
  gap: 0.75rem;
}

.guide-featured-link:hover .guide-featured-cta svg {
  transform: translateX(3px);
}

/* ============================================
   Section Divider
   ============================================ */
.guide-section-header {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 1.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--g-border);
}

.guide-section-title {
  font-family: var(--g-font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--g-text);
  letter-spacing: -0.01em;
}

/* ============================================
   Articles Grid
   ============================================ */
.guide-grid-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.guide-card {
  background: var(--g-bg);
  border-radius: var(--g-radius-lg);
  overflow: hidden;
  transition: box-shadow var(--g-transition);
}

.guide-card:hover {
  box-shadow: var(--g-shadow-md);
}

.guide-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.guide-card-image {
  position: relative;
  overflow: hidden;
  background: var(--g-bg-alt);
  aspect-ratio: 4/3;
}

.guide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.guide-card:hover .guide-card-image img {
  transform: scale(1.04);
}

.guide-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g-text-muted);
}

.guide-card-image-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.2;
}

.guide-card-category {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  padding: 0.2rem 0.5rem;
  background: var(--g-text);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  font-family: var(--g-font-sans);
}

.guide-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.375rem 1.375rem;
  border: 1px solid var(--g-border-light);
  border-top: none;
  border-radius: 0 0 var(--g-radius-lg) var(--g-radius-lg);
}

.guide-card-title {
  font-family: var(--g-font-serif);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--g-text);
  margin: 0 0 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.guide-card-excerpt {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--g-text-secondary);
  margin: 0;
  flex: 1;
  font-family: var(--g-font-sans);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.guide-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  margin-top: 0.875rem;
  border-top: 1px solid var(--g-border-light);
}

.guide-card-readtime {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--g-text-muted);
  font-family: var(--g-font-sans);
}

.guide-card-readtime svg {
  width: 12px;
  height: 12px;
}

.guide-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--g-bg-subtle);
  color: var(--g-text);
  transition: all var(--g-transition);
}

.guide-card-arrow svg {
  width: 13px;
  height: 13px;
}

.guide-card:hover .guide-card-arrow {
  background: var(--g-text);
  color: #fff;
}

/* Empty state */
.guide-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--g-text-muted);
}

.guide-empty svg {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  opacity: 0.25;
}

.guide-empty h3 {
  font-family: var(--g-font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--g-text);
}

.guide-empty p {
  font-size: 0.9375rem;
  font-family: var(--g-font-sans);
}

.guide-empty code {
  padding: 0.125rem 0.4rem;
  background: var(--g-bg-subtle);
  border-radius: 3px;
  font-size: 0.875em;
  color: var(--g-text);
}

/* ============================================
   Sidebar Topics
   ============================================ */
.guide-sidebar-topics {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

.guide-sidebar-topics-inner {
  background: var(--g-bg-subtle);
  border-radius: var(--g-radius-lg);
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--g-border-light);
}

.guide-sidebar-title {
  font-family: var(--g-font-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--g-text);
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--g-border);
  letter-spacing: -0.01em;
}

.guide-sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.guide-sidebar-nav li {
  margin: 0;
  padding: 0;
}

.guide-sidebar-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-family: var(--g-font-sans);
  font-size: 0.875rem;
  color: var(--g-text-secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--g-border-light);
  transition: all var(--g-transition);
}

.guide-sidebar-nav li:last-child a {
  border-bottom: none;
}

.guide-sidebar-nav a:hover {
  color: var(--g-text);
}

.topic-dot {
  display: none;
}

.topic-count {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--g-text-muted);
  background: var(--g-bg-alt);
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  flex-shrink: 0;
}

/* ============================================
   CTA Section
   ============================================ */
.guide-cta-section {
  background: var(--g-bg-subtle);
  border-top: 1px solid var(--g-border);
  padding: 4rem 2rem;
}

.guide-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.guide-cta-content h2 {
  font-family: var(--g-font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--g-text);
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}

.guide-cta-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--g-text-secondary);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--g-font-sans);
}

.guide-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* ============================================
   Fade-up Animation
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .guide-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .guide-hero-counter {
    display: none;
  }

  .guide-featured-link {
    grid-template-columns: 1fr;
  }

  .guide-featured-image {
    min-height: 280px;
  }

  .guide-featured-content {
    padding: 2rem;
  }

  .guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .guide-hero-editorial {
    padding-top: calc(70px + 2rem);
  }

  .guide-filter-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .guide-filter-tabs {
    padding: 0.5rem 0;
    width: 100%;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .guide-sidebar-topics {
    display: none;
  }

  .guide-featured {
    padding: 2rem 1rem;
  }

  .guide-grid-section {
    padding: 2rem 1rem 3rem;
  }

  .guide-section-header {
    padding: 0 1rem 1rem;
  }

  .guide-cta-buttons {
    flex-direction: column;
  }

  .guide-cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .guide-hero-editorial {
    padding: calc(70px + 1rem) 0 1.5rem;
  }

  .guide-hero-inner,
  .guide-featured,
  .guide-grid-section,
  .guide-sidebar-topics,
  .guide-cta-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================
   Article Page (Detail) — Minimal Clean
   ============================================ */
.article-main {
  min-height: 100vh;
  background: var(--g-bg);
  max-width: none;
}

.article-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}

.article-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.article-hero-image-fallback {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.article-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.88) 0%,
    rgba(10, 10, 10, 0.6) 45%,
    rgba(10, 10, 10, 0.2) 100%
  );
}

.article-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: calc(80px + 3rem) 2rem 3rem;
}

.article-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--g-font-sans);
  margin-bottom: 1.25rem;
}

.article-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color var(--g-transition);
}

.article-breadcrumb a:hover {
  color: #fff;
}

.article-category-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--g-highlight);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  margin-bottom: 1rem;
  font-family: var(--g-font-sans);
}

.article-title {
  font-family: var(--g-font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 1rem;
  max-width: 780px;
  letter-spacing: -0.02em;
}

.article-excerpt {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  margin: 0 0 1.5rem;
  max-width: 640px;
  font-family: var(--g-font-sans);
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--g-font-sans);
}

.article-meta-item svg {
  width: 13px;
  height: 13px;
}

.article-meta-sep {
  color: rgba(255,255,255,0.3);
}

.article-tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.article-tag {
  padding: 0.2rem 0.5rem;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 0.6875rem;
  border-radius: 2px;
  font-family: var(--g-font-sans);
}

/* Article Layout */
.article-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 3rem;
  align-items: start;
}

.article-content-col {
  min-width: 0;
}

/* TOC */
.article-toc {
  background: var(--g-bg-subtle);
  border: 1px solid var(--g-border-light);
  border-radius: var(--g-radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.article-toc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--g-text-muted);
  margin-bottom: 0.875rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--g-border);
  font-family: var(--g-font-sans);
}

.article-toc-header svg {
  width: 14px;
  height: 14px;
}

.article-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-toc li { margin: 0; padding: 0; }

.article-toc a {
  display: block;
  padding: 0.375rem 0.625rem;
  font-size: 0.875rem;
  color: var(--g-text-secondary);
  border-radius: var(--g-radius);
  text-decoration: none;
  font-family: var(--g-font-sans);
  transition: all var(--g-transition);
  border-left: 2px solid transparent;
}

.article-toc a:hover,
.article-toc a.active {
  background: var(--g-bg-alt);
  color: var(--g-text);
  border-left-color: var(--g-text);
}

/* Article Body */
.article-body {
  background: var(--g-bg);
  border: 1px solid var(--g-border-light);
  border-radius: var(--g-radius-lg);
  padding: 2.5rem;
}

.article-lead {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--g-text-secondary);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--g-border);
  font-family: var(--g-font-sans);
}

.article-lead p { margin-bottom: 1.25rem; }
.article-lead p:last-child { margin-bottom: 0; }

.article-section {
  margin-bottom: 2.75rem;
}

.article-section:last-child { margin-bottom: 0; }

.article-section h2 {
  font-family: var(--g-font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--g-text);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.article-section h3 {
  font-family: var(--g-font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--g-text);
  margin: 1.5rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.article-section p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--g-text-secondary);
  margin-bottom: 1rem;
  font-family: var(--g-font-sans);
}

.article-section ul,
.article-section ol {
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.article-section li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--g-text-secondary);
  margin-bottom: 0.5rem;
  list-style: disc;
  font-family: var(--g-font-sans);
}

.article-section ol li { list-style: decimal; }

.article-section strong {
  color: var(--g-text);
  font-weight: 600;
}

.article-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
  font-family: var(--g-font-sans);
}

.article-section th {
  padding: 0.75rem 1rem;
  background: var(--g-bg-subtle);
  text-align: left;
  font-weight: 600;
  color: var(--g-text);
  border-bottom: 2px solid var(--g-border);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-section td {
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--g-border-light);
  color: var(--g-text-secondary);
}

.article-section tr:last-child td { border-bottom: none; }

.article-inline-figure { margin: 2rem 0; }

.article-inline-figure img {
  width: 100%;
  border-radius: var(--g-radius);
}

.article-inline-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--g-text-muted);
  text-align: center;
  font-style: italic;
  font-family: var(--g-font-sans);
}

/* Trust Section */
.article-trust {
  background: var(--g-bg-subtle);
  border: 1px solid var(--g-border-light);
  border-radius: var(--g-radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.article-trust-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--g-text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--g-border);
  font-family: var(--g-font-sans);
}

.article-trust-header svg {
  width: 16px;
  height: 16px;
  color: var(--g-highlight);
}

.article-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-trust-item { text-align: center; }

.article-trust-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--g-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g-text);
}

.article-trust-icon svg { width: 20px; height: 20px; }

.article-trust-item h4 {
  font-family: var(--g-font-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--g-text);
  margin-bottom: 0.25rem;
}

.article-trust-item p {
  font-size: 0.8125rem;
  color: var(--g-text-muted);
  margin: 0;
  font-family: var(--g-font-sans);
}

/* Share */
.article-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--g-bg-subtle);
  border: 1px solid var(--g-border-light);
  border-radius: var(--g-radius-lg);
  margin-top: 1.5rem;
  font-family: var(--g-font-sans);
}

.article-share > span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--g-text);
}

.article-share-buttons {
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--g-text-secondary);
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  text-decoration: none;
  background: var(--g-bg);
  transition: all var(--g-transition);
  font-family: var(--g-font-sans);
}

.share-btn:hover {
  border-color: var(--g-text);
  color: var(--g-text);
}

.share-btn svg { width: 14px; height: 14px; }

/* Sidebar */
.article-sidebar-sticky {
  position: sticky;
  top: calc(80px + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.sidebar-card {
  background: var(--g-bg);
  border: 1px solid var(--g-border-light);
  border-radius: var(--g-radius-lg);
  padding: 1.25rem;
}

.sidebar-card h3 {
  font-family: var(--g-font-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--g-text);
  margin: 0 0 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--g-border);
  letter-spacing: -0.01em;
}

.sidebar-gallery-sub {
  font-size: 0.8125rem;
  color: var(--g-text-muted);
  margin: -0.25rem 0 0.875rem;
  font-family: var(--g-font-sans);
}

.sidebar-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}

.sidebar-gallery-item {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--g-radius);
  overflow: hidden;
  background: var(--g-bg-alt);
}

.sidebar-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.sidebar-gallery-item:hover img { transform: scale(1.06); }

.sidebar-gallery-link {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--g-text);
  text-align: center;
  padding: 0.5rem;
  border: 1px solid var(--g-border);
  border-radius: var(--g-radius);
  text-decoration: none;
  transition: all var(--g-transition);
  font-family: var(--g-font-sans);
}

.sidebar-gallery-link:hover {
  background: var(--g-text);
  color: #fff;
  border-color: var(--g-text);
}

.sidebar-cta {
  background: var(--g-bg-subtle);
  border: 1px solid var(--g-border);
}

.sidebar-cta h3 {
  border-bottom-color: var(--g-border);
}

.sidebar-cta p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--g-text-secondary);
  margin: 0 0 1rem;
  font-family: var(--g-font-sans);
}

/* Related Articles */
.article-related {
  background: var(--g-bg-subtle);
  border-top: 1px solid var(--g-border);
  padding: 3.5rem 2rem;
}

.article-related-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.article-related-title {
  font-family: var(--g-font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--g-text);
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-related-card {
  display: flex;
  flex-direction: column;
  background: var(--g-bg);
  border: 1px solid var(--g-border-light);
  border-radius: var(--g-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--g-transition);
}

.article-related-card:hover {
  box-shadow: var(--g-shadow-md);
}

.article-related-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--g-bg-alt);
  overflow: hidden;
}

.article-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.article-related-card:hover .article-related-image img { transform: scale(1.04); }

.article-related-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--g-text-muted);
}

.article-related-image-placeholder svg {
  width: 28px;
  height: 28px;
  opacity: 0.2;
}

.article-related-category {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  padding: 0.2rem 0.5rem;
  background: var(--g-text);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  font-family: var(--g-font-sans);
}

.article-related-content {
  padding: 1rem 1.125rem 1.125rem;
  flex: 1;
}

.article-related-content h3 {
  font-family: var(--g-font-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--g-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.article-related-arrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--g-text-muted);
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--g-border-light);
  font-family: var(--g-font-sans);
  transition: color var(--g-transition);
}

.article-related-card:hover .article-related-arrow { color: var(--g-text); }

/* CTA */
.article-cta {
  background: var(--g-bg);
  border-top: 1px solid var(--g-border);
  padding: 4rem 2rem;
}

.article-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.article-cta-content h2 {
  font-family: var(--g-font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: var(--g-text);
  margin-bottom: 0.875rem;
  letter-spacing: -0.02em;
}

.article-cta-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--g-text-secondary);
  margin-bottom: 1.75rem;
  font-family: var(--g-font-sans);
}

.article-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* Back Link */
.article-back {
  text-align: center;
  padding: 2rem;
  background: var(--g-bg);
  border-top: 1px solid var(--g-border);
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--g-font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--g-text);
  text-decoration: none;
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--g-border);
  border-radius: 999px;
  background: var(--g-bg);
  transition: all var(--g-transition);
}

.article-back-link:hover {
  background: var(--g-text);
  color: #fff;
  border-color: var(--g-text);
}

.article-back-link svg { width: 15px; height: 15px; }

/* Quick Facts sidebar */
.facts-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.facts-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--g-border-light);
  font-size: 0.875rem;
  font-family: var(--g-font-sans);
}

.facts-item:last-child { border-bottom: none; }

.facts-item dt {
  color: var(--g-text-muted);
  flex-shrink: 0;
}

.facts-item dd {
  font-weight: 500;
  color: var(--g-text);
  text-align: right;
  font-size: 0.8125rem;
}

/* Sidebar CTA */
.sidebar-cta .btn-full {
  width: 100%;
  display: block;
  text-align: center;
}

/* Share button color variants */
.share-twitter:hover { color: #1da1f2 !important; border-color: #1da1f2 !important; }
.share-facebook:hover { color: #1877f2 !important; border-color: #1877f2 !important; }
.share-linkedin:hover { color: #0a66c2 !important; border-color: #0a66c2 !important; }

/* Responsive */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar-sticky {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .article-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .article-hero { min-height: 380px; }

  .article-hero-content {
    padding: calc(70px + 2rem) 1rem 2rem;
  }

  .article-layout {
    padding: 2rem 1rem 3rem;
  }

  .article-sidebar-sticky {
    grid-template-columns: 1fr;
  }

  .article-body { padding: 1.5rem; }

  .article-trust-grid { grid-template-columns: 1fr; gap: 1rem; }

  .article-related-grid { grid-template-columns: 1fr; }

  .article-share { flex-direction: column; gap: 0.75rem; }
  .article-share-buttons { flex-wrap: wrap; justify-content: center; }
}

/* Back link section title */
.article-sidebar-title {
  font-family: var(--g-font-serif);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--g-text);
  margin: 0 0 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--g-border);
  letter-spacing: -0.01em;
}

/* Sidebar gallery card fix */
.sidebar-gallery-sub {
  font-size: 0.8125rem;
  color: var(--g-text-muted);
  margin: -0.25rem 0 0.875rem;
  font-family: var(--g-font-sans);
}
