/* ── LinkedIn Posts Section ── */
.section-linkedin {
  background: var(--bg);
  min-height: auto;
  padding: 6rem 2rem;
}

.linkedin-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  text-align: left;
}

.linkedin-post-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.linkedin-post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.linkedin-post-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--border);
}

.linkedin-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.linkedin-post-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.linkedin-post-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.linkedin-post-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.linkedin-post-author {
  font-weight: 600;
  color: var(--text);
}

.linkedin-post-date {
  color: var(--text-muted);
  margin-left: auto;
  white-space: nowrap;
}

.linkedin-post-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .linkedin-posts-grid {
    grid-template-columns: 1fr;
  }
}

