/* Generic page-level card, button, events and detail blocks */

/* ============================================================
   ALLGEMEINE KARTE
   ============================================================ */

.ed-card {
  background: var(--ed-card); border-radius: var(--ed-radius);
  box-shadow: var(--ed-shadow); border: 0;
  transition: transform var(--ed-transition), box-shadow var(--ed-transition);
}
.ed-card:hover { box-shadow: var(--ed-shadow-hover); transform: translateY(-2px); }


/* ============================================================
   BUTTONS
   ============================================================ */

.btn { border-radius: 999px; font-weight: 700; letter-spacing: .02em; }
.btn-primary {
  background: var(--ed-red); border-color: var(--ed-red);
  box-shadow: 0 8px 20px rgba(227,6,19,.25);
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--ed-red-dark); border-color: var(--ed-red-dark);
}
.btn-outline-primary { color: var(--ed-red); border-color: var(--ed-red); }
.btn-outline-primary:hover { background: var(--ed-red); border-color: var(--ed-red); }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 576px) {
  .ed-news-list { grid-template-columns: 1fr; }
  .ed-ticker { height: 3rem; }
  .ed-ticker__track span { font-size: 1.8rem; }
}


/* ============================================================
   EVENTS2 LIST — Turnierplan-Stil
   Bild links, Datum-Akzent in Rot
   Hell (Standard) + Dunkel (frame-background-dark)
   ============================================================ */

/* ---- Struktur (farbneutral, immer gültig) ---- */

.ed-events-list {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ed-event-row {
  display: flex;
  align-items: stretch;
  text-decoration: none !important;
  overflow: hidden;
  min-height: 150px;
  transition: background 0.2s ease;
  color: inherit;
}

.ed-event-row--canceled {
  opacity: 0.5;
}

.ed-event-row__img-wrap {
  flex: 0 0 35%;
  max-width: 35%;
  overflow: hidden;
  position: relative;
}

.ed-event-row__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ed-event-row:hover .ed-event-row__img-wrap img {
  transform: scale(1.04);
}

.ed-event-row__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 150px;
}

.ed-event-row__body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  transition: background 0.6s ease;
}

.ed-event-row__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
  flex-shrink: 0;
}

.ed-event-row__date-day {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  line-height: 1;
  display: block;
  transition: color 0.6s ease;
}

.ed-event-row__date-month {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  transition: color 0.6s ease;
}

.ed-event-row__divider {
  width: 1px;
  height: 56px;
  flex-shrink: 0;
  transition: background 0.6s ease;
}

.ed-event-row__info {
  flex: 1;
  min-width: 0;
}

.ed-event-row__title {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.6rem !important;
  font-weight: 400 !important;
  margin: 0 0 0.4rem !important;
  letter-spacing: 0.04em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.6s ease;
}

.ed-event-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  transition: color 0.6s ease;
}

.ed-event-row__location,
.ed-event-row__time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ed-event-row__location svg,
.ed-event-row__time svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  transition: fill 0.6s ease;
}

.ed-events-list__empty {
  text-align: center;
  padding: 3rem;
  font-family: 'DM Sans', sans-serif;
}

/* ---- Hell-Design (Standard / kein Dark-Background) ---- */

.ed-events-list {
  background: transparent;
}

.ed-event-row {
  border-bottom: 1px solid #e5e5e5;
  color: #212529;
}

.ed-event-row:hover {
  background: #f5f5f5;
  text-decoration: none !important;
}

.ed-event-row__img-wrap {
  background: #e9ecef;
}

.ed-event-row__img-placeholder {
  background: linear-gradient(135deg, #dee2e6 0%, #ced4da 100%);
}

.ed-event-row__body {
  background: #ffffff;
}

.ed-event-row__date-day {
  color: #cc0000;
}

.ed-event-row__date-month {
  color: #888;
}

.ed-event-row__divider {
  background: #dee2e6;
}

.ed-event-row__title {
  color: #1a1a1a !important;
}

.ed-event-row__meta {
  color: #6c757d;
}

.ed-event-row__location svg,
.ed-event-row__time svg {
  fill: #cc0000;
}

.ed-events-list__empty {
  color: #6c757d;
}

/* ================================================================
   FRAME BACKGROUND COLORS — Brand overrides
   Überschreiben die Bootstrap Package SCSS-Default-Farben.
   primary = Neon-Rot | secondary = Nacht (#1e293b)
   tertiary = Dunkelgrau (#374151) | quaternary = Mittelgrau (#4b5563)
   light = Hellgrau (#f6f7fb) | dark = Schwarz (#0d0d0d)
   ================================================================ */

.frame-background-primary {
  --frame-background: var(--ed-red);
  --frame-color: #ffffff;
  --frame-link-color: #ffffff;
  --frame-link-hover-color: rgba(255, 255, 255, 0.82);
}

.frame-background-secondary {
  --frame-background: #1e293b;
  --frame-color: #ffffff;
  --frame-link-color: var(--ed-red);
  --frame-link-hover-color: var(--ed-red-dark);
}

.frame-background-tertiary {
  --frame-background: #374151;
  --frame-color: #ffffff;
  --frame-link-color: var(--ed-red);
  --frame-link-hover-color: var(--ed-red-dark);
}

.frame-background-quaternary {
  --frame-background: #4b5563;
  --frame-color: #ffffff;
  --frame-link-color: var(--ed-red);
  --frame-link-hover-color: var(--ed-red-dark);
}

.frame-background-light {
  --frame-background: #e8ecf2;
  --frame-color: var(--ed-dark);
  --frame-link-color: var(--ed-red);
  --frame-link-hover-color: var(--ed-red-dark);
  background-color: #e8ecf2 !important;
}

/* ---- Dunkel-Design (frame-background-dark) ---- */

.frame-background-dark {
  --frame-background: #0d0d0d;
  --frame-color: #ffffff;
  --frame-link-color: var(--ed-red);
  --frame-link-hover-color: var(--ed-red-dark);
  background-color: #0d0d0d !important;
}

.frame-background-dark .ed-events-list {
  background: #0d0d0d;
  padding: 1.5rem 0 2rem;
}

.frame-background-dark .ed-event-row {
  border-bottom: 1px solid #222;
  color: inherit;
}

.frame-background-dark .ed-event-row:hover {
  background: #cc0000;
}

.frame-background-dark .ed-event-row:hover .ed-event-row__body {
  background: #cc0000;
}

.frame-background-dark .ed-event-row:hover .ed-event-row__date-day {
  color: #fff;
}

.frame-background-dark .ed-event-row:hover .ed-event-row__date-month {
  color: rgba(255, 255, 255, 0.7);
}

.frame-background-dark .ed-event-row:hover .ed-event-row__divider {
  background: rgba(255, 255, 255, 0.3);
}

.frame-background-dark .ed-event-row:hover .ed-event-row__title {
  color: #fff !important;
}

.frame-background-dark .ed-event-row:hover .ed-event-row__meta {
  color: rgba(255, 255, 255, 0.8);
}

.frame-background-dark .ed-event-row:hover .ed-event-row__location svg,
.frame-background-dark .ed-event-row:hover .ed-event-row__time svg {
  fill: #fff;
}

.frame-background-dark .ed-event-row__img-wrap {
  background: #1c1c1c;
}

.frame-background-dark .ed-event-row__img-placeholder {
  background: linear-gradient(135deg, #1c1c1c 0%, #2a1010 100%);
}

.frame-background-dark .ed-event-row__body {
  background: #141414;
}

.frame-background-dark .ed-event-row__date-day {
  color: #ff2c2c;
}

.frame-background-dark .ed-event-row__date-month {
  color: #666;
}

.frame-background-dark .ed-event-row__divider {
  background: #2a2a2a;
}

.frame-background-dark .ed-event-row__title {
  color: #fff !important;
}

.frame-background-dark .ed-event-row__meta {
  color: #888;
}

.frame-background-dark .ed-event-row__location svg,
.frame-background-dark .ed-event-row__time svg {
  fill: #ff2c2c;
}

.frame-background-dark .ed-events-list__empty {
  color: #555;
}

/* ---- Dark (Standard) — gleiche Systematik wie secondary/tertiary/quaternary ---- */

.frame-background-dark-standard {
  --frame-background: #0d0d0d;
  --frame-color: #ffffff;
  --frame-link-color: var(--ed-red);
  --frame-link-hover-color: var(--ed-red-dark);
  background-color: #0d0d0d !important;
}

/* ---- Überschriften auf farbigen / dunklen Rahmen ---- */
/* Ohne diesen Override greift .frame-header .element-header { color: var(--ed-dark) } */
.frame-background-primary .frame-header .element-header,
.frame-background-secondary .frame-header .element-header,
.frame-background-tertiary .frame-header .element-header,
.frame-background-quaternary .frame-header .element-header,
.frame-background-dark-standard .frame-header .element-header {
  color: #ffffff;
}

/* primary (rot): Subheader in gedämpftem Weiß (rot auf rot wäre unsichtbar) */
.frame-background-primary .frame-header .element-subheader {
  color: rgba(255, 255, 255, 0.72);
}

/* dark-like frames: Subheader in Ed-Rot (passend zur dark-Startseite) */
.frame-background-secondary .frame-header .element-subheader,
.frame-background-tertiary .frame-header .element-subheader,
.frame-background-quaternary .frame-header .element-subheader,
.frame-background-dark-standard .frame-header .element-subheader {
  color: var(--ed-red);
}

.frame-background-dark .frame-header .element-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  text-align: center;
}

.frame-background-dark .frame-header .element-subheader {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: #ff2c2c;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1rem;
  text-align: center;
}

/* ================================================================
   INNER COMPONENTS — Anpassung für farbige/dunkle Rahmen
   HR, Aufzählungsliste, Tabelle, Bootstrap-Listengruppe
   Gilt für: primary | secondary | tertiary | quaternary | dark-standard
   ================================================================ */

/* HR: Bootstrap setzt border:0 und benutzt height+background.
   !important nötig, weil .frame-type-div hr (unten) background: linear-gradient(...)
   setzt und bei gleicher Spezifität gewinnt (kommt später im CSS). */
.frame-background-primary hr,
.frame-background-secondary hr,
.frame-background-tertiary hr,
.frame-background-quaternary hr,
.frame-background-dark-standard hr,
.frame-background-dark hr {
  background-color: rgba(255, 255, 255, 0.28) !important;
  background-image: none !important;
  border: 0;
  height: 2px;
  opacity: 1;
}

/* Aufzählungsliste — Marker-Farbe je Rahmen */
/* Die Bootstrap-Package-CE "bullets" nutzt ::before mit background:var(--ed-red) statt nativer ::marker.
   Auf farbigen/dunklen Frames muss das Quadrat umgefärbt werden. */

/* primary (rot): ::before-Quadrat → weiß, Trennlinie weiß */
.frame-background-primary.frame-type-bullets ul.list li::before {
  background: rgba(255, 255, 255, 0.85) !important;
}
.frame-background-primary.frame-type-bullets ul.list li,
.frame-background-primary.frame-type-bullets ol.list li {
  border-bottom-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff;
}

/* dark-like frames: ::before-Quadrat bleibt Ed-Rot (gut sichtbar auf Dunkel), Trennlinie heller */
.frame-background-secondary.frame-type-bullets ul.list li::before,
.frame-background-tertiary.frame-type-bullets ul.list li::before,
.frame-background-quaternary.frame-type-bullets ul.list li::before,
.frame-background-dark-standard.frame-type-bullets ul.list li::before {
  background: var(--ed-red) !important;
}
.frame-background-secondary.frame-type-bullets ul.list li,
.frame-background-secondary.frame-type-bullets ol.list li,
.frame-background-tertiary.frame-type-bullets ul.list li,
.frame-background-tertiary.frame-type-bullets ol.list li,
.frame-background-quaternary.frame-type-bullets ul.list li,
.frame-background-quaternary.frame-type-bullets ol.list li,
.frame-background-dark-standard.frame-type-bullets ul.list li,
.frame-background-dark-standard.frame-type-bullets ol.list li {
  border-bottom-color: rgba(255, 255, 255, 0.10) !important;
  color: #ffffff;
}

/* ::marker für einfache Listen in Text-CEs (ul.list-normal): primary → weiß */
.frame-background-primary ul:not(.nav):not(.list-group):not(.navbar-nav) li::marker {
  color: rgba(255, 255, 255, 0.65);
}
/* dark-like frames: Marker in Ed-Rot */
.frame-background-secondary ul:not(.nav):not(.list-group):not(.navbar-nav) li::marker,
.frame-background-tertiary ul:not(.nav):not(.list-group):not(.navbar-nav) li::marker,
.frame-background-quaternary ul:not(.nav):not(.list-group):not(.navbar-nav) li::marker,
.frame-background-dark-standard ul:not(.nav):not(.list-group):not(.navbar-nav) li::marker {
  color: var(--ed-red);
}

/* Tabelle — Zellen transparent, Text weiß */
.frame-background-primary .table > :not(caption) > * > *,
.frame-background-secondary .table > :not(caption) > * > *,
.frame-background-tertiary .table > :not(caption) > * > *,
.frame-background-quaternary .table > :not(caption) > * > *,
.frame-background-dark-standard .table > :not(caption) > * > * {
  background-color: transparent !important;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.frame-background-primary .table thead > * > *,
.frame-background-secondary .table thead > * > *,
.frame-background-tertiary .table thead > * > *,
.frame-background-quaternary .table thead > * > *,
.frame-background-dark-standard .table thead > * > * {
  background-color: rgba(255, 255, 255, 0.12) !important;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

/* Bootstrap Listengruppe */
.frame-background-primary .list-group-item,
.frame-background-secondary .list-group-item,
.frame-background-tertiary .list-group-item,
.frame-background-quaternary .list-group-item,
.frame-background-dark-standard .list-group-item {
  background-color: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.frame-background-primary .list-group-item:hover,
.frame-background-secondary .list-group-item:hover,
.frame-background-tertiary .list-group-item:hover,
.frame-background-quaternary .list-group-item:hover,
.frame-background-dark-standard .list-group-item:hover {
  background-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.frame-background-primary .list-group-item a,
.frame-background-secondary .list-group-item a,
.frame-background-tertiary .list-group-item a,
.frame-background-quaternary .list-group-item a,
.frame-background-dark-standard .list-group-item a {
  color: inherit;
}

/* ================================================================
   BUTTONS — Anpassung pro Frame-Background
   primary (rot): weiße Buttons statt roter (unsichtbar auf rot)
   dark/*: roter btn-primary ok; btn-secondary → ghost-white
   ================================================================ */

/* Auf rotem Hintergrund (primary): Buttons weiß invertieren */
.frame-background-primary .btn-primary {
  --bs-btn-bg:            #ffffff;
  --bs-btn-border-color:  #ffffff;
  --bs-btn-color:         var(--ed-red);
  --bs-btn-hover-bg:      rgba(255,255,255,0.88);
  --bs-btn-hover-border-color: rgba(255,255,255,0.88);
  --bs-btn-hover-color:   var(--ed-red-dark);
  --bs-btn-active-bg:     rgba(255,255,255,0.78);
  --bs-btn-active-border-color: rgba(255,255,255,0.78);
  --bs-btn-active-color:  var(--ed-red-dark);
}

.frame-background-primary .btn-outline-primary {
  --bs-btn-color:           #ffffff;
  --bs-btn-border-color:    #ffffff;
  --bs-btn-hover-bg:        #ffffff;
  --bs-btn-hover-border-color: #ffffff;
  --bs-btn-hover-color:     var(--ed-red);
  --bs-btn-active-bg:       #ffffff;
  --bs-btn-active-border-color: #ffffff;
  --bs-btn-active-color:    var(--ed-red);
}

/* Auf dunklen Hintergründen: btn-secondary → Ghost-white */
.frame-background-secondary .btn-secondary,
.frame-background-tertiary .btn-secondary,
.frame-background-quaternary .btn-secondary,
.frame-background-dark-standard .btn-secondary,
.frame-background-dark .btn-secondary {
  --bs-btn-bg:            transparent;
  --bs-btn-border-color:  rgba(255,255,255,0.45);
  --bs-btn-color:         rgba(255,255,255,0.85);
  --bs-btn-hover-bg:      rgba(255,255,255,0.10);
  --bs-btn-hover-border-color: rgba(255,255,255,0.85);
  --bs-btn-hover-color:   #ffffff;
  --bs-btn-active-bg:     rgba(255,255,255,0.15);
  --bs-btn-active-border-color: #ffffff;
  --bs-btn-active-color:  #ffffff;
}

/* ---- Responsive ---- */

@media (max-width: 767px) {
  .ed-event-row__img-wrap {
    flex: 0 0 30%;
    max-width: 30%;
  }

  .ed-event-row__body {
    gap: 0.75rem;
    padding: 0.9rem 1rem;
  }

  .ed-event-row__date-day {
    font-size: 2.2rem;
  }

  .ed-event-row__date {
    min-width: 44px;
  }

  .ed-event-row__title {
    font-size: 1.25rem !important;
  }

  .ed-event-row__divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .ed-event-row__img-wrap {
    display: none;
  }
}

/* ============================================================
   EVENTS2 DETAIL — Modern Sport/Editorial
   ============================================================ */

.ed-event-detail {
  font-family: 'DM Sans', sans-serif;
  /* Schwarzen Balken über Hero entfernen: Frame-Padding kompensieren */
  margin-top: -3rem;
}

/* ── Hero (full-bleed) ── */

.ed-event-detail__hero {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  min-height: clamp(400px, 60vh, 680px);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.ed-event-detail__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.55;
}

.ed-event-detail__hero-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1c1c1c 0%, #2a1010 100%);
}

/* Datum-Badge oben links */

.ed-event-detail__badge {
  position: absolute;
  top: 0;
  left: 0;
  background: #cc0000;
  padding: 1rem 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  z-index: 2;
}

.ed-event-detail__badge-day {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: #fff;
  line-height: 1;
  display: block;
}

.ed-event-detail__badge-month {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
}

/* Titel + Meta im Hero */

.ed-event-detail__hero-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
  padding: 5rem 3rem 2.5rem;
  z-index: 2;
}

.ed-event-detail__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.75rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.ed-event-detail__hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}


/* ============================================================
   NEWS DETAIL — Feature Reading Design
   ============================================================ */

/* Neutralize default news wrapper padding */
.news.news-single,
.news.news-single .article {
  padding: 0 !important;
  margin: 0 !important;
}

/* Outer article wrapper */
/* ==========================================================================
   NEWS DETAIL
   ========================================================================== */

.ed-news-detail {
  font-family: 'DM Sans', sans-serif;
  margin-top: -3rem;
}

/* ---- Hero ---- */
.ed-news-detail__hero {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
  min-height: clamp(600px, 82vh, 1000px);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.ed-news-detail__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.ed-news-detail__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.32) 40%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 5rem 3rem 7rem;
  z-index: 2;
}

.ed-news-detail__hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 6.5vw, 5.8rem);
  color: #fff;
  line-height: 1.04;
  margin: 0;
  max-width: 940px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

/* ---- Roter Fächer (Teaser + Meta, diagonal) ---- */
.ed-news-detail__fan {
  position: relative;
  background: var(--ed-red, #cc0000);
  clip-path: polygon(0 5rem, 100% 0, 100% 100%, 0 100%);
  margin-top: -5rem;
  padding: 7.5rem 0 3.5rem;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  z-index: 5;
}

.ed-news-detail__fan-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.5rem 4rem;
  align-items: start;
}

/* Links: Datum / Autor / Kategorien */
.ed-news-detail__fan-meta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ed-news-detail__fan-date {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.55rem, 2.35vw, 2.15rem);
  color: #fff;
  line-height: 1.05;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.ed-news-detail__fan-author {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
}

.ed-news-detail__fan-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.1rem;
}

/* Im Fan: Badges weiß-transparent statt rot */
.ed-news-detail__fan .ed-news-detail__cat-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* Rechts: Teasertext */
.ed-news-detail__fan-text-col {
  padding-top: 0.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
  padding-left: 3rem;
}

.ed-news-detail__fan-text {
  font-size: clamp(1rem, 1.9vw, 1.15rem);
  line-height: 1.75;
  color: #fff;
  font-weight: 400;
  margin: 0;
  opacity: 0.93;
}

@media (max-width: 767px) {
  .ed-news-detail__fan-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 1.5rem;
  }
  .ed-news-detail__fan-text-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1rem;
  }
}

/* ---- Topbar (Zurück-Link) ---- */
.ed-news-detail__topbar {
  background: #f8f8f8;
  border-bottom: 2px solid var(--ed-red, #cc0000);
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-bottom: 3rem;
}

.ed-news-detail__topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ed-news-detail__cat-badge {
  display: inline-block;
  background: var(--ed-red, #cc0000);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.ed-news-detail__back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--ed-red, #cc0000);
  font: 700 0.78rem/1 'DM Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 0.85rem 0;
  transition: color 0.18s;
}

.ed-news-detail__back-link:hover {
  color: #ff3333;
}

/* ---- Reading Body ---- */
.ed-news-detail__body {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Article Text ---- */
.ed-news-detail__text {
  font-size: 1.04rem;
  line-height: 1.68;
  color: #2a2a2a;
}

.ed-news-detail__text p {
  margin-top: 0;
  margin-bottom: 0.45em;
}

.ed-news-detail__text h2,
.ed-news-detail__text h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  color: #0d0d0d;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.ed-news-detail__text ul,
.ed-news-detail__text ol {
  padding-left: 1.4rem;
  margin-bottom: 0.85em;
}

.ed-news-detail__text li {
  margin-bottom: 0.3em;
}

/* Zitate */
.ed-news-detail__text blockquote,
.ed-news-detail__text .blockquote {
  border-left: 4px solid var(--ed-red, #cc0000);
  margin: 1.75rem 0;
  padding: 1rem 1.5rem;
  background: #f5f5f5;
  border-radius: 0 4px 4px 0;
  font-size: 1.05rem;
  font-style: italic;
  color: #333;
}

.ed-news-detail__text blockquote p,
.ed-news-detail__text .blockquote p {
  margin-bottom: 0.35em;
}

.ed-news-detail__text blockquote footer,
.ed-news-detail__text .blockquote-footer {
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: var(--ed-red, #cc0000);
  margin-top: 0.5rem;
}

.ed-news-detail__text blockquote footer::before,
.ed-news-detail__text .blockquote-footer::before {
  content: '— ';
}

/* Quellenangabe als letztes <p> im Blockquote (CKEditor-Ausgabe ohne <footer>) */
.ed-news-detail__text blockquote p:last-child:not(:only-child) {
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 600;
  color: var(--ed-red, #cc0000);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.ed-news-detail__text blockquote p:last-child:not(:only-child)::before {
  content: '— ';
}

/* ---- Galerie (Nicht-Vorschau-Bilder) ---- */
.ed-news-detail__gallery {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.ed-news-detail__figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
}

.ed-news-detail__gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ed-news-detail__figure:hover .ed-news-detail__gallery-img {
  transform: scale(1.04);
}

/* Einzelbild: volle Breite */
.ed-news-detail__gallery:has(.ed-gallery-item:only-child) {
  grid-template-columns: 1fr;
}
.ed-news-detail__gallery:has(.ed-gallery-item:only-child) .ed-news-detail__gallery-img {
  height: auto;
  max-height: 560px;
  object-fit: contain;
  background: #f0f0f0;
}

.ed-news-detail__caption {
  font-size: 0.78rem;
  color: #888;
  padding: 0.4rem 0.6rem;
  font-style: italic;
}

/* ---- Related Files ---- */
.ed-news-detail__files {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: #f8f8f8;
  border-top: 3px solid var(--ed-red, #cc0000);
  margin-top: 3rem;
  padding: 2rem 0;
}

.ed-news-detail__files-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.ed-news-detail__files-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: #0d0d0d;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ed-news-detail__files-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ed-news-detail__files-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ed-red, #cc0000);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity 0.18s;
}

.ed-news-detail__files-link:hover {
  opacity: 0.75;
}

.ed-news-detail__files-icon {
  flex-shrink: 0;
}

.ed-news-detail__files-size {
  font-weight: 400;
  color: #888;
  font-size: 0.8rem;
}

.ed-news-detail__empty {
  margin: 0;
  font-size: 0.92rem;
  color: #666;
}

.ed-news-detail__empty--dark {
  color: rgba(255, 255, 255, 0.78);
}

/* ---- Related News ---- */
.ed-news-detail__related {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: #111;
  margin-top: 3rem;
  padding: 3rem 0;
}

.ed-news-detail__related-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.ed-news-detail__related-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.ed-news-detail__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.ed-news-detail__related-card {
  display: flex;
  flex-direction: column;
  background: #1c1c1c;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ed-news-detail__related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.ed-news-detail__related-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.ed-news-detail__related-body {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
}

.ed-news-detail__related-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ed-red, #cc0000);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.ed-news-detail__related-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .ed-news-detail__meta-item {
    padding: 0.75rem 1rem;
  }
  .ed-news-detail__related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ed-news-detail {
    margin-top: -1.5rem;
  }

  .ed-news-detail__hero-overlay {
    padding: 3rem 1.25rem 4.5rem;
  }

  .ed-news-detail__fan {
    clip-path: polygon(0 2.5rem, 100% 0, 100% 100%, 0 100%);
    margin-top: -2.5rem;
    padding-top: 4rem;
  }

  .ed-news-detail__meta-item {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
  }

  .ed-news-detail__meta-back {
    margin-left: 0;
    border-bottom: none;
  }

  .ed-news-detail__related-grid {
    grid-template-columns: 1fr;
  }

  .ed-news-detail__body {
    padding: 0 1rem;
  }
}

.ed-event-detail__hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.ed-event-detail__hero-meta-item svg {
  width: 14px;
  height: 14px;
  fill: #ff4444;
  flex-shrink: 0;
}

/* ── Zentrierter Textbereich ── */

.ed-event-detail__content {
  max-width: 760px;
  margin: 3rem auto;
  padding: 2rem 2rem 2.25rem;
  background: rgba(248, 248, 248, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.ed-event-detail__teaser {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  color: #1a1a1a;
  border-left: 3px solid #cc0000;
  padding-left: 1rem;
}

.ed-event-detail__description {
  font-size: 1rem;
  line-height: 1.8;
  color: #444;
}

.ed-event-detail__description p {
  margin-bottom: 1rem;
}

.ed-event-detail__description a {
  color: #b30000;
  text-decoration: underline;
}

.ed-event-detail__description a:hover {
  color: #cc0000;
}

.ed-event-detail__section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  margin: 2.5rem 0 0.75rem;
}

.ed-event-detail__download-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ed-event-detail__download-list li {
  margin-bottom: 0.4rem;
}

.ed-event-detail__download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #cc0000;
  text-decoration: none;
  font-size: 0.9rem;
}

.ed-event-detail__download-link:hover {
  text-decoration: underline;
}

.ed-event-detail__download-link svg {
  width: 14px;
  height: 14px;
  fill: #cc0000;
  flex-shrink: 0;
}

/* ── Horizontale Info-Leiste ── */

.ed-event-detail__infobar {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: #111;
  border-top: 3px solid #cc0000;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.ed-event-detail__infobar-item {
  flex: 1;
  min-width: 140px;
  padding: 1.25rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.ed-event-detail__infobar-item:last-child {
  border-right: none;
}

.ed-event-detail__infobar-label {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #cc0000;
  margin-bottom: 0.3rem;
}

.ed-event-detail__infobar-value {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.ed-event-detail__infobar-value a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.ed-event-detail__infobar-value a:hover {
  color: #ff4444;
}

/* Zurück-Link als letzter Item */

.ed-event-detail__infobar-back {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.ed-event-detail__back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #cc0000;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ed-event-detail__back-link:hover {
  color: #ff4444;
}

.ed-event-detail__back-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .ed-event-detail__infobar {
    flex-wrap: wrap;
  }

  .ed-event-detail__infobar-item {
    flex: 0 0 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ed-event-detail__infobar-back {
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .ed-event-detail {
    margin-top: -1.5rem;
  }

  .ed-event-detail__hero {
    min-height: clamp(300px, 55vh, 480px);
  }

  .ed-event-detail__badge-day {
    font-size: 2.5rem;
  }

  .ed-event-detail__hero-footer {
    padding: 4rem 1.5rem 1.5rem;
  }

  .ed-event-detail__infobar-item {
    flex: 0 0 100%;
  }

  .ed-event-detail__content {
    margin: 2rem auto;
    padding: 1.25rem 1rem 1.5rem;
  }
}
