/* =========================================================
   Aktuelles – Übersichtsseite
   ========================================================= */

.news-page,
.article-page {
  width: min(1100px, calc(100% - 32px));
  margin: 30px auto 50px;
  color: #263238;
}

.news-header {
  margin-bottom: 28px;
  padding: 26px;
  text-align: center;
  background: linear-gradient(135deg, #f3f8fc, #ffffff);
  border: 1px solid #d8e3eb;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.news-header h1 {
  margin: 4px 0 10px;
}

.news-kicker {
  margin: 0;
  color: #236493;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.news-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d8e3eb;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.15);
}

.news-card-image {
  display: block;
}

.news-card-image img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.news-card-content {
  padding: 22px;
}

.news-card-content h2 {
  margin: 5px 0 12px;
  font-size: 1.45rem;
}

.news-card-content h2 a {
  color: #183c56;
  text-decoration: none;
}

.news-card-content h2 a:hover {
  color: #236493;
}

.news-date {
  margin: 0 0 6px;
  color: #687783;
  font-size: 0.92rem;
  font-weight: bold;
}

.news-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 17px;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  background: #236493;
  border-radius: 7px;
  transition: background 0.2s ease;
}

.news-button:hover {
  color: #ffffff;
  background: #174766;
}


/* =========================================================
   Einzelner Bericht
   ========================================================= */

.article-back {
  margin-bottom: 15px;
}

.article-back a {
  color: #236493;
  font-weight: bold;
  text-decoration: none;
}

.article-back a:hover {
  text-decoration: underline;
}

.article-content {
  padding: 30px;
  background: #ffffff;
  border: 1px solid #d8e3eb;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.10);
}

.article-header {
  margin-bottom: 25px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d8e3eb;
}

.article-header h1 {
  margin: 5px 0 12px;
  color: #183c56;
  line-height: 1.25;
}

.article-intro {
  margin-bottom: 0;
  color: #52636f;
  font-size: 1.15rem;
}

.article-content h2 {
  margin-top: 32px;
  color: #183c56;
}

.article-content p,
.article-content li {
  line-height: 1.65;
}

.article-list li {
  margin-bottom: 9px;
}

.article-image-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0 28px;
}

.article-image-row figure,
.article-main-image {
  margin: 0;
}

.article-image-row img,
.article-main-image img {
  display: block;
  width: 100%;
  border-radius: 9px;
}

.article-image-row figcaption,
.article-main-image figcaption {
  padding-top: 7px;
  color: #687783;
  font-size: 0.88rem;
}

.article-main-image {
  max-width: 760px;
  margin: 28px auto;
}

.article-bottom-link {
  margin-top: 35px;
  text-align: center;
}


/* =========================================================
   Smartphone
   ========================================================= */

@media (max-width: 750px) {

  .news-overview,
  .article-image-row {
    grid-template-columns: 1fr;
  }

  .news-page,
  .article-page {
    width: calc(100% - 20px);
    margin-top: 18px;
  }

  .news-card-image img {
    height: auto;
  }

  .article-content {
    padding: 20px;
  }
}
/* =========================================================
   Bildergalerie in Berichten
   ========================================================= */

.article-gallery {
  margin: 35px 0;
}

.article-gallery h2 {
  margin-bottom: 18px;
  text-align: center;
}

.article-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.article-gallery-grid a {
  display: block;
  overflow: hidden;
  background: #111111;
  border-radius: 9px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

.article-gallery-grid img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.article-gallery-grid a:hover img {
  opacity: 0.88;
  transform: scale(1.04);
}

.gallery-hint {
  margin-top: 12px;
  color: #687783;
  font-size: 0.88rem;
  text-align: center;
}


/* Tablet */

@media (max-width: 850px) {

  .article-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* Smartphone */

@media (max-width: 520px) {

  .article-gallery-grid {
    grid-template-columns: 1fr;
  }

  .article-gallery-grid img {
    height: auto;
  }

}


/* Dark Mode */

@media (prefers-color-scheme: dark) {

  .gallery-hint {
    color: #aeb9c2;
  }

}
/* =========================================================
   Dark Mode
   ========================================================= */

@media (prefers-color-scheme: dark) {

  .news-page,
  .article-page {
    color: #e5e7eb;
  }

  .news-header,
  .news-card,
  .article-content {
    background: #111820;
    border-color: #2a3947;
  }

  .news-header {
    background: linear-gradient(135deg, #111820, #17232d);
  }

  .news-card-content h2 a,
  .article-header h1,
  .article-content h2 {
    color: #e5e7eb;
  }

  .news-date,
  .article-intro,
  .article-image-row figcaption,
  .article-main-image figcaption {
    color: #aeb9c2;
  }

  .article-header {
    border-bottom-color: #2a3947;
  }
}