/* =========================================
   VTplus – Press Archive (Accordion)
   Version: 1.0.5
   Changelog:
   - 1.0.5: Clickbereich (summary) wieder klar hervorgehoben,
            Liste bleibt neutral ohne Box oder Hintergrund.
   ========================================= */

/* [1.0.5] Container */
.press-archive {
  margin: .75rem 0 1rem 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

/* [1.0.5] Clickbarer Bereich (summary) */
.press-archive > summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  padding: .55rem .9rem;
  user-select: none;
  list-style: none;
  font-weight: 600;
  color: #0b7fb3;                 /* CI-Blau */
  background: #eef6fb;            /* dezente Fläche */
  border-radius: 6px;
  transition: background .2s ease, box-shadow .2s ease;
  outline: none;
  border: 1px solid rgba(11,127,179,0.15);
}

/* [1.0.5] Hover / Focus */
.press-archive > summary:hover {
  background: #e2f0f7;
  box-shadow: 0 0 0 2px rgba(11,127,179,0.15);
}
.press-archive > summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(11,127,179,0.25);
}

/* [1.0.5] Offen-Zustand: gleiche Fläche, aber untere Kanten abgeflacht */
.press-archive[open] > summary {
  background: #e2f0f7;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* [1.0.5] Chevron-Symbol */
.press-archive > summary::before {
  content: '';
  width: .5rem;
  height: .5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .2s ease;
  margin-right: .25rem;
}
.press-archive[open] > summary::before {
  transform: rotate(45deg);
}

/* [1.0.5] Inhalt (Archivliste) – neutral, wie normale UL */
.press-archive > ul {
  margin: 0;
  padding: .5rem 0 0 1.2rem;
  border: none;
  background: transparent;
  border-radius: 0;
}

/* [1.0.5] Abstände zwischen Punkten */
.press-archive > ul > li + li {
  margin-top: .35rem;
}

/* [1.0.5] Bewegungseinstellungen */
@media (prefers-reduced-motion: reduce) {
  .press-archive > summary::before { transition: none; }
}
