/* ===================================================================
   Blog 页 —「场外 · 人物故事分类页」目录（文章分类页）
   浅色渐变背景 + 刊头 + 2×3 故事卡网格 + 搜索过滤。
   =================================================================== */

.stories-page {
  min-height: 100vh;
  padding: 84px clamp(24px, 6vw, 64px) 0;
  max-width: 1440px;
  margin: 0 auto;
  /* Figma 分类页的浅色渐变（橄榄 → 鼠尾草 → 雾蓝） */
  background: linear-gradient(180deg, #b1af84 0%, #abb3a2 46%, #98acbe 100%);
  color: #151714;
}

/* ---- 刊头（分类引言）---- */
.masthead-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  column-gap: 48px;
  align-items: start;
  padding-top: 24px;
}
.masthead-title {
  font-family: "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 7.6vw, 76px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #151714;
}
.masthead-desc {
  padding-top: 11px;
  font-family: "Noto Rashi Hebrew", Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
  color: #3e4843;
}
.masthead-desc p { margin: 0; }

/* ---- 目录标题（All Stories / N STORIES）---- */
.masthead-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 58px;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.65);
  white-space: nowrap;
}
.bar-title {
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: #151714;
}
.bar-count {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: #3e4843;
}

/* ---- 搜索提示条 ---- */
.search-note {
  margin: 28px 0;
  font-family: "Noto Rashi Hebrew", Georgia, serif;
  font-size: 15px;
  line-height: 1.6;
  color: #3e4843;
}

/* ---- 六人故事目录（2 行 × 3 列）---- */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 28px;
  row-gap: 48px;
  padding-bottom: 48px;
}
.stories-empty {
  grid-column: 1 / -1;
  padding: 32px 0 64px;
  font-family: "Noto Rashi Hebrew", Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
  color: #3e4843;
}

.story-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.story-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #171715;
}
.story-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.story-photo-fallback {
  display: block;
  width: 100%;
  height: 100%;
  background: #171715;
}
.story-card:hover .story-photo > img { transform: scale(1.04); }

.story-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  transition: transform 0.25s ease;
}
.story-arrow svg { display: block; }
.story-card:hover .story-arrow { transform: translate(2px, -2px); }

/* ---- 待填写信息（姓名 / 运动，右对齐的小字段框）---- */
.story-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.story-field {
  display: flex;
  justify-content: flex-end;
  height: 36px;
}
.story-field > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  background: #f4f2e8;
  border: 1px solid rgba(255, 255, 255, 0.72);
  font-family: "Noto Sans SC", -apple-system, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 13px;
  line-height: 1;
  color: #151714;
  white-space: nowrap;
}

/* ---- 条目索引（编号 / First Try）---- */
.story-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 11px;
  white-space: nowrap;
  color: #3e4843;
}
.story-num {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
}
.story-type {
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 400;
}

/* ---- 响应式 ---- */
@media (max-width: 1000px) {
  .stories-grid { grid-template-columns: repeat(2, 1fr); }
  .masthead-intro { grid-template-columns: 1fr; row-gap: 8px; }
  .masthead-desc { padding-top: 0; max-width: 560px; }
}
@media (max-width: 620px) {
  .stories-page { padding-top: 96px; }
  .stories-grid { grid-template-columns: 1fr; }
  .masthead-intro { padding-top: 28px; }
  .masthead-bar { margin-top: 28px; }
}
