/* Blog Hero */
.blog-hero {
  background: linear-gradient(135deg, #0f2b5e, #1a3c7a);
  color: white;
  padding: 80px 0 50px;
  text-align: center;
}
.blog-hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.blog-hero p { font-size: 1.1rem; opacity: 0.85; }

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  padding: 3rem 0;
}
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.blog-card-image { width: 100%; aspect-ratio: 16/9; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-content { padding: 1.25rem; flex: 1; }
.blog-card-content h2 { font-size: 1.15rem; margin: 0 0 0.5rem; color: #1a3c7a; }
.blog-date { font-size: 0.85rem; color: #888; margin-bottom: 0.5rem; }
.blog-card-content p { font-size: 0.95rem; color: #555; line-height: 1.5; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; padding: 2rem 0; }
.page-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
}
.page-btn.active { background: #22a347; color: #fff; border-color: #22a347; }

/* Post Hero */
.post-hero {
  background: linear-gradient(135deg, #0f2b5e, #1a3c7a);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}
.post-hero h1 { font-size: 2.4rem; line-height: 1.25; margin: 0 0 15px; }
.meta { font-size: 1.05rem; opacity: 0.85; }

/* Post Content */
.post-content {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
}
.post-content h2 { font-size: 1.8em; margin-top: 50px; color: #1a3c7a; }
.post-content h3 { font-size: 1.4em; margin-top: 35px; }
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 35px auto;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.alt {
  font-size: 0.9em;
  color: #666;
  text-align: center;
  margin-top: -10px;
  margin-bottom: 30px;
}
.post-content ul, .post-content ol { margin: 25px 0; padding-left: 25px; }
.post-content li { margin-bottom: 12px; }
.checklist {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  border-left: 6px solid #1a3c7a;
}
.author {
  font-style: italic;
  color: #555;
  margin-top: 60px;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}
.back-link {
  display: inline-block;
  margin-top: 2rem;
  color: #22a347;
  font-weight: 600;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
