/* Inherit font globally within blog card */
.blog-card * {
  font-family: 'Roboto' !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Full card style */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 450px;
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Image wrapper */
.blog-card-image-wrapper {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-image {
  width: 100%;
  height: 100%;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Card content */
.blog-card-content {
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow: hidden;
}

/* Title */
.blog-card-title {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  margin-bottom: 8px;
  line-height: 150%;
  margin-top: 10px;
}

.blog-card-title a {
  color: black !important;
  text-decoration: none !important;
}

/* Trimmed body */
.blog-card-body {
  color: #444;
  font-size: 0.85rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin-bottom: 12px;
  flex-grow: 1;
}

/* Footer */
.blog-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 10px;
  flex-shrink: 0;
  flex-direction: column;
}

/* Button */
.blog-card-button {
  padding: 6px;
  color: black !important;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.3s ease !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.blog-card-button a {
  text-decoration: none !important;
  color: #343741;
  font-size: 16px;
  font-weight: 500;
}

.blog-card-button img {
  width: 20px;
  height: 20px;
}

.blog-card-button a:hover,
.blog-card-button img:hover {
  color: #005fa3 !important;
}

/* Social */
.blog-card-social {
  text-align: right;
  font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .blog-card-wrapper {
    flex: 1 1 calc(50% - 15px);
    max-width: calc(50% - 15px);
  }
}

@media (max-width: 576px) {
  .blog-card-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
