/* 4-Spalten Card-Layout für vier "Text und Bild" Elemente im Artikel */
.cards-4col {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  padding-bottom: 80px;
}

/* Überschrift + Intro sollen über volle Breite gehen */
.cards-4col > .content-text:first-child {
  grid-column: 1 / -1;
}

/* Die Card-Elemente (deine "Text und Bild" Blöcke) */
.cards-4col > .content-text.media {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.07);
  transition: transform .18s ease, box-shadow .18s ease;
}

/* Hover */
.cards-4col > .content-text.media:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
}

/* Bild oben: gleiche Höhe, sauberer Zuschnitt */
.cards-4col > .content-text.media figure {
  margin: 0;
}

.cards-4col > .content-text.media img {
  display: block;
  width: 100%;
  height: 100px;
  object-fit: cover;
  padding-bottom: 20px;
}

/* Innenabstände für Textbereich */
.cards-4col > .content-text.media > h2,
.cards-4col > .content-text.media > h3 {
  margin: 18px 18px 10px;
}

.cards-4col > .content-text.media > .rte {
  padding: 0 18px 18px;
}

/* Responsive: 2 Spalten */
@media (max-width: 1200px) {
  .cards-4col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Responsive: 1 Spalte */
@media (max-width: 640px) {
  .cards-4col {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cards-4col > .content-text.media img {
    height: 200px;
  }
}

