/* assets/css/blog.css */

/* Container */
.blog-page-container {
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem;
}

/* Header */
.blog-header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-header h1 {
  font-size: 2.8rem;
  color: #003366;
}

.blog-header p {
  font-size: 1.2rem;
  color: #666;
}

/* Blog List */
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.blog-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-content h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: #003366;
}

.blog-card-content h2 a {
  text-decoration: none;
  color: inherit;
}

.blog-meta-description {
  margin: 1rem 0;
  color: #555;
  flex-grow: 1;
  font-size: 1rem;
}

.read-more-link {
  margin-top: auto;
  text-decoration: none;
  color: #ffd400;
  font-weight: bold;
  transition: color 0.3s;
}

.read-more-link:hover {
  color: #003366;
}

/* Mobile */
@media (max-width: 768px) {
  .blog-header h1 {
    font-size: 2.2rem;
  }
  .blog-list-grid {
    grid-template-columns: 1fr;
  }
}
