/* WPS Office 第2套 www — 左侧深色竖栏 + 右侧浅色内容 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.p2-body {
  margin: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  min-height: 100vh;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1a2332;
  background: #f4f1ea;
}

.p2-aside {
  width: 280px;
  flex-shrink: 0;
  background: #0b1f3a;
  color: #f4f1ea;
  min-height: 100vh;
  height: 100vh;
  padding: 28px 20px;
  position: sticky;
  top: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.p2-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #f4f1ea;
}

.p2-brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.p2-brand-text {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.p2-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.p2-nav a {
  display: block;
  padding: 10px 14px;
  color: #c8d0dc;
  text-decoration: none;
  border-radius: 4px;
  border-left: 3px solid transparent;
  transition: background 0.2s, color 0.2s;
}

.p2-nav a:hover {
  background: rgba(244, 241, 234, 0.08);
  color: #f4f1ea;
}

.p2-nav a.is-on {
  background: rgba(212, 160, 23, 0.18);
  color: #f4f1ea;
  border-left-color: #d4a017;
  font-weight: 600;
}

.p2-aside-dl {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.p2-aside-dl a,
.p2-btn-win {
  display: block;
  text-align: center;
  padding: 12px 16px;
  background: #d4a017;
  color: #0b1f3a;
  text-decoration: none;
  font-weight: 700;
  border-radius: 4px;
  border: none;
}

.p2-aside-dl a:hover,
.p2-btn-win:hover {
  background: #e0b12a;
}

.p2-aside-note {
  font-size: 0.78rem;
  color: #8a9bb0;
  line-height: 1.5;
  margin: 0;
}

.p2-main {
  flex: 1;
  min-width: 0;
  background: #f4f1ea;
  padding: 40px 48px;
}

.p2-hero {
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e0d8cc;
}

.p2-hero h1 {
  margin: 0 0 16px;
  font-size: 1.85rem;
  line-height: 1.35;
  color: #0b1f3a;
  font-weight: 700;
}

.p2-hero-lead {
  margin: 0 0 24px;
  font-size: 1.05rem;
  color: #3a4658;
  max-width: 42em;
}

.p2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0 0 28px;
}

.p2-tag {
  display: inline-block;
  padding: 6px 14px 6px 12px;
  background: #fff;
  border-left: 4px solid #d4a017;
  color: #0b1f3a;
  font-weight: 600;
  font-size: 0.95rem;
}

.p2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.p2-btn-win {
  display: inline-block;
  padding: 14px 28px;
  font-size: 1.05rem;
}

.p2-btn-sec {
  display: inline-block;
  padding: 12px 22px;
  background: transparent;
  color: #0b1f3a;
  border: 2px solid #0b1f3a;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
}

.p2-btn-sec:hover {
  background: #0b1f3a;
  color: #f4f1ea;
}

.p2-dl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.p2-dl-row a {
  display: inline-block;
  padding: 10px 18px;
  background: #fff;
  color: #0b1f3a;
  border: 1px solid #c8bfb0;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  font-size: 0.92rem;
}

.p2-dl-row a:hover {
  border-color: #d4a017;
  color: #d4a017;
}

.p2-dl-row a.p2-btn-win {
  background: #d4a017;
  color: #0b1f3a;
  border-color: #d4a017;
}

.p2-section {
  margin-bottom: 48px;
}

.p2-section h2 {
  margin: 0 0 20px;
  font-size: 1.35rem;
  color: #0b1f3a;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 2px solid #d4a017;
  display: inline-block;
  width: 100%;
}

.p2-section p {
  margin: 0 0 14px;
  color: #2c3648;
}

.p2-feat {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid #e0d8cc;
}

.p2-feat:last-child {
  border-bottom: none;
}

.p2-feat-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  color: #d4a017;
}

.p2-feat-body {
  flex: 1;
  min-width: 0;
}

.p2-feat-body h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  color: #0b1f3a;
}

.p2-feat-body p {
  margin: 0;
}

.p2-compare {
  margin: 0;
  padding: 0;
  list-style: none;
}

.p2-compare li {
  padding: 14px 0 14px 18px;
  border-left: 3px solid #d4a017;
  margin-bottom: 12px;
  background: #fff;
  padding-right: 16px;
}

.p2-compare strong {
  color: #0b1f3a;
  display: block;
  margin-bottom: 4px;
}

.p2-news {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 3px solid #d4a017;
}

.p2-news li {
  display: flex;
  gap: 20px;
  padding: 0 0 28px 24px;
  position: relative;
}

.p2-news li:last-child {
  padding-bottom: 0;
}

.p2-news li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 11px;
  height: 11px;
  background: #d4a017;
  border-radius: 50%;
}

.p2-news-date {
  flex-shrink: 0;
  width: 100px;
  font-size: 0.88rem;
  color: #6a7588;
  font-weight: 600;
  padding-top: 2px;
}

.p2-news-body {
  flex: 1;
  min-width: 0;
}

.p2-news-body h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
  color: #0b1f3a;
  font-weight: 650;
}

.p2-news-body p {
  margin: 0;
  font-size: 0.95rem;
  color: #3a4658;
}

.p2-faq {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: p2faq;
}

.p2-faq li {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid #e0d8cc;
  counter-increment: p2faq;
}

.p2-faq li:last-child {
  border-bottom: none;
}

.p2-faq-num {
  flex-shrink: 0;
  width: 36px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #d4a017;
  line-height: 1.4;
}

.p2-faq-num::before {
  content: counter(p2faq, decimal-leading-zero);
}

.p2-faq-body {
  flex: 1;
  min-width: 0;
}

.p2-faq-body h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: #0b1f3a;
  font-weight: 650;
}

.p2-faq-body p {
  margin: 0 0 10px;
}

.p2-faq-body p:last-child {
  margin-bottom: 0;
}

.p2-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: p2step;
}

.p2-steps li {
  counter-increment: p2step;
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #e0d8cc;
}

.p2-steps li:last-child {
  border-bottom: none;
}

.p2-step-n {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #0b1f3a;
  color: #f4f1ea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.p2-step-n::before {
  content: counter(p2step);
}

.p2-step-body {
  flex: 1;
}

.p2-step-body strong {
  display: block;
  color: #0b1f3a;
  margin-bottom: 4px;
}

.p2-cta-bar {
  margin-top: 24px;
  padding: 20px 24px;
  background: #fff;
  border-left: 4px solid #d4a017;
}

.p2-cta-bar a {
  color: #0b1f3a;
  font-weight: 700;
  text-decoration: underline;
}

.p2-footer {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid #e0d8cc;
  font-size: 0.88rem;
  color: #5a6578;
}

.p2-footer p {
  margin: 0 0 10px;
}

@media (max-width: 860px) {
  body.p2-body {
    flex-direction: column;
  }

  .p2-aside {
    width: 100%;
    height: auto;
    min-height: 0;
    position: static;
    overflow: visible;
  }

  .p2-aside-dl {
    margin-top: 0;
  }

  .p2-main {
    padding: 28px 20px;
  }

  .p2-hero h1 {
    font-size: 1.45rem;
  }

  .p2-news li {
    flex-direction: column;
    gap: 6px;
  }

  .p2-news-date {
    width: auto;
  }
}
