/* blog.css */
body {
  font-family: Arial, sans-serif;
  background: #f9fafb;
  margin: 0;
  padding: 20px;
  color: #333;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

header h1 {
  color: #2b6cb0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.blog-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card a {
  text-decoration: none;
  color: #2b6cb0;
  font-weight: bold;
  font-size: 16px;
}

section h2 {
  text-align: center;
  color: #2b6cb0;
  margin-bottom: 20px;
}

footer {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #777;
}

a.back-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2b6cb0;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.2s;
}

a.back-btn:hover {
  background-color: #1e4e8c;
}

.btn-black {
  display: inline-block;
  padding: 14px 24px;
  background: #000;        /* black background */
  color: #fff;             /* white text */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  transition: background 0.3s;
}

.btn-black:hover {
  background: #333; /* lighter black on hover */
}
