/* Card-style layout for Blogs section */

.blogs-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.1rem;
  margin-top: 1.2rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  max-width: 260px;
}

.blog-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  border-color: #d0d0d0;
}

.blog-card-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #555;
  padding: 0.5rem 0.7rem;
  text-align: center;
}

.blog-card-body {
  padding: 0.6rem 0.75rem 0.8rem;
}

.blog-card-title {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.blog-card-description {
  margin: 0;
  font-size: 0.85rem;
  color: #555;
}

.blog-section-description {
  font-size: 0.95rem;
  color: #555;
}

