/* ===== 18183MIR 传奇私服发布网 样式 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", "WenQuanYi Micro Hei", sans-serif;
  color: #333; background: #f4f6f8; line-height: 1.7; font-size: 15px;
}
a { color: #1a1a1a; text-decoration: none; }
a:hover { color: #c0392b; }
ul { list-style: none; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 15px; }

/* Header */
.site-header {
  background: #1b1b1b; border-bottom: 3px solid #c0392b;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; flex-wrap: wrap; }
.logo {
  font-size: 26px; font-weight: 700; color: #fff; letter-spacing: 1px;
}
.logo span { color: #c0392b; }
.main-nav ul { display: flex; flex-wrap: wrap; }
.main-nav li { margin-left: 6px; }
.main-nav a {
  display: block; padding: 8px 14px; color: #ddd; border-radius: 4px; font-size: 15px;
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav li.active a { background: #c0392b; color: #fff; }

/* Hero */
.hero { background: linear-gradient(135deg, #2c3e50 0%, #c0392b 100%); color: #fff; padding: 44px 0; text-align: center; }
.hero h1 { font-size: 34px; margin-bottom: 12px; text-shadow: 0 2px 4px rgba(0,0,0,.3); }
.hero .subtitle { font-size: 16px; opacity: .95; margin-bottom: 20px; }
.btn-primary {
  display: inline-block; background: #fff; color: #c0392b; font-weight: 700;
  padding: 11px 28px; border-radius: 30px; transition: transform .2s, box-shadow .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); color: #c0392b; }

/* Main grid */
.main-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding-top: 30px; padding-bottom: 40px;
}
.card {
  background: #fff; border-radius: 8px; padding: 20px 24px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.card-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; margin-bottom: 14px; }
.card-head h2 { font-size: 19px; color: #c0392b; }
.card-head .more { font-size: 13px; color: #999; }

.list-news li { padding: 9px 0; border-bottom: 1px dashed #eee; display: flex; align-items: baseline; }
.list-news li:last-child { border-bottom: none; }
.list-news a { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-news time { color: #999; font-size: 13px; margin-left: 10px; flex-shrink: 0; }
.list-news .tag { background: #c0392b; color: #fff; font-size: 12px; padding: 1px 7px; border-radius: 3px; margin-right: 8px; flex-shrink: 0; }

/* Article */
.article { background: #fff; border-radius: 8px; padding: 34px 40px; box-shadow: 0 2px 10px rgba(0,0,0,.05); margin: 30px auto 40px; }
.crumb { color: #999; font-size: 13px; margin-bottom: 14px; }
.crumb a { color: #999; }
.article h1 { font-size: 26px; color: #222; margin-bottom: 12px; line-height: 1.4; }
.article .meta { color: #999; font-size: 13px; border-bottom: 1px solid #eee; padding-bottom: 14px; margin-bottom: 22px; }
.article p { margin-bottom: 16px; text-indent: 2em; }
.article h2 { font-size: 20px; color: #c0392b; margin: 28px 0 12px; padding-left: 12px; border-left: 4px solid #c0392b; }
.article ul.list { margin: 12px 0 16px 2em; }
.article ul.list li { list-style: disc; margin-bottom: 8px; }

/* Footer */
.site-footer { background: #1b1b1b; color: #aaa; padding: 26px 0; text-align: center; font-size: 13px; }
.site-footer p { margin-bottom: 8px; }
.site-footer .copyright { color: #777; }
.footer-nav a { color: #bbb; margin: 0 4px; }
.footer-nav a:hover { color: #fff; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 24px; }
  .main-grid { grid-template-columns: 1fr; }
  .header-inner { height: auto; padding: 12px 0; }
  .main-nav { width: 100%; }
  .main-nav li { margin: 2px; }
  .article { padding: 22px 18px; }
}
@media (max-width: 480px) {
  .main-nav a { padding: 6px 9px; font-size: 14px; }
  .list-news time { display: none; }
}
