body {
  font-family: "Georgia", serif;
  max-width: 700px;
  margin: 2em auto;
  padding: 1.5em;
  background-color: #fdf6e3; /* warmes Pergament-Beige */
  color: #3b2f2f; /* dunkles Braun für besseren Kontrast */
  line-height: 1.6;
  background-image: radial-gradient(#f9f3e8 1px, transparent 1px);
  background-size: 10px 10px;
}


.liedtext {
  white-space: pre-wrap;
  font-family: "Courier New", monospace;
  font-size: 1.1em; 
  background-color: #fdfaf3;
  padding: 1em;
  border-left: 4px solid #c2a675;
  color: #3b2f2f;
  line-height: 1.6;
}

.accordion {
  border: 1px solid #d8c3a5;
  border-radius: 5px;
  margin-bottom: 1em;
  background-color: #f8f1e4;
}

.accordion summary {
  cursor: pointer;
  padding: 0.5em 1em;
  font-weight: bold;
  background-color: #e6d3b3;
  border-bottom: 1px solid #d1bfa3;
  color: #4b3d2b;
  font-family: "Georgia", serif;
}

.accordion[open] summary {
  background-color: #d4ba8c;
}

.accordion ul em {
  margin: 0;
  padding: 0.5em 1.2em;
  list-style: none;
  color: #5b4b3a;
}

.accordion ul li em {
  margin-bottom: 0.4em;
}

.tags a {
  text-decoration: none;
  border-bottom: 1px dotted #a27b45;
  cursor: help;
  color: #6b4c2f;
}

.tags a:hover {
  color: #9b6435;
}

.initial {
  font-family: "Georgia", serif;
  font-size: 2.2em;
  color: #4b3d2b;
  border-bottom: 2px dotted #c2a675;  
}

.article-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.5rem;
}  
  
.credentials {
  line-height: 1.2;
  font-size: 0.8em;
  margin-bottom: 1.5rem;
}

.info-block {
  flex: 1;
}

.image-block {
  float: right;
  margin: 0 0 1em 1em;
  text-align: center;
  font-size: 0.8em;
  color: #6a5a4d;
  width: 250px;  /* feste Breite für das Bild */
  flex-shrink: 0; /* Bild soll nicht schrumpfen */  
}

.image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(50, 30, 0, 0.2);
}

.image-block figcaption {
  margin-top: 0.5em;
  line-height: 1.3;
  text-align: right;
  font-style: italic;
}

.license {
  text-align: right;
  font-size: 0.8em;
  margin-top: 2em;
  color: #7d6a55;
  font-style: italic;
}

nav {
  background-color: #ecdcc3;
  padding: 0.5em 1em;
  border-bottom: 1px solid #c2a675;
  font-family: "Georgia", serif;
  height: 25px;
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: space-between; /* Links: Menü, rechts: Logo */
  align-items: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5em;
}

nav li {
  margin: 0;
}

nav a {
  text-decoration: none;
  color: #4b3d2b;
  font-weight: bold;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #9b6435;
}

/* Wappen rechts außen und größer als die Navbar */
.nav-logo {
  height: 25px;
  overflow: visible;
  display: flex;
  align-items: center;
  z-index: 10;
  margin-left: 1em;
}

.nav-logo img {
  height: 120px;
  margin-top: -20px;
  margin-bottom: -20px;
  object-fit: contain;
  display: block;
}

/* Bild von Traumwaechterin */

.img-mina img {
  display: flex;
  align-items: flex-end; 
  gap: 1rem;
  width: 80px;
  margin-bottom: 10px;
}  

.article-navigation {
  background: none;
  background-color: transparent;
  padding: 0;
  margin-top: 2em; /* optional Abstand */
  border: none;
  line-height: 1.2;
  font-size: 0.8em;
  margin-bottom: 1.5rem;
  }
  

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  justify-items: center; /* sorgt dafür, dass die Bilder in ihrer Spalte zentriert stehen */
}

.gallery-item {
  width: 200px;        /* feste Breite für alle Kacheln */
  aspect-ratio: 4 / 5.5; /* Höhe wird automatisch auf 4:5 gesetzt */
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* füllt die Box, schneidet bei Bedarf Überstände */
  display: block;
}
