/* ================= BLOG INDEX / LIST STYLES ================= */

/* Blog list cover (50% viewport height) */
.blog-list-cover {
  height: 50vh;
  min-height: 260px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.blog-list-cover .cover-inner {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle overlay */
.blog-list-cover .cover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.blog-list-cover .container { position: relative; z-index: 2; }

/* Title in cover */
.blog-list-cover h1 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  font-size: 1.75rem;
}

.blog-list-cover p { color: #f2f2f2; }

/* Blog cards */
.blog-list .card {
  border-radius: 10px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}

.blog-list .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.blog-list .card-img-top {
  height: 180px;
  object-fit: cover;
}

.border-dashed {
  border: 2px dashed rgba(0,0,0,0.08);
}

/* small meta */
.blog-list .card .text-muted {
  color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-list-cover { height: 36vh; }
  .blog-list-cover h1 { font-size: 1.3rem; }
  .blog-list .card-img-top { height: 160px; }
}
