/* ==========================================================================
   Blog & Case Studies index card grid
   ========================================================================== */

.blog-index {
  padding: 4rem 0 5rem;
}

.blog-index .row {
  display: flex;
  flex-wrap: wrap;
}

.blog-index__col {
  margin-bottom: 2.5rem;
  display: flex;
}

a.blog-index__card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e2e6eb;
  border-top: 3px solid #0072c6;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.blog-index__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,50,100,0.10);
  text-decoration: none;
  color: inherit;
}

.blog-index__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.blog-index__body {
  padding: 1.8rem 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-index__body h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #1a1a2e;
  margin: 0 0 1rem;
  line-height: 1.4;
  flex: 1;
  letter-spacing: 0;
  border-bottom: none;
}

.blog-index__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.2rem;
  border-top: 1px solid #e2e6eb;
}

.blog-index__date {
  font-family: 'Lato', sans-serif;
  font-size: 1.3rem;
  color: #5a6677;
}

.blog-index__read-more {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0072c6;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  .blog-index {
    padding: 3rem 0;
  }
}
