/* =========================
   news_style.css (überarbeitet)
   - Layout nach Vorlage "Mitglied werden" (Kartenstil)
   - 2 Spalten: News links / Termine rechts
   - Farbwelt: Vereins-Blau + Gold
========================= */

.news-page{
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 18px 60px;
}

/* Grid: mobil 1 Spalte, Desktop 2 Spalten */
.news-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 900px){
  .news-grid{
    grid-template-columns: 1.2fr .8fr; /* links mehr Platz */
    align-items: start;
  }
}

/* Cards */
.news-card{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.10);
}

.news-card--wide{
  grid-column: 1 / -1;
  text-align: center;
}

/* Überschriften: Blau + Gold-Akzent */
.news-card h3{
  margin: 0 0 14px;
  font-size: 1.1rem;
  color: #0b2a4a;          /* Vereins-Blau */
  text-align: center;
  position: relative;
  padding-bottom: 6px;
}

.news-card h3::after{
  content: "";
  display: block;
  width: 52px;
  height: 2px;
  background: #c9a14a;     /* dezentes Gold */
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Intro-Text */
.news-card--wide p{
  margin: 0;
  color: #333;
  line-height: 1.7;
  font-weight: 700;
}

/* =========================
   Items (News & Termine)
========================= */

.news-item{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 12px;
  margin: 0 0 12px 0;
}

.news-item:last-child{
  margin-bottom: 0;
}

.news-item__head{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 6px;
}

.news-item__head strong{
  color: #0b2a4a;
  font-weight: 700;
}

.news-date{
  background: rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.10);
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.65);
  white-space: nowrap;
}

.news-item p{
  margin: 0;
  line-height: 1.6;
  color: rgba(0,0,0,0.72);
}

/* Footer / "Mehr lesen" */
.news-item__footer{
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}

.news-more{
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b2a4a;
  padding: 4px 6px;
  border-radius: 6px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}

.news-more:hover{
  background: rgba(201,161,74,.16);
  color: #082036;
}

.news-more:focus-visible{
  outline: 2px solid rgba(11,42,74,.55);
  outline-offset: 2px;
}

/* =========================
   Termine als klickbare Card
========================= */

.news-eventlink{
  display: block;
  text-decoration: none;
  color: inherit;
}

.news-eventlink:hover{
  background: rgba(0,0,0,0.015);
}

.news-eventlink:focus-visible{
  outline: 2px solid rgba(201,161,74,.65);
  outline-offset: 3px;
}

/* Nächster Termin: Gold-Tint */
.news-eventlink.is-next{
  background: rgba(201,161,74,.10);
  border-color: rgba(201,161,74,.28);
}

.news-eventlink.is-next .news-date{
  background: rgba(201,161,74,.14);
  border-color: rgba(201,161,74,.26);
}

.news-eventlist{
  margin: 0;
  padding-left: 18px;
  color: rgba(0,0,0,0.72);
  line-height: 1.5;
}

.news-eventlist li{
  margin: 4px 0;
}

.news-eventlist strong{
  color: rgba(0,0,0,0.80);
}

/* =========================
   Archiv-Link / CTA
========================= */

.news-archive-link{
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.news-archive-btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 18px;
  border-radius: 999px;

  font-weight: 800;
  font-size: 1rem;

  color: #0b2a4a;
  border: 1px solid rgba(201,161,74,.45);
  background: rgba(201,161,74,.14);

  transition:
    background .15s ease,
    color .15s ease,
    transform .15s ease,
    box-shadow .15s ease;

  text-decoration: none;
}

.news-archive-btn:hover{
  background: rgba(201,161,74,.22);
  color: #082036;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.10);
}

.news-archive-btn:focus-visible{
  outline: 2px solid rgba(11,42,74,.55);
  outline-offset: 3px;
}

.news-archive-icon{
  font-size: 1.05em;
  line-height: 1;
}

.news-archive-count{
  font-weight: 700;
  color: rgba(0,0,0,.60);
}

.news-archive-arrow{
  margin-left: 2px;
  font-weight: 900;
}


/* =========================
   Archiv (news-archiv.php)
========================= */

.news-meta{
  margin: 0 0 14px;
  text-align: center;
  color: rgba(0,0,0,.65);
  line-height: 1.6;
}

.news-archive-top{
  display: flex;
  justify-content: flex-start;
  margin: 4px 0 14px;
}

/* =========================
   Pagination (Archiv)
========================= */

.news-pagination{
  margin-top: 14px;
}

.news-pagination__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.news-pagebtn{
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: rgba(0,0,0,.75);
  text-decoration: none;
  font-weight: 700;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.news-pagebtn:hover{
  background: rgba(201,161,74,.10);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

.news-pagebtn.is-disabled{
  opacity: .5;
  pointer-events: none;
}

.news-pagenums{
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.news-pagenum{
  padding: 7px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
  color: rgba(0,0,0,.75);
  text-decoration: none;
  font-weight: 700;
  transition: background .15s ease;
}

.news-pagenum:hover{
  background: rgba(201,161,74,.10);
}

.news-pagenum.is-current{
  font-weight: 800;
  border-color: rgba(11,42,74,.30);
  background: rgba(11,42,74,.06);
  color: #0b2a4a;
}

.news-pagenum.is-ellipsis{
  border-color: transparent;
  background: transparent;
  padding: 7px 6px;
  color: rgba(0,0,0,.45);
}


/* =========================
   Detailseite: News-Content (nl2br-Ausgabe)
   - sorgt dafür, dass Zeilenumbrüche sauber wirken
========================= */
.news-content{
  margin-top: 10px;
  line-height: 1.7;
  color: #333;
}

.news-content br{
  display: block;
  margin-bottom: 10px;
}

/* Meta / Teaser */
.news-detail__meta{
  display:flex;
  justify-content:center;
  margin: 4px 0 10px;
}

.news-detail__teaser{
  margin-top: 4px;
  font-weight: 700;
  text-align: center;
}

/* Dezenter Text (Fehlerdetails) */
.news-muted{
  color:#666;
  line-height:1.6;
}
