.related_news_alignfull_container {
  padding: 96px 40px 80px;
  background: linear-gradient(180deg, #EAE4E4 0%, #EAE4E4 40%, #EAE4E400 100%);
}

body:not(.home) .related_news_alignfull_container {
  background: transparent;
  padding: 0 40px 0;
  margin-top: 96px;
  margin-bottom: 80px;
}

.related_news_container {
  max-width: 1216px;
  margin: auto;
}

.related_news_rubrik {
  margin-bottom: 40px;
  font-weight: 600;
  font-size: 22px;
  line-height: 35px;
  background: linear-gradient(
    90deg,         /* Horizontal, von links nach rechts */
    #FFFFFF 0%,    /* Links: weiß */
    #F1E2FE00 100% /* Rechts: lila-transparent */
  );
  display: inline-flex;
  padding: 7px 194px 7px 10px;
  border-radius: 29px;
  align-items: center;
  color: #002E2D;
  white-space: nowrap;
}

.related_news_rubrik img {
  height: 30px;
  width: auto;
  margin-right: 17px;
}

.related_news_main_headline_area {
  display: grid;
  grid-template-columns: 32% 62%;
  gap: 40px;
  margin-bottom: 64px;
}

.related_news_main_headline {
  color: #002E2D;
  font-size: 32px;
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -2%;
}

.related_news_infotext {
  font-weight: 400;
  font-size: 22px;
  line-height: 30px;
  color: #003838;
}

.related_news_area {
  gap: 76px;
  display: grid;
}

.related_news {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  background-color: #fff;
  border-radius: 24px;
}

body:not(.home) .related_news {
  background-color: #EEEAE8;
}

.related_news:nth-child(even) {
  direction: rtl;
}

.related_news:nth-child(even) > * {
  direction: ltr;
}

.related_news.text .related_news_headline_container {
  height: auto;
}

.related_news_image_container {
  height: 100%;
}

.teaser_image {
  height: 100%;
  object-fit: cover;
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
}

.related_news:nth-child(even) .teaser_image {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}


.related_news_headline_container {
  padding: 64px 48px;
  height: 100%;
}

.related_news:nth-of-type(2n) .related_news_headline_container {
  left: 0;
}

.related_news_headline {
  color: #002E2D;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: 44px;
  margin-bottom: 32px;
  text-align: center;
}

body:not(.home) .related_news_headline {
  font-size: 30px;
  line-height: 38px;
  margin-bottom: 24px;
}

.related_news_text {
  color: #003838;
  font-size: 18px;
  line-height: 28px;
}

.checkpoint_headline {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #002E2D;
}

.checkpoint {
  position: relative;
  padding-left: 44px;
}

.checkpoint::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 32px;
  background-image: url('/wp-content/themes/generatepress-child/template-parts/blocks/related_news/check_itm.svg');
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 20px;
  transform: translateY(-50%);
}

.checkpoint_infotext {
  font-size: 18px;
  line-height: 28px;
  color: #003838;
}

.related_news_checkpoint {
  display: grid;
  gap: 24px;
}



.related_news_more_link .relatedNews_linkarrowblue {
  display: inline-block;
  margin-left: 7px;
}

.related_news_more_link_container {
  text-align: center;
}

.related_news_more_link {
   /* background-color: #ffeb00; */
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 600;
  color: #002E2D;
  font-size: 22px;
  line-height: 30px;
  margin-top: 64px;
  border: 1px solid #E5D300;
  text-align: center;
  background: linear-gradient(277deg, #FFEB00 8.33%, #FFF9B2 78.8%);
  box-shadow: 0 4px 20px 4px rgba(255, 235, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
  background-size: 200% 100%;
  background-position: 15% 50%;
}

.related_news_more_link:hover {
  background: linear-gradient(86deg, #FFEB00 8.33%, #FFF9B2 78.8%);
  background-size: 200% 100%;
  background-position: 15% 50%;
  box-shadow: 0 2px 12px -2px rgba(211, 198, 6, 0.60);
}

.related_news_link_text {
  font-size: 14px;
  line-height: 20px;
  color: #003838;
}

@media only screen and (max-width: 850px) {
  .related_news_alignfull_container {
    padding: 64px 24px 48px;
  }

  body:not(.home) .related_news_alignfull_container {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 64px;
    margin-bottom: 48px;
  }

  .related_news_rubrik {
    font-size: 18px;
    line-height: 24px;
    padding-right: 96px;
    margin-bottom: 20px;
  }

  .related_news_main_headline_area {
    display: block;
  }

  .related_news_rubrik, .related_news_main_headline_area {
    margin-left: 16px;
    margin-right: 16px;
  }

  .related_news_main_headline {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 20px;
  }

  .related_news_area {
    gap: 64px;
  }

  .related_news_infotext {
    margin-bottom: 64px;
    font-size: 18px;
    line-height: 24px;
  }

  .related_news_image_container {
    height: 400px;
  }

  .related_news_image_container   { grid-area:image; }
  .related_news_headline_container{ grid-area:text;  }

  .related_news {
    grid-template-columns: 100%;
    grid-template-areas:
    "image"
    "text";
  }

  .related_news_headline_container {
    padding: 24px 24px 48px;
  }

  .related_news .teaser_image, .related_news:nth-child(2n) .teaser_image {
    border-top-right-radius: 24px;
    border-top-left-radius: 24px;
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
  }

  .related_news_headline {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 24px;
  }

  .checkpoint_headline {
    font-size: 18px;
    line-height: 24px;
  }
}


@media only screen and (max-width: 600px) {

  .related_news_image_container {
    height: 200px;
  }
}
