
.blog-wrapper {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;

  max-height: 70vh;
    overflow-y: auto;
    padding-bottom: 20px;
}

.blog-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1f2937;
}

.blog-meta {
  font-size: 0.85rem;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.blog-excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 16px;
}

.read-more {
  display: inline-block;
  font-weight: 300;
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.read-more:hover {
  color: #1e40af;
}


.blog-single {
  max-width: 850px;
  margin: 0px auto;
  background: #fff;
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

   max-height: 70vh;
    overflow-y: auto;
    padding-bottom: 20px;
}

.single-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111827;
}

.single-meta {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.single-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 24px;
}

.single-content {
  line-height: 1.75;
  color: #374151;
}

.single-content h3 {
  margin-top: 24px;
  font-size: 1.25rem;
  font-weight: 700;
}
