/* frame-layout-20 = Startseite News (col2-3070) */
/* =============================================================================
   News
   ========================================================================== */

/* News frame */
.frame-layout-20 > .grid__12 {
  align-items: end;
}

.frame-layout-20 .grid__col.-w30 {
  display: grid;
  align-items: end;
  padding-bottom: var(--g-gap);
}

.content > .frame-layout-20:nth-child(odd) {
  background: rgb(var(--c-neutral-lighter));
}

/* Shared */
.news h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: balance;
}

.news .article__teaser {
  margin-bottom: 16px;
  hyphens: auto;
  text-wrap: balance;
}

.news .article__date {
  margin-right: 16px;
  font-weight: var(--f-weight-sb);
}

@media (hover: hover) {
  .news .article__more:hover {
    color: rgb(var(--c-secondary));
  }
}

/* Latest */
.news.-latest {
  position: relative;
}

.news.-latest .swiper-slide {
  height: auto;
}

.news.-latest .article {
  height: 100%;
  overflow: hidden;
  border-radius: var(--b-radius);
  background: rgb(var(--c-neutral-lighter));
}

.content > .frame-layout-20:nth-child(odd) .news.-latest .article {
  background: rgb(var(--c-neutral-lightest));
}

.news.-latest .article__image img {
  display: block;
  width: 100%;
  height: auto;
}

.news.-latest .article__text {
  padding: 32px;
}

.news.-latest .article__teaser {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news.-latest .news__nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 30px;
}

.news.-latest .news__nav .swiper-button-prev,
.news.-latest .news__nav .swiper-button-next {
  position: static;
  width: 20px;
  height: 40px;
  margin: 0;
  color: rgb(var(--c-neutral-darkest));

  --swiper-navigation-size: 40px;
}

.news.-latest .swiper-button-disabled {
  display: none;
}

/* List */
.news.-list .article {
  row-gap: var(--g-gap-s);
}

.news.-list .article:not(:last-child) {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgb(var(--c-neutral-light));
}

.news.-list .article__image,
.news.-list .article__text {
  grid-column: span 12;
}

.news.-list .article__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--b-radius);
}

/* Pagination */
.news ul.f3-widget-paginator a {
  color: rgb(var(--c-neutral-dark));
}

.news ul.f3-widget-paginator li.gap {
  background: none;
}

@media (hover: hover) {
  .news ul.f3-widget-paginator li.gap:hover {
    background: none;
    color: inherit;
  }
}

/* Detail */
.news.-single .media__image img {
  border-radius: var(--b-radius);
}

.news.-single .article__backlink {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgb(var(--c-neutral-light));
}

.article__footer {
  padding-top: var(--g-gap-s);
  border-top: 1px solid rgb(var(--c-neutral-lighter));
}

.media__item {
  margin-bottom: var(--g-gap);
}

.media__item:last-child {
  margin-bottom: 0;
}

.media__image {
  position: relative;
  overflow: hidden;
}

.article__backlink .font__button::before {
  content: '\f104';
  font-family: "FaRegular", sans-serif;
  font-size: var(--f-size-s-2);
  margin-right: 0.4rem;
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 400px) {
  [data-ce-columns="6"] .gallery__item {
    grid-column: span 4;
  }

  .news.-single .article__media {
    grid-column: span 4;
  }

  .news.-single .article__extra,
  .news.-single .article__text {
    grid-column: span 8;
  }
}

@media (min-width: 640px) {
  .news.-latest .news__nav {
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
  .frame-layout-20 .grid__col.-w30 {
    padding-right: var(--g-gap-l);
    padding-bottom: 70px;
  }

  .news.-list .article.-withimage .article__image {
    grid-column: span 4;
  }

  .news.-list .article.-withimage .article__text {
    grid-column: span 8;
  }
}
