/* Spezifische Stile für die News-Seite */
.news-page {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: #e3b750;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.news-page header {
  width: 100%;
  box-sizing: border-box;
}

.news-page .main-container {
  flex-grow: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  padding: 20px;
}

.news-page .news-content {
  width: 100%;
  max-width: 800px;
  padding: 20px;
  background-color: rgba(227, 183, 80, 0.95);
  border-radius: 10px;
  box-sizing: border-box;
}

.news-page .news-item {
  margin-bottom: 20px;
}

.news-page .news-item h4 {
  margin-bottom: 5px;
}

.news-page .news-item .date {
  font-style: italic;
  color: #666;
}

.news-page .news-item .summary {
  font-weight: bold;
}

.news-page .news-item .content {
  margin-top: 10px;
}

.news-page .news-line {
  border-top: 1px solid #cd7f32;
  margin: 20px 0;
}

/* Beispiel-Scrollleistenstil für den Bereich */
.news-page .news-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  display: block;
}

.news-page .news-content::-webkit-scrollbar-thumb {
  background-color: #333;
  border-radius: 5px;
}

.news-page .news-content::-webkit-scrollbar-track {
  background-color: #e3b750;
  border-radius: 5px;
}

.news-page .news-content::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
  .news-page .main-container {
      padding: 10px;
  }

  .news-page .news-content {
      padding: 10px;
      border-radius: 5px;
  }

  .news-page .news-item h4 {
      font-size: 1.2em;
  }

  .news-page .news-item .summary, .news-page .news-item .content {
      font-size: 1em;
  }
}