/* News page specific styles */

.news-container {
  max-width: 50em;
  margin: 2em auto;
  padding: 0;
}

.news-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 2em;
  padding: 2em;
  border-left: 4px solid #0D2030;
  transition: all 0.2s ease-in-out;
}

.news-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.news-content {
  position: relative;
}

.news-title {
  margin: 0 0 0.5em 0;
  font-size: 1.4em;
  font-weight: 500;
  line-height: 1.3;
}

.news-title a {
  color: #0D2030;
  text-decoration: none;
}

.news-title a:hover {
  color: #2563eb;
  text-decoration: underline;
}

.news-date {
  color: #6b7280;
  font-size: 0.9em;
  font-weight: 400;
  display: block;
  margin-bottom: 1em;
}

.news-excerpt {
  color: #374151;
  line-height: 1.6;
  margin: 0 0 1.5em 0;
  font-size: 1em;
}

.news-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.read-more {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9em;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.no-news {
  background: white;
  border-radius: 8px;
  padding: 3em;
  text-align: center;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.no-news p {
  margin: 0;
  font-size: 1.1em;
}

/* Responsive design */
@media (max-width: 768px) {
  .news-container {
    margin: 1em;
    padding: 0;
  }
  
  .news-card {
    padding: 1.5em;
    margin-bottom: 1.5em;
  }
  
  .news-title {
    font-size: 1.3em;
  }
  
  .news-excerpt {
    font-size: 0.95em;
  }
}