/* cn.wpsvue.com.cn — magazine single column */
:root {
  --wine: #9f1239;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --paper: #ffffff;
  --num: #fce7f3;
  --max: 820px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.mag {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

a {
  color: var(--wine);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #881337;
}

.mag-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px 64px;
}

/* top bar: minimal, bottom hairline only */
.mag-top {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.mag-top-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 20px;
  letter-spacing: 0.04em;
}

.brand svg {
  flex-shrink: 0;
}

.mag-nav {
  display: flex;
  gap: 4px 18px;
  flex-wrap: wrap;
  font-size: 15px;
}

.mag-nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 2px 0;
  border-bottom: 2px solid transparent;
}

.mag-nav a:hover {
  color: var(--wine);
}

.mag-nav a.is-active {
  color: var(--wine);
  border-bottom-color: var(--wine);
  font-weight: 600;
}

/* hero */
.mag-hero {
  padding: 8px 0 36px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.mag-hero h1,
h1 {
  margin: 0 0 18px;
  font-family: "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 48px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--wine);
  text-align: left;
  letter-spacing: 0.01em;
}

.mag-lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
  max-width: 38em;
}

.mag-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: "Microsoft YaHei", Georgia, sans-serif;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--wine);
  color: var(--wine);
  background: transparent;
}

.btn-primary,
.wine-panel .btn {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
}

.btn-primary:hover,
.wine-panel .btn:hover {
  background: #881337;
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--wine);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* numbered sections */
.num-sec {
  position: relative;
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--line);
}

.num-sec .sec-num {
  position: absolute;
  top: 8px;
  right: 0;
  font-family: "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 92px;
  line-height: 1;
  color: var(--num);
  font-weight: 700;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.num-sec h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-family: "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 26px;
  line-height: 1.35;
  color: var(--ink);
  font-weight: 700;
}

.num-sec p {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  color: var(--ink);
}

.num-sec p:last-child {
  margin-bottom: 0;
}

.num-sec ol,
.num-sec ul {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  padding-left: 1.4em;
}

.num-sec li {
  margin-bottom: 10px;
}

/* wine download panel */
.wine-panel {
  margin: 40px 0;
  padding: 36px 28px;
  background: var(--wine);
  color: #fff;
}

.wine-panel h2 {
  margin: 0 0 14px;
  font-family: "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 26px;
  color: #fff;
}

.wine-panel p {
  margin: 0 0 20px;
  color: #fce7f3;
  max-width: 40em;
}

.wine-panel .btn {
  background: #fff;
  color: var(--wine);
  border-color: #fff;
}

.wine-panel .btn:hover {
  background: #fce7f3;
  color: var(--wine);
}

.wine-panel .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}

.wine-panel .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* news as definition list */
.news-dl {
  margin: 0;
  position: relative;
  z-index: 1;
}

.news-dl dt {
  margin: 22px 0 6px;
  font-family: "Palatino Linotype", "Songti SC", SimSun, serif;
  font-size: 19px;
  color: var(--ink);
  font-weight: 700;
}

.news-dl dt:first-child {
  margin-top: 8px;
}

.news-dl dt .date {
  display: inline-block;
  margin-left: 10px;
  font-family: Georgia, "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.news-dl dd {
  margin: 0 0 4px;
  padding: 0 0 14px;
  border-bottom: 1px dotted var(--line);
  color: var(--muted);
  font-size: 16px;
}

.news-dl dd:last-of-type {
  border-bottom: none;
}

/* FAQ — always in DOM; details expand */
.faq-list {
  position: relative;
  z-index: 1;
  margin: 0;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  font-size: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-right: 2px solid var(--wine);
  border-bottom: 2px solid var(--wine);
  transform: rotate(-45deg);
  vertical-align: 2px;
}

.faq-list details[open] summary::before {
  transform: rotate(45deg);
  vertical-align: 4px;
}

.faq-list details p {
  margin: 12px 0 4px;
  color: var(--muted);
  font-size: 16px;
}

/* footer */
.mag-foot {
  margin-top: 48px;
  padding: 28px 0 8px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

.mag-foot p {
  margin: 0 0 8px;
}

.mag-foot a {
  color: var(--muted);
}

/* mobile: single column, download buttons first */
@media (max-width: 720px) {
  .mag-hero h1,
  h1 {
    font-size: 32px;
  }

  .num-sec .sec-num {
    font-size: 64px;
    opacity: 0.85;
  }

  .mag-top-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .wine-panel {
    padding: 28px 18px;
  }

  .mag-actions,
  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
