/* Container, der den Artikel zentriert: links und rechts 15% Rand */
.article-container {
    margin: 0 auto;
    width: 70%;
    max-width: 960px;
    padding: 1rem;
    background: var(--bg-color);
    color: var(--text-color);
  }

  .article-cover {
    display: block;
    margin: auto;
    width: 20%;
  }
  
  /* Artikel Header */
  .article-header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
  }
  
  .article-title {
    font-size: 2rem;
    margin: 0;
  }
  
  .article-subtitle {
    font-size: 1.4rem;
    margin: 0.2rem 0 0.5rem;
  }
  
  .article-meta {
    font-size: 0.9rem;
    color: #8f8f8f;
  }
  
  /* Artikel Abschnitt */
  .article-section {
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    padding-bottom: 0.3rem;
  }
  
  /* Code Block Styling */
  .code {
    background: #f5f5f5;
    color: black;
    border: 1px solid #ddd;
    padding-left: 1rem;
    overflow-x: auto;
    font-family: monospace;
    margin-bottom: 0.5rem;
  }
  
  .code-highlight {
    background: #e8f0fe;
    color: black;
    border: 1px solid #b3c7f9;
    padding: 0.2rem;
    font-family: monospace; /* Code font */
    margin: 0.5rem 0;
  }

  /* Text Block Styling / Text Highlight */
  .text-highlight {
    background: var(--accent-color);
    color: black;
    border: 1px solid var(--accent-color);
    padding: 0.2rem;
    margin: 0.5rem 0;
  }

  /* Direkte Zitate */
  .direct-quote {
    border-left: 4px solid var(--accent-color); /* Akzentfarbe als Rand */
    background-color: #f5f5f5;  /* Heller Hintergrund */
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    font-style: italic;
    color: #555;
    text-align: center;
  }

  .direct-quote footer {
    font-size: 0.8rem;
    text-align: right;
    margin-top: 0.5rem;
    color: #777;
  }

  /* Figure with caption */
  .article-figure {
    margin: 1rem 0;
    text-align: center;
  }
  
  .article-figure img {
    max-width: 100%;
    height: auto;
  }
  
  .image-caption {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    font-style: italic;
  }
  
  /* Video with Caption */
  .article-video {
    margin: 1rem 0;
    text-align: center;
  }
  
  .article-video video {
    max-width: 100%;
    height: auto;
  }
  
  .video-caption {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    font-style: italic;
  }

  /* External Video with Caption */
  .external-video {
    margin: 1rem 0;
    text-align: center;
  }
  
  .external-video iframe {
    width: 100%;
    max-width: 800px;
    height: 450px; /* oder ein responsives Verhältnis, z.B. per aspect-ratio */
    border: none;
    border-radius: 4px;
  }
  
  .video-caption {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    font-style: italic;
  }

  /* Macro für die Einbindung von Audio in einem Artikel */
  .article-audio {
    text-align: center;
    margin: 1rem 0;
  }
  
  .article-audio audio {
    display: block;
    margin: auto;
  }
  
  .audio-caption {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 0.5rem;
    font-style: italic;
  }

  /* Space between content and content footer */
  .spacer {
    margin: 1rem;
  }

  /* Footer des Artikels */
  .article-footer {
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
  }
  .article-footer p {
    text-align: center;
  }
  
  .footer-up-btn {
    text-align: right;
  }

  .up-btn {
    font-size: 1.2rem;
  }

  /* Standard Links: unterstrichen */
  a {
    text-decoration: underline;
    color: var(--text-color);
  }
  
  /* Responsive: Bei kleineren Bildschirmen wird der Container schmaler */
  @media (max-width: 768px) {
    .article-container {
      width: 90%;
    }
    .article-cover {
      display: block;
      margin: auto;
      width: 25%;
    }
  }
  