/* Extra styles for newsy, modern look */
.post-meta {
  color: #888;
  font-size: 0.98em;
  margin-bottom: 1.2em;
}
.post-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1.2em 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
article.post h1 {
  font-size: 2.1em;
  margin-bottom: 0.2em;
  color: #c8102e;
}
article.post a {
  color: #c8102e;
  text-decoration: none;
  border-bottom: 1px solid #c8102e;
}
article.post a:hover {
  color: #a00d26;
  border-bottom-color: #a00d26;
}
@media (max-width: 600px) {
  article.post h1 { font-size: 1.3em; }
}

/* Post grid for index page */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.post-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(200, 16, 46, 0.2);
}
.post-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.post-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.post-card-content {
  padding: 1rem;
}
.post-card h2 {
  font-size: 1.2em;
  margin: 0 0 0.5rem 0;
  color: #c8102e;
  line-height: 1.3;
}
.post-card-summary {
  color: #555;
  font-size: 0.95em;
  margin: 0.5rem 0;
  line-height: 1.5;
}
.post-card-date {
  color: #888;
  font-size: 0.85em;
  display: block;
  margin-top: 0.5rem;
}
@media (max-width: 600px) {
  .post-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
