.col-module_News .news-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}

.col-module_News .card-date,
.col-module_News .card-title,
.col-module_News .card-subtitle,
.col-module_News .card-teaser,
.col-module_News .card-button {
  margin: 0 20px;
  width: calc(100% - 40px);
  display: block;
}

.col-module_News .card-pic {
  margin-bottom: 25px;
  aspect-ratio: 4/3;
  background: url(/images/news-dummy.jpg) center center no-repeat #D6D6D6;
  background-size: cover;
  position: relative;
}

.col-module_News .card-pic img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.card-date > div {
  display: inline;
  font-size: 1.5rem;
}

.col-module_News .card-title {
  text-decoration: none;
}

.col-module_News .news-wrapper .card-title > * {
  padding: 0;
  margin-bottom: 0;
  color: rgb(var(--sub-dark-color));
}

.col-module_News .card-subtitle {
  display: block;
  font-weight: 700;
  margin-bottom: 20px;
}

.col-module_News .card-teaser {
  margin-bottom: 20px;
}

.col-module_News .card-button {
  text-align: right;
}

.col-module_News .card-button a.button {
  background: transparent;
  border-color: rgb(var(--main-dark-color));
  color: rgb(var(--main-dark-color));
}

.col-module_News .card-button a.button:hover,
.col-module_News .card-button a.button:focus {
  background: rgb(var(--main-dark-color));
  border-color: rgb(var(--main-dark-color));
  color: rgb(var(--main-light-color));
}

.col-module_News_detail .cols {
  width: auto;
}

.col-module_News_detail h1:after {
  display: none;
}

.news-detail-date {
  color: rgb(var(--main-dark-color));
  float: right;
}

.news-detail-date > div {
  display: inline;
}

.news-detail-first-pic {
  max-width: 400px;
  margin-bottom: 20px;
  display: block;
}

.news-detail-pics {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.news-detail-pic {
  max-width: 300px;
  aspect-ratio: 4/3;
  height: auto;
  object-fit: cover;
}

.news-detail-heading {
  margin-bottom: 5px;
  color: rgb(var(--sub-dark-color));
}

#news-detail-swiper {
  margin: 3rem auto;
}

.news-detail-back-below {
  margin-top: 20px;
  text-align: right;
}

.col-module_News .card {
  background: rgba(var(--sub-light-color), .5);
  padding-bottom: 45px;
}

.customstyle-bg-dark .col-module_News .card {
  background: rgba(var(--sub-light-color), 1);
}


.news-home {
  margin: 3rem 0 0;
}

.news-home-item {
  background: rgba(var(--sub-light-color), 1);
  color: rgba(var(--main-dark-color), 1);
  flex: 1;
  margin: 0 0 3rem;
}

.news-home-item-date {
  font-size: 1.5rem;
  padding: 2.5rem 3rem 2rem;
}

.news-home-item-date > div {
  display: inline;
}

.news-home-item-title,
.news-home-item-more {
  margin: 0;
  padding: 0 3rem 1.5rem;
  text-transform: none;
}

.news-home-item-title a {
  font-size: 3rem;
  text-decoration: none;
}

.news-home-item-title a:hover,
.news-home-item-title a:focus {
  text-decoration: underline;
}

.news-home-item-more {
  font-size: 2rem;
}

.news-home-item-pic img {
  max-height: 140px;
  object-fit: cover;
  width: 100%;
}

/*.home .news-wrapper {
  display: flex;
  gap: 40px;
}

.home .news-wrapper .card {
  flex: 1;
}

.home .news-wrapper .card img {
  aspect-ratio: 24/10;
  object-fit: cover;
}

.home .news-wrapper .card-date > div {
  display: inline;
}*/

@media screen and (min-width: 1040px) {

  .news-home {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    margin: 0;
  }

  .news-home-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
  }

  .col-module_News .card-date,
  .col-module_News .card-title,
  .col-module_News .card-subtitle,
  .col-module_News .card-teaser,
  .col-module_News .card-button {
    margin: 0 40px;
    width: calc(100% - 80px);
  }

  .col-module_News .card {
    padding: 0;
    width: 100%;
  }

  .col-module_News .card-content {
    display: flex;
    gap: 10px;
  }

  .col-module_News .card-pic {
    border-right: 10px solid rgb(var(--main-light-color));
    flex: 1;
    margin: 0;
    max-width: 384px;
  }

  .col-module_News .card-content-inner {
    flex: 3;
    padding: 30px 40px;
  }

  .col-module_News .card-date,
  .col-module_News .card-title,
  .col-module_News .card-subtitle,
  .col-module_News .card-teaser,
  .col-module_News .card-button {
    margin: 0;
    width: auto;
  }

  .col-module_News .card-title h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin: 3rem 0 0;
  }

  .col-module_News .card-teaser,
  .col-module_News .card-button {
    margin: 1rem 0 0;
  }

  .news-detail-content {
    margin: 5rem 0 0;
    width: auto;
  }

  #news-detail-swiper {
    margin: 0;
  }

}

.customstyle-newsarchiv .col-module_News .news-wrapper {
  display: block;
}

.customstyle-newsarchiv .col-module_News .card {
  box-shadow: none;
  width: 100%;
  border-bottom: 1px solid rgb(var(--main-dark-color));
  padding: 10px;
  text-align: center;
}

.customstyle-newsarchiv .col-module_News .card-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  text-align: left;
}

.customstyle-newsarchiv .col-module_News .card-content > * {
  margin: 0;
  width: 100%;
}

.customstyle-newsarchiv .col-module_News .card-teaser,
.customstyle-newsarchiv .col-module_News .card-button {
  display: none;
}

.customstyle-newsarchiv .col-module_News .card-title h4 {
  padding-bottom: 0;
}

.customstyle-newsarchiv .col-module_News .card-date {
  width: min-content;
  line-height: 1;
}


@media screen and (min-width: 780px) {
  .customstyle-newsarchiv .col-module_News .card {
    text-align: left;
  }

  .customstyle-newsarchiv .col-module_News .card-content {
    flex-direction: row;
    gap: 20px;
    align-items: center;
  }
}