.galerie {
  display: grid;
  grid-template-columns: repeat(var(--galerie-spalten, 3), 1fr);
  gap: 8px;
}

.galerie a {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.galerie img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .25s ease-out;
}

.galerie img:hover {
  transform: scale(1.03);
}

@media screen and (max-width: 767px) {
  .galerie {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 620px) {
  .galerie {
    grid-template-columns: 1fr;
  }
}

.galerie + p {
  margin-top: 20px;
}

/* Dropdown-Menü */
.menu__item--has-children {
  position: relative;
}

.js .menu__list .menu__sub,
.menu__sub {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  background: #2a2a2a;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 220px;
  z-index: 100;
}

.menu__item--has-children:hover .menu__sub {
  display: block !important;
}

.menu__sub .menu__item {
  border-left: 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  width: 100%;
  float: none;
}

.menu__sub .menu__link {
  white-space: nowrap;
}

.content.post__content figure img {
  max-width: 75% !important;
}

.content.post__content figure {
  text-align: center;
}

.content.post__content figure figcaption {
  max-width: 75%;
  margin: 4px auto 0;
}

/* Königsplaketten */
.koenige {
  display: grid;
  grid-template-columns: repeat(var(--koenige-spalten, 4), 1fr);
  gap: 1rem;
}

.koenig-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.koenig-titel {
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: 0.4rem 0;
  font-size: 1rem;
  font-family: inherit;
}

.koenig-titel:hover {
  text-decoration: underline;
}

.koenig-text {
  font-size: 0.9rem;
  line-height: 1.5;
  padding-bottom: 0.5rem;
}

@media screen and (max-width: 767px) {
  .koenige {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 620px) {
  .koenige {
    grid-template-columns: 1fr;
  }
}

:root {
  --bild-breite: 75%;
}

.content.post__content figure img {
  max-width: var(--bild-breite) !important;
}

.zweispaltig {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--bild-breite);
  margin: 0 auto 1.25rem;
  gap: 16px;
}

.zweispaltig figure {
  margin: 0;
  text-align: center;
}

.zweispaltig figure img {
  width: 100%;
  height: auto;
  display: block;
}

.zweispaltig figure figcaption {
  font-size: 0.85em;
  color: #666;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .zweispaltig {
    grid-template-columns: 1fr;
  }
}
