/* #d84315 theme */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
        background: #f7f8fa; color: #2a2a2a; line-height: 1.6; font-size: 15px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: #d84315; text-decoration: none; transition: color 0.2s; }
a:hover { color: #bf360c; text-decoration: underline; }
img { max-width: 100%; display: block; }

/* Header */
.site-header { background: linear-gradient(135deg, #d84315 0%, #bf360c 100%);
                color: white; padding: 18px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon { font-size: 36px; }
.brand-name { font-size: 24px; font-weight: 700; }
.brand-slogan { font-size: 13px; opacity: 0.85; margin-top: 2px; }
.search { display: flex; background: white; border-radius: 4px; overflow: hidden; min-width: 280px; }
.search input { flex: 1; padding: 10px 14px; border: none; outline: none; color: #333; font-size: 14px; }
.search button { padding: 10px 20px; background: #d84315; color: white; border: none; cursor: pointer; font-weight: 500; }
.search button:hover { background: #bf360c; }

/* Nav */
.main-nav { background: white; border-bottom: 1px solid #e8e8e8; position: sticky; top: 0; z-index: 50; }
.main-nav ul { list-style: none; display: flex; }
.main-nav a { display: block; padding: 14px 22px; color: #444; font-size: 15px; font-weight: 500;
                border-bottom: 2px solid transparent; transition: all 0.2s; }
.main-nav a:hover { color: #d84315; text-decoration: none; }
.main-nav a.active { color: #d84315; border-bottom-color: #d84315; background: #fafafa; }

/* Body */
.main-body { padding: 30px 20px; min-height: 60vh; }
.section-title { font-size: 20px; margin-bottom: 20px; padding-left: 12px;
                  border-left: 4px solid #d84315; color: #333; }
.crumb { color: #888; font-size: 13px; margin-bottom: 20px; }
.crumb a { color: #888; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.card { background: white; border-radius: 6px; padding: 18px; border: 1px solid #ebebeb;
         transition: all 0.2s; display: flex; flex-direction: column; }
.card:hover { border-color: #d84315; box-shadow: 0 4px 16px rgba(0,0,0,0.06); transform: translateY(-2px); }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card h3 a { color: #222; }
.card h3 a:hover { color: #d84315; text-decoration: none; }
.card .meta { font-size: 12px; color: #999; margin-bottom: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.card .meta span { background: #f0f0f0; padding: 2px 8px; border-radius: 3px; }
.card .desc { font-size: 14px; color: #555; flex: 1; }
.card .btn { display: inline-block; margin-top: 12px; padding: 6px 16px; background: #d84315;
              color: white; border-radius: 3px; font-size: 13px; align-self: flex-start; }
.card .btn:hover { background: #bf360c; color: white; text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(135deg, #d8431522 0%, #bf360c11 100%);
         padding: 40px 30px; border-radius: 8px; margin-bottom: 30px; border: 1px solid #e8e8e8; }
.hero h2 { font-size: 28px; color: #d84315; margin-bottom: 12px; }
.hero p { color: #555; font-size: 15px; max-width: 800px; }
.hero .stats { display: flex; gap: 30px; margin-top: 20px; flex-wrap: wrap; }
.hero .stat .num { font-size: 26px; font-weight: 700; color: #d84315; }
.hero .stat .label { font-size: 13px; color: #777; }

/* Article */
.article { background: white; padding: 30px 40px; border-radius: 6px; border: 1px solid #ebebeb; }
.article h1 { font-size: 26px; color: #1a1a1a; margin-bottom: 14px; }
.article-meta { color: #999; font-size: 13px; border-bottom: 1px dashed #e0e0e0;
                 padding-bottom: 14px; margin-bottom: 24px; }
.article-meta span { margin-right: 16px; }
.article-body { font-size: 16px; line-height: 1.85; color: #2a2a2a; }
.article-body p { margin-bottom: 14px; }
.article-body h3 { margin: 22px 0 12px; color: #d84315; }
.article-body ul, .article-body ol { margin: 12px 0 12px 30px; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote { background: #f8f8f8; border-left: 4px solid #d84315;
                            padding: 12px 18px; margin: 16px 0; color: #555; }

/* News list */
.news-list { background: white; border-radius: 6px; padding: 8px 30px; border: 1px solid #ebebeb; }
.news-item { padding: 20px 0; border-bottom: 1px solid #f0f0f0; }
.news-item:last-child { border-bottom: none; }
.news-item h3 a { color: #1a1a1a; font-size: 17px; }
.news-item h3 a:hover { color: #d84315; }
.news-item .date { color: #999; font-size: 13px; margin: 6px 0; }
.news-item .excerpt { color: #666; font-size: 14px; }

/* About / Contact */
.about-box { background: white; padding: 40px; border-radius: 6px; border: 1px solid #ebebeb; }
.about-box h2 { color: #d84315; margin: 20px 0 12px; font-size: 20px; }
.about-box h2:first-child { margin-top: 0; }
.about-box p { margin-bottom: 14px; color: #444; }
.about-box ul { margin: 12px 0 12px 24px; color: #444; }
.contact-info { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.contact-card { background: #fafafa; padding: 18px; border-radius: 4px; border-left: 3px solid #d84315; }
.contact-card .label { font-size: 12px; color: #888; }
.contact-card .value { font-size: 16px; color: #333; font-weight: 500; margin-top: 4px; }

/* Footer */
.site-footer { background: #2a2a2a; color: #aaa; margin-top: 50px; padding: 40px 0 20px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: white; margin-bottom: 12px; font-size: 15px; }
.footer-col p { font-size: 13px; margin-bottom: 6px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 6px; font-size: 13px; }
.footer-col a { color: #aaa; }
.footer-col a:hover { color: white; }
.copyright { border-top: 1px solid #444; padding-top: 18px; text-align: center; font-size: 12px; }
.copyright p { margin-bottom: 6px; }
.beian { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.beian a { color: #aaa; display: inline-flex; align-items: center; gap: 4px; }
.beian-icon { font-size: 14px; }
.beian a:hover { color: white; text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; align-items: stretch; }
  .search { min-width: 0; }
  .main-nav ul { flex-wrap: wrap; }
  .main-nav a { padding: 12px 16px; font-size: 14px; }
  .footer-cols { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .article { padding: 20px; }
}
