/* Remove border-top for creativity page sections */
.section {
  border-top: none;
}

/* Twitter-like Feed Layout */
.creativity-feed {
  max-width: 600px;
  margin: 0 auto 3rem;
}

.feed-post {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.feed-post:hover {
  box-shadow: var(--shadow-medium);
  border-color: var(--accent-color);
}

.post-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid var(--border-color);
  background: var(--bg-accent);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.post-date {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.post-content {
  margin-bottom: 1rem;
}

.post-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.post-description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.post-media-container {
  border-radius: 12px;
  overflow: hidden;
  /* border: 1px solid var(--border-color); */
  cursor: pointer;
  transition: transform 0.3s ease;
}

.post-media-container:hover {
  transform: scale(1.02);
}

.post-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  /* background: var(--bg-accent); */
}

.post-video {
  width: 100%;
  height: auto;
  max-height: 400px;
  display: block;
  cursor: default;
  border-radius: 8px;
}

.post-video:hover {
  transform: none;
}

.expand-btn {
  background: var(--bg-accent);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 0.8rem;
  border-radius: 16px;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  vertical-align: middle;
}

.expand-btn:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-1px);
}

.expand-btn svg {
  transition: transform 0.3s ease;
}

.post-description-container {
  margin-bottom: 1rem;
}

.post-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.action-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.action-btn:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

.gallery-info {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 2rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 12px;
  max-width: 600px;
  margin: 2rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.gallery-info p {
  margin: 0;
  padding: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .creativity-feed {
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .feed-post {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 12px;
  }
  
  .post-image {
    max-height: 300px;
  }
  
  .post-video {
    max-height: 300px;
  }
  
  .gallery-info {
    margin: 1rem;
    padding: 0.75rem;
  }
}