.page-home {
  padding: 0;
}

/* Hero 区域 - 参考 fn-most-read 布局 */
.hero-most-read {
  width: min(1080px, calc(100% - 32px));
  margin: 22px auto 0;
}

.hero-most-read__lead {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
}

.hero-most-read__media {
  width: 520px;
  height: 360px;
  min-height: 360px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.hero-most-read__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-pill {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--btn);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
}

.hero-stat {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-stat strong {
  display: block;
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.02em;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.hero-most-read__content {
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-kicker {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--text);
  opacity: 0.7;
}

.hero-most-read__content h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 2.7vw, 2.7rem);
  line-height: 1.15;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--text);
}

.hero-most-read__content p {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  opacity: 0.85;
}

.hero-read-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.hero-read-link:hover {
  color: var(--btn-hover);
}

/* 数据指标栏 */
.metrics-grid {
  width: min(1080px, calc(100% - 32px));
  max-width: 100%;
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  box-sizing: border-box;
}

.metric-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px 16px;
  min-height: 200px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 12px rgba(60, 70, 50, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(60, 70, 50, 0.1);
}

.metric-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.metric-card__cat {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #6b3b25;
  opacity: 1;
  background: rgba(244, 217, 208, 0.55); /* var(--focus-bg) with alpha */
  border: 1px solid rgba(217, 138, 91, 0.25); /* var(--btn) with alpha */
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  white-space: normal;
  max-width: 100%;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.metric-card__rank {
  font-size: 2rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--line);
}

.metric-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.3;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  color: var(--text);
  overflow-wrap: anywhere;
}

.metric-card__bottom {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.95rem;
  color: var(--text);
  opacity: 0.75;
  min-width: 0;
}

.metric-card__bottom span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.metric-card__bottom a {
  color: var(--btn);
  font-weight: 600;
  transition: color 0.2s ease;
}

.metric-card__bottom a:hover {
  color: var(--btn-hover);
}

/* 主体两栏布局 */
.main-layout {
  width: min(1080px, calc(100% - 32px));
  margin: 14px auto 0;
  display: block;
}

/* 左侧主内容 */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* 你在担心什么 区块 */
.worry-section {
  background: var(--card);
  border: 0;
  border-radius: 0;
  padding: 24px 22px;
  box-shadow: none;
  position: relative;
  z-index: 0;
}

.worry-section::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--card);
  z-index: -1;
}

.worry-section h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: var(--btn);
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-desc {
  margin: 0 0 16px;
  color: #6b6b6b;
  font-size: 0.92rem;
  text-align: center;
  line-height: 1.6;
}

/* 2x2 网格布局 */
.worry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.worry-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  border-left-width: 3px;
  border-left-color: var(--line);
  box-shadow: 0 3px 12px rgba(60, 70, 50, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.worry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(60, 70, 50, 0.1);
}

.worry-grid .worry-card:nth-child(1) {
  border-left-color: #f39a1f;
}

.worry-grid .worry-card:nth-child(2) {
  border-left-color: #ef6f57;
}

.worry-grid .worry-card:nth-child(3) {
  border-left-color: #69c6dc;
}

.worry-grid .worry-card:nth-child(4) {
  border-left-color: #a867ce;
}

.worry-grid .worry-card:nth-child(5) {
  border-left-color: #4fb789;
}

.worry-grid .worry-card:nth-child(6) {
  border-left-color: #e15779;
}

.worry-card blockquote {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text);
}

.worry-card blockquote strong {
  color: var(--text);
}

.worry-title {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
}

.worry-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}

.worry-chip {
  flex-shrink: 0;
  font-size: 0.8rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.worry-body {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.72;
  color: var(--text);
  opacity: 0.85;
}

.worry-link {
  margin-top: auto;
  align-self: flex-end;
  padding-top: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #808080;
}

.worry-link:hover {
  color: var(--btn);
}
.worry-grid .worry-card:nth-child(1) .worry-chip {
  color: #5f5a56;
}
.worry-grid .worry-card:nth-child(2) .worry-chip {
  color: #cf5d4a;
}

.worry-grid .worry-card:nth-child(3) .worry-chip {
  color: #4eafc1;
}

.worry-grid .worry-card:nth-child(4) .worry-chip {
  color: #8f5fb8;
}

.worry-grid .worry-card:nth-child(5) .worry-chip {
  color: #43a176;
}

.worry-grid .worry-card:nth-child(6) .worry-chip {
  color: #c7516e;
}

/* 标签栏 */
.tags-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
  padding: 16px 18px 18px;
  background: var(--focus-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.tags-bar__title {
  width: 100%;
  margin: 0 0 4px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--text);
  opacity: 0.7;
}

.tags-bar .tag {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.42rem 0.92rem;
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--text);
  text-decoration: none;
  line-height: 1.1;
  transition: all 0.2s ease;
}

.tags-bar .tag:hover {
  background: var(--focus-bg);
  border-color: var(--btn);
  color: var(--btn-hover);
}

/* 编辑精选 区块 */
.editor-picks {
  background: #f0f4ed;
  border: 0;
  border-radius: 0;
  padding: 24px 22px;
  box-shadow: none;
  position: relative;
  z-index: 0;
}

.editor-picks::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #f0f4ed;
  z-index: -1;
}

.editor-picks h2 {
  display: block;
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: #5a6b4d;
  letter-spacing: 0.02em;
  text-align: center;
  font-weight: 700;
}

.editor-picks__sub {
  margin: 0 0 16px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #6b6b6b;
  text-align: center;
}

.editor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.editor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 20px 18px;
  min-height: 248px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(60, 70, 50, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.editor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(60, 70, 50, 0.12);
}

.editor-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 2px;
  border-radius: 12px 12px 0 0;
  background: #be90ff;
  pointer-events: none;
}

.editor-card:nth-child(2)::before {
  background: #87d7e9;
}

.editor-card:nth-child(3)::before {
  background: #e37f95;
}

.editor-card:nth-child(4)::before {
  background: #f1b34e;
}

.editor-card:nth-child(5)::before {
  background: #7dcaa8;
}

.editor-card:nth-child(6)::before {
  background: #8ba4e8;
}

.editor-label {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.2;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--btn);
  text-transform: uppercase;
  text-rendering: optimizeLegibility;
}

.editor-meta {
  margin: 0 0 10px;
  font-size: 1.32rem;
  line-height: 1.3;
  color: var(--text);
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
}

.editor-note {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text);
  opacity: 0.8;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-style: normal;
}

body[data-page="home"] .site-footer {
  margin-top: 0;
}

/* 右侧侧边栏 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.sidebar-section h2,
.sidebar-section h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--text);
}

.sidebar-desc {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.75;
  line-height: 1.5;
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-item {
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 8px;
}

.sidebar-item a {
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-item a:hover {
  color: var(--btn);
}

/* 引用高亮卡片 */
.quote-highlight {
  margin-top: 12px;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
}

.quote-highlight.orange {
  background: #fef6f0;
  border-left: 4px solid #e67e22;
}

.quote-highlight.red {
  background: #fef2f0;
  border-left: 4px solid #e74c3c;
}

.quote-highlight.blue {
  background: #f0f7ff;
  border-left: 4px solid #3498db;
}

.quote-highlight p {
  margin: 0;
  color: #555;
}

/* 响应式调整 */
@media (max-width: 900px) {
  .page-home {
    padding-top: 0;
  }

  .hero-most-read {
    margin-top: 14px;
  }

  .hero-most-read__lead {
    grid-template-columns: 1fr;
  }

  .hero-most-read__media {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 520 / 360;
  }

  .hero-most-read__content {
    padding: 24px;
  }

  .hero-most-read__content h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .metric-card {
    min-height: 220px;
    padding: 16px;
  }

  .metric-card h3 {
    font-size: 1.3rem;
  }

  .worry-grid,
  .editor-grid {
    grid-template-columns: 1fr;
  }

  .editor-card {
    min-height: auto;
  }

}
