.newsdisplay-header {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  font-size: var(--text-3xl);
  color: var(--text-color);
  margin-bottom: 26px;
}

.newsdisplay-content {
  display: flex;
  width: 100%;
  background-color: var(--dark-card-backgroundcolor);
  box-shadow: 0px 3px 10px #0000005c;
}

.stroke {
  margin-left: 12px;
  height: 2px;
  flex: 1;
  background-color: var(--dark-card-backgroundcolor);
}

.newsdisplay-item {
  display: flex;
  width: 100%;
}

.newsdisplay-item__image {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 17px;
  margin-top: 13px;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  align-self: center;
}

/*
 * Gilt sowohl für Bilder als auch Videos.
 * Das Video bleibt innerhalb seines Containers
 * und läuft nicht aus dem Layout heraus.
 */
video.newsdisplay-item__image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  cursor: pointer;
}

.newsdisplay-item__title {
  color: var(--text-color);
  font-weight: bold;
  text-align: left;
  font-size: var(--text-sm);
  margin-bottom: 17px;
}

.newsdisplay-item__text {
  color: var(--text-color);
  text-align: left;
  font-size: var(--text-sm);
  width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  letter-spacing: 0px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  margin-bottom: 15px;
}

/*
 * =========================================================
 * MOBILE
 * =========================================================
 */
@media (max-width: 640px) {

  .newsdisplay-header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: var(--text-xl);
    margin-bottom: 12px;
    width: 100%;
  }

  .newsdisplay-header__second {
    font-size: var(--text-sm);
  }

  .newsdisplay-content {
    display: block;
    width: 100%;
  }

  /*
   * Bootstrap row überschreiben:
   * Bild/Video und Text untereinander
   */
  .newsdisplay-content .row {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .newsdisplay-content .col {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .newsdisplay-item {
    display: block;
    width: 100%;
  }

  .newsdisplay-item__image,
  video.newsdisplay-item__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-top: 13px;
    margin-bottom: 17px;
  }

  .newsdisplay-item__text {
    width: 100%;
    font-size: var(--text-sm);
    margin-bottom: 20px;
  }
}


/*
 * =========================================================
 * TABLET
 * =========================================================
 */
@media (min-width: 641px) and (max-width: 768px) {

  .newsdisplay-content .row {
    display: flex;
    flex-wrap: wrap;
  }

  .newsdisplay-content .col {
    max-width: 100%;
  }

  .newsdisplay-item__image,
  video.newsdisplay-item__image {
    width: 85%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }

  .newsdisplay-header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
    font-size: var(--text-xl);
  }

  .newsdisplay-header__second {
    font-size: var(--text-sm);
  }
}


/*
 * =========================================================
 * DESKTOP
 * =========================================================
 */
@media (min-width: 769px) {

  .newsdisplay-content .row {
    display: flex;
    flex-wrap: wrap;
  }

  .newsdisplay-item__image,
  video.newsdisplay-item__image {
    max-width: 100%;
    height: auto;
  }
}


/*
 * =========================================================
 * TABLET / DESKTOP - Text sauber darstellen
 * =========================================================
 */
@media (min-width: 769px) {

  .newsdisplay-content .col {
    min-width: 0;
  }

  .newsdisplay-item__text {
    max-width: 100%;
  }
}


/*
 * =========================================================
 * SEHR KLEINE HANDYS
 * =========================================================
 */
@media (max-width: 400px) {

  .newsdisplay-content .col {
    padding-left: 10px;
    padding-right: 10px;
  }

  .newsdisplay-item__image,
  video.newsdisplay-item__image {
    aspect-ratio: 16 / 9;
    margin-top: 10px;
    margin-bottom: 15px;
  }

  .newsdisplay-item__text {
    font-size: var(--text-sm);
  }
}