#banner-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin: 30px 0 20px;
}

.banner-item {
  position: relative;
  flex: 0 0 30%;
  max-width: 30%;
}

.banner-inner {
  position: relative;
  display: block;
}

.banner-inner img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.banner-inner:hover img {
  transform: scale(1.02);
}

.banner-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  border-radius: 0 0 6px 6px;
}

.hot-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #ffc107;
  color: #000;
  font-weight: bold;
  padding: 2px 6px;
  font-size: 12px;
  border-radius: 4px;
  z-index: 2;
}

.meme-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

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

.meme-name {
  max-width: 100px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.meme-change {
  font-weight: bold;
  font-size: 14px;
  min-width: 60px;
  text-align: right;
}

.meme-positive { color: green; }
.meme-negative { color: red; }

.community-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.square-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.community-card .card-title { font-size: 15px; margin-bottom: 4px; }
.community-card .text-muted { font-size: 13px; margin-bottom: 6px; }
.community-card .text-secondary { font-size: 12px; margin-bottom: 4px; }

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-content {
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 14px;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}
