/* Blog-specific styles */
.blog-heading {
  color: rgb(89, 166, 244);
  font-size: 20px;
  margin-top: 100px;
  margin-bottom: 30px;
  text-align: center;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.blog-card {
  flex: 0 0 calc(50% - 10px); /* Two cards per row with gap */
  padding: 20px;
  background-color: #ecf3f5;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.215);
  margin-bottom: 20px;
  box-sizing: border-box;
}

.blog-title {
  font-size: 16px;
  color: #4A90E2;
  margin-bottom: 10px;
}

.blog-title a {
  text-decoration: none;
  color: inherit;
}

.blog-title a:hover {
  text-decoration: underline;
}

.simple-pagination {
  text-align: center;
  margin-top: 30px;
}

.simple-pagination a {
  display: inline-block;
  margin: 0 5px;
  color: #4A90E2;
  text-decoration: none;
  font-weight: bold;
}

.simple-pagination a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

@media screen and (max-width: 768px) {
  .blog-card {
    flex: 0 0 100%;
  }
}

.blog-snippet {
  font-size: 12px;
  line-height: 1.6;
  color: #333;
}


.blog-home-container {
  text-align: center;       /* Aligns button to left (or use center if needed) */
  margin-top: 100px;
  margin-bottom: 30px;
}

.blog-home-btn {
  background-color: #4A90E2; /* Match your theme */
  color: #fff;
  padding: 8px 20px;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: background 0.3s ease;
}

.blog-home-btn:hover {
  background-color: #3b7dc4; /* Slightly darker on hover */
  color: #fff;
  text-decoration: none;
}
