/* Bereich: Webinare (/hilfe/webinare/) – Präfix wb-.
   Erzeugt wird die Seite mit tools/seiten/webinare.py. Mobile first, Breakpoints wie style.css.
   Baut auf page-hero, section-head und der Video-Komponente (.video, .video--standbild, .video--verlauf)
   aus style.css auf. Die Einzelseiten /webinar-…/ gibt es seit 2026-10-21 nicht mehr. */

/* ---------- Übersicht: Hinweis zu den Videos (einmal über dem Raster, Muster „Hinweis direkt am Inhalt“) ---------- */

.wb-hinweis {
  max-width: 46rem; margin-bottom: clamp(1.5rem, 4vw, 2rem); padding: 1rem 1.25rem;
  border-radius: var(--radius-s); background: var(--white); box-shadow: var(--shadow-s);
  color: var(--muted); font-size: .9375rem; line-height: 1.55;
}
.wb-hinweis__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; margin-top: .8rem; }
.wb-hinweis__mehr { padding: .4rem 0; border: 0; background: none; color: var(--primary); font: inherit; font-size: .9375rem; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* ---------- Übersicht: Raster der Aufzeichnungen ---------- */

.wb-raster { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
@media (min-width: 640px) { .wb-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .wb-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.wb-karte { display: flex; }
.wb-karte > article {
  display: flex; flex: 1; flex-direction: column; min-width: 0; overflow: hidden;
  border-radius: var(--radius); background: var(--tile); box-shadow: var(--shadow-s);
}
.wb-karte__video.video { max-width: none; margin: 0; border-radius: 0; box-shadow: none; }

/* Platzhalter in der kleinen Karte: nur Standbild und Knopf „Vimeo laden“; Erklärung steht im Hinweis darüber */
.wb-karte .video--standbild .lpc-platzhalter {
  aspect-ratio: 16 / 9 !important; align-content: center; padding: 1rem;
  background: linear-gradient(rgba(0, 38, 80, .28), rgba(0, 38, 80, .28)), var(--standbild) center / cover no-repeat, var(--primary);
}
.wb-karte .video--standbild .lpc-platzhalter__text,
.wb-karte .video--standbild .lpc-textknopf { display: none; }
.wb-karte .video--standbild .lpc-knopf--laden { box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
/* YouTube (eine Aufzeichnung): Platzhalter mit eigenem Text, wächst bei Bedarf über 16:9 hinaus */
.wb-karte .video--verlauf .lpc-platzhalter { aspect-ratio: 16 / 9 !important; align-content: center; padding: 1rem; }
.wb-karte .video--verlauf .lpc-platzhalter__text { font-size: 13px; line-height: 1.45; }
.wb-karte .video--verlauf .lpc-platzhalter__inhalt { gap: 8px; }

.wb-karte__inhalt { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 1.4rem 1.5rem; }
.wb-karte h3 { font-size: 1.125rem; line-height: 1.35; }
.wb-karte__inhalt p { margin-top: .55rem; color: var(--muted); font-size: .9375rem; line-height: 1.55; }
