/* ==========================================================================
   BDG GAME (bdggame01.com) - Professional Mobile-First Editorial Design System
   Optimized for 90%+ Smartphone Traffic & MilesWeb High-Speed Hosting
   Crisp, Clean, Human-Designed Light Editorial Aesthetic
   ========================================================================== */

:root {
  /* Surface & Background Palette (Crisp Light Theme) */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-muted: #e2e8f0;
  
  /* Brand Accents (Trustworthy Royal Blue & Warm Amber) */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  
  --accent-amber: #d97706;
  --accent-amber-light: #fffbeb;
  --accent-amber-border: #fde68a;

  --accent-emerald: #059669;
  --accent-emerald-light: #ecfdf5;
  --accent-emerald-border: #a7f3d0;

  --accent-rose: #dc2626;
  --accent-rose-light: #fef2f2;
  --accent-rose-border: #fecaca;

  /* Typography Colors */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Borders & Shadows */
  --border-light: #e2e8f0;
  --border-card: #cbd5e1;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-sticky: 0 -4px 16px rgba(15, 23, 42, 0.08);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sizing & Radius */
  --max-width: 1140px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.2s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.7;
  font-size: 1.02rem;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Reading Progress Bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  width: 0%;
  z-index: 1100;
  transition: width 0.1s ease-out;
}

/* Mobile-First Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.8rem;
  letter-spacing: -0.015em;
}

h1 {
  font-size: 1.75rem; /* Phone default */
  font-weight: 800;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.35rem; /* Phone default */
  margin-top: 2.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-subtle);
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 45px;
  height: 2px;
  background: var(--primary);
}

h3 {
  font-size: 1.18rem;
  margin-top: 1.5rem;
  color: var(--text-main);
}

h4 {
  font-size: 1.05rem;
  margin-top: 1rem;
  color: var(--text-main);
}

p {
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
  color: var(--primary-hover);
}

strong {
  color: var(--text-main);
  font-weight: 600;
}

ul, ol {
  margin-bottom: 1.3rem;
  padding-left: 1.3rem;
}

li {
  margin-bottom: 0.45rem;
}

/* Mobile Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem; /* 16px on phones */
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}

.brand-logo span:first-child {
  color: var(--primary);
}

.logo-badge {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.nav-links {
  display: none; /* Hidden on mobile by default */
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-toggle {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 1.25rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 40px;
  min-width: 44px;
}

/* Hero Section */
.hero-section {
  padding: 1.5rem 0 1rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero-meta-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
}

.hero-title-highlight {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

/* Clean Professional Buttons */
.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  min-height: 48px; /* Thumb touch-friendly */
  text-align: center;
}

.btn-primary:hover {
  background: var(--primary-hover);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-main) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  min-height: 48px;
  text-align: center;
}

.btn-secondary:hover {
  background: var(--bg-muted);
  text-decoration: none;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
  text-align: center;
}

.stat-box {
  background: var(--bg-subtle);
  padding: 0.6rem 0.4rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.stat-number {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.hero-visual {
  margin-top: 0.5rem;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

.hero-image-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-image-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Compliance Notice Banner (Light Warning Style) */
.compliance-banner {
  background: var(--accent-rose-light);
  border: 1px solid var(--accent-rose-border);
  border-left: 4px solid var(--accent-rose);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  margin: 1.2rem 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.compliance-icon {
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent-rose);
  flex-shrink: 0;
}

.compliance-text {
  font-size: 0.88rem;
  color: #881337;
  line-height: 1.55;
}

.compliance-text strong {
  color: #4c0519;
}

/* Layout: Article & Sidebar */
.main-layout {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.article-content {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.1rem;
  box-shadow: var(--shadow-sm);
}

/* Table of Contents (TOC) - Collapsible on Mobile */
.toc-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin: 1.5rem 0;
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-card);
  cursor: pointer;
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toc-toggle-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: toc-counter;
}

.toc-item {
  counter-increment: toc-counter;
  margin-bottom: 0.5rem;
}

.toc-link {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text-body);
  font-size: 0.92rem;
  padding: 4px 6px;
  border-radius: 4px;
  transition: var(--transition);
}

.toc-link::before {
  content: counter(toc-counter, decimal-leading-zero) ".";
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  font-family: var(--font-heading);
}

.toc-link:hover, .toc-link.active {
  color: var(--primary);
  background: var(--primary-light);
  text-decoration: none;
}

/* Hindi Devanagari Callout Box (Light Saffron/Gold Editorial Style) */
.hindi-callout {
  background: var(--accent-amber-light);
  border: 1px solid var(--accent-amber-border);
  border-left: 4px solid var(--accent-amber);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.2rem;
  margin: 1.5rem 0;
}

.hindi-callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #78350f;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.hindi-callout-header .lang-badge {
  background: var(--accent-amber);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 3px;
}

.hindi-content {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #451a03;
}

.hindi-content p:last-child {
  margin-bottom: 0;
}

/* Quick Facts Grid */
.fact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.fact-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 0.9rem;
  border-radius: var(--radius-sm);
}

.fact-item-title {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 3px;
}

.fact-item-value {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-heading);
}

/* Step-by-Step Box (HowTo) */
.steps-container {
  margin: 1.4rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.step-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
}

.step-number {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: var(--primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-details h4 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  color: var(--text-main);
  font-size: 1.02rem;
}

.step-details p {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* Clean Editorial In-Article Button Box */
.article-cta-box {
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.2rem;
  margin: 2rem 0;
  text-align: center;
}

.article-cta-box h3 {
  font-size: 1.25rem;
  margin-top: 0;
  color: var(--text-main);
}

.article-cta-box p {
  max-width: 500px;
  margin: 0.5rem auto 1.2rem;
  color: var(--text-body);
  font-size: 0.94rem;
}

.article-cta-box .btn-primary {
  width: 100%;
  max-width: 320px;
}

/* Responsive Table (Horizontal Touch Swipe on Phone) */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.table-swipe-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  padding: 4px 8px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  min-width: 500px; /* Enables smooth swipe on mobile */
}

thead {
  background: var(--bg-subtle);
  border-bottom: 2px solid var(--border-card);
}

th {
  padding: 0.8rem 1rem;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 700;
  white-space: nowrap;
}

td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

tbody tr:nth-child(even) {
  background: #fafafa;
}

.badge-green {
  display: inline-block;
  background: var(--accent-emerald-light);
  color: var(--accent-emerald);
  border: 1px solid var(--accent-emerald-border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-gold {
  display: inline-block;
  background: var(--accent-amber-light);
  color: var(--accent-amber);
  border: 1px solid var(--accent-amber-border);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Pros and Cons Evaluation */
.pros-cons-grid {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.pro-box, .con-box {
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.pro-box {
  border-top: 3px solid var(--accent-emerald);
}

.con-box {
  border-top: 3px solid var(--accent-rose);
}

.pro-header {
  color: var(--accent-emerald);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.con-header {
  color: var(--accent-rose);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.pros-list, .cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pros-list li, .cons-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}

.pros-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: bold;
}

.cons-list li::before {
  content: '✕';
  position: absolute;
  left: 0;
  color: var(--accent-rose);
  font-weight: bold;
}

/* FAQ Accordion (Clean Light Style) */
.faq-section {
  margin: 2rem 0;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1rem 1.1rem;
  background: transparent;
  border: none;
  text-align: left;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-rose);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-out, padding 0.25s ease;
  padding: 0 1.1rem;
  color: var(--text-body);
  font-size: 0.92rem;
  background: var(--bg-body);
}

.faq-item.active .faq-answer {
  padding: 0.8rem 1.1rem 1rem;
  border-top: 1px solid var(--border-light);
}

/* Legal Warning Box (Section 13) */
.legal-warning-section {
  background: #ffffff;
  border: 1px solid var(--accent-rose-border);
  border-left: 4px solid var(--accent-rose);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.1rem;
  margin: 2rem 0 1rem;
}

.legal-warning-title {
  color: var(--accent-rose);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.legal-warning-content {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #475569;
}

/* Sidebar on Desktop / Hidden on Mobile */
.sidebar {
  display: none;
}

/* Site Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-links-title {
  color: var(--text-main);
  font-size: 0.98rem;
  margin-bottom: 0.8rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 0.45rem;
}

.footer-nav a {
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 1.2rem;
  text-align: center;
  font-size: 0.8rem;
}

/* Mobile Sticky Bottom CTA Bar (Optimized for Phones) */
.mobile-sticky-cta {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-light);
  padding: 0.65rem 1rem;
  z-index: 999;
  box-shadow: var(--shadow-sticky);
}

.mobile-sticky-cta .btn-primary {
  width: 100%;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
}

/* Spacing at bottom of page so content isn't covered by sticky bar */
body {
  padding-bottom: 72px;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 998;
  box-shadow: var(--shadow-md);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   DESKTOP / TABLET ENHANCEMENTS (Responsive Breakpoints)
   ========================================================================== */

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .mobile-sticky-cta {
    display: none; /* Hide bottom sticky bar on tablets/desktops */
  }

  h1 {
    font-size: 2.3rem;
  }

  h2 {
    font-size: 1.7rem;
    margin-top: 2.8rem;
  }

  .hero-section {
    padding: 2.5rem 0 2rem;
  }

  .hero-cta-group {
    flex-direction: row;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
  }

  .pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .fact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-links a {
    color: var(--text-body);
    font-size: 0.92rem;
    font-weight: 500;
  }

  .nav-links a:hover {
    color: var(--primary);
  }

  .menu-toggle {
    display: none;
  }

  .main-layout {
    display: grid;
    grid-template-columns: 1fr 310px;
    gap: 2rem;
    margin-top: 2.5rem;
  }

  .article-content {
    padding: 2.5rem 2.2rem;
  }

  .sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 80px;
    align-self: start;
  }

  .sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 1.4rem;
    box-shadow: var(--shadow-sm);
  }

  .sidebar-title {
    font-size: 1.08rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
  }

  .quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .quick-links-list li {
    margin-bottom: 0.5rem;
  }

  .quick-links-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-body);
    font-size: 0.88rem;
    padding: 6px 8px;
    border-radius: 4px;
    transition: var(--transition);
  }

  .quick-links-list a:hover {
    background: var(--primary-light);
    color: var(--primary);
    text-decoration: none;
  }
}
