:root {
  color-scheme: light;
  --bg: transparent;
  --paper: rgba(255, 255, 255, 0.96);
  --ink: #2f3137;
  --muted: #7a7d86;
  --line: #e4d7c2;
  --accent: #c28a42;
  --accent-soft: rgba(194, 138, 66, 0.08);
  --shadow: 0 14px 40px rgba(112, 91, 52, 0.07);
  --font-sans: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: Georgia, "Source Han Serif SC", "Songti SC", serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
}

.page-shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 18px 36px;
}

.section {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section {
  padding: 26px 36px 20px;
}

.section-head {
  display: block;
  text-align: center;
}

.section-title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: 0 28px;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: 0;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
  height: 1px;
  background: var(--ink);
}

.section-title::before {
  right: 100%;
  margin-right: 10px;
}

.section-title::after {
  left: 100%;
  margin-left: 10px;
}

.status {
  min-height: 24px;
  margin: 14px auto 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  text-align: center;
}

.featured-topic {
  margin-bottom: 18px;
}

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

.topic-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.topic-card-featured {
  min-height: 0;
  padding: 28px;
  background: var(--paper);
}

.topic-meta {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topic-title {
  margin: 12px 0 8px;
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.topic-title-en {
  margin: 0;
  color: #4d6270;
  font-size: 15px;
  line-height: 1.7;
}

.topic-copy {
  margin-top: 16px;
}

.topic-summary,
.topic-summary-en {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
}

.topic-summary-en {
  margin-top: 12px;
  color: #57626c;
}

.topic-footer,
.topic-links {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.topic-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.topic-links a {
  color: var(--accent);
  text-decoration: none;
}

.topic-links a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .topic-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 12px 12px 28px;
  }

  .section {
    border-radius: 16px;
    padding: 20px 20px 14px;
  }

  .section-title {
    font-size: 26px;
    padding: 0 12px;
  }

  .section-title::before,
  .section-title::after {
    width: 34px;
  }

  .topic-title {
    font-size: 17px;
  }

  .topic-card,
  .topic-card-featured {
    padding: 18px;
  }
}
