/* Einblicke 0.6.0 */
.lsvd-einblick-kicker { margin: 0 0 6px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lsvd-rot); font-weight: 700; }

/* Fotos im Artikel */
.lsvd-einblick-fotos { display: grid; gap: 10px; margin-top: 40px !important; margin-bottom: 40px !important; grid-template-columns: repeat(2, 1fr); }
.lsvd-einblick-fotos figure { margin: 0; overflow: hidden; }
.lsvd-einblick-fotos img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; object-position: 50% 30%; transition: transform .35s ease; }
.lsvd-einblick-fotos a:hover img { transform: scale(1.02); }
.lsvd-einblick-fotos figcaption { font-size: .8rem; color: var(--lsvd-stumm); margin-top: 6px; }
.lsvd-einblick-fotos.is-1, .lsvd-einblick-fotos.is-3, .lsvd-einblick-fotos.is-5 { grid-template-columns: repeat(2, 1fr); }
.lsvd-einblick-fotos.is-1 figure, .lsvd-einblick-fotos.is-3 figure:first-child, .lsvd-einblick-fotos.is-5 figure:first-child { grid-column: 1 / -1; }
.lsvd-einblick-fotos.is-1 img, .lsvd-einblick-fotos.is-3 figure:first-child img, .lsvd-einblick-fotos.is-5 figure:first-child img { aspect-ratio: 16 / 9; }

/* Verweis auf die Veranstaltung */
.lsvd-einblick-termin { margin-top: 40px !important; margin-bottom: 40px !important; padding: 18px 22px; background: var(--lsvd-sand); border-left: 3px solid var(--lsvd-rot); }
.lsvd-einblick-termin span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--lsvd-stumm); margin-bottom: 4px; }
.lsvd-einblick-termin a { color: inherit; text-decoration: none; display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; }
.lsvd-einblick-termin a:hover strong { text-decoration: underline; }
.lsvd-einblick-termin time { color: var(--lsvd-stumm); font-size: .95rem; }

/* Karten */
.lsvd-einblick-card { display: flex; flex-direction: column; background: var(--lsvd-papier); color: var(--lsvd-tinte); text-decoration: none; border: 1px solid var(--lsvd-linie); overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.lsvd-einblick-card:hover { box-shadow: 0 14px 34px rgba(26,26,26,.1); transform: translateY(-2px); }
.lsvd-einblick-card img, .lsvd-einblick-card__ph { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lsvd-einblick-card__ph { background: linear-gradient(135deg, var(--lsvd-sand), var(--lsvd-linie)); }
/* 0.9.27: Regenbogenkante unter dem Bild, wie bei den anderen Karten. */
.lsvd-einblick-card img,
.lsvd-einblick-card__ph { border-bottom: 6px solid transparent; border-image: linear-gradient(90deg,#d93632,#df7b27,#d5ad2d,#4d9564,#4f78a8,#80609a) 1; }
.lsvd-einblick-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.lsvd-einblick-card__body time { font-size: .8rem; color: var(--lsvd-stumm); }
.lsvd-einblick-card__body strong { font-size: 1.3rem; line-height: 1.2; }
.lsvd-einblick-card__body > span { font-size: .95rem; color: var(--lsvd-stumm); line-height: 1.5; }
.lsvd-einblick-card__body em { font-style: normal; font-weight: 700; color: var(--lsvd-rot); }

/* So war's (Veranstaltung) */
.lsvd-einblick-sowars { width: calc(100% - 48px); max-width: 720px !important; margin: 64px auto 0 !important; }
.lsvd-einblick-sowars h2 { margin: 0 0 18px; font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* Startseite */
.lsvd-einblicke-home { max-width: 1200px; margin: 72px auto !important; padding: 0 24px; }
.lsvd-einblicke-home h2 { text-align: center; font-size: clamp(2.25rem, 4vw, 3.45rem); line-height: 1.06; margin: 0 0 28px; }
.lsvd-einblicke-home > .lsvd-einblick-kicker { text-align: center; }
.lsvd-einblicke-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.lsvd-einblicke-home__more { text-align: center; margin-top: 26px; }
.lsvd-einblicke-home__more a { color: var(--lsvd-rot); font-weight: 700; }

/* Lightbox */
.lsvd-lightbox-dialog { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lsvd-lightbox-dialog::backdrop { background: rgba(10,10,10,.88); }
.lsvd-lightbox-dialog img { display: block; max-width: 94vw; max-height: 86vh; object-fit: contain; }
.lsvd-lightbox-dialog p { color: #eee; font-size: .85rem; margin: 8px 0 0; text-align: center; }
.lsvd-lightbox-dialog button { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; cursor: pointer; }
.lsvd-lb-close { top: 16px; right: 16px; }
.lsvd-lb-prev { left: 16px; top: 50%; }
.lsvd-lb-next { right: 16px; top: 50%; }
.lsvd-lightbox-dialog.is-single .lsvd-lb-prev, .lsvd-lightbox-dialog.is-single .lsvd-lb-next { display: none; }

/* Inhaltshinweis im Artikel (aus termin-single.css) */
.single-post .lsvd-event-note {
  width: calc(100% - 48px);
  max-width: 720px !important;
  margin: 0 auto 36px !important;
  padding: 16px 20px;
  background: var(--lsvd-sand);
  border-left: 4px solid var(--lsvd-stumm);
  font-size: .95rem;
  line-height: 1.55;
  color: var(--lsvd-tinte);
}
.single-post .lsvd-event-note strong { display: block; margin-bottom: 2px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lsvd-stumm); }
.single-post .lsvd-event-note__help { display: block; margin-top: 6px; }
.single-post .lsvd-event-note__help a { color: var(--lsvd-tinte); font-weight: 600; text-underline-offset: 3px; }
.single-post .lsvd-event-note { margin-bottom: 32px !important; }
.single-post .lsvd-event-note { width: auto; margin-left: auto !important; margin-right: auto !important; }

/* 0.6.3: Hinweis bündig, Blocksatz, Credit, Reihen-Kasten */
.single-post .lsvd-event-note { box-sizing: border-box; width: 100%; max-width: var(--wp--style--global--content-size, 645px) !important; }
.single-post .wp-block-post-content > p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.lsvd-einblick-credit { font-size: .8rem; color: var(--lsvd-stumm); margin-top: 6px; text-align: right; }
.lsvd-einblick-reihe { box-sizing: border-box; margin-top: 36px !important; margin-bottom: 36px !important; padding: 22px 24px; border-top: 3px solid var(--lsvd-rot); background: var(--lsvd-sand); }
.lsvd-einblick-reihe p { margin: 0; text-align: left; }
.lsvd-einblick-reihe__title { font-size: 1.4rem; line-height: 1.2; margin: 2px 0 8px !important; }
.lsvd-einblick-reihe__intro { font-size: .95rem; color: var(--lsvd-stumm); line-height: 1.5; }
.lsvd-einblick-reihe__sub { margin-top: 14px !important; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--lsvd-stumm); }
.lsvd-einblick-reihe ul { list-style: none; margin: 6px 0 0; padding: 0; }
.lsvd-einblick-reihe li a { display: flex; flex-wrap: wrap; gap: 2px 12px; padding: 8px 0; border-bottom: 1px solid var(--lsvd-linie); color: inherit; text-decoration: none; }
.lsvd-einblick-reihe li a:hover strong { text-decoration: underline; }
.lsvd-einblick-reihe time { color: var(--lsvd-stumm); font-size: .9rem; min-width: 11em; }
.lsvd-einblick-reihe__link { margin-top: 14px !important; }
.lsvd-einblick-reihe__link a { color: var(--lsvd-rot); font-weight: 700; }

/* 0.6.4: Veranstaltungs-Karte im Artikel */
.lsvd-einblick-event { margin-top: 36px !important; margin-bottom: 36px !important; }
.lsvd-einblick-event a { display: flex; flex-direction: column; background: var(--lsvd-papier); border: 1px solid var(--lsvd-linie); color: var(--lsvd-tinte); text-decoration: none; overflow: hidden; transition: box-shadow .25s ease, transform .25s ease; }
.lsvd-einblick-event a:hover { box-shadow: 0 14px 34px rgba(26,26,26,.1); transform: translateY(-2px); }
.lsvd-einblick-event__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.lsvd-einblick-event__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px 20px; }
.lsvd-einblick-event__body .lsvd-einblick-kicker { margin: 0; }
.lsvd-einblick-event__body strong { font-size: 1.4rem; line-height: 1.2; }
.lsvd-einblick-event__body time, .lsvd-einblick-event__ort { font-size: .92rem; color: var(--lsvd-stumm); }
.lsvd-einblick-event__body em { margin-top: 8px; font-style: normal; font-weight: 700; color: var(--lsvd-rot); }
@media (min-width: 640px) {
  .lsvd-einblick-event a { flex-direction: row; align-items: stretch; }
  .lsvd-einblick-event__img { width: 46%; aspect-ratio: auto; min-height: 100%; }
  .lsvd-einblick-event__body { justify-content: center; }
}

/* 0.6.5: mobil Fotos untereinander, Bildunterschriften einheitlich rechts */
@media (max-width: 600px) {
  .lsvd-einblick-fotos, .lsvd-einblick-fotos[class*="is-"] { grid-template-columns: 1fr; gap: 14px; }
  .lsvd-einblick-fotos figure { grid-column: auto !important; }
}
.single-post .lsvd-einblick-inline figcaption, .lsvd-einblick-fotos figcaption { font-size: .8rem; color: var(--lsvd-stumm); text-align: right; margin-top: 6px; }

/* 0.6.6: Credits unter Galeriefotos wieder sichtbar */
.lsvd-einblick-fotos figure { overflow: visible; }
.lsvd-einblick-fotos a { display: block; overflow: hidden; }
.lsvd-einblick-fotos img { height: auto; }

/* 0.7.3: Übersichtsseite Einblicke als Kachelarchiv */
.lsvd-einblicke-home--archiv { margin-top: 24px !important; }
.lsvd-einblicke-home--archiv h1 { text-align: center; font-size: clamp(2.25rem, 4vw, 3.45rem); line-height: 1.06; margin: 0 0 28px; }
.lsvd-einblicke-home--archiv { max-width: 760px; }
.lsvd-einblicke-home--archiv .lsvd-einblicke-grid { grid-template-columns: 1fr; gap: 40px; }
.lsvd-einblicke-home--archiv .lsvd-einblick-card img,
.lsvd-einblicke-home--archiv .lsvd-einblick-card__ph { width: 100%; height: auto !important; aspect-ratio: 16 / 9 !important; object-fit: cover; }
.lsvd-einblicke-home--archiv .lsvd-einblick-card__body { padding: 22px 26px 26px; }
.lsvd-einblicke-home--archiv .lsvd-einblick-card__body strong { font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
.lsvd-einblicke-home--archiv .lsvd-einblick-card__body > span { font-size: 1.02rem; }
@media (max-width: 600px) {
  /* 0.7.7: mobil 16:9-Foto, darunter gleich breit Titel + Anreißer */
  .lsvd-einblicke-home--archiv { padding: 0 16px; }
  .lsvd-einblicke-home--archiv .lsvd-einblicke-grid { gap: 28px; }
  .lsvd-einblicke-home--archiv .lsvd-einblick-card { flex-direction: column; }
  .lsvd-einblicke-home--archiv .lsvd-einblick-card img,
  .lsvd-einblicke-home--archiv .lsvd-einblick-card__ph { width: 100% !important; max-width: none; height: auto !important; aspect-ratio: 16 / 9 !important; object-fit: cover; }
  .lsvd-einblicke-home--archiv .lsvd-einblick-card__body { gap: 6px; padding: 14px 16px 18px; }
  .lsvd-einblicke-home--archiv .lsvd-einblick-card__body time { font-size: .75rem; }
  .lsvd-einblicke-home--archiv .lsvd-einblick-card__body strong { font-size: 1.2rem; line-height: 1.25; }
  .lsvd-einblicke-home--archiv .lsvd-einblick-card__body > span { font-size: .92rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* 0.7.8: Rückblick auf der Veranstaltung wie im Feed – 16:9-Foto, darunter Text */
.lsvd-einblick-sowars .lsvd-einblick-card.is-wide { flex-direction: column; max-width: 760px; }
.lsvd-einblick-sowars .lsvd-einblick-card.is-wide img { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9 !important; object-fit: cover; min-height: 0; }
