/* ======================================
   NEWS LISTE – sauberes Layout
====================================== */
.news-single h1 {color:#2ea05b;}


.news h3,
.news h3 a,
.news h3 span {
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;

	overflow-wrap: break-word;
	word-wrap: break-word;
}


.news .news-list-view {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  max-width: 1280px;
  margin: 20px auto 0;
  padding: 0;
}

/* Karten */
.news .news-list-view .article,
.news .news-list-view .article.articletype-0 {
  display: flex;
  flex-direction: column;
  width: 280px;
  min-height: 320px;
  margin: 0;
  padding: 14px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news .news-list-view .article:hover,
.news .news-list-view .article.articletype-0:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

/* Reihenfolge */
.news .news-list-view .article > .news-img-wrap {
  order: 1;
}

.news .news-list-view .article > .footer {
  order: 2;
}

.news .news-list-view .article > .header {
  order: 3;
}

.news .news-list-view .article > .teaser-text {
  order: 4;
}

/* Bild */
.news .news-list-view .article .news-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0 0 12px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #fff;
  float: none;
  max-height: none;
}

.news .news-list-view .article .news-img-wrap a,
.news .news-list-view .article .news-img-wrap .no-media-element {
  display: block;
  width: 100%;
  height: 100%;
}

.news .news-list-view .article .news-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.news .news-list-view .article:hover .news-img-wrap img {
  transform: scale(1.05);
}

/* Footer / Datum */
.news .news-list-view .article .footer {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  text-align: center;
  clear: none;
}

.news .news-list-view .article .news-list-date {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
  font-weight: 700;
  color: #7ea52f;
  background: none;
  padding: 0;
  border-radius: 0;
}

/* Headline */
.news .news-list-view .article .header {
  margin: 0;
}

.news .news-list-view .article h3 {
  margin: 0;
  line-height: 1.2;
  text-align: center;
}

.news .news-list-view .article h3 a,
.news .news-list-view .article h3 span[itemprop="headline"] {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #2ea05b;;
  text-decoration: none;
  background: none;
}

/* Teaser */
.news .news-list-view .article .teaser-text {
  margin-top: 8px;
  padding: 0;
  text-align: center;
  color: #444;
}

.news .news-list-view .article .teaser-text [itemprop="description"] {
  display: none;
}

/* Weiterlesen ausblenden */
.news .news-list-view .article a.more,
.news .news-list-view .article .more {
background: #2ea05b; color:#fff; padding: 4px 10px; border-radius: 8px;
}

/* Responsive */
@media (max-width: 1200px) {
  .news .news-list-view .article,
  .news .news-list-view .article.articletype-0 {
    width: 280px;
  }
}

@media (max-width: 900px) {
  .news .news-list-view {
    gap: 20px;
  }

  .news .news-list-view .article,
  .news .news-list-view .article.articletype-0 {
    width: calc(50% - 20px);
    min-width: 260px;
  }
}

@media (max-width: 560px) {
  .news .news-list-view .article,
  .news .news-list-view .article.articletype-0 {
    width: 100%;
    min-height: unset;
  }
}


/* ===============================
   NEWS LIST LAYOUT
================================ */

/* News LISTE  Reihenfolge anpassen */
.news-list-view .article{
  display: flex !important;
  flex-direction: column !important;
}

/* 1) Bild */
.news-list-view .article > .news-img-wrap{
  order: 1 !important;
}

/* 2) Datum */
.news-list-view .article > .footer{
  order: 2 !important;
}

/* 3) Headline */
.news-list-view .article > .header{
  order: 3 !important;
}

/* 4) Text / Weiterlesen */
.news-list-view .article > .teaser-text{
  order: 4 !important;
}


.news .news-list-view {
  display: flex;
  flex-wrap: wrap;
  margin: -10px 0 0 -10px;
}

/* ===============================
   NEWS ARTIKEL (Desktop)
================================ */

.news-list-view .article {
  width: calc(33.333% - 20px);
  margin-left: 20px;
  margin-top: 20px;

  background: #f5f5f5;
  padding: 2%;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 15px;

  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.news .article {
  margin-bottom: 0 !important;
} 

/* ===============================
   NEWS LISTE: Bilder 3:2 Crop
   (nur Liste, NICHT Single)
================================ */

.news .news-list-view .article .news-img-wrap{
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 3 / 2;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.news .news-list-view .article .news-img-wrap a{
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
}

.news .news-list-view .article .news-img-wrap img{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* ===============================
   HEADLINE
================================ */

.news .article h3 {
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0;
  padding: 15px 0 10px;
  text-align: center;

  min-height: 3.6em;
  line-height: 1.3;

  display: flex;
  align-items: center;
  justify-content: center;
}

.news .article h3 a {
  text-decoration: none;
}

/* ===============================
   TEASER TEXT
================================ */

.news .article .teaser-text {
  text-align: center;
  padding-top: 10px;
  margin-top: auto;
}

.teaser-text p { margin-bottom: 0; }
.teaser-text a { text-transform: lowercase; }

/* ===============================
   FOOTER / KATEGORIE AUS (Liste)
================================ */

.news .news-list-view .footer,
.news .news-list-category {
  display: none;
}

/* ===============================
   NEWS SINGLE
================================ */

.news-single .article{
  display: flex;
  flex-direction: column;
}

/* Reihenfolge */
.news-single .header{ order: 1; }
.news-single .news-text-wrap{ order: 2; }
.news-single .news-img-wrap{ order: 3; }
.news-single .news-backlink-wrap{ order: 4; }



/* ===============================
   NEWS SINGLE: Bilder unten  alle sichtbar, volle Breite
================================ */

.news.news-single .article .news-img-wrap{
  width: 100% !important;
  margin-top: 2rem;

  display: flex !important;
  flex-wrap: wrap !important;     /*  KEIN Scrollen */
  gap: 16px;

  overflow: visible !important;
  max-height: none !important;
}

/* alte Layouts / Floats neutralisieren */
.news.news-single .news-img-wrap .outer,
.news.news-single .news-img-wrap .mediaelement,
.news.news-single .news-img-wrap a{
  float: none !important;
  position: static !important;
  display: block !important;
  width: auto !important;
}

/* Bild-Kacheln */
.news.news-single .news-img-wrap .outer{
  flex: 1 1 calc(33.333% - 16px);
}

/* Klickfläche */
.news .article .news-img-wrap a{
  padding: 0px !important;
  border: none !important;
}

.news-single .article .news-img-wrap {
  margin: 0px !important; 

}

/* Bilder */
.news.news-single .news-img-wrap img{
  width: 100% !important;
  height: 300px !important;
  object-fit: cover !important;
  border-radius: 10px;
  display: block;
	max-width: 700px;
}

.news-single .footer {
  margin-bottom: 0 !important;
  margin-top: 0 !important;
  padding: 0px 0 0 0 !important;
	border:none !important;}


.news .footer span {
	border-right:none !important;}
.footer .news-list-category {display:none !important;}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px){
  .news-list-view .article{
    width: calc(50% - 20px);
  }

  .news.news-single .news-img-wrap .outer{
    flex: 1 1 calc(50% - 16px);
  }
}

@media (max-width: 576px){
  .news-list-view .article{
    width: 100%;
    margin-left: 0;
  }

  .news .article h3{
    min-height: auto;
  }

  .news.news-single .news-img-wrap .outer{
    flex: 1 1 100%;
  }

  .news.news-single .news-img-wrap img{
    height: auto;
  }
}


.f3-widget-paginator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  list-style: none;
  margin: 2.5rem 0;
  padding: 0;
  flex-wrap: wrap;
	width: 100%;
}

.f3-widget-paginator li {
  margin: 0;
  padding: 0;
}

.f3-widget-paginator li a,
.f3-widget-paginator li.current {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.f3-widget-paginator li a:hover {
  background: #ffffff;
  color: #1f8c63;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.f3-widget-paginator li.current {
  background: #ffffff;
  color: #1f8c63;
  border-color: #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.f3-widget-paginator li.next a,
.f3-widget-paginator li.previous a {
  padding: 0 20px;
  font-weight: 700;
}

.f3-widget-paginator li.next a::after {
  content: " →";
}

.f3-widget-paginator li.previous a::before {
  content: "← ";
}

@media (max-width: 600px) {
  .f3-widget-paginator {
    gap: 0.4rem;
  }

  .f3-widget-paginator li a,
  .f3-widget-paginator li.current {
    min-width: 40px;
    height: 40px;
    font-size: 0.95rem;
    padding: 0 14px;
  }

  .f3-widget-paginator li.next a,
  .f3-widget-paginator li.previous a {
    padding: 0 16px;
  }
}

