/*******************************************************************************/
/* NEWS LAYOUT */
/******************************************************************************/
:root {
  --container:1400px;
  --container-news:1180px;
  --bs-gutter-x:12px;
}


.news-page #wrap-inhalt {
  padding-top: 0px;
  margin-top: -50px;
  margin-bottom: 50px;
}

@media screen and (max-width: 767px) {

  .news-page #wrap-inhalt {
    padding-top: 0px;
    margin-top: -25px;
    margin-bottom: 50px;
  }

}

@media screen and (max-width: 1430px) {

  .news-page.news-detail #wrap-inhalt {
    padding-top: 0px;
    margin-top: -25px;
    margin-bottom: 50px;
  }

}

@media screen and (max-width: 1180px) {

  .news-page.news-detail #wrap-inhalt {
    padding-top: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
  }

}

.news-detail #wrap-inhalt .container {
  max-width:var(--container-news);
  width:var(--container-news);
  background: #fff;
  padding: 100px 100px 50px;
  margin-bottom: 6em;
}

.news .article:after {
  display: none !important;
}

.news-single .header {
  display: block;
  clear: both;
  padding-top: 30px;
}

.news-single .header .news-list-date {
  color: #818181;
}

.news-single .article .news-img-wrap {
  clear: both;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.news-single .article .news-img-wrap img {
  max-width: 100%;
}

.news .article .news-img-wrap {
  background: transparent !important;
}

.news .article .news-img-wrap a {
  padding: 0 !important;
  border: 0 !important;
}

.news-single .article .news-text-wrap {
  clear: both;
  padding-top: 50px;
  margin-bottom: 20px;
}

.news-single .article .news-img-caption {
  font-size: 1.2rem;
  font-style: italic;
  padding-top: 10px;
  color: #818181;
}

.news-single .article .news-list-category {
  color: #E84691;
  text-transform: uppercase;
}

.news .article .news-list-category {
  font-size: 18px;
  color: #E84691;
  text-transform: uppercase;
}

.news .article p.category-detail-page {
  margin-bottom: 5px;
}

.news-backlink-wrap {
  display: inline-block;
  margin: 50px 50px 50px 0;
}

main .news-backlink-wrap a {
  position: relative;
  display:inline; 
  text-decoration: none !important;
  outline: none !important;
  border: none !important;
  padding: 12px 30px;
  font-weight: 700;
  color: #fff !important;
  background-color: #2E2E2E;
  transition: all .3s ease;
}

main .news-backlink-wrap a:hover {
  background-color: #E84691;
}


/* Listenansicht */

.news-list-view .article .news-item-wrap {
  background: #fff;
  transition: all .3s ease;
}

.news-list-view .article .news-img-wrap {
  display: inline-block;
  clear: both;
  float: none !important;
  margin: 0 !important;
}

.news-list-view .article:hover .news-item-wrap {
  background: #f8f8f8;
}

body.service-partner .news-list-view .article:hover .news-item-wrap {
  background: #fff;
}

/*.news-list-view .article:hover h3,
.news-list-view .article:hover p {
  color: #9B9B9B;
}*/

.news-list-view .article .news-img-wrap img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  width: 100% !important;
}

body.service-partner .news-list-view .article .news-img-wrap img {
  max-width: 75% !important;
  margin-left: 12.5%;
  margin-right: 12.5%;
}

body.service-partner .news-list-view .article .news-item-wrap {
  box-shadow: 0 10px 20px -5px rgba(164, 164, 164, 0.25);
}

body.service-partner .news-list-view .article.gold .news-item-wrap {
  background-image: url('/fileadmin/user_upload/Dokumente/Bilder/Zusatz-Elemente/bg-gold-member.svg');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 25%;
}

body.service-partner .news-list-view .article.silber .news-item-wrap {
  background-image: url('/fileadmin/user_upload/Dokumente/Bilder/Zusatz-Elemente/bg-silver-member.svg');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 25%;
}

body.service-partner .news-list-view .article.basis .news-item-wrap {
  background-image: url('/fileadmin/user_upload/Dokumente/Bilder/Zusatz-Elemente/bg-basic-member.svg');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 25%;
}

.news-list-view .article .header,
.news-list-view .article .teaser-text {
  padding: 15px 25px 0px 25px;
}

.news-list-view .article a,
.news-list-view .article a:hover {
  text-decoration: none;
}

.news-list-view .article p {
  color: #2E2E2E;
}

/*.news-list-view .article .more-link {
  position: relative;
  display: inline-block; 
  text-decoration: none !important;
  outline: none !important;
  border: none !important;
  padding: 12px 30px;
  font-weight: 700;
  color: #fff !important;
  background-color: #2E2E2E;
  margin: 20px 15px 25px 25px;
  transition: all .3s ease;
}

.news-list-view .article:hover .more-link {
  background-color: #E84691;
}*/

.news-list-view .article .more-link {
  position: relative;
  display: inline-block; 
  text-decoration: none !important;
  outline: none !important;
  border: none !important;
  font-weight: 700;
  color: #2E2E2E;
  margin: 25px;
  transition: all .3s ease;
}

.news-list-view .article:hover .more-link {
  color: #E84691;
}


#inhalt .news .no-news-found {
  color: #2E2E2E;
}






/* Filter */

.news-filter select {
  display: inline;
  width: 100%;
  border-radius: 0;
  font-size: 1.2rem;
  color: #2E2E2E;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: none;
  outline: none !important;
  /* Arrow */
  appearance: none;
  background-image: url('/typo3conf/ext/t3master/Resources/Public/Icons/icon-dropdown.svg');
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 15px auto;
}

.news-filter select option {
  font-weight: 700;
}

.news-list-view div {
  opacity: 1;
  visibility: visible;
  transition: all 0.2s ease;
}

.news-list-view div.hidden,
.news-list-view div.hidden-member,
.news-list-view div.hidden-branche {
  opacity: 0;
  visibility: hidden;
  height: 0;
  width: 0;
}

.news-list-view .article.hidden,
.news-list-view .article.hidden .header, 
.news-list-view .article.hidden .teaser-text,
.news-list-view .article.hidden .more-link,
.news-list-view .article.hidden-member,
.news-list-view .article.hidden-member .header, 
.news-list-view .article.hidden-member .teaser-text,
.news-list-view .article.hidden-member .more-link,
.news-list-view .article.hidden-branche,
.news-list-view .article.hidden-branche .header, 
.news-list-view .article.hidden-branche .teaser-text,
.news-list-view .article.hidden-branche .more-link {
  padding: 0;
  margin: 0;
}


