@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&family=Noto+Serif+SC:wght@400;600;700&display=swap');

/* blog.css — Most Beautiful Chinese Style Design */
/* Cream #FFF8F0 | Red #C41E3A | Gold #D4A853 | Dark Brown #2D1810 */

:root {
  --bg: #FFF8F0;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FFFDF8;
  --bg-accent: #FFF3E6;
  --red: #C41E3A;
  --red-hover: #A8182F;
  --red-light: rgba(196,30,58,0.06);
  --gold: #D4A853;
  --gold-dim: rgba(212,168,83,0.15);
  --text: #2D1810;
  --text-secondary: #5A4A3A;
  --text-light: #8B7355;
  --border: #E8D5C0;
  --border-light: #F0E8E0;
  --font-heading: Georgia, 'Playfair Display', 'Times New Roman', serif;
  --font-body: Georgia, 'Inter', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
}

a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }

/* Progress Bar */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  z-index: 1000; transition: width 0.1s;
}

/* Trust Bar */
.trust-bar {
  background: var(--red); color: #FFF8F0;
  padding: 15px 20px; text-align: center;
}
.trust-bar-inner {
  display: flex; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; align-items: center; }
.trust-item .num { font-size: 1.4em; font-weight: bold; color: var(--gold); }
.trust-item .label { font-size: 0.85em; opacity: 0.9; }

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #FFF8F0 0%, #FFF3E6 50%, #FFE8D6 100%);
  color: var(--text); padding: 50px 20px; text-align: center;
  border-bottom: 2px solid var(--gold); position: relative;
}
.hero::after {
  content: ''; display: block; width: 80px; height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  margin: 15px auto 0;
}
.hero h1 {
  font-family: var(--font-heading); font-size: 2em;
  color: var(--red); margin-bottom: 10px; letter-spacing: 0.5px;
}
.hero .subtitle {
  color: var(--text-light); font-size: 1em; font-style: italic;
  max-width: 600px; margin: 0 auto;
}
.hero .meta { margin-top: 10px; font-size: 0.85em; color: var(--text-light); }
.hero .meta .tag {
  display: inline-block; background: var(--gold-dim); color: var(--red);
  padding: 2px 10px; border-radius: 12px; font-size: 0.9em; margin: 0 3px;
}

/* Article */
.article { max-width: 900px; margin: 0 auto; padding: 30px 20px; }
.article-card {
  background: var(--bg-card); padding: 30px; border-radius: 8px;
  box-shadow: 0 1px 6px rgba(45,24,16,0.05);
  border: 1px solid var(--border-light);
}
.article h2 {
  font-family: var(--font-heading); color: var(--red);
  font-size: 1.4em; margin: 30px 0 12px;
  padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.article h3 {
  font-family: var(--font-heading); color: var(--text);
  font-size: 1.15em; margin: 20px 0 8px;
}
.article h4 { color: var(--text-secondary); font-size: 1.05em; margin: 15px 0 6px; }
.article p { margin-bottom: 14px; color: var(--text-secondary); line-height: 1.9; }

/* Highlight boxes — override any dark/inline styles */
.article .highlight-box,
.article div[style*="border-left"],
.article div[style*="background: linear"] {
  background: var(--bg-accent) !important;
  border-left: 4px solid var(--gold) !important;
  padding: 15px 20px !important;
  margin: 16px 0 !important;
  border-radius: 0 6px 6px 0 !important;
}
.article strong { color: var(--red); }

/* Tables */
.article table, table.faq-table {
  width: 100%; border-collapse: collapse; margin: 16px 0;
  font-size: 0.92em; border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(45,24,16,0.06);
}
.article table th, table.faq-table th {
  background: var(--red) !important; color: #FFF8F0 !important;
  padding: 10px 14px; text-align: left; font-weight: 600;
  font-size: 0.95em;
}
.article table td, table.faq-table td {
  padding: 9px 14px; border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.article table tr:hover td, table.faq-table tr:hover td {
  background: rgba(212,168,83,0.04);
}
.article table tr:last-child td, table.faq-table tr:last-child td {
  border-bottom: none;
}

/* FAQ */
.faq-item {
  background: var(--bg-card); border-left: 4px solid var(--red);
  padding: 18px 22px; margin-bottom: 18px; border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 4px rgba(45,24,16,0.04);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover {
  border-left-color: var(--gold);
  box-shadow: 0 2px 8px rgba(212,168,83,0.1);
}
.faq-item h3 { color: var(--red) !important; font-size: 1.05em; margin-bottom: 8px; }
.faq-item p { color: var(--text-secondary); font-size: 0.95em; }

/* Related Links */
.related, .related-links {
  margin: 35px 0; padding: 25px; background: var(--bg-card);
  border-radius: 8px; box-shadow: 0 1px 4px rgba(45,24,16,0.04);
  border: 1px solid var(--border-light);
}
.related h3, .related-links h3 {
  color: var(--red); font-family: var(--font-heading);
  margin-bottom: 15px; font-size: 1.1em;
}
.related a, .related-links a {
  display: block; color: var(--text); text-decoration: none;
  padding: 5px 0; border-bottom: 1px solid var(--border-light);
  transition: color 0.2s, padding-left 0.2s; font-size: 0.93em;
}
.related a:hover, .related-links a:hover { color: var(--red); padding-left: 5px; }

/* Footer */
.page-footer {
  background: var(--red); color: rgba(255,248,240,0.85);
  padding: 18px 20px; text-align: center; font-size: 0.82em;
}
.page-footer a { color: var(--gold); }
.page-footer a:hover { color: #FFF8F0; }

/* Back Top */
.back-top {
  position: fixed; bottom: 30px; right: 30px; width: 44px; height: 44px;
  background: var(--bg-card); border: 2px solid var(--gold); color: var(--gold);
  border-radius: 50%; font-size: 1.3em; cursor: pointer;
  opacity: 0; transform: translateY(10px); transition: all 0.3s;
  z-index: 999; box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { background: var(--red); border-color: var(--red); color: #FFF8F0; }

/* Lists */
.article ul, .article ol { padding-left: 24px; margin-bottom: 14px; }
.article li { margin-bottom: 6px; color: var(--text-secondary); }
.article li::marker { color: var(--red); }

/* Blockquote */
.article blockquote {
  border-left: 4px solid var(--gold); padding: 12px 20px; margin: 16px 0;
  background: var(--bg-accent); border-radius: 0 6px 6px 0;
  color: var(--text-light); font-style: italic;
}

/* Images */
.article img {
  max-width: 100%; height: auto; border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Responsive */
@media (max-width: 768px) {
  .hero { padding: 35px 15px; }
  .hero h1 { font-size: 1.5em; }
  .article { padding: 20px 15px; }
  .article-card { padding: 20px; }
  .trust-bar-inner { gap: 20px; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.3em; }
  .trust-bar-inner { gap: 15px; flex-direction: column; }
  .faq-item { padding: 14px 16px; }
}
