.related_news_alignfull_container {
  padding: 0;
  margin-top: 96px
}

.related_news_main_headline_area {
  display: block;
  max-width: 1216px;
  margin: auto;
  margin-bottom: 64px;
}

.related_news_main_headline {
  margin-bottom: 0;
  max-width: 696px;
}

.related_news_main_headline p{
  color: #002E2D;
  font-size: 44px;
  font-weight: 600;
  line-height: 52px;
  letter-spacing: -1%;
  margin-bottom: 8px;
}

.related_news_main_headline strong {
  text-decoration: underline;
}

.related_news_infotext {
  font-weight: 400;
  font-size: 22px;
  line-height: 34px;
  color: #003838;
  max-width: 800px;
  margin-left: 34%;
  margin-bottom: 0;
}

.related_news_area {
  display: grid;
}

.related_news {
  display: grid;
  grid-template-columns: 50% 50%;
  /* height: 744px; */
  overflow: visible;
  padding: 96px 20px;
  max-width: 1246px;
  margin: auto;
  grid-column-gap: 32px;
}

.related_news.is_headline {
  padding-top: 164px;
}


.related_news_container.grey {
  background-color: #F2F4F4;
}

.related_news_container.white {
  background-color: #fff;
}

.related_news_area > .related_news_container.white:first-of-type .related_news {
  padding-top: 0;
}

.related_news_container.left_img {
  direction: rtl;
  grid-column: 1 / -1;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
}

.related_news_pre_headline {
  position: absolute;
  top: -120px;
  font-size: 44px;
  line-height: 52px;
  font-weight: 600;
  text-decoration: underline;
}

.related_news_image_container {
  height: 600px;
}

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

.related_news_container.left_img .teaser_image {
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
	
  opacity: 0;                          
  transform: translateX(-60px);         
  /*animation: slideInLeft 1s ease-out 0.5s forwards; */
}

.related_news_container.right_img .teaser_image {
  opacity: 0;                          
  transform: translateX(60px);         
 /* animation: slideInRight 1s ease-out 0.5s forwards; */
}

.related_news_container.inview.left_img  .teaser_image  { animation: slideInLeft  1s ease-out .2s forwards; }
.related_news_container.inview.right_img .teaser_image  { animation: slideInRight 1s ease-out .2s forwards; }

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  70% {
    opacity: 1;
    transform: translateX(10px);     
  }
  100% {
    opacity: 1;
    transform: translateX(0px);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(60px);
  }
  70% {
    opacity: 1;
    transform: translateX(-10px);     
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}


.related_news_container .teaser_image { will-change: transform, opacity; }
@media (prefers-reduced-motion: reduce) {
  .related_news_container .teaser_image { animation: none !important; opacity: 1; transform: none; }
}

.related_news_headline_container {
  height: 100%;
  /* margin-right: 32px; */
  text-align: left;
  align-content: center;
  position: relative;
}

.related_news_headline {
  color: #fff;
  font-size: 44px;
  font-style: normal;
  font-weight: 600;
  line-height: 52px;
  margin-bottom: 40px;
  letter-spacing: -1%;
  background-color: #002E2D;
  display: inline-block;
  padding: 16px 40px;
  border-radius: 100px;
}

.related_news_headline_pure {
  color: #002E2D;
  font-size: 44px;
  font-style: normal;
  font-weight: 600;
  line-height: 52px;
  margin-bottom: 40px;
  letter-spacing: -1%;
  display: inline-block;
}

.related_news_headline_pure p {
  margin-bottom: 0;
}

.related_news_container.left_img .related_news_headline, .related_news_container.left_img .related_news_headline_pure {
  direction: ltr;
}

.related_news_headline_pure strong {
  text-decoration: underline;
}

.related_news_container.left_img .related_news_headline_pure {
  direction: initial;
}

.related_news_container.left_img .related_news_pre_headline {
  left: -608px;
}

.related_news_text p {
  color: #003838;
  font-size: 22px;
  line-height: 34px;
  margin-bottom: 40px;
}

.related_news_container.left_img .related_news_text {
  direction: ltr;
}

.related_news_container.is_pure_title .related_news_text p {
  font-size: 18px;
  line-height: 28px;
  margin-bottom: 24px;
}

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

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

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


.related_news_more_link {
  padding: 16px 24px;
  border-radius: 8px;
  text-decoration: none;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: #002E2D;
  font-size: 22px;
  line-height: 28px;
  margin-top: 16px;
  border: 1px solid #D3C606;
  text-align: center;
  background-color: #FFFD82;
  cursor: pointer;
  transition: transform 0.15s ease-in-out;
  background-size: 200% 100%;
  background-position: 15% 50%;
}

.related_news_more_link:hover {
  color: #726900;
  background-color: #FFFD82;
  background-size: 200% 100%;
  background-position: 15% 50%;
  box-shadow: 0 2px 12px -2px rgba(211, 198, 6, 0.60);
}


.related_news_more_link:hover::after,
.related_news_container.right_img .related_news_more_link:hover::after,
.related_news_container.left_img .related_news_more_link:hover::before {
  background: url("/wp-content/themes/generatepress-child/img/ic-arrow-right-hoved.svg") no-repeat center;
}

.related_news_container.right_img .related_news_more_link::after, .related_news_container.left_img .related_news_more_link::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url("/wp-content/themes/generatepress-child/img/ic-arrow-right.svg") no-repeat center;
  background-size: contain;
  margin-left: 10px;
}

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


.related_news_container.left_img .related_news_image_container {
  margin-left: calc((1216px - 100vw)/2 - 40px);
  margin-right: 32px;
}

.related_news_container.right_img .related_news_image_container {
  margin-right: calc((1216px - 100vw)/2 - 40px);
  margin-left: 32px;
}

@media (max-width: 1220px){
  .related_news_main_headline_area {
    padding: 0 20px;
  }

  .related_news_container.left_img .related_news_image_container {
    margin-left: 0;
  }

  .related_news_container.right_img .related_news_image_container {
    margin-right: 0;
  }
}

@media (max-width: 800px){
  .related_news_alignfull_container {
   padding: 32px 0px 0;
   margin-top: 32px;
 }

 .related_news_main_headline_area {
    padding: 0 20px;
    margin-bottom: 56px;
  }

  .related_news_main_headline p {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 16px;
  }

  .related_news_headline_pure {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 24px;
    display: block;
    text-align: left;
  }

  .related_news_infotext {
    font-size: 18px;
    line-height: 28px;
    margin-left: 0;
  }

  .related_news {
    grid-template-columns: 100%;
    padding: 32px 20px;
  }

  .related_news_container.white .related_news {
    padding-bottom: 0;
    margin-bottom: 32px;
  }

  .related_news_area {
    display: block;
  }

  .related_news_container.left_img, .related_news_container.right_img {
    direction: unset;
    margin: 0;
    width: 100%;
  }

  .related_news_headline_container {
    order: 2;
    text-align: center;
  }

  .related_news_container.left_img .related_news_image_container {
    margin-right: 0;
  }

  .related_news_container.right_img .related_news_image_container {
    margin-left: 0;
  }

  .related_news_image_container {
    height: unset;
  }

  .teaser_image {
    height: 210px;
    width: 100%;
    object-fit: cover;
    border-radius: 24px !important;
    margin-bottom: 32px;
  }

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

  .related_news_text p {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 24px;
  }

  .related_news_container.is_pure_title .related_news_text p {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 24px;
    text-align: left;
  }

  .related_news_container.right_img .related_news_more_link::after, .related_news_container.left_img .related_news_more_link::before {
    width: 20px;
    height: 20px;
  }

  .related_news_more_link {
    padding: 12px 16px;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 16px;
    line-height: 24px;
  }
}
