/* WPS Office zh.wpsdataa.com.cn — bd- prefix, banner bands */
:root {
  --bd-bg: #fff7ed;
  --bd-band-a: #fde8e8;
  --bd-band-b: #fff;
  --bd-accent: #9f1239;
  --bd-text: #1c1917;
  --bd-muted: #57534e;
  --bd-content: 720px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--bd-text);
  background: var(--bd-bg);
}

a {
  color: var(--bd-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

.bd-wrap {
  width: 100%;
  max-width: var(--bd-content);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header — centered, brand above nav, no dark bar */
.bd-header {
  background: var(--bd-band-b);
  border-bottom: 1px solid #fecaca;
  padding: 22px 0 16px;
  text-align: center;
}

.bd-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bd-text);
  font-family: Georgia, "Songti SC", SimSun, serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-decoration: none;
}

.bd-brand:hover {
  text-decoration: none;
  color: var(--bd-accent);
}

.bd-brand svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.bd-nav {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.bd-nav a {
  color: var(--bd-muted);
  font-size: 0.95rem;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

.bd-nav a:hover,
.bd-nav a.is-current {
  color: var(--bd-accent);
  text-decoration: none;
  border-bottom-color: var(--bd-accent);
}

/* Hero / banner band */
.bd-hero {
  background: var(--bd-band-a);
  text-align: center;
  padding: 42px 0 36px;
}

.bd-hero h1 {
  margin: 0 0 20px;
  font-family: Georgia, "Songti SC", SimSun, serif;
  font-size: clamp(1.55rem, 3.2vw, 2.05rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--bd-text);
}

.bd-dl-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 12px;
  margin: 0 0 22px;
}

.bd-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--bd-accent);
  color: #fff !important;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 2px solid var(--bd-accent);
  transition: background 0.2s, color 0.2s;
}

.bd-btn:hover {
  background: #fff;
  color: var(--bd-accent) !important;
}

.bd-btn-ghost {
  background: #fff;
  color: var(--bd-accent) !important;
}

.bd-btn-ghost:hover {
  background: var(--bd-accent);
  color: #fff !important;
}

.bd-hero-lead {
  max-width: 640px;
  margin: 0 auto 24px;
  color: var(--bd-muted);
  font-size: 0.98rem;
  text-align: left;
}

/* Four components — first viewport */
.bd-comps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.bd-comp {
  background: #fff;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
}

.bd-comp svg {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  color: var(--bd-accent);
}

.bd-comp span {
  display: block;
  font-family: Georgia, "Songti SC", SimSun, serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--bd-text);
}

/* Three-column feature strip */
.bd-features {
  background: var(--bd-band-b);
  padding: 28px 0;
  border-bottom: 1px solid #fecaca;
}

.bd-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}

.bd-feature h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Songti SC", SimSun, serif;
  font-size: 1.05rem;
  color: var(--bd-accent);
}

.bd-feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--bd-muted);
  line-height: 1.65;
}

.bd-feature svg {
  width: 32px;
  height: 32px;
  margin-bottom: 8px;
  color: var(--bd-accent);
}

/* Alternating content bands */
.bd-band {
  padding: 36px 0;
}

.bd-band:nth-of-type(odd) {
  background: var(--bd-band-a);
}

.bd-band:nth-of-type(even) {
  background: var(--bd-band-b);
}

.bd-main .bd-band:nth-child(odd) {
  background: var(--bd-band-b);
}

.bd-main .bd-band:nth-child(even) {
  background: var(--bd-band-a);
}

.bd-main h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Songti SC", SimSun, serif;
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--bd-text);
  text-align: center;
}

.bd-main p {
  margin: 0 0 14px;
  text-align: justify;
}

.bd-main p:last-child {
  margin-bottom: 0;
}

/* News — date above title, stacked */
.bd-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bd-news-list li {
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid #fecaca;
}

.bd-news-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.bd-news-date {
  display: block;
  font-size: 0.85rem;
  color: var(--bd-accent);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.bd-news-list h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Songti SC", SimSun, serif;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--bd-text);
}

.bd-news-list p {
  margin: 0;
  color: var(--bd-muted);
  font-size: 0.95rem;
}

/* FAQ */
.bd-faq-item {
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #fecaca;
}

.bd-faq-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.bd-faq-item h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Songti SC", SimSun, serif;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--bd-text);
}

.bd-faq-item p {
  margin: 0;
  color: var(--bd-muted);
}

/* Footer */
.bd-footer {
  background: var(--bd-band-a);
  border-top: 1px solid #fecaca;
  padding: 28px 0 36px;
  text-align: center;
}

.bd-footer p {
  margin: 0 0 10px;
  font-size: 0.88rem;
  color: var(--bd-muted);
  line-height: 1.65;
}

.bd-footer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .bd-comps {
    grid-template-columns: repeat(2, 1fr);
  }

  .bd-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bd-dl-row {
    flex-direction: column;
    align-items: center;
  }

  .bd-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
