/* News Page Styles - Clean and Light */
#news-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 2rem;
  gap: 2rem;
}

/* Simple Page Title */
.content::before {
  content: '📰 Nachrichten';
  display: block;
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1e40af;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Clean News Cards */
.newsBlock {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  padding: 2.5rem;
  border-radius: 20px;
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  transition: all 0.3s ease;
  color: #1f2937;
  margin-bottom: 15px;
}

.newsBlock:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
}

.newsBlock h3 {
  margin: 0 0 1.5rem 0;
  color: #1e40af;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
  padding-bottom: 0.5rem;
}

.newsBlock p {
  word-break: break-word;
  color: #4b5563;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 1rem 0;
  font-weight: 400;
  white-space: pre-line;
}

.newsBlock .newsDate {
  color: #6b7280;
  margin: 1.5rem 0 0 0;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 20px;
  display: inline-block;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.newsBlock .newsDate::before {
  content: '📅 ';
  margin-right: 0.5rem;
}

/* News Image Styles */
.newsImageContainer {
  margin: 1.5rem 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.newsImage {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.newsImage:hover {
  transform: scale(1.02);
}

/* Responsive image adjustments */
@media (max-width: 768px) {
  .newsImage {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .newsImage {
    max-height: 250px;
  }
  
  .newsImageContainer {
    margin: 1rem 0;
    border-radius: 12px;
  }
}

/* Simple Empty State */
.noNewsMsg {
  width: 100% !important;
  display: flex;
  flex-direction: column;
  align-items: center !important;
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(248, 250, 252, 0.9);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border: 2px dashed rgba(59, 130, 246, 0.3);
  color: #1f2937;
}

.noNewsMsg::after {
  content: '📰';
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.noNewsMsg h2 {
  color: #1e40af;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.noNewsMsg p {
  color: #6b7280;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  #news-container {
    padding: 1rem;
    gap: 1.5rem;
  }
  
  .newsBlock {
    padding: 2rem;
  }
  
  .newsBlock h3 {
    font-size: 1.5rem;
  }
  
  .newsBlock p {
    font-size: 1rem;
  }
  
  .content::before {
    font-size: 2rem;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .newsBlock {
    padding: 1.5rem;
  }
  
  .newsBlock h3 {
    font-size: 1.3rem;
  }
  
  .newsBlock p {
    font-size: 0.95rem;
  }
  
  .content::before {
    font-size: 1.8rem;
    padding: 1rem 0;
  }
}
/* Make news list centered but use full available width up to a sensible max to remove right-side gaps */
#newsList {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Style slick dots inside news image containers to match main slider */
.newsImageContainer .slick-dots {
  text-align: center;
  margin-top: 10px;
}
.newsImageContainer .slick-dots li button:before {
  color: #3b82f6;
  font-size: 12px;
}
.newsImageContainer .slick-dots li.slick-active button:before {
  color: #1e40af;
}
.slick-slide{
  margin: 0;
}