/* ══════════════════════════════════════════════════════════
   PRESSEMITTEILUNGEN — chronologische Liste ohne Bild
   (Datum + Titel + Teaser, Icon-Kreis wie beim internen
   Berentzen Link-Button — bewusst dieselben Werte, damit beide
   Widgets optisch zusammenpassen, auch wenn sie unabhaengig
   voneinander geladen werden (kein CSS-Cross-Dependency).)
══════════════════════════════════════════════════════════ */

.press-list { display: flex; flex-direction: column; }

/* ── Jahres-Filter (Pillen) — gleiche Optik wie .cal-view-toggle-btn beim
   Finanzkalender, eigene Klassennamen (kein CSS-Cross-Dependency). ── */
.press-year-filter {
  display: inline-flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.press-year-btn {
  display: inline-flex; align-items: center;
  padding: 8px 32px;
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: #fbfaf7 !important;
  border: 1px solid #ded7c9 !important;
  box-shadow: none !important;
  color: var(--dark) !important;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.press-year-btn.is-active {
  background: #ffffff !important;
  border-color: var(--copper) !important;
  color: var(--copper) !important;
}
.press-year-btn:hover:not(.is-active) {
  background: #ffffff !important;
  border-color: var(--copper) !important;
  box-shadow: 0 0 0 3px rgba(194,94,38,0.14) !important;
}
.press-year-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.press-list-row {
  display: flex; align-items: center; gap: 20px;
  padding: 22px 4px;
  text-decoration: none;
  border-bottom: 0.5px solid rgba(78,88,89,0.12);
  transition: background 0.15s;
}
.press-list-row:first-child { border-top: 0.5px solid rgba(78,88,89,0.12); }
.press-list-row:hover { background: #f7f6f3; }

.press-list-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }

.press-list-date {
  font-size: 11px; font-weight: 700; color: var(--copper);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.press-list-title {
  font-size: 16px; font-weight: 600; color: var(--dark); line-height: 1.35;
}
.press-list-teaser {
  font-size: 13.5px; color: rgba(78,88,89,0.65); line-height: 1.55;
}

/* Icon-Kreis — 1:1 dieselben Werte wie .link-button-icon */
.press-list-icon {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: rgba(194,94,38,.1);
  font-size: 17px; color: #c25e26;
  transition: background 0.15s, color 0.15s;
}
.press-list-row:hover .press-list-icon { background: #c25e26; color: #fff; }

.press-list-empty {
  font-size: 14px; color: rgba(78,88,89,0.55); padding: 20px 4px;
}

/* ── Pagination (klassische Seitenzahlen, kein JS notwendig) ── */
.press-pagination { margin-top: 24px; }
.press-pagination ul {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0;
}
.press-pagination a,
.press-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 34px; padding: 0 6px;
  border-radius: 6px; font-size: 13px; font-weight: 500;
  color: var(--dark); text-decoration: none;
  border: 0.5px solid rgba(78,88,89,0.15);
  transition: all 0.15s;
}
.press-pagination a:hover { background: #f5f4f1; }
.press-pagination span.current {
  background: var(--copper); color: #fff; border-color: var(--copper);
}
.press-pagination span.dots { border: none; }

/* Versteckter Screenreader-Text in Vorherige-/Naechste-Seite-Links,
   gleiches Muster wie .link-button-sr-only */
.press-pagination-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

/* Generische Variante derselben Technik, fuer versteckte Screenreader-
   Hinweise ausserhalb der Pagination (z.B. "oeffnet in neuem Fenster"
   beim RSS-Feed-Widget). */
.press-list-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

@media (max-width: 600px) {
  .press-list-row  { gap: 14px; padding: 16px 2px; }
  .press-list-title { font-size: 14.5px; }
  .press-list-teaser { display: none; } /* Fokus auf Titel + Datum, spart Platz auf Mobile */
  .press-list-icon { width: 32px; height: 32px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .press-year-btn { transition: none !important; }
}