/* Ergänzungen für die statische Version (Galerie, Lightbox, Terminliste) */
.hfs-events { list-style: none; margin-left: 0; }
.hfs-events li { margin-bottom: 1.2rem; }
.entry-content table { width: auto; border: 0; background: transparent; }
.entry-content table tr, .entry-content table td { background: transparent; border: 0; }

.hfs-gallery-title { margin: 1.6rem 0 .6rem; }
.hfs-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px; }
.hfs-gallery a { display: block; border: 0; line-height: 0; background: #ebebeb; }
.hfs-gallery img { width: 100%; height: 100px; object-fit: cover; display: block; }
.hfs-gallery a:hover img, .hfs-gallery a:focus img { opacity: .85; }

.hfs-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center;
  justify-content: center; background: rgba(0,0,0,.88); }
.hfs-lightbox.open { display: flex; }
.hfs-lightbox img { max-width: 92vw; max-height: 88vh; box-shadow: 0 0 20px #000; }
.hfs-lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 2.4rem;
  line-height: 1; cursor: pointer; padding: .6rem 1rem; }
.hfs-lightbox .lb-close { top: 0; right: 0; }
.hfs-lightbox .lb-prev { left: 0; top: 50%; transform: translateY(-50%); }
.hfs-lightbox .lb-next { right: 0; top: 50%; transform: translateY(-50%); }
.hfs-lightbox .lb-count { position: absolute; bottom: .6rem; left: 0; right: 0; text-align: center;
  color: #ddd; font-size: .9rem; }
