div.td_block_newspaper__child_9__themen__grid__text {
/* Container: Flexbox */
.container {
  display: flex;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Links: Grid mit 3 Spalten */
.links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 158px;
  padding: 28px 16px 22px;
  background: var(--box-bg, #FFFFFF);
  border-radius: 28px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.block:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}


.block h3 {
  margin: 0;
  font-family: "red hat display", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.10;
  color: #414459;
}

.block a {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #414459;
  text-decoration: none;
}

/* Rechts: Titel und Text */
.text {
  flex: 0 0 260px;
}

.text h2 {
  margin: 0 0 12px;
  font-family:  "red hat display", sans-serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.10;
  color: #414459;
}

.text p {
  margin: 0;
   font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #5A5F73;
}

/* Mobil: Container wird zur Spalte, Text oben, Karten einzeln darunter */
@media (max-width: 767px) {
  .container {
    flex-direction: column;
  }

  .text {
    order: -1;
    flex: none;
  }

  .text h2 {
    font-size: 28px;
  }

  .links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .block {
    min-height: 110px;
    border-radius: 20px;
  }
}
}
