/* 好体育 - 全站样式（企业风格，体育主题，响应式） */
:root {
  --primary: #0b3d91;
  --primary-dark: #082c6b;
  --accent: #f26a21;
  --text: #2b2f36;
  --text-light: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --border: #e5e8ef;
  --radius: 10px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1.1; }
.logo-text em { display: block; font-style: normal; font-size: 11px; letter-spacing: 2px; color: var(--text-light); }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 6px;
  color: var(--text); font-size: 15px;
}
.main-nav a:hover { background: var(--bg-alt); color: var(--primary); }
.main-nav a.active { color: var(--primary); font-weight: 600; background: var(--bg-alt); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 70%);
  color: #fff; padding: 64px 0; text-align: center;
}
.hero h1 { font-size: 34px; margin-bottom: 14px; }
.hero-sub { max-width: 720px; margin: 0 auto 26px; color: rgba(255,255,255,.85); font-size: 16px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 10px 22px; border-radius: 6px; font-size: 15px; transition: .2s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #d95a15; color: #fff; }
.btn-outline { border: 1px solid currentColor; color: inherit; }
.hero .btn-outline { color: #fff; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.section-head h2 { font-size: 24px; color: var(--primary); border-left: 4px solid var(--accent); padding-left: 12px; }
.more-link { font-size: 14px; color: var(--text-light); }
.more-link:hover { color: var(--accent); }
.brand-intro p { color: var(--text); max-width: 900px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: 0 6px 18px rgba(11,61,145,.08); transform: translateY(-2px); }
.card h3 { font-size: 18px; margin-bottom: 10px; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--primary); }
.card p { color: var(--text-light); font-size: 14px; margin-bottom: 12px; }
.card > a { font-size: 14px; }
.card-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--text-light); }
.cat-tag { background: var(--bg-alt); border-radius: 4px; padding: 1px 8px; font-size: 12px; }
.cat-tag a { color: var(--text-light); }

/* ---------- Two column ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.two-col .col > p { margin-bottom: 10px; color: var(--text); }

/* ---------- Article list ---------- */
.article-list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 10px 0; border-bottom: 1px dashed var(--border);
}
.article-list li:last-child { border-bottom: 0; }
.article-list a { color: var(--text); font-size: 15px; }
.article-list a:hover { color: var(--primary); }
.article-list time { color: var(--text-light); font-size: 13px; white-space: nowrap; }
.article-list-detail .article-item { display: block; padding: 18px 0; }
.article-list-detail h2 { font-size: 19px; margin-bottom: 6px; }
.article-summary { color: var(--text-light); font-size: 14px; margin-bottom: 8px; }
.empty-tip { color: var(--text-light); padding: 20px 0; }

/* ---------- Page / breadcrumb ---------- */
.page-container { padding: 28px 16px 56px; }
.breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.single-page h1, .category-head h1, .article-header h1, .notfound-page h1 {
  font-size: 28px; color: var(--primary); margin-bottom: 16px;
}
.single-page section { margin-bottom: 28px; }
.single-page h2 { font-size: 20px; margin-bottom: 10px; color: var(--text); }
.single-page p, .single-page li { margin-bottom: 8px; }
.single-page ul { list-style: disc; padding-left: 22px; }

/* ---------- FAQ ---------- */
.faq-item { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.faq-item h2 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.faq-item p { color: var(--text); }

/* ---------- Category ---------- */
.category-head { margin-bottom: 10px; }
.category-desc { color: var(--text-light); font-size: 14px; margin-bottom: 6px; max-width: 860px; }
.category-count { color: var(--text-light); font-size: 13px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.pagination a, .pagination .current {
  display: inline-block; min-width: 36px; text-align: center;
  padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px;
}
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination a:hover { border-color: var(--primary); }

/* ---------- Article detail ---------- */
.article-detail { background: var(--bg); }
.article-header { border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 22px; }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--text-light); font-size: 13px; margin-top: 8px; }
.article-summary {
  background: var(--bg-alt); border-left: 4px solid var(--accent);
  padding: 12px 16px; border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 22px; color: var(--text);
}
.article-content { font-size: 16px; }
.article-content h2 { font-size: 21px; margin: 26px 0 12px; color: var(--primary); }
.article-content h3 { font-size: 18px; margin: 20px 0 10px; }
.article-content h4 { font-size: 16px; margin: 16px 0 8px; }
.article-content p { margin-bottom: 14px; }
.article-content ul, .article-content ol { margin: 0 0 14px 24px; }
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote {
  border-left: 4px solid var(--border); padding: 8px 16px; color: var(--text-light);
  background: var(--bg-alt); margin-bottom: 14px; border-radius: 0 6px 6px 0;
}
.article-content img { border-radius: var(--radius); margin: 10px 0; }
.article-content table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.article-content th, .article-content td { border: 1px solid var(--border); padding: 8px 10px; font-size: 14px; }
.article-content th { background: var(--bg-alt); }
.article-tags { margin-top: 26px; font-size: 14px; color: var(--text-light); }
.article-tags .tag {
  display: inline-block; background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: 20px; padding: 2px 12px; margin: 0 6px 6px 0; font-size: 13px;
}
.article-footer-nav { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); }
.article-footer-nav .btn-outline { color: var(--primary); }
.related-articles { margin-top: 40px; background: var(--bg-alt); border-radius: var(--radius); padding: 22px; }
.related-articles h2 { font-size: 19px; color: var(--primary); margin-bottom: 10px; }
.related-articles .article-list li { border-bottom-color: var(--border); }

/* ---------- 404 ---------- */
.notfound-page { text-align: center; padding: 80px 16px; }
.notfound-page h1 { font-size: 40px; }
.notfound-actions { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.notfound-actions .btn-outline { color: var(--primary); }

/* ---------- Footer ---------- */
.site-footer { background: #101828; color: #c6ccd8; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; padding: 44px 16px 30px; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-col p { font-size: 14px; margin-bottom: 8px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #c6ccd8; font-size: 14px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0; text-align: center; font-size: 13px; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 20px; bottom: 24px; width: 42px; height: 42px;
  border-radius: 50%; border: 0; background: var(--primary); color: #fff;
  font-size: 18px; cursor: pointer; display: none; z-index: 90;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.back-top.show { display: block; }
.back-top:hover { background: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 16px 14px; }
  .main-nav a { padding: 10px 8px; }
  .hero { padding: 44px 0; }
  .hero h1 { font-size: 26px; }
  .card-grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .single-page h1, .category-head h1, .article-header h1 { font-size: 23px; }
  .article-list li { flex-direction: column; gap: 2px; }
}
