/* ============================================================
   WordPress-Ergänzungen zum Original-Design
   ============================================================ */

/* Barrierefreiheit: Skip-Link */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 1000;
  top: 12px; left: 12px; padding: 12px 18px; background: #fff; color: #000;
}

/* Admin-Leiste: Sticky-Header darunter */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Plakate (ersetzt <image-slot> des Prototyps) */
.event__poster { overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--fg-3); }
.event__poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms var(--ease); }
a.event__poster:hover img { transform: scale(1.05); }
.event__poster--empty .ic { width: 22px; height: 22px; stroke-width: 1.25; }
.event__body h3 a { color: inherit; text-decoration: none; }
.event__body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.event__price { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--fg-3); white-space: nowrap; }
.events-empty { padding: 36px 0; max-width: 560px; }
@media (max-width: 620px) { .event__price { display: none; } }

/* Textseiten (Impressum, Datenschutz …) im Stil des Originals */
.bp-prose { color: var(--fg-2); }
.bp-prose h2, .bp-prose h3 {
  font-family: var(--font-body); font-weight: var(--w-medium); font-size: var(--fs-xs);
  letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--fg-3);
  margin: 32px 0 10px; padding-top: 32px; border-top: 1px solid var(--line);
}
.bp-prose > h2:first-child, .bp-prose > h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.bp-prose p, .bp-prose li { font-size: var(--fs-body); line-height: 1.8; margin: 0 0 12px; }
.bp-prose a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.bp-prose em { color: var(--fg-4); font-style: normal; font-size: var(--fs-xs); letter-spacing: var(--track-wide); text-transform: uppercase; }
.bp-prose img { max-width: 100%; height: auto; }

/* Google-Maps erst nach Klick laden */
.map-consent { display: flex; align-items: center; justify-content: center; background: var(--surface-2); }
.map-consent__inner { text-align: center; padding: 32px; max-width: 320px; }
.map-consent__inner .ic { width: 32px; height: 32px; color: var(--fg-3); }
.map-consent__inner p { font-size: var(--fs-sm); color: var(--fg-2); margin: 14px 0 20px; line-height: 1.6; }
.map-consent.is-loaded { display: block; background: none; }

/* WordPress-Standardklassen */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: var(--fs-xs); color: var(--fg-3); margin-top: 8px; }

/* Fehlende Angaben in Rechtstexten sichtbar markieren */
.bp-prose mark { background: #ffd23f; color: #000; padding: 1px 4px; }
.bp-prose ul { margin: 0 0 12px; padding-left: 1.2em; }
.bp-prose strong { color: #fff; font-weight: var(--w-medium); }
.bp-prose li { margin-bottom: 4px; }
