/* =========================
   BLOG LIST PAGE
   ========================= */

.blog-container {
  max-width: 1344px;
  margin: 100px auto;
  padding: 50 20px;
}

/* Grid blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Card */
.blog-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Image */
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Content */
.blog-content {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 6px;
}

.blog-title {
  font-size: 18px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-desc {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  flex-grow: 1;
}

/* Button */
.blog-btn {
  margin-top: 14px;
  align-self: flex-start;
  padding: 8px 14px;
  background: #003366;
  color: #fff;
  font-size: 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.blog-btn:hover {
  background: #f4c400;
  color: #003366;
}

/* =========================
   PAGINATION
   ========================= */

.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.blog-pagination button {
  padding: 8px 14px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
}

.blog-pagination button.active,
.blog-pagination button:hover {
  background: #003366;
  color: #fff;
}




