/* ===== Hero Section ===== */
.hero-section {
  background-color: var(--primary-color);
  color: var(--background-color);
  text-align: center;
  padding: 50px 20px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.hero-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* ===== Main Layout ===== */
.main-content {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  gap: 20px;
}

/* ===== Feed Container (no individual post styling) ===== */
.feed-container {
  flex: 3;
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

.feed {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--background-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px var(--shadow-color, rgba(0, 0, 0, 0.1));
}

/* ===== Sidebar ===== */
.sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 300px;
}

.quick-actions,
.trending-topics,
.notifications {
  background-color: var(--background-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px var(--shadow-color, rgba(0, 0, 0, 0.1));
  width: 100%;
}

/* ===== Mobile Styles ===== */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
    align-items: center;
  }

  .sidebar {
    max-width: 100%;
  }
}

.feed-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 1rem;
}

.feed-controls input[type="text"] {
  flex: 1;
  min-width: 180px;
  padding: 6px 10px;
  border-radius: 5px;
  border: none;
}

.feed-type-buttons,
.public-filter-buttons {
  display: flex;
  gap: 6px;
}

.btn.active {
  background-color: var(--primary);
  color: white;
}

.post-tags {
  margin-top: 0.5rem;
}

.post-tags .tag {
  background-color: var(--hover);
  color: var(--text);
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: 20px;
  margin-right: 6px;
  cursor: pointer;
  display: inline-block;
}
