/* ============================================================
   Schrift unter Bild – zentrales Stylesheet
   Schlichter, heller Blog-Look (angelehnt an das alte Theme)
   ============================================================ */

:root {
  --text: #333;
  --grau: #777;
  --akzent: #1e73be;
  --rand: #e5e5e5;
  --hellgrau: #fafafa;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--hellgrau);
}

.seite {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--rand);
  border-right: 1px solid var(--rand);
}

/* ---------- Kopf ---------- */
header {
  padding: 36px 40px 0;
  border-bottom: 1px solid var(--rand);
  text-align: center;
}
.blogtitel {
  font-size: 34px;
  letter-spacing: 1px;
}
.blogtitel a { color: var(--text); text-decoration: none; }
.untertitel {
  color: var(--grau);
  font-style: italic;
  margin-top: 4px;
}
header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 22px;
  padding-bottom: 14px;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}
header nav a { color: var(--text); text-decoration: none; }
header nav a:hover { color: var(--akzent); }

/* ---------- Inhalt ---------- */
main { flex: 1; padding: 35px 40px 55px; }

article h1 {
  font-size: 28px;
  font-weight: normal;
  margin-bottom: 4px;
}
.meta {
  color: var(--grau);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  margin-bottom: 1.4em;
}
article p { margin-bottom: 1em; }
article h2, article h3 {
  font-weight: normal;
  margin: 1.4em 0 .5em;
}
article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.2em auto;
}
article ul, article ol { margin: 0 0 1em 1.4em; }
article a { color: var(--akzent); }

/* Beitragsübersicht auf der Startseite */
.beitragsliste { list-style: none; margin: 1em 0 0 !important; }
.beitragsliste li {
  padding: 10px 0;
  border-bottom: 1px solid var(--rand);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
}
.beitragsliste a { text-decoration: none; font-size: 19px; }
.beitragsliste a:hover { text-decoration: underline; }
.beitragsliste .meta { margin: 0; white-space: nowrap; }

/* ---------- Fuß ---------- */
footer {
  border-top: 1px solid var(--rand);
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  color: var(--grau);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 13px;
}
footer ul { list-style: none; display: flex; gap: 18px; }
footer a { color: var(--grau); text-decoration: none; }
footer a:hover { color: var(--akzent); }

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
  .seite { border: none; }
  header { padding: 24px 20px 0; }
  main { padding: 25px 20px 45px; }
  footer { padding: 16px 20px; flex-direction: column; gap: 8px; }
  .beitragsliste li { flex-direction: column; gap: 2px; }
}
