/* ------------------------------------------------------
   Allgemeine Variablen und Grundlayout
------------------------------------------------------ */

:root {
  --accent-blue: #2b33ff;
  --accent-turquoise: #00bfae;
  --accent-pink: #ff63a5;
  --text-color: #111;
  --background: #fafafa;
  --muted: #666;
  --line-height: 1.65;
  --font-body: "Georgia", serif; /* Serifenschrift für den Fließtext */
  --font-heading: "Merriweather", serif; /* Serifenschrift für Überschriften */
  --font-serif: "Source Serif Pro", serif; /* Alternative Serifenschrift */
}

/* ------------------------------------------------------
   Grundlayout
------------------------------------------------------ */

html {
  font-size: clamp(16px, 1.8vw, 20px);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-color);
  background: var(--background);
  line-height: var(--line-height);
  margin: 0;
  padding: 0;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  hyphens: auto;
}

/* ------------------------------------------------------
   Container und Artikel
------------------------------------------------------ */

.container {
  width: min(90%, 740px);
  margin-inline: auto;
  padding: 3rem 0 5rem;
}

article {
  max-width: 65ch;
  margin-inline: auto;
}

/* ------------------------------------------------------
   Texte und Zitate
------------------------------------------------------ */

p {
  font-size: 1.125rem;
  margin: 1.8em 0;
  max-width: 65ch;
  line-height: 1.75;
}

/* Erster Buchstabe des ersten Absatzes in größerer Schrift */
.post-body p:first-of-type::first-letter {
  font-family: "Uncial Antiqua", serif;
  float: left;
  font-size: 6rem;
  line-height: 1;
  padding-right: 0.1em;
  color: #a13d2d;
}



/* ------------------------------------------------------
   Blockquote Stil: Serifenlose Schrift, türkisfarbene Linie, luftiger Stil
------------------------------------------------------ */

blockquote {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #C76556;
  margin: 2.5rem 0;
  line-height: 1.75;
  border-left: 6px solid #C76556;
  background-color: #f9f9fb;
  padding: 1.5rem 1.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Entferne die typografischen Anführungszeichen */
blockquote::before,
blockquote::after {
  content: none;
}

/* ------------------------------------------------------
   Überschriften
------------------------------------------------------ */

.post-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1.25;
  color: #0f1724;
  margin: 0 0 1.5rem 0;
}



.post-meta {
  display: block; /* Sicherstellen, dass es als Block angezeigt wird */
  font-family: "Inter", sans-serif; /* Serifenlose Schrift */
  font-size: 0.9rem; /* Kleinere Schrift */
  color: #888; /* Grauton */
  text-align: center; /* Zentrierte Ausrichtung */
  margin: 0 0 1.5rem 0; /* Konsistenter Abstand nach unten */
}

/* ------------------------------------------------------
   Artikelbilder mit runden Ecken
------------------------------------------------------ */

.article-image {
  margin: 2rem 0;
}

.article-image img {
  width: 100%;
  height: auto;
  border-radius: 12px; /* Runde Ecken */
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08); /* Sanfter Schatten */
}

.article-image figcaption {
  font-family: "Inter", sans-serif; /* Serifenlose Schrift */
  font-size: 0.875rem; /* Kleinere Schrift für die Unterschrift */
  color: #888; /* Grauer Text für die Bildunterschrift */
  text-align: center;
  margin-top: 0.5rem; /* Etwas Abstand zum Bild */
  font-style: italic; /* Kursiv für den eleganten Look */
}

.article-image figcaption {
  font-family: "Inter", sans-serif; /* Serifenlose Schrift */
  font-size: 0.875rem; /* Kleinere Schrift für die Unterschrift */
  color: #888; /* Grauer Text für die Bildunterschrift */
  text-align: center;
  margin-top: 0.5rem; /* Etwas Abstand zum Bild */
  font-style: italic; /* Kursiv für den eleganten Look */
}

/* ------------------------------------------------------
   Links und Footer
------------------------------------------------------ */

a {
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--accent-turquoise);
  border-color: var(--accent-turquoise);
}


hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 3rem auto;
  width: 60%;
}

footer {
  text-align: center;
  color: #777;
  font-size: 1rem;
  margin-top: 4rem;
  border-top: 1px solid #eee;
  padding: 1.5rem 0;
}

footer .back {
  font-size: 1rem;
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: bold;
}

footer .back:hover {
  color: var(--accent-turquoise);
}

/* ------------------------------------------------------
   Responsivität (Mobile)
------------------------------------------------------ */

@media (max-width: 700px) {
  .container {
    width: 92%;
    padding: 2rem 0 3rem;
  }

  .post-title {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }

  blockquote {
    font-size: 1rem;
  }

  .social-bar {
    justify-content: center;
  }
}
