/* Card look */
.blog-card {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(17,17,17,0.08);
}

.blog-img-wrapper {
  height: 168px;
  overflow: hidden;
}
.blog-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.blog-card:hover .blog-img {
  transform: scale(1.08);
}

/* brief text — fixed height, becomes scrollable on hover */
.blog-brief {
  height: 88px;
  overflow: hidden;
  transition: all 0.35s ease;
}
.blog-card:hover .blog-brief {
  overflow-y: auto;
  scrollbar-width: thin;
}

/* Webkit scrollbar style for the brief area */
.blog-brief::-webkit-scrollbar {
  width: 6px;
}
.blog-brief::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.12);
  border-radius: 10px;
}

/* Blog content area styling (single blog page) */
.blog-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.blog-content h4 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}