/* Viral-style Post Cards */
.post-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background-color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.post-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card .post-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.post-card .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}

.post-card .category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: var(--viral-accent);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.post-card .post-views-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  z-index: 2;
}

.post-card .post-content {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.post-card h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--viral-dark);
  flex-grow: 1;
}

.post-card .post-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #666;
}

.post-card .post-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.post-card .post-meta i {
  color: var(--viral-accent);
}

@media (max-width: 768px) {
  .post-card .post-image {
    height: 180px;
  }
  
  .post-card h3 {
    font-size: 1.1rem;
  }
} 