/* === 亚博在线体育 - 杂志分栏体育站 === */
/* 本色板：运动蓝 #1a3a6b + 深灰底 + 白/银高光 */

:root {
  --primary: #1a3a6b;
  --primary-light: #2d5ba8;
  --primary-dark: #0f2440;
  --accent: #e8491d;
  --accent-hover: #c73d17;
  --bg-body: #f0f2f5;
  --bg-card: #ffffff;
  --bg-dark: #1a1a2e;
  --text: #1c1e21;
  --text-light: #5a5d62;
  --text-white: #ffffff;
  --border: #d0d3d8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 8px;
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg-body);
  line-height: 1.6;
  font-size: 16px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-dark);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-white);
}
.logo img {
  height: 36px;
  width: auto;
  display: block;
}
.logo span {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.main-nav {
  display: flex;
  gap: 4px;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 16px;
  font-size: 15px;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 20px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-col p,
.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  line-height: 1.8;
  text-decoration: none;
}
.footer-col a:hover { color: #fff; }
.footer-col ul { list-style: none; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 13px; }
.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ===== Layout containers ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1f4e8a 100%);
  padding: 60px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/images/hero.png') center/cover no-repeat;
  opacity: 0.3;
  mix-blend-mode: overlay;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-text h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-text p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  max-width: 480px;
}
.hero-cta {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s;
}
.hero-cta:hover { background: var(--accent-hover); }
.hero-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ===== Section ===== */
.section {
  padding: 48px 0;
}
.section-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary);
  position: relative;
  padding-left: 16px;
}
.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--accent);
  border-radius: 2px;
}

/* ===== Featured cards (magazine) ===== */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.featured-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}
.featured-main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.featured-main .card-body {
  padding: 20px;
}
.featured-main .card-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.featured-main .card-body p {
  color: var(--text-light);
  font-size: 14px;
}
.featured-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.featured-side-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.featured-side-item img {
  width: 120px;
  height: 90px;
  object-fit: cover;
}
.featured-side-item .item-text {
  padding: 10px 12px 10px 0;
}
.featured-side-item .item-text h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.featured-side-item .item-text span {
  font-size: 12px;
  color: var(--text-light);
}

/* ===== Category cards ===== */
.cat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cat-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  text-decoration: none;
  color: var(--text);
}
.cat-card:hover { transform: translateY(-3px); }
.cat-card .icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}
.cat-card h3 { font-size: 18px; margin-bottom: 6px; }
.cat-card p { font-size: 13px; color: var(--text-light); }

/* ===== Article list ===== */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.article-card:hover { transform: translateY(-2px); }
.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.article-card .card-body {
  padding: 16px 20px 20px;
}
.article-card .card-body .tag {
  font-size: 12px;
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}
.article-card .card-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.article-card .card-body p {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 10px;
}
.article-card .card-body .date {
  font-size: 12px;
  color: #999;
}

/* ===== Stats band ===== */
.stats-band {
  background: var(--primary);
  color: #fff;
  padding: 32px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .num {
  font-size: 32px;
  font-weight: 800;
}
.stat-item .label {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

/* ===== FAQ ===== */
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.faq-item h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--primary);
}
.faq-item p {
  font-size: 14px;
  color: var(--text-light);
}

/* ===== CTA ===== */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: 48px 20px;
}
.cta-band h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.cta-band p {
  opacity: 0.85;
  margin-bottom: 20px;
}
.cta-band .btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 40px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

/* ===== Article page ===== */
.article-page {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}
.article-main {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.article-main h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}
.article-meta {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
}
.article-meta a {
  color: var(--primary-light);
  text-decoration: none;
}
.article-body h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--primary);
}
.article-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 10px;
}
.article-body p {
  margin-bottom: 14px;
  line-height: 1.8;
}
.article-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 16px 0;
}
.article-body ul, .article-body ol {
  margin: 12px 0 12px 24px;
}
.article-body li {
  margin-bottom: 6px;
}
.breadcrumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 16px;
}
.breadcrumb a {
  color: var(--primary-light);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }

/* ===== Aside (related) ===== */
.article-aside {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.article-aside h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--primary);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}
.article-aside ul {
  list-style: none;
}
.article-aside ul li {
  margin-bottom: 10px;
}
.article-aside ul li a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  transition: color 0.15s;
}
.article-aside ul li a:hover {
  color: var(--primary-light);
}

/* ===== Category page ===== */
.category-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}
.category-header {
  margin-bottom: 24px;
}
.category-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}
.category-header p {
  color: var(--text-light);
  font-size: 14px;
  margin-top: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-inner { padding: 0 12px; }
  .main-nav { display: none; flex-direction: column; position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--bg-dark); padding: 12px; gap: 0; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .menu-toggle { display: block; }

  .hero-content { grid-template-columns: 1fr; gap: 20px; }
  .hero-text h1 { font-size: 26px; }

  .featured-grid { grid-template-columns: 1fr; }
  .featured-side-item { grid-template-columns: 100px 1fr; }
  .featured-side-item img { width: 100px; height: 75px; }

  .cat-cards { grid-template-columns: 1fr; }
  .article-list { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item .num { font-size: 26px; }

  .footer-inner { grid-template-columns: 1fr; gap: 20px; }

  .article-page { grid-template-columns: 1fr; }
  .article-aside { position: static; margin-top: 24px; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 0; }
  .hero-text h1 { font-size: 22px; }
  .section { padding: 32px 0; }
  .article-main { padding: 16px; }
  .article-main h1 { font-size: 22px; }
}