.pdf-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

.pdf-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgb(188, 215, 243);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 4px 4px 4px rgba(0,0,0,0.3);
  text-decoration: none;
  color: #0b2e6d;
  width: 180px;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s;
}

.pdf-card:hover {
  /* transform: translateY(-20px); */
  box-shadow: 4px 4px 4px rgba(0,0,0,0.3);
  background: #f0f8ff;
}

.pdf-icon i {
  font-size: 2em;
  color: #e63946; /* typisches PDF-Rot */
}

.pdf-text h3 {
  margin: 0 0 5px 0;
  font-size: 1.1em;
}

.pdf-text p {
  margin: 0;
  font-size: 0.9em;
  color: #555;
}

/* ---- Event-Liste ---- */
.events {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
  text-align: left;
}

.month-block h2 {
  margin-bottom: 5px;
  color: #0b2e6d;
  border-bottom: 2px solid #0b2e6d;
  padding-bottom: 2px;
}

.event-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

.event-date {
  margin-top: 14px;
  font-weight: bold;
  color: #0b2e6d;
  white-space: nowrap;
  line-height: 1.0;
}

.event-text {
  margin-top: 0px;
  white-space: pre-line; /* erlaubt Zeilenumbrüche */
  line-height: 1.0;
}



/* Mobile-Anpassung */
@media (max-width: 600px) {
  .pdf-card {
    width: 70%;          /* fast volle Breite auf Handy */
    flex-direction: row; /* Icon links, Text rechts */
  }

  .pdf-text p {
    text-align: center;
  }

    .event-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .event-date {
    font-weight: bold;
    color: #0b2e6d;
  }
}