@import url('..CSS/my-fonts.css');


/* === BLOG CARD LAYOUT === */
/* === BLOG CARD LAYOUT === */
.blog-card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  padding: 40px 20px;
}

/* Card */
.card.clickable-card {
  width: 300px;
  background-color: #fff;
  border: 1px solid #000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  overflow: visible; /* allow text to expand */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 0;
}

/* Image */
.card.clickable-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Card content */
.card-body, .card.clickable-card > *:not(img) {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* don't stretch, let content decide height */
  gap: 10px;
}

/* Headings */
.card-body h4 {
  margin: 0 0 4px 0;
  font-size: 1.2rem;
  font-weight: 600;
}

/* Paragraphs */
.card-body p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

/* Small text / italic */
.card-body small,
.card-body em {
  color: #777;
}

/* Button */
.card-body .btn {
  margin-top: 10px;
  border-radius: 0;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 6px 12px;
  align-self: flex-start;
}

/* Hover effect */
.card.clickable-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
