.dnd-card {
  box-shadow: 0 2px 10px rgba(30, 30, 30, 0.12);
  overflow: hidden;
  background: #fff;
  margin: 0.5rem;
  display: flex;
  flex-direction: column;
  height: 270px;
  width: 246px;
}

.dnd-card__img {
  width: 246px;
  height: 165px;
  object-fit: cover;
  display: block;
  background: #adadad;
}

.dnd-card__content {
  padding: 0.3rem 0.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: 'Heebo', Arial, Verdana, sans-serif;
}

.dnd-card__title {
  color: #111;
  margin-bottom: 0.2rem;
  overflow: hidden;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dnd-card__highlight {
  color: #dd2255; /* Dendrit-Pink oder anderes Accent */
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dnd-card__brand {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: #222;
  max-height: 30px;
}

.dnd-card__logo {
  max-height: 30px;
  max-width: 100px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
}

.dendrit.dnd-card__logo {
  height: 65%;
}

.dnd-card__date {
  margin: 5px 0;
  display: none;
}

.embla[data-view='list'] .dnd-card__date {
  display: block;
}

.embla[data-view='list'] .dnd-card {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  background: none;
  box-shadow: none;
  max-width: inherit;
  height: inherit;
  margin: none;
  box-shadow: 1px 1px 4px lightgray;
}
.embla[data-view='list'] .dnd-card__img {
  width: inherit;
  height: inherit;
  object-fit: cover;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .embla[data-view='list'] .dnd-card {
    height: 120px;
    flex-direction: row;
    width: 100%;
  }
  .embla[data-view='list'] .dnd-card__img {
    width: 200px;
    height: 120px;
  }
}

.embla[data-view='list'] .dnd-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.embla[data-view='list'] .dnd-card__brand {
  justify-content: right;
}

.embla__feedselector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.embla__feedselector select {
  border-radius: 4px;
  padding: 4px 8px;
  border: 1px solid #ccc;
}
