/* ============================================================
   FV Rot-Weiß Erpel 1919 e.V. — Chronik: Vollseite (ab 1.2.0)

   Seitenrahmen wie Startseite, Shop, Aktuelles, Anmeldung,
   Mannschaften, Über uns und Vorstand: Kopf und Fuß aus
   fv-erpel-startseite, dazwischen der Zeitstrahl über die ganze
   Breite.

   Alles ist auf body.fvec-vollseite gescopet – im Theme-Rückfall
   greift keine Regel dieser Datei.
   ============================================================ */

body.fvec-vollseite{
  margin: 0;
  background: #fff;
  color: #17161A;
  font-family: "Newsreader", Georgia, serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html.fve-vollseite{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html.fve-vollseite{ scroll-behavior: auto; }
}

/* Kopfzeile läuft mit. Sticky wirkt nur im Elternelement, daher ist der
   ganze Kopf-Wrapper sticky; die 10 px hohe Binde rutscht nach oben weg. */
body.fvec-vollseite .fvec-vollseite__kopf{
  position: sticky;
  top: -10px;
  z-index: 1000;
}
body.fvec-vollseite.admin-bar .fvec-vollseite__kopf{ top: 22px; }
@media (max-width: 782px){
  body.fvec-vollseite.admin-bar .fvec-vollseite__kopf{ top: 36px; }
}
@media (max-width: 600px){
  body.fvec-vollseite.admin-bar .fvec-vollseite__kopf{ top: -10px; }
}

body.fvec-vollseite .fvec-vollseite__inhalt{
  display: block;
  margin: 0;
  padding: 0;
  background: #fff;
}

/* Die Seite ist schon fensterbreit: kein Ausbruch mehr nötig.
   100vw enthielte die Scrollleiste und erzeugte einen Querbalken. */
body.fvec-vollseite .fvec--voll{
  width: auto;
  max-width: none;
  margin-inline: 0;
}

/* Kein Versatz nach oben – der Kopf steht direkt unter der Kopfzeile. */
body.fvec-vollseite .fvec{ margin-top: 0 !important; }

/* Redaktioneller Text vor/nach dem Shortcode in Satzbreite. */
body.fvec-vollseite .fvec-vollseite__inhalt > *:not(.fvec):not(script):not(style){
  width: min(100% - 40px, 820px);
  margin-inline: auto;
}
body.fvec-vollseite .fvec-vollseite__inhalt > p:empty,
body.fvec-vollseite .fvec-vollseite__inhalt > br{ display: none; }
