@charset "UTF-8";

/* Styles specific to news.html (Aktuelles) - list of news entries, image + text */

div.jah_news {
  margin: 0;
  padding: 20px 15% 0 15%;
  text-align: left;
}

div.jah_news_cell {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  margin: 0 0 60px 0;
  padding: 0 0 60px 0;
}

div.jah_news_cell:last-child {
  margin: 0;
  padding: 0;
}

div.jah_news_img {
  flex: 0 0 42%;
}

div.jah_news_img a {
  display: block;
  border: none;
}

img.jah_news_cell_img {
  width: 100%;
  height: auto;
  border: 0;
}

div.jah_news_video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

div.jah_news_video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

div.jah_news_txt {
  flex: 1 1 auto;
  text-align: left;
}

div.jah_news_txt h1 {
  margin: 0 0 12px 0;
  padding: 0;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 400;
}

div.jah_news_txt h3 {
  margin: 0 0 6px 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
}

div.jah_news_txt p {
  margin: 12px 0 0 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

div.jah_news_txt a {
  color: #000000;
  text-decoration: none;
}

div.jah_news_txt a:hover {
  text-decoration: underline;
}

@media all and (max-width: 1400px) {
  div.jah_news {
    padding: 20px 8% 0 8%;
  }
}

@media all and (max-width: 1024px) {
  div.jah_news {
    padding: 20px 5% 0 5%;
  }

  div.jah_news_cell {
    gap: 40px;
    margin: 0 0 50px 0;
    padding: 0 0 50px 0;
  }
}

@media all and (max-width: 768px) {
  div.jah_news {
    padding: 10px 20px 0 20px;
  }

  div.jah_news_cell {
    flex-direction: column;
    gap: 20px;
    margin: 0 0 40px 0;
    padding: 0 0 40px 0;
  }

  div.jah_news_img {
    flex: 0 0 100%;
    width: 100%;
  }

  div.jah_news_txt {
    width: 100%;
  }

  div.jah_news_txt h1 {
    font-size: 20px;
  }

  div.jah_news_txt h3,
  div.jah_news_txt p {
    font-size: 15px;
  }
}
