/**
 * SSG Ergebnisse — Presse (v2.27.0)
 * Jahr-Zeitstrahl, Light-Mode. Unternehmensfarben blau/weiss/grau — KEIN Gold/Gelb.
 * Nutzt globale --ssg-* Tokens (tokens.css); lokale Aliase fuer Hellblau/Grau-Akzente,
 * die es als Token nicht gibt (bewusst, damit Presse nicht den Gold-Akzent erbt).
 */

.ssg-presse {
  /* lokale Akzent-Aliase (Werte aus dem freigegebenen Mockup) */
  --_lightblue: #3b82c4;   /* Links, Timeline-Punkt-Rand */
  --_badge-bg:  #e7f1fb;   /* Datum-Badge BG */
  --_badge-tx:  #1d5fa6;   /* Datum-Badge Text */
  --_badge-bd:  #c7ddf3;   /* Datum-Badge Border */
  --_line:      #d3dae6;   /* Timeline-Linie + Jahr-Trennlinie (grau) */

  max-width: 900px;
  margin-inline: auto;
  color: var(--ssg-text-primary);
}

/* ---------- Leerer Zustand ---------- */
.ssg-presse__empty {
  text-align: center;
  color: var(--ssg-text-muted);
  padding: 2rem 0;
}

/* ---------- Filter-Pills ---------- */
.ssg-presse__filter {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.ssg-presse__pill {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  font: inherit;
  font-size: .8rem;
  line-height: 1.2;
  padding: .35rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--_lightblue);   /* Border hellblau statt Gold */
  background-color: var(--ssg-pill-bg);
  color: var(--ssg-navy);
  box-shadow: none;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.ssg-presse__pill:hover {
  background-color: var(--ssg-pill-bg-hover);
}
.ssg-presse__pill.is-active,
.ssg-presse__pill.is-active:hover {
  background-color: var(--ssg-navy);
  color: #fff;
  border-color: var(--ssg-navy);
}
.ssg-presse__pill:focus,
.ssg-presse__pill:focus-visible,
.ssg-presse__pill:active {
  /* Anti-Elementor-Rosa: explizite Hintergrundfarbe auch fuer focus/active */
  outline: 2px solid var(--_lightblue);
  outline-offset: 2px;
  box-shadow: none;
}
.ssg-presse__pill.is-active:focus,
.ssg-presse__pill.is-active:active {
  background-color: var(--ssg-navy);
  color: #fff;
}

/* ---------- Jahr-Block ---------- */
.ssg-presse__year {
  margin: 0 0 1.4rem;
}
.ssg-presse__year-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--ssg-navy);
  margin: 1.1rem 0 .9rem;
}
.ssg-presse__year-head::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--_line);   /* graue Trennlinie rechts */
}

/* ---------- Timeline ---------- */
.ssg-presse__timeline {
  position: relative;
  padding-left: 1.9rem;
}
.ssg-presse__timeline::before {
  content: "";
  position: absolute;
  left: .5rem;
  top: .4rem;
  bottom: .4rem;
  width: 2px;
  background: var(--_line);   /* vertikale graue Linie */
}

.ssg-presse__item {
  position: relative;
  padding: 0 0 1.25rem;
}
.ssg-presse__item:last-child {
  padding-bottom: 0;
}
.ssg-presse__item::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: .35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;                       /* weisser Punkt */
  border: 3px solid var(--_lightblue);    /* hellblauer Rand */
}

/* ---------- Datum-Badge ---------- */
.ssg-presse__date {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  color: var(--_badge-tx);
  background: var(--_badge-bg);
  border: 1px solid var(--_badge-bd);
  border-radius: 6px;
  padding: .12rem .55rem;
  margin-bottom: .35rem;
  font-variant-numeric: tabular-nums;
}

/* ---------- Titel ---------- */
.ssg-presse__title {
  margin: .1rem 0 .25rem;
  font-size: clamp(.95rem, 2vw, 1.05rem);
  font-weight: 650;
  line-height: 1.35;
  color: var(--ssg-navy);
}
.ssg-presse__title a {
  color: inherit;
  text-decoration: none;
}
.ssg-presse__title a:hover {
  text-decoration: underline;
}

/* ---------- Meta-Zeile ---------- */
.ssg-presse__meta {
  margin: 0;
  font-size: .85rem;
  color: var(--ssg-text-muted);
}
.ssg-presse__src {
  color: var(--ssg-navy);
  font-weight: 700;
}
.ssg-presse__author {
  color: var(--ssg-text-muted);
}
.ssg-presse__ext {
  color: var(--_lightblue);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.ssg-presse__ext:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .ssg-presse__timeline {
    padding-left: 1.5rem;
  }
  .ssg-presse__item::before {
    left: -1.35rem;
  }
  .ssg-presse__meta {
    font-size: .82rem;
  }
}
