/* ============================================
   米白复古报纸风 —— style.css
   主色：#2D2D2D 深灰黑 / #9B2226 暗红
   字体：Noto Serif SC 衬线
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', Georgia, serif;
  font-size: 16px;
  line-height: 1.8;
  color: #2D2D2D;
  background: #F5F1E8;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(45,45,45,0.015) 0px,
      rgba(45,45,45,0.015) 1px,
      transparent 1px,
      transparent 3px
    );
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #2D2D2D; text-decoration: none; transition: color .25s ease; }
a:hover { color: #9B2226; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
h1,h2,h3,h4 { font-family: 'Noto Serif SC', serif; font-weight: 700; color: #2D2D2D; margin: 0; }
button { font-family: inherit; cursor: pointer; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Masthead 报头 ---------- */
.masthead {
  background: #F5F1E8;
  border-bottom: 3px double #2D2D2D;
}
.masthead-top {
  border-bottom: 1px solid #2D2D2D;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.masthead-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.masthead-top .masthead-inner {
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 12px;
}
.masthead-phone { color: #9B2226; font-weight: 600; }
.masthead-main { padding: 28px 0 20px; border-bottom: 1px solid #2D2D2D; }
.masthead-brand {
  flex-direction: column;
  text-align: center;
}
.brand-rules,
.brand-slogan {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #6b6b6b;
  text-transform: uppercase;
}
.brand-rules::before,
.brand-rules::after,
.brand-slogan::before,
.brand-slogan::after {
  content: "◆";
  color: #9B2226;
  margin: 0 10px;
  font-size: 8px;
  vertical-align: middle;
}
.brand-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: 0.15em;
  margin: 8px 0 6px;
  position: relative;
}
.brand-title::before,
.brand-title::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 2px;
  background: #2D2D2D;
  vertical-align: middle;
  margin: 0 20px;
}

/* ---------- Navigation ---------- */
.topnav {
  border-bottom: 3px double #2D2D2D;
  background: #EDE6D3;
}
.topnav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.topnav-list li { border-right: 1px solid rgba(45,45,45,.2); }
.topnav-list li:first-child { border-left: 1px solid rgba(45,45,45,.2); }
.topnav-list a {
  display: block;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  position: relative;
}
.topnav-list a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 8px;
  width: 0; height: 2px;
  background: #9B2226;
  transition: width .3s ease, left .3s ease;
}
.topnav-list a:hover::after { width: 60%; left: 20%; }
.nav-apply {
  background: #9B2226;
  color: #F5F1E8 !important;
}
.nav-apply:hover { background: #7a1a1d; color: #F5F1E8 !important; }
.nav-apply::after { display: none !important; }

/* ---------- Main ---------- */
.main { padding-bottom: 0; }

/* ---------- Headline 头版 ---------- */
.headline {
  padding: 60px 0 50px;
  border-bottom: 1px solid #2D2D2D;
  position: relative;
}
.headline-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.headline-label {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #9B2226;
  border: 1px solid #9B2226;
  padding: 4px 16px;
  margin-bottom: 24px;
}
.headline-title {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.headline-rule {
  width: 80px;
  height: 3px;
  background: #2D2D2D;
  margin: 0 auto 28px;
  position: relative;
}
.headline-rule::before,
.headline-rule::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 40px;
  height: 1px;
  background: #2D2D2D;
}
.headline-rule::before { left: 20px; }
.headline-rule::after { right: 20px; }
.headline-lead {
  font-size: 17px;
  text-align: justify;
  column-count: 2;
  column-gap: 36px;
  column-rule: 1px solid rgba(45,45,45,.25);
  margin-bottom: 32px;
}
.headline-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 首字下沉 */
.drop-cap::first-letter {
  float: left;
  font-size: 3.2em;
  line-height: 0.9;
  font-weight: 900;
  color: #9B2226;
  padding: 6px 10px 0 0;
  font-family: 'Noto Serif SC', serif;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: 15px;
  letter-spacing: 0.1em;
  font-weight: 600;
  border: 2px solid #2D2D2D;
  background: transparent;
  color: #2D2D2D;
  transition: all .25s ease;
  cursor: pointer;
}
.btn-primary {
  background: #9B2226;
  border-color: #9B2226;
  color: #F5F1E8;
}
.btn-primary:hover {
  background: #2D2D2D;
  border-color: #2D2D2D;
  color: #F5F1E8;
}
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: #2D2D2D; color: #F5F1E8; }
.btn-large { padding: 14px 48px; font-size: 16px; }

/* ---------- Sections ---------- */
.section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(45,45,45,.2);
}
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 0.3em;
  color: #9B2226;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.section-rule {
  width: 60px;
  height: 2px;
  background: #9B2226;
  margin: 0 auto 18px;
  position: relative;
}
.section-rule::before,
.section-rule::after {
  content: "";
  position: absolute;
  top: 6px;
  width: 30px;
  height: 1px;
  background: rgba(45,45,45,.4);
}
.section-rule::before { left: 15px; }
.section-rule::after { right: 15px; }
.section-desc {
  max-width: 640px;
  margin: 0 auto;
  color: #555;
  font-size: 15px;
}

/* ---------- Services 报纸多栏 ---------- */
.newspaper-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 2px solid #2D2D2D;
  border-bottom: 2px solid #2D2D2D;
}
.service-block {
  padding: 32px 28px;
  border-right: 1px solid rgba(45,45,45,.2);
  border-bottom: 1px solid rgba(45,45,45,.2);
  position: relative;
  transition: background .3s ease;
}
.service-block:nth-child(3n) { border-right: none; }
.service-block-wide { grid-column: span 1; }
.service-block:hover { background: rgba(155,34,38,.04); }
.service-number {
  font-size: 28px;
  font-weight: 900;
  color: #9B2226;
  margin-bottom: 12px;
  font-family: 'Noto Serif SC', serif;
}
.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(45,45,45,.3);
}
.service-text {
  font-size: 15px;
  color: #444;
  text-align: justify;
  margin: 0;
}
@media (min-width: 900px) {
  .service-block-wide { grid-column: span 3; border-right: none; }
}

/* ---------- Platforms ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.platform-card {
  display: block;
  padding: 28px 24px;
  border: 1px solid #2D2D2D;
  background: #FBF8EF;
  position: relative;
  transition: all .3s ease;
  overflow: hidden;
}
.platform-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 4px;
  background: #9B2226;
  transition: width .4s ease;
}
.platform-card:hover {
  background: #2D2D2D;
  color: #F5F1E8;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(45,45,45,.2);
}
.platform-card:hover::before { width: 100%; }
.platform-card:hover .platform-name { color: #F5F1E8; }
.platform-card:hover .platform-tag { color: #d89ea0; }
.platform-name {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  transition: color .3s ease;
}
.platform-tag {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: #9B2226;
  margin-bottom: 14px;
  transition: color .3s ease;
}
.platform-desc {
  font-size: 14px;
  color: inherit;
  margin: 0;
  line-height: 1.7;
}

/* ---------- Process ---------- */
.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  counter-reset: process;
  border: 1px solid #2D2D2D;
}
.process-item {
  padding: 32px 24px;
  border-right: 1px solid rgba(45,45,45,.2);
  position: relative;
  background: #FBF8EF;
}
.process-item:last-child { border-right: none; }
.process-step {
  font-size: 42px;
  font-weight: 900;
  color: #9B2226;
  font-family: 'Noto Serif SC', serif;
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.85;
}
.process-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.process-item p { font-size: 14px; color: #555; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 2px solid #2D2D2D;
}
.faq-item {
  border-bottom: 1px solid rgba(45,45,45,.2);
  padding: 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 48px 20px 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.03em;
  position: relative;
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #9B2226;
  font-weight: 400;
  transition: transform .3s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:hover { color: #9B2226; }
.faq-item p {
  padding: 0 16px 20px;
  margin: 0;
  color: #555;
  font-size: 15px;
}

/* ---------- News / Article Cards （资讯列表，规则强制要求） ---------- */
ul.article-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}
ul.article-cards > li.article-card {
  min-width: 0;
  width: auto;
  max-width: none;
  margin: 0;
  float: none;
  box-sizing: border-box;
}
.article-card {
  background: #FBF8EF;
  border: 1px solid rgba(45,45,45,.2);
  overflow: hidden;
  transition: all .3s ease;
}
.article-card:hover {
  border-color: #9B2226;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(45,45,45,.12);
}
.card-link {
  display: block;
  color: inherit;
  height: 100%;
}
.card-link:hover { color: inherit; }
.article-card .card-thumb {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: #EDE6D3;
}
.article-card .card-thumb img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .5s ease;
}
.article-card:hover .card-thumb img { transform: scale(1.04); }
.card-body { padding: 18px 18px 22px; }
.article-card .card-date {
  display: block;
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #9B2226;
  margin-bottom: 10px;
}
.article-card .card-title {
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.article-card .card-summary {
  overflow-wrap: anywhere;
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- About ---------- */
.about-inner {
  max-width: 860px;
  margin: 0 auto;
}
.about-text { text-align: left; }
.about-text .section-eyebrow,
.about-text .section-title { text-align: left; }
.about-text .section-rule { margin-left: 0; }
.about-text .section-rule::before { left: 15px; }
.about-text .section-rule::after { display: none; }
.about-text p {
  font-size: 16px;
  color: #444;
  text-align: justify;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 2px solid #2D2D2D;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: #9B2226;
  font-family: 'Noto Serif SC', serif;
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-num sup { font-size: 0.5em; }
.stat-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #666;
  margin-top: 8px;
}

/* ---------- Apply Form ---------- */
.apply-form {
  max-width: 780px;
  margin: 0 auto;
  background: #FBF8EF;
  padding: 36px;
  border: 1px solid #2D2D2D;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-field span {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #2D2D2D;
  margin-bottom: 8px;
  font-weight: 600;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  padding: 10px 14px;
  background: #F5F1E8;
  border: 1px solid rgba(45,45,45,.3);
  color: #2D2D2D;
  line-height: 1.6;
  transition: border-color .25s ease;
  border-radius: 0;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #9B2226;
  background: #fff;
}
.form-field textarea { resize: vertical; }
.form-actions { text-align: center; margin-top: 8px; }

/* ---------- Breadcrumb (详情页) ---------- */
.breadcrumb-section {
  padding: 20px 0 0;
  border-bottom: 1px solid rgba(45,45,45,.15);
  font-size: 13px;
  color: #777;
}
.breadcrumb a { color: #777; }
.breadcrumb a:hover { color: #9B2226; }

/* ---------- Article Page ---------- */
.article-page { padding: 40px 0 60px; }
.article-container { max-width: 820px; }
.article-header { text-align: center; margin-bottom: 32px; }
.article-meta {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #9B2226;
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.article-tag {
  display: inline-block;
  border: 1px solid #9B2226;
  padding: 2px 12px;
  font-size: 12px;
}
.article-title {
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.article-summary {
  font-size: 16px;
  color: #555;
  max-width: 680px;
  margin: 0 auto 18px;
  font-style: italic;
}
.article-rule {
  width: 60px;
  height: 2px;
  background: #2D2D2D;
  margin: 20px auto 0;
}
.article-cover-figure {
  margin: 0 0 36px;
  padding: 6px;
  border: 1px solid rgba(45,45,45,.25);
  background: #FBF8EF;
}
.article-cover-figure img {
  width: 100%;
  height: auto;
}
.article-body {
  font-size: 17px;
  line-height: 1.95;
  color: #2D2D2D;
  text-align: justify;
}
.article-body p { margin-bottom: 1.3em; }
.article-body h2,
.article-body h3 {
  margin: 1.6em 0 .6em;
  font-weight: 700;
}
.article-body h2 { font-size: 24px; border-left: 4px solid #9B2226; padding-left: 12px; }
.article-body h3 { font-size: 20px; }
.article-body blockquote {
  border-left: 3px solid #9B2226;
  padding: 8px 20px;
  margin: 1.5em 0;
  color: #555;
  background: rgba(155,34,38,.04);
  font-style: italic;
}
.article-body img {
  max-width: 100%;
  height: auto;
  margin: 1.5em auto;
  padding: 4px;
  border: 1px solid rgba(45,45,45,.2);
  background: #FBF8EF;
}
.article-body ul, .article-body ol { padding-left: 2em; margin-bottom: 1.3em; }
.article-body li { margin-bottom: .4em; }
.article-end-rule {
  text-align: center;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #2D2D2D;
  color: #9B2226;
  letter-spacing: 0.3em;
  font-size: 14px;
}

/* ---------- Section Related (详情页推荐) ---------- */
.section-related { background: rgba(237,230,211,.3); }

/* ---------- Footer ---------- */
.footer {
  background: #2D2D2D;
  color: #C9C2AE;
  padding: 56px 0 24px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-col h3.footer-title {
  color: #F5F1E8;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245,241,232,.2);
}
.footer-col p {
  font-size: 14px;
  color: #9e9682;
  line-height: 1.8;
  margin-bottom: 8px;
}
.footer-col strong { color: #F5F1E8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  color: #9e9682;
  font-size: 14px;
  transition: color .2s ease, padding-left .2s ease;
}
.footer-links a:hover { color: #F5F1E8; padding-left: 4px; }
.footer-divider {
  border-top: 1px solid rgba(245,241,232,.15);
  margin: 40px 0 20px;
}
.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #7d7667;
}
.footer-bottom p { margin: 6px 0; }
.footer-bottom a { color: #9e9682; }
.footer-bottom a:hover { color: #F5F1E8; }
.footer-sep { margin: 0 8px; color: rgba(245,241,232,.25); }

/* ---------- Banner slot ---------- */
.banner-slot img { width: 100%; height: auto; display: block; }

/* ---------- Grouplink 友链文字样式兜底 ---------- */
.grouplink-wrap {
  margin-top: 40px;
  padding: 20px;
  border-top: 1px dashed rgba(45,45,45,.3);
  font-size: 13px;
  color: #666;
  letter-spacing: 0.05em;
}
.grouplink-wrap a { margin: 0 8px; color: #666; }
.grouplink-wrap a:hover { color: #9B2226; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ruleExtend {
  from { width: 0; }
  to { width: 80px; }
}
@keyframes inkFade {
  from { opacity: 0; filter: blur(4px); }
  to { opacity: 1; filter: blur(0); }
}
.headline-label,
.headline-title,
.headline-lead {
  animation: inkFade 1s ease-out both;
}
.headline-rule {
  animation: ruleExtend .8s ease-out .3s both;
}
.section {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .section { opacity: 1; transform: none; }
  .headline-label, .headline-title, .headline-lead { animation: none; opacity: 1; filter: none; }
  .headline-rule { animation: none; width: 80px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .masthead-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .brand-title::before,
  .brand-title::after { width: 30px; margin: 0 10px; }
  .topnav-list { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .topnav-list li { border-right: 1px solid rgba(45,45,45,.2); flex-shrink: 0; }
  .topnav-list a { padding: 12px 16px; font-size: 14px; }
  .headline { padding: 40px 0; }
  .headline-lead { column-count: 1; }
  .section { padding: 44px 0; }
  .newspaper-columns { grid-template-columns: 1fr; }
  .service-block { border-right: none; }
  .process-list { grid-template-columns: 1fr 1fr; }
  .process-item { border-right: 1px solid rgba(45,45,45,.2); border-bottom: 1px solid rgba(45,45,45,.2); }
  .process-item:nth-child(2n) { border-right: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .apply-form { padding: 24px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-about { grid-column: span 2; }
  .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 480px) {
  .brand-title::before,
  .brand-title::after { display: none; }
  .headline-cta { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; text-align: center; }
  .footer-columns { grid-template-columns: 1fr; }
  .footer-about { grid-column: span 1; }
  .process-list { grid-template-columns: 1fr; }
  .process-item { border-right: none; }
}
