/* Blog Specific Styles */
.blog-main {
  padding-top: 130px;
  min-height: 100vh;
}

.blog-main h1 {
  text-align: center;
  color: #007bff;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.blog-post {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-content {
  padding: 20px;
}

.post-content h2 {
  color: #333;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.post-meta {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: flex;
  gap: 20px;
}

.post-content p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.read-more {
  display: inline-block;
  padding: 8px 16px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.read-more:hover {
  background-color: #0056b3;
}

/* Active nav link style */
.nav-links .active {
  color: #007bff;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .blog-main {
    padding-top: 160px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}
