/* Vereinsarchiv – Zeitreise-Look (0.19.1)
   Gilt nur für Archiv-Beiträge (body.lsvd-zeitreise--beitrag)
   und die Seite mit [lsvd_archiv] (body.lsvd-zeitreise--seite). */

/* Variablen gelten auch für das Startseiten-Widget. */
.lsvd-zeitreise, .lsvd-archiv-widget {
  --zr-papier: #f3ead8;
  --zr-papier-hell: #faf5ea;
  --zr-tinte: #2b2420;
  --zr-braun: #6b5643;
  --zr-stempel: #b42318;
  --zr-linie: #d9cbb0;
  --zr-schreibmaschine: "Courier Prime", "Courier New", ui-monospace, monospace;
  --zr-hand: "Caveat", "Segoe Print", cursive;
  --zr-serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --zr-rauschen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .33 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Altes Papier für den Inhaltsbereich, Kopf- und Fußzeile bleiben wie sie sind. */
.lsvd-zeitreise main {
  background-color: var(--zr-papier) !important; /* Seitenvorlage setzt Weiß inline */
  background-image:
    var(--zr-rauschen),
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.3), transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(107,86,67,.12), transparent 70%);
  color: var(--zr-tinte);
}

/* ---------- Beitrag ---------- */

.lsvd-zeitreise main { margin-top: 0 !important; padding-top: 70px !important; }
.lsvd-zeitreise--beitrag main { padding-bottom: 72px; }

.lsvd-zeitreise-kopf {
  display: flex; align-items: center; gap: 22px;
  margin: 8px 0 22px;
}
.lsvd-zeitreise-stempel {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  width: 104px; height: 104px; border-radius: 50%;
  border: 3px double var(--zr-stempel); color: var(--zr-stempel);
  font-family: var(--zr-schreibmaschine); text-transform: uppercase;
  font-size: .62rem; letter-spacing: .16em; line-height: 1.25;
  transform: rotate(-11deg); opacity: .82; flex-shrink: 0;
  mix-blend-mode: multiply;
}
.lsvd-zeitreise-stempel b { font-size: 1.55rem; letter-spacing: .04em; font-weight: 700; margin: 2px 0; }
.lsvd-zeitreise-datum {
  font-family: var(--zr-schreibmaschine); font-size: .95rem; letter-spacing: .06em;
  color: var(--zr-braun); border-bottom: 1px dashed var(--zr-linie); padding-bottom: 4px;
}

.lsvd-zeitreise--beitrag .wp-block-post-title {
  font-family: var(--zr-serif) !important;
  font-weight: 600; letter-spacing: -.01em; line-height: 1.12; color: var(--zr-tinte);
}

/* Titelbild als Abzug mit Klebestreifen */
.lsvd-zeitreise--beitrag .wp-block-post-featured-image {
  position: relative; background: var(--zr-papier-hell);
  padding: 14px 14px 46px; margin-top: 36px !important; margin-bottom: 44px !important;
  box-shadow: 0 1px 2px rgba(43,36,32,.18), 0 16px 34px rgba(43,36,32,.16);
  transform: rotate(-.8deg);
}
.lsvd-zeitreise--beitrag .wp-block-post-featured-image img {
  filter: sepia(.32) saturate(.82) contrast(.96);
}
.lsvd-zeitreise--beitrag .wp-block-post-featured-image::before,
.lsvd-zeitreise--beitrag .wp-block-post-featured-image::after {
  content: ""; position: absolute; top: -14px; width: 120px; height: 30px;
  background: rgba(236,222,190,.78); box-shadow: 0 1px 2px rgba(0,0,0,.08);
  border-left: 1px dashed rgba(107,86,67,.18); border-right: 1px dashed rgba(107,86,67,.18);
}
.lsvd-zeitreise--beitrag .wp-block-post-featured-image::before { left: 8%; transform: rotate(-4deg); }
.lsvd-zeitreise--beitrag .wp-block-post-featured-image::after { right: 8%; transform: rotate(5deg); }
.lsvd-zeitreise--beitrag .wp-block-post-featured-image figcaption,
.lsvd-zeitreise--beitrag .lsvd-einblick-credit {
  position: absolute; left: 18px; right: 18px; bottom: 10px; margin: 0;
  font-family: var(--zr-hand); font-size: 1.25rem; font-weight: 600; color: var(--zr-braun); text-align: right;
}

/* Archivnotiz als Karteikarte */
.lsvd-zeitreise--beitrag .lsvd-archiv-hinweis {
  position: relative; border: 0; margin: 0 0 40px;
  padding: 26px 24px 18px 24px;
  background-color: #fffdf7;
  background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(79,120,168,.22) 27px 28px);
  background-position: 0 48px;
  border-top: 3px solid var(--zr-stempel);
  box-shadow: 0 1px 2px rgba(43,36,32,.14), 0 8px 18px rgba(43,36,32,.08);
  transform: rotate(.4deg);
  font-family: var(--zr-schreibmaschine); font-size: .92rem; line-height: 28px; color: var(--zr-tinte);
}
.lsvd-zeitreise--beitrag .lsvd-archiv-hinweis strong { color: var(--zr-stempel); font-family: var(--zr-schreibmaschine); line-height: 1.4; margin-bottom: 4px; }
.lsvd-archiv-hinweis__reiter { display: none; }
.lsvd-zeitreise--beitrag .lsvd-archiv-hinweis__reiter {
  display: block; position: absolute; top: -30px; left: 18px;
  padding: 4px 14px 3px; border-radius: 6px 6px 0 0;
  background: #fffdf7; color: var(--zr-braun);
  font-family: var(--zr-hand); font-size: 1.15rem; font-weight: 600; line-height: 1.3;
  box-shadow: 0 -1px 2px rgba(43,36,32,.08);
}

/* Fließtext etwas „gedruckter“ */
.lsvd-zeitreise--beitrag .wp-block-post-content > p { color: var(--zr-tinte); }
.lsvd-zeitreise--beitrag .wp-block-post-content > p:first-of-type::first-letter {
  float: left; font-family: var(--zr-serif); font-weight: 600;
  font-size: 3.6em; line-height: .85; padding: 6px 10px 0 0; color: var(--zr-stempel);
}
/* Quellenhinweis wie eine Fußnote */
.lsvd-zeitreise--beitrag .wp-block-post-content > p.has-small-font-size {
  font-family: var(--zr-schreibmaschine); font-size: .82rem !important; color: var(--zr-braun);
  border-top: 1px dashed var(--zr-linie); padding-top: 14px; margin-top: 32px;
}
.lsvd-zeitreise--beitrag .wp-block-post-content > p.has-small-font-size em { font-style: normal; }
.lsvd-zeitreise--beitrag .wp-block-post-content a { color: var(--zr-stempel); }

/* Fotos als Abzüge, leicht verstreut */
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos { gap: 28px 22px; margin-top: 56px !important; }
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos figure {
  position: relative; background: var(--zr-papier-hell);
  padding: 10px 10px 0; overflow: visible;
  box-shadow: 0 1px 2px rgba(43,36,32,.16), 0 10px 22px rgba(43,36,32,.13);
  transform: rotate(var(--zr-dreh, 0deg));
  transition: transform .3s ease, box-shadow .3s ease;
}
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos figure:nth-child(4n+1) { --zr-dreh: -1.2deg; }
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos figure:nth-child(4n+2) { --zr-dreh: 1.4deg; }
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos figure:nth-child(4n+3) { --zr-dreh: .7deg; }
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos figure:nth-child(4n+4) { --zr-dreh: -1.6deg; }
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos figure:nth-child(3n+2)::before {
  content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; z-index: 1;
  background: rgba(236,222,190,.8); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos img {
  filter: sepia(.38) saturate(.78) contrast(.95);
  transition: filter .4s ease, transform .35s ease;
}
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos figure:hover,
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos figure:focus-within {
  transform: rotate(0deg) translateY(-3px); z-index: 2;
  box-shadow: 0 2px 4px rgba(43,36,32,.18), 0 18px 36px rgba(43,36,32,.2);
}
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos figure:hover img,
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos figure:focus-within img { filter: none; }
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos figcaption {
  font-family: var(--zr-hand); font-weight: 600; font-size: 1.12rem; line-height: 1.2;
  color: var(--zr-braun); text-align: left; margin: 0; padding: 10px 4px 14px;
}

/* Zurück zur Zeitleiste */
.lsvd-zeitreise--beitrag .lsvd-archiv-zurueck { margin-top: 48px; text-align: center; }
.lsvd-zeitreise--beitrag .lsvd-archiv-zurueck a {
  display: inline-block; padding: 10px 20px; border: 1.5px solid var(--zr-stempel); border-radius: 2px;
  font-family: var(--zr-schreibmaschine); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(255,253,247,.6);
}
.lsvd-zeitreise--beitrag .lsvd-archiv-zurueck a:hover { background: var(--zr-stempel); color: #fff; text-decoration: none; }

/* ---------- Zeitleiste (Seite) ---------- */

.lsvd-zeitreise--seite .wp-block-post-title,
.lsvd-zeitreise--seite main h1 { font-family: var(--zr-serif) !important; color: var(--zr-tinte); }

.lsvd-zeitreise .lsvd-archiv { position: relative; padding-left: 0; margin-top: 40px; }
.lsvd-zeitreise .lsvd-archiv::before {
  content: ""; position: absolute; top: 8px; bottom: 0; left: 47px; width: 0;
  border-left: 2px dashed rgba(107,86,67,.35);
}
.lsvd-zeitreise .lsvd-archiv__jahr { border-top: 0; padding: 22px 0 30px; position: relative; }
.lsvd-zeitreise .lsvd-archiv__label {
  position: sticky; top: 96px; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 96px; padding: 8px 0 6px;
  background: var(--zr-papier-hell); color: var(--zr-stempel);
  border: 2px solid var(--zr-stempel); border-radius: 3px;
  font-family: var(--zr-schreibmaschine); font-size: 1.35rem; font-weight: 700; letter-spacing: .06em;
  transform: rotate(-3deg); box-shadow: 2px 3px 0 rgba(180,35,24,.15);
}
.lsvd-zeitreise .lsvd-archiv__liste { gap: 30px; }

.lsvd-zeitreise .lsvd-archiv__eintrag {
  position: relative; border: 0; background: #fffdf7; overflow: visible;
  padding: 12px 12px 0;
  box-shadow: 0 1px 2px rgba(43,36,32,.16), 0 12px 26px rgba(43,36,32,.12);
  transform: rotate(var(--zr-dreh, -.5deg));
}
.lsvd-zeitreise .lsvd-archiv__eintrag:nth-child(even) { --zr-dreh: .6deg; }
.lsvd-zeitreise .lsvd-archiv__eintrag:hover { transform: rotate(0deg) translateY(-3px); box-shadow: 0 2px 4px rgba(43,36,32,.18), 0 20px 40px rgba(43,36,32,.18); }
.lsvd-zeitreise .lsvd-archiv__eintrag::before {
  content: ""; position: absolute; top: -12px; right: 18%; width: 96px; height: 26px; z-index: 1;
  background: rgba(236,222,190,.82); transform: rotate(4deg); box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.lsvd-zeitreise .lsvd-archiv__eintrag img {
  border-bottom: 0; filter: sepia(.38) saturate(.78) contrast(.95); transition: filter .4s ease;
}
.lsvd-zeitreise .lsvd-archiv__eintrag:hover img { filter: none; }
.lsvd-zeitreise .lsvd-archiv__eintrag .lsvd-einblick-card__body { padding: 16px 8px 20px; }
.lsvd-zeitreise .lsvd-archiv__eintrag time {
  font-family: var(--zr-schreibmaschine); font-size: .8rem; letter-spacing: .06em; color: var(--zr-braun);
}
.lsvd-zeitreise .lsvd-archiv__eintrag strong { font-family: var(--zr-serif) !important; color: var(--zr-tinte); }
.lsvd-zeitreise .lsvd-archiv__eintrag .lsvd-einblick-card__body > span { color: #4a3f36; }
.lsvd-zeitreise .lsvd-archiv-leer { font-family: var(--zr-hand); font-size: 1.5rem; color: var(--zr-braun); }

.lsvd-archiv__entwurf {
  position: absolute; top: 22px; left: 22px; z-index: 2; padding: 4px 10px;
  background: var(--lsvd-tinte); color: #fff; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
}
.lsvd-zeitreise .lsvd-archiv__eintrag.is-entwurf { outline: 2px dashed rgba(43,36,32,.35); outline-offset: 4px; }
.lsvd-zeitreise--seite .wp-block-post-content > p:first-child {
  font-family: var(--zr-serif); font-size: 1.2rem; line-height: 1.6; color: var(--zr-tinte);
}

/* ---------- Startseiten-Widget (0.20.0) ---------- */

.lsvd-archiv-widget { max-width: 1200px; margin: 72px auto !important; padding: 0 24px; }
.lsvd-archiv-widget__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center;
  padding: 48px 56px;
  background-color: var(--zr-papier);
  background-image: var(--zr-rauschen), radial-gradient(ellipse at 30% 0%, rgba(255,255,255,.35), transparent 60%);
  color: var(--zr-tinte);
  box-shadow: inset 0 0 0 1px rgba(107,86,67,.12);
}
/* Eselsohr oben rechts */
.lsvd-archiv-widget__inner::after {
  content: ""; position: absolute; top: 0; right: 0; width: 46px; height: 46px;
  background: linear-gradient(225deg, var(--lsvd-papier, #fff) 50%, #e6d9bf 50%, #d9c9a8);
  box-shadow: -2px 2px 4px rgba(43,36,32,.12);
}
.lsvd-archiv-widget__foto {
  position: relative; display: block; background: var(--zr-papier-hell);
  padding: 12px 12px 40px; transform: rotate(-2.2deg);
  box-shadow: 0 1px 2px rgba(43,36,32,.18), 0 16px 34px rgba(43,36,32,.18);
  transition: transform .35s ease;
}
.lsvd-archiv-widget__foto::before {
  content: ""; position: absolute; top: -13px; left: 50%; width: 110px; height: 28px; margin-left: -55px; z-index: 1;
  background: rgba(236,222,190,.85); transform: rotate(-3deg); box-shadow: 0 1px 2px rgba(0,0,0,.08);
}
.lsvd-archiv-widget__foto img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  filter: sepia(.4) saturate(.75) contrast(.95); transition: filter .4s ease;
}
.lsvd-archiv-widget__inner:hover .lsvd-archiv-widget__foto { transform: rotate(-.6deg); }
.lsvd-archiv-widget__inner:hover .lsvd-archiv-widget__foto img { filter: none; }
.lsvd-archiv-widget__stempel {
  position: absolute; right: -22px; bottom: 6px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%;
  border: 3px double var(--zr-stempel); color: var(--zr-stempel); background: rgba(250,245,234,.55);
  font-family: var(--zr-schreibmaschine); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase;
  transform: rotate(12deg); opacity: .9;
}
.lsvd-archiv-widget__stempel b { font-size: 1.4rem; letter-spacing: .04em; }
.lsvd-archiv-widget__text { position: relative; }
.lsvd-archiv-widget__text .lsvd-archiv__entwurf { position: static; display: inline-block; margin-bottom: 12px; }
.lsvd-archiv-widget__kicker {
  margin: 0 0 12px; font-family: var(--zr-schreibmaschine); font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--zr-stempel);
}
.lsvd-archiv-widget__datum {
  display: inline-block; margin: 14px 0 0; padding-bottom: 3px; border-bottom: 1px dashed var(--zr-linie);
  font-family: var(--zr-schreibmaschine); font-size: .9rem; color: var(--zr-braun);
}
.lsvd-archiv-widget__teaser { margin: 16px 0 0; line-height: 1.6; color: #4a3f36; }
.lsvd-archiv-widget__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin: 24px 0 0; }
.lsvd-archiv-widget__mehr {
  display: inline-block; padding: 10px 18px; border: 1.5px solid var(--zr-stempel); color: var(--zr-stempel);
  font-family: var(--zr-schreibmaschine); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  background: rgba(255,253,247,.6);
}
.lsvd-archiv-widget__mehr:hover { background: var(--zr-stempel); color: #fff; }
.lsvd-archiv-widget__alle { font-family: var(--zr-hand); font-weight: 600; font-size: 1.3rem; color: var(--zr-braun); text-decoration: none; }
.lsvd-archiv-widget__alle:hover { color: var(--zr-stempel); }

@media (max-width: 800px) {
  .lsvd-archiv-widget__inner { grid-template-columns: 1fr; gap: 36px; padding: 36px 22px 30px; }
  .lsvd-archiv-widget__foto { max-width: 420px; margin: 0 auto; width: 92%; }
  .lsvd-archiv-widget__stempel { right: -10px; width: 78px; height: 78px; }
}
@media (max-width: 600px) {
  .lsvd-archiv-widget { padding: 0 16px; margin: 48px auto !important; }
}

/* ---------- Mobil & Barrierefreiheit ---------- */

@media (max-width: 600px) {
  .lsvd-zeitreise-kopf { gap: 16px; }
  .lsvd-zeitreise-stempel { width: 84px; height: 84px; font-size: .55rem; }
  .lsvd-zeitreise-stempel b { font-size: 1.25rem; }
  .lsvd-zeitreise--beitrag .wp-block-post-featured-image { padding: 8px 8px 38px; transform: none; }
  .lsvd-zeitreise--beitrag .lsvd-einblick-fotos figure { --zr-dreh: 0deg !important; }
  .lsvd-zeitreise--beitrag .lsvd-archiv-hinweis { transform: none; }
  .lsvd-zeitreise .lsvd-archiv::before { display: none; }
  .lsvd-zeitreise .lsvd-archiv__label { position: static; width: auto; padding: 6px 14px 4px; justify-self: start; }
  .lsvd-zeitreise .lsvd-archiv__eintrag { --zr-dreh: 0deg !important; }
}

@media (prefers-reduced-motion: reduce) {
  .lsvd-zeitreise *, .lsvd-zeitreise *::before { transition: none !important; }
  .lsvd-archiv-widget *, .lsvd-archiv-widget__foto { transition: none !important; }
  .lsvd-archiv-widget__inner:hover .lsvd-archiv-widget__foto { transform: rotate(-2.2deg); }
  .lsvd-zeitreise .lsvd-einblick-fotos figure:hover,
  .lsvd-zeitreise .lsvd-archiv__eintrag:hover { transform: rotate(var(--zr-dreh, 0deg)); }
}

@media print {
  .lsvd-zeitreise main { background: none; }
  .lsvd-zeitreise .lsvd-einblick-fotos img, .lsvd-zeitreise .wp-block-post-featured-image img { filter: none; }
}

/* 0.20.2: Auf der Startseite gilt deren Überschriften-System (Georgia wie die übrigen Kacheln),
   aber ein Beitragstitel ist kleiner als eine Abschnittsüberschrift. */
body.home .lsvd-original-home .lsvd-archiv-widget .lsvd-archiv-widget__titel {
  font-family: var(--lsvd-home-serif, Georgia, serif) !important;
  font-size: clamp(1.4rem, 2.2vw, 1.85rem) !important;
  line-height: 1.18 !important;
  text-align: left !important;
  margin: 0 !important;
}
/* 0.21.1: Der Abschnittskopf übernimmt das Überschriften-System der Startseite, nur zentriert. */
body.home .lsvd-original-home .lsvd-archiv-widget .lsvd-archiv-widget__kopf { text-align: center !important; margin: 0 0 28px !important; }

/* 0.20.3: Zwischenüberschriften im Archiv-Beitrag in Serifenschrift */
.lsvd-zeitreise--beitrag .wp-block-post-content h2,
.lsvd-zeitreise--beitrag .wp-block-post-content h3 {
  font-family: var(--zr-serif) !important; font-weight: 600; color: var(--zr-tinte);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.2; margin-top: 2.2em;
  padding-top: 18px; border-top: 1px dashed var(--zr-linie);
}

/* 0.21.0: Fotoumschlag – große Archiv-Galerien als aufklappbarer Kontaktabzug */
.lsvd-zeitreise .screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.lsvd-fotoumschlag { margin: 8px 0 48px; }
.lsvd-fotoumschlag > summary {
  list-style: none; cursor: pointer; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 132px; padding: 28px 20px 22px;
  background-color: #c9a66b;
  background-image: var(--zr-rauschen), linear-gradient(160deg, rgba(255,255,255,.18), rgba(0,0,0,.06));
  color: #3b2a17; border-radius: 3px;
  box-shadow: 0 1px 2px rgba(43,36,32,.25), 0 12px 26px rgba(43,36,32,.18);
  transform: rotate(-.6deg); transition: transform .3s ease, box-shadow .3s ease;
}
.lsvd-fotoumschlag > summary::-webkit-details-marker { display: none; }
/* Umschlagklappe */
.lsvd-fotoumschlag > summary::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 56%;
  background: linear-gradient(to bottom right, transparent 49.5%, rgba(59,42,23,.16) 50%, transparent 51%) left / 50% 100% no-repeat,
              linear-gradient(to bottom left, transparent 49.5%, rgba(59,42,23,.16) 50%, transparent 51%) right / 50% 100% no-repeat;
  pointer-events: none;
}
/* Verschlussknopf mit Faden */
.lsvd-fotoumschlag > summary::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -38px 0 0 -11px;
  border-radius: 50%; background: #8c2a1c; box-shadow: inset 0 0 0 4px #a8402f, 0 1px 2px rgba(0,0,0,.3);
}
.lsvd-fotoumschlag__titel {
  position: relative; margin-top: 22px;
  font-family: var(--zr-hand); font-weight: 600; font-size: 1.6rem; line-height: 1.1;
}
.lsvd-fotoumschlag__anzahl {
  position: relative; font-family: var(--zr-schreibmaschine); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.lsvd-fotoumschlag > summary:hover,
.lsvd-fotoumschlag > summary:focus-visible { transform: rotate(0deg) translateY(-2px); box-shadow: 0 2px 4px rgba(43,36,32,.25), 0 18px 34px rgba(43,36,32,.22); }
.lsvd-fotoumschlag > summary:focus-visible { outline: 2px solid var(--zr-stempel); outline-offset: 4px; }
.lsvd-fotoumschlag[open] > summary { min-height: 0; padding: 12px 20px; transform: none; }
.lsvd-fotoumschlag[open] > summary::before,
.lsvd-fotoumschlag[open] > summary::after { display: none; }
.lsvd-fotoumschlag[open] .lsvd-fotoumschlag__titel { margin-top: 0; font-size: 0; }
.lsvd-fotoumschlag[open] .lsvd-fotoumschlag__titel::after { content: "Fotoumschlag schließen"; font-size: 1.25rem; }

/* Kontaktabzug */
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos.lsvd-einblick-fotos--kontakt {
  counter-reset: bild 8;
  grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 !important;
  padding: 22px 18px 18px; background: #1f1b18;
  box-shadow: 0 14px 30px rgba(43,36,32,.25);
}
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos--kontakt figure {
  counter-increment: bild; padding: 0; background: none; box-shadow: none; transform: none !important;
}
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos.lsvd-einblick-fotos--kontakt figure:nth-child(n)::before {
  content: counter(bild); position: static; display: block; width: auto; height: auto; margin: 0 0 3px;
  top: auto; left: auto; z-index: auto;
  background: none; box-shadow: none; transform: none;
  font-family: var(--zr-schreibmaschine); font-size: .65rem; letter-spacing: .1em; color: #e8b04a;
}
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos--kontakt a { outline: 1px solid rgba(255,255,255,.18); }
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos--kontakt img { aspect-ratio: 3 / 2; object-fit: cover; filter: sepia(.25) saturate(.85); }
.lsvd-zeitreise--beitrag .lsvd-einblick-fotos--kontakt figure:hover img { filter: none; transform: scale(1.04); }
@media (max-width: 600px) {
  .lsvd-zeitreise--beitrag .lsvd-einblick-fotos.lsvd-einblick-fotos--kontakt { grid-template-columns: repeat(3, 1fr) !important; gap: 6px; padding: 14px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .lsvd-fotoumschlag > summary { transition: none; }
}

/* 0.21.1: Startseiten-Widget mit eigenem Abschnittskopf „Vereinsarchiv“ */
.lsvd-archiv-widget__oberzeile { text-align: center; }
.lsvd-archiv-widget__kopf { text-align: center; margin: 0 0 28px; font-size: clamp(2.25rem, 4vw, 3.45rem); line-height: 1.06; }
.lsvd-archiv-widget .lsvd-archiv-widget__titel { margin: 0; font-family: var(--zr-serif); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.18; }
.lsvd-archiv-widget__titel a { color: var(--zr-tinte); text-decoration: none; }
.lsvd-archiv-widget__titel a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lsvd-archiv-widget .lsvd-archiv-widget__mehr { background: var(--zr-stempel); color: #fff; }
.lsvd-archiv-widget .lsvd-archiv-widget__mehr:hover { background: #8f1c13; color: #fff; }

/* 0.21.2: Sprungleiste mit allen Jahren (Stil wie die Jahresstempel im Zeitstrahl) */
html:has(.lsvd-archiv-jahre) { scroll-behavior: smooth; }
.lsvd-archiv-jahre { max-width: 760px; margin: 32px auto 8px; }
.lsvd-archiv-jahre ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 12px; justify-content: center; }
.lsvd-archiv-jahre li { margin: 0; }
.lsvd-archiv-jahre li:nth-child(odd) a { --zr-dreh: -3deg; }
.lsvd-archiv-jahre li:nth-child(even) a { --zr-dreh: 2deg; }
.lsvd-archiv-jahre a {
  display: inline-flex; flex-direction: column; align-items: center; min-width: 84px; padding: 7px 12px 5px;
  background: var(--zr-papier-hell); color: var(--zr-stempel); text-decoration: none;
  border: 2px solid var(--zr-stempel); border-radius: 3px;
  box-shadow: 2px 3px 0 rgba(180,35,24,.15);
  transform: rotate(var(--zr-dreh, -3deg)); transition: transform .2s ease, background .2s ease, color .2s ease;
}
.lsvd-archiv-jahre a span { font-family: var(--zr-schreibmaschine); font-size: 1.2rem; font-weight: 700; letter-spacing: .06em; line-height: 1.1; }
.lsvd-archiv-jahre a small { font-family: var(--zr-schreibmaschine); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: var(--zr-braun); }
.lsvd-archiv-jahre a:hover, .lsvd-archiv-jahre a:focus-visible { transform: rotate(0deg) translateY(-2px); background: var(--zr-stempel); color: #fff; }
.lsvd-archiv-jahre a:hover small, .lsvd-archiv-jahre a:focus-visible small { color: #fff; }
.lsvd-archiv-jahre a:focus-visible { outline: 2px solid var(--zr-tinte); outline-offset: 3px; }
.lsvd-archiv__jahr { scroll-margin-top: 110px; }
@media (max-width: 600px) {
  .lsvd-archiv-jahre ul { gap: 10px 8px; }
  .lsvd-archiv-jahre a { min-width: 70px; padding: 5px 8px 4px; }
  .lsvd-archiv-jahre a span { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.lsvd-archiv-jahre) { scroll-behavior: auto; }
  .lsvd-archiv-jahre a { transition: none; }
}

/* 0.21.3: Archiv-Widget auf „Der Verband“ */
.lsvd-archiv-widget-verband { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); }
.lsvd-archiv-widget-verband .lsvd-archiv-widget { margin: 0 auto !important; max-width: 1088px; }
.lsvd-archiv-widget-verband .lsvd-archiv-widget__kopf { font-family: var(--zr-serif); font-weight: 600; color: var(--lsvd-tinte, #1a1a1a); }
.lsvd-archiv-widget-verband .lsvd-archiv-widget__titel { font-family: var(--zr-serif); }
