.accordion {
  width: 100%;
  position: relative;
}

.accordion-item {
  min-height: 60px;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 10px 15px rgba(0, 0, 0, 0.3),
    inset 0 0 15px rgba(255, 255, 255, 0.2);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.accordion-header {
  min-height: 60px;
  background-color: var(--rot);
  color: white;
  padding: 1rem;
  cursor: pointer;
  display: grid;
  align-items: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.accordion-item:hover {
  box-shadow:
    0 20px 25px rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.accordion-title {
  width: 100%;
  font-size: 1.05rem;
  font-weight: 600;
  justify-self: flex-start;
}

.accordion-date {
  width: 100%;
  font-size: 0.85rem;
  opacity: 0.85;
  justify-self: flex-start;
}

.accordion-content-container {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content-container.open {
  max-height: 5000px;
}

.accordion-content {
  padding: 1rem;
  background-color: transparent;
  text-shadow: none;
}

.accordion-content.loading {
  font-style: italic;
  color: #888;
}

.error {
  color: red;
  text-align: center;
}
