body {
  background-color: #111; /* tmavé pozadí pro kontrast */
}

.newsArticle {
  max-width: 1200px;
  margin: 40px auto;
  font-family: Arial, sans-serif;
  padding: 0 20px;
}

.newsLayout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.imageWrapper {
  flex: 1;
  position: sticky;
  top: 80px;
  height: 100vh;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsImage {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.newsContent {
  flex: 1;
  color: white;
}

.newsTitle {
  font-size: 2.2em;
  margin-bottom: 15px;
}

.newsMeta {
  font-size: 0.9em;
  color: #aaa;
  margin-bottom: 20px;
}

.newsText {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #eee;
}

@media screen and (max-width: 768px) {
  .newsLayout {
    flex-direction: column;
  }

  .imageWrapper {
    position: static;
    height: auto;
    max-height: none;
  }

  .newsImage {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
