/* Component Scope Root */
.BlogCard {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.BlogCard:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.BlogCard:focus-visible {
  outline: 2px solid #1e3a8a;
  outline-offset: 2px;
}

.BlogCard .bc_img_holder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: #f3f4f6;
  overflow: hidden;
}

.BlogCard .bc_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.BlogCard .bc_body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 16px 16px;
}

.BlogCard .bc_date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 6px 0;
}

.BlogCard .bc_title {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  line-height: 1.4;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Short excerpt from the HTML description */
.BlogCard .bc_excerpt {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.BlogCard .bc_excerpt * {
  font-size: inherit !important;
  color: inherit !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

.BlogCard .bc_excerpt img {
  display: none;
}

.BlogCard .bc_read_more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a8a;
}

.BlogCard:hover .bc_read_more {
  text-decoration: underline;
}

@media (min-width: 0px) and (max-width: 485px) {
  .BlogCard .bc_title {
    font-size: 15px;
  }

  .BlogCard .bc_excerpt {
    font-size: 12px;
  }

  .BlogCard .bc_date,
  .BlogCard .bc_read_more {
    font-size: 11px;
  }
}
