/* ====================== ENHANCED ARTICLE PAGE CSS ====================== */
/* Add these styles to your hallermann-consulting-styles.css file */

/* ==================== ARTICLE LAYOUT ENHANCEMENTS ==================== */


/* Header container - always centered */
.header-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  width: 100%;
}

/* Site branding - logo + text always centered */
.site-branding {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
}

.header-logo-link {
  display: block;
  margin-bottom: 0.5rem;
}

.header-logo {
  width: 80px;
  height: auto;
  display: block;
}

.site-title-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
  text-align: center;
}

/* Navigation container */
.nav-shell {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  transition: all 0.3s ease;
}

/* Navigation links */
.nav-link-paint {
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-link-paint:hover,
.nav-link-paint.active {
  color: #fec01c;
  background: rgba(254, 192, 28, 0.1);
  transform: translateY(-1px);
}

/* Hamburger menu button - hidden by default */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-top: 0.5rem;
  z-index: 1000;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #4b5563;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ==================== RESPONSIVE BREAKPOINTS ==================== */

/* Tablet - keep desktop layout */
@media (max-width: 1024px) and (min-width: 769px) {
  .header-shell {
    padding: 1rem;
  }
  
  .nav-shell {
    gap: 1.5rem;
  }
  
  .header-logo {
    width: 70px;
  }
  
}

/* Mobile phones only - hamburger menu */
@media (max-width: 768px) {
  .header-shell {
    padding: 1rem;
  }
  
  .header-logo {
    width: 60px;
  }
  
  .site-title-text {
    font-size: 1.25rem;
  }
  
  /* Show hamburger button */
  .mobile-menu-toggle {
    display: flex;
  }
  
  /* Hide nav by default on mobile */
  .nav-shell {
    display: none;
    flex-direction: column;
    gap: 0;
    width: 100%;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    margin-top: 1rem;
    animation: slideDown 0.3s ease-out;
  }
  
  /* Show nav when active */
  .nav-shell.active {
    display: flex;
  }
  
  /* Mobile nav links */
  .nav-link-paint {
    padding: 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid #f3f4f6;
    border-radius: 0;
    margin: 0;
  }
  
  .nav-link-paint:last-child {
    border-bottom: none;
  }
  
  .nav-link-paint:hover {
    background: rgba(254, 192, 28, 0.1);
    transform: none;
  }
}

/* Mobile dropdown animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


  .site-title-text {
      font-size: 1.25rem;
  }
  
  .nav-shell {
      gap: 1rem;
      flex-direction: column; /* Stack nav items on mobile */
      align-items: center;
  }

/* Enhanced main article container */

.main-shell {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px; /* Increased for better reading width */
    margin: 0 auto;
    padding: 2rem 1.5rem 1rem 1.5rem;
    box-sizing: border-box;
    width: 100%;
  }
  
  /* Enhanced top section with better spacing */
  .top-section-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem; /* Increased gap for better separation */
    justify-content: center;
    width: 100%;
    align-items: flex-start;
    margin-bottom: 3rem; /* Increased margin */
    animation: fadeInUp 0.8s ease-out;
  }
  
  /* Enhanced article critical content */
  .article-critical-content {
    flex: 1 1 400px; /* Increased min-width */
    min-width: 350px;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(254, 192, 28, 0.1);
    position: relative;
    overflow: hidden;
  }
  
  /* Premium background pattern */
  .article-critical-content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(254, 192, 28, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
  }
  
  /* Enhanced critical answer text */
  .critical-answer-text {
    color: #fec01c;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(254, 192, 28, 0.1);
  }
  
  /* Enhanced article title */
  .article-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  /* Enhanced article description */
  .article-description {
    font-size: 1.125rem;
    color: #4b5563;
    margin: 0 0 1.5rem 0;
    line-height: 1.7;
    position: relative;
    z-index: 2;
    font-weight: 400;
  }
  
  /* Enhanced article meta */
  .article-meta {
    font-size: 0.95rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    font-weight: 500;
  }
  
  /* Enhanced article tags */
  .article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
  }
  
  .article-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #d97706;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 2rem;
    padding: 0.5rem 1.25rem;
    margin: 0.25rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(254, 192, 28, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .article-tag:hover {
    background: linear-gradient(135deg, #fec01c 0%, #f59e0b 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 192, 28, 0.3);
  }
  
  /* Enhanced image area */
  .image-area {
    flex: 0 1 350px;
    max-width: 400px;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .image-area figure {
    margin: 0;
    position: relative;
  }
  
  .image-area img {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 25px 80px rgba(254, 192, 28, 0.15);
    transition: transform 0.4s ease;
  }
  
  .image-area img:hover {
    transform: scale(1.02);
  }
  
  .image-area figcaption {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 1rem;
    text-align: center;
    font-style: italic;
    line-height: 1.5;
  }
  
  /* ==================== ENHANCED ARTICLE CONTENT ==================== */
  
  /* Enhanced MDX content area */
  .mdx-content-area {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    padding: 3rem 3rem 2rem 3rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(254, 192, 28, 0.1);
    position: relative;
    overflow: hidden;
  }
  
  /* Subtle background pattern */
  .mdx-content-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
      radial-gradient(circle at 20% 20%, rgba(254, 192, 28, 0.02) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(254, 192, 28, 0.02) 0%, transparent 50%);
    pointer-events: none;
  }
  
  /* Enhanced typography */
  .mdx-content-area h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 2rem 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .mdx-content-area h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 3rem 0 1.5rem 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid rgba(254, 192, 28, 0.3);
  }
  
  .mdx-content-area h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
    margin: 2.5rem 0 1.25rem 0;
    line-height: 1.4;
    position: relative;
    z-index: 2;
  }
  
  .mdx-content-area h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4b5563;
    margin: 2rem 0 1rem 0;
    line-height: 1.4;
    position: relative;
    z-index: 2;
  }
  
  .mdx-content-area h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #6b7280;
    margin: 1.5rem 0 0.75rem 0;
    line-height: 1.5;
    position: relative;
    z-index: 2;
  }
  
  .mdx-content-area h6 {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    margin: 1.5rem 0 0.5rem 0;
    line-height: 1.5;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  /* Enhanced paragraphs and lists */
  .mdx-content-area p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    margin: 0 0 1.5rem 0;
    position: relative;
    z-index: 2;
    font-weight: 400;
  }
  
  .mdx-content-area li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
    margin: 0.5rem 0;
    position: relative;
    z-index: 2;
    font-weight: 400;
  }
  
  .mdx-content-area ul, .mdx-content-area ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    position: relative;
    z-index: 2;
  }
  
  .mdx-content-area ul li {
    list-style: none;
    position: relative;
  }
  
  .mdx-content-area ul li::before {
    content: '•';
    color: #fec01c;
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
    top: -0.1rem;
  }
  
  .mdx-content-area ol li {
    list-style: none;
    counter-increment: list-counter;
    position: relative;
  }
  
  .mdx-content-area ol {
    counter-reset: list-counter;
  }
  
  .mdx-content-area ol li::before {
    content: counter(list-counter) '.';
    color: #fec01c;
    font-weight: 700;
    position: absolute;
    left: -1.5rem;
    top: 0;
  }
  
  /* Enhanced text formatting */
  .mdx-content-area strong {
    font-weight: 700;
    color: #1f2937;
    background: linear-gradient(135deg, rgba(254, 192, 28, 0.1) 0%, rgba(254, 192, 28, 0.05) 100%);
    padding: 0.1em 0.3em;
    border-radius: 0.25rem;
  }
  
  .mdx-content-area em {
    font-style: italic;
    color: #4b5563;
    background: rgba(254, 192, 28, 0.05);
    padding: 0.1em 0.2em;
    border-radius: 0.25rem;
  }
  
  .mdx-content-area u {
    text-decoration: underline;
    text-decoration-color: #fec01c;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
  }
  
  /* Enhanced blockquotes */
  .mdx-content-area blockquote {
    background: linear-gradient(135deg, #fffef8 0%, #fff9e6 100%);
    border-left: 4px solid #fec01c;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 1rem 1rem 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(254, 192, 28, 0.1);
  }
  
  .mdx-content-area blockquote h3 {
    color: #d97706;
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 1rem;
  }
  
  .mdx-content-area blockquote p {
    font-size: 1.125rem;
    color: #4b5563;
    margin-bottom: 0;
    font-style: italic;
  }
  
  .mdx-content-area blockquote ul {
    margin-top: 1rem;
  }
  
  .mdx-content-area blockquote li {
    font-size: 1rem;
    color: #6b7280;
    font-weight: 600;
  }
  
  /* Enhanced tables */
  .mdx-content-area table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  }
  
  .mdx-content-area thead {
    background: linear-gradient(135deg, #fec01c 0%, #f59e0b 100%);
  }
  
  .mdx-content-area th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #d97706;
  }
  
  .mdx-content-area td {
    padding: 1rem;
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
    font-size: 1rem;
    color: #374151;
    vertical-align: top;
  }
  
  .mdx-content-area tbody tr:hover {
    background: rgba(254, 192, 28, 0.05);
  }
  
  .mdx-content-area tbody tr:last-child td {
    border-bottom: none;
  }
  
  /* Enhanced code blocks */
  .mdx-content-area code {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #d97706;
    padding: 0.2em 0.5em;
    border-radius: 0.375rem;
    font-size: 0.9em;
    font-weight: 600;
    border: 1px solid rgba(254, 192, 28, 0.2);
  }
  
  .mdx-content-area pre {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: #e5e7eb;
    padding: 1.5rem;
    border-radius: 1rem;
    overflow-x: auto;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  }
  
  .mdx-content-area pre code {
    background: none;
    color: inherit;
    padding: 0;
    border: none;
    font-size: 0.95em;
  }
  
  /* Enhanced horizontal rules */
  .mdx-content-area hr {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #fec01c 50%, transparent 100%);
    margin: 3rem 0;
    border-radius: 2px;
    position: relative;
    z-index: 2;
  }
  
  /* Enhanced links */
  .mdx-content-area a {
    color: #d97706;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(254, 192, 28, 0.3);
  }
  
  .mdx-content-area a:hover {
    color: #fec01c;
    border-bottom-color: #fec01c;
    transform: translateY(-1px);
  }
  
  /* ==================== TABLE OF CONTENTS ==================== */
  
  /* Enhanced table of contents */
  .toc-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(254, 192, 28, 0.1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
  }
  
  .toc-container h2 {
    color: #1f2937;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-align: center;
    border-bottom: 2px solid rgba(254, 192, 28, 0.3);
    padding-bottom: 0.5rem;
  }
  
  .toc-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .toc-container li {
    margin: 0.75rem 0;
    font-size: 1rem;
  }
  
  .toc-container a {
    color: #4b5563;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border-bottom: none;
  }
  
  .toc-container a:hover {
    color: #fec01c;
    background: rgba(254, 192, 28, 0.05);
    padding-left: 1rem;
    transform: translateX(0.5rem);
  }
  
  .toc-container .toc-level-2 {
    font-weight: 600;
  }
  
  .toc-container .toc-level-3 {
    padding-left: 1.5rem;
    font-weight: 400;
    font-size: 0.95rem;
  }
  
  .toc-container .toc-level-3 a {
    color: #6b7280;
  }
  
  /* ==================== SPECIAL CONTENT BLOCKS ==================== */
  
  /* Callout boxes */
  .mdx-content-area .callout {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #3b82f6;
    border-radius: 1rem;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
  }
  
  .mdx-content-area .callout-warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
  }
  
  .mdx-content-area .callout-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fecaca 100%);
    border-color: #ef4444;
  }
  
  .mdx-content-area .callout-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-color: #22c55e;
  }
  
  /* ==================== RESPONSIVE DESIGN ==================== */
  
  /* Tablet styles */
  @media (max-width: 1024px) {
    .top-section-container {
      flex-direction: column;
      gap: 2rem;
      text-align: center;
    }
    
    .article-critical-content {
      max-width: 100%;
      padding: 2rem;
    }
    
    .article-title {
      font-size: 2rem;
    }
    
    .mdx-content-area {
      padding: 2.5rem 2rem;
    }
    
    .mdx-content-area h1 {
      font-size: 2.25rem;
    }
    
    .mdx-content-area h2 {
      font-size: 1.75rem;
    }
    
    .mdx-content-area table {
      font-size: 0.9rem;
    }
    
    .mdx-content-area th,
    .mdx-content-area td {
      padding: 0.75rem;
    }
  }
  
  /* Mobile styles */
  @media (max-width: 768px) {
    .main-shell {
      padding: 1rem;
    }
    
    .article-critical-content {
      padding: 1.5rem;
      border-radius: 1.5rem;
    }
    
    .article-title {
      font-size: 1.75rem;
    }
    
    .article-description {
      font-size: 1rem;
    }
    
    .article-meta {
      flex-direction: column;
      gap: 0.5rem;
    }
    
    .image-area {
      min-width: 100%;
      margin-top: 1rem;
    }
    
    .mdx-content-area {
      padding: 2rem 1.5rem;
      border-radius: 1.5rem;
    }
    
    .mdx-content-area h1 {
      font-size: 2rem;
    }
    
    .mdx-content-area h2 {
      font-size: 1.5rem;
      margin: 2rem 0 1rem 0;
    }
    
    .mdx-content-area h3 {
      font-size: 1.25rem;
    }
    
    .mdx-content-area p,
    .mdx-content-area li {
      font-size: 1rem;
      line-height: 1.7;
    }
    
    .mdx-content-area table {
      font-size: 0.85rem;
      overflow-x: auto;
      display: block;
      white-space: nowrap;
    }
    
    .mdx-content-area th,
    .mdx-content-area td {
      padding: 0.5rem;
    }
    
    .mdx-content-area blockquote {
      padding: 1.5rem;
      margin: 1.5rem 0;
    }
    
    .mdx-content-area pre {
      padding: 1rem;
      font-size: 0.9rem;
    }
    
    .toc-container {
      padding: 1.5rem;
      border-radius: 1rem;
    }
    
    .toc-container .toc-level-3 {
      padding-left: 1rem;
    }
  }
  
  /* Small mobile styles */
  @media (max-width: 480px) {
    .article-critical-content {
      padding: 1.25rem;
    }
    
    .article-title {
      font-size: 1.5rem;
    }
    
    .critical-answer-text {
      font-size: 1rem;
    }
    
    .mdx-content-area {
      padding: 1.5rem 1rem;
    }
    
    .mdx-content-area h1 {
      font-size: 1.75rem;
    }
    
    .mdx-content-area h2 {
      font-size: 1.375rem;
    }
    
    .mdx-content-area p,
    .mdx-content-area li {
      font-size: 0.95rem;
    }
    
    .mdx-content-area table {
      font-size: 0.8rem;
    }
    
    .article-tags {
      justify-content: center;
    }
    
    .article-tag {
      padding: 0.4rem 1rem;
      font-size: 0.8rem;
    }
  }
  
  /* ==================== ANIMATIONS ==================== */
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  /* ==================== ACCESSIBILITY ENHANCEMENTS ==================== */
  
  /* High contrast mode support */
  @media (prefers-contrast: high) {
    .mdx-content-area {
      border: 3px solid #000;
    }
    
    .mdx-content-area table {
      border: 2px solid #000;
    }
    
    .mdx-content-area th,
    .mdx-content-area td {
      border: 1px solid #000;
    }
  }
  
  /* Reduced motion preferences */
  @media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    
    .image-area img:hover {
      transform: none;
    }
  }
  
  /* Focus management */
  .mdx-content-area a:focus,
  .toc-container a:focus,
  .article-tag:focus {
    outline: 3px solid rgba(254, 192, 28, 0.6);
    outline-offset: 2px;
  }
  
  /* ==================== PRINT STYLES ==================== */
  
  @media print {
    .article-critical-content,
    .mdx-content-area {
      background: #fff !important;
      box-shadow: none !important;
      border: 1px solid #000 !important;
    }
    
    .mdx-content-area h1,
    .mdx-content-area h2,
    .mdx-content-area h3 {
      color: #000 !important;
    }
    
    .mdx-content-area table {
      break-inside: avoid;
    }
    
    .mdx-content-area blockquote {
      break-inside: avoid;
      border: 1px solid #000 !important;
    }
    
    .article-tag {
      background: #fff !important;
      color: #000 !important;
      border: 1px solid #000 !important;
    }
  }
  
  /* ==================== DARK MODE SUPPORT (FUTURE) ==================== */
  
  @media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here when needed */
    .mdx-content-area {
      background: rgba(31, 41, 55, 0.95);
      color: #e5e7eb;
    }
    
    .mdx-content-area h1,
    .mdx-content-area h2,
    .mdx-content-area h3,
    .mdx-content-area h4,
    .mdx-content-area h5,
    .mdx-content-area h6 {
      color: #f9fafb;
    }
    
    .mdx-content-area p,
    .mdx-content-area li {
      color: #d1d5db;
    }
  }

  /* ==================== ADDITIONAL CSS FOR IMAGE SECTION ==================== */

/* Enhanced article image figure */
.article-image-figure {
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Enhanced article hero image */
  .article-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 1.2em;
    box-shadow: 0 2px 18px rgba(44, 45, 60, 0.06);
    transition: transform 0.4s ease;
  }
  
  .article-hero-image:hover {
    transform: scale(1.02);
  }
  
  /* Enhanced article image caption */
  .article-image-caption {
    font-size: 0.98rem;
    color: #666;
    margin-top: 0.9em;
    text-align: center;
    font-style: italic;
    line-height: 1.5;
    max-width: 100%;
  }