/* ============================================================
   TEAM-BLOG.CSS — "Vom Blog" recent posts, inside #team
   Vidai AG · vidai.ch
   ============================================================ */

.team-blog {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--light);
}

.team-blog-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.team-blog-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--red);
}

.team-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.blog-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 16px;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter var(--ease), transform var(--ease);
}

.blog-card:hover .blog-card-img img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.blog-card-body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--black);
  transition: color var(--ease);
}

.blog-card:hover .blog-card-body h4 {
  color: var(--red);
}

.blog-card-body p {
  font-size: 14px;
  color: var(--mid);
  font-weight: 300;
  line-height: 1.6;
}

.team-blog-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: color var(--ease);
}

.team-blog-more::before {
  content: '→';
  font-size: 14px;
}

.team-blog-more:hover {
  color: var(--red);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .team-blog {
    margin-top: 48px;
    padding-top: 36px;
  }

  .team-blog-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
