/* 明星专区 - 第一模块排版 */

.celebrity-page header nav {
  max-width: 80rem;
  margin: 0 auto;
}

.celebrity-page header .nav-menu {
  flex: 1;
  justify-content: center;
}

/* 面包屑 + 标题区 */
.celebrity-module {
  background: #f9fafb;
}

.celebrity-module .module-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem 1.5rem;
}

@media (min-width: 768px) {
  .celebrity-module .module-inner {
    padding: 0 1.5rem 2rem;
  }
}

.celebrity-module .breadcrumb {
  padding: 0.75rem 0;
  font-size: 0.875rem;
}

.celebrity-module .page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .celebrity-module .page-title {
    font-size: 1.875rem;
  }
}

.celebrity-module .page-desc {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* 筛选 + 排序 */
.celebrity-module .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.celebrity-module .filter-cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}

.celebrity-module .filter-cats button,
.celebrity-module .filter-sort button {
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.celebrity-module .filter-cats button {
  background: #f3f4f6;
  color: #4b5563;
}

.celebrity-module .filter-cats button:hover {
  background: #e5e7eb;
}

.celebrity-module .filter-cats button.active {
  background: #e11d48;
  color: #fff;
}

.celebrity-module .filter-sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.celebrity-module .filter-sort button {
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecdd3;
}

.celebrity-module .filter-sort button.active {
  background: #e11d48;
  color: #fff;
  border-color: #e11d48;
}

/* 明星卡片网格：桌面四列 */
.celebrity-module .celebrity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .celebrity-module .celebrity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .celebrity-module .celebrity-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.celebrity-module .celebrity-card {
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid #f3f4f6;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.celebrity-module .celebrity-card:hover {
  border-color: #fecdd3;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.celebrity-module .celebrity-card .card-img {
  position: relative;
  height: 14rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .celebrity-module .celebrity-card .card-img {
    height: 16rem;
  }
}

.celebrity-module .celebrity-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s;
}

.celebrity-module .celebrity-card:hover .card-img img {
  transform: scale(1.05);
}

.celebrity-module .celebrity-card .heat-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #e11d48;
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}

.celebrity-module .celebrity-card .card-body {
  padding: 0.75rem;
  text-align: center;
}

.celebrity-module .celebrity-card .card-name {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.celebrity-module .celebrity-card .card-snippet {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.1em;
}

.celebrity-module .celebrity-card .card-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: #9ca3af;
}

.celebrity-module .celebrity-card .card-stats .ri-fire-line {
  color: #fb7185;
}
