/**
 * 租房分类列表页 #rentalListPage：样式与首页信息流卡片对齐（北欧极简、双列、绿色价格）
 * 仅作用于本页容器，不影响 #homePage。
 */
#rentalListPage.rental-list-page {
  min-height: 100vh;
  background: var(--bg-body, #f8fafc);
}

#rentalListPage .rental-list-main {
  padding-top: 8px;
  padding-bottom: 24px;
}

#rentalListPage .rl-feed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: 16px;
  align-items: stretch;
}

#rentalListPage .rl-empty {
  grid-column: 1 / -1;
  text-align: left;
  padding: 28px 16px;
  font-size: 14px;
  color: #64748b;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

#rentalListPage .feed-card-mini {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  min-height: 0;
  height: 100%;
}

#rentalListPage .feed-card-mini-main {
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  flex: 0 1 auto;
}

#rentalListPage .feed-card-mini-head,
#rentalListPage .feed-card-mini-tail {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

#rentalListPage .feed-card-mini--text-only .feed-card-mini-main {
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 8px;
  min-height: 0;
}

#rentalListPage .feed-card-mini--text-only .feed-card-mini-tail {
  margin-top: 2px;
}

#rentalListPage .feed-card-mini--text-only .card-title-mini {
  font-size: 14px;
  line-height: 1.45;
}

#rentalListPage .feed-card-mini--text-only .card-meta-mini,
#rentalListPage .feed-card-mini--text-only .card-location-mini {
  font-size: 12px;
  line-height: 1.5;
  color: #475569;
}

#rentalListPage .card-badge-mini {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 500;
  margin-bottom: 6px;
  align-self: flex-start;
}

#rentalListPage .badge-hot {
  background: #fee2e2;
  color: #b91c1c;
}

#rentalListPage .badge-rental {
  background: var(--primary-light);
  color: var(--primary-hover);
}

#rentalListPage .badge-job {
  background: #e0f2fe;
  color: #0369a1;
}

#rentalListPage .badge-vip {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #fff;
}

#rentalListPage .card-title-mini {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 2px;
}

#rentalListPage .card-price-mini {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

#rentalListPage .card-signal-mini {
  font-size: 10px;
  font-weight: 600;
  color: #b45309;
  margin-bottom: 3px;
}

#rentalListPage .card-heat-mini {
  font-size: 10px;
  color: #64748b;
  margin-bottom: 4px;
}

#rentalListPage .card-meta-mini,
#rentalListPage .card-location-mini {
  font-size: 11px;
  line-height: 1.45;
  color: #475569;
  margin-bottom: 2px;
}

#rentalListPage .card-image-mini {
  margin-top: auto;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

#rentalListPage .card-image-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 480px) {
  #rentalListPage .feed-card-mini {
    padding: 12px;
  }
}
