/* === 万博足球 · 全站样式 === */
:root {
  --green: #0d7c3e;
  --green-dark: #095c2e;
  --green-light: #e8f5ee;
  --gold: #d4a017;
  --dark: #111827;
  --gray: #374151;
  --light: #f9fafb;
  --white: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC","Microsoft YaHei",Arial,sans-serif; color: var(--dark); background: var(--light); line-height: 1.7; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* === HEADER === */
.site-header { background: var(--white); border-bottom: 3px solid var(--green); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1rem; max-width: 1200px; margin: 0 auto; }
.site-logo { display: flex; align-items: center; gap: .6rem; }
.site-logo img { height: 40px; width: auto; }
.site-logo span { font-size: 1.25rem; font-weight: 700; color: var(--green); letter-spacing: .5px; }
.main-nav { display: flex; gap: 0; list-style: none; }
.main-nav li a { display: block; padding: .5rem 1rem; color: var(--gray); font-weight: 500; font-size: .95rem; transition: color .2s; }
.main-nav li a:hover, .main-nav li a.current { color: var(--green); text-decoration: none; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray); padding: .5rem; }

/* === HERO === */
.hero { position: relative; overflow: hidden; }
.hero img { width: 100%; height: 480px; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,124,62,.85) 0%, rgba(0,0,0,.55) 100%); display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-content { color: var(--white); max-width: 700px; padding: 1rem; }
.hero-content h1 { font-size: 2.6rem; font-weight: 800; line-height: 1.2; margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.hero-content p { font-size: 1.15rem; margin-bottom: 1.5rem; opacity: .92; }
.hero-btn { display: inline-block; background: var(--gold); color: var(--dark); padding: .75rem 2rem; font-weight: 700; border-radius: 4px; transition: background .2s; }
.hero-btn:hover { background: #e0b020; text-decoration: none; }

/* === SECTIONS === */
.section { padding: 3.5rem 0; }
.section-title { font-size: 1.6rem; font-weight: 700; color: var(--dark); margin-bottom: 1.5rem; padding-bottom: .5rem; border-bottom: 2px solid var(--green); display: inline-block; }
.section-title em { color: var(--green); font-style: normal; }

/* === ARTICLE GRID === */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.article-card { background: var(--white); border-radius: 6px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.07); transition: box-shadow .2s; }
.article-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.13); }
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.1rem; }
.card-category { display: inline-block; background: var(--green-light); color: var(--green); font-size: .78rem; padding: .2rem .6rem; border-radius: 3px; font-weight: 600; margin-bottom: .5rem; }
.card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; margin-bottom: .5rem; color: var(--dark); }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--green); text-decoration: none; }
.card-meta { font-size: .82rem; color: #9ca3af; }
.card-excerpt { font-size: .88rem; color: #6b7280; margin-top: .4rem; line-height: 1.5; }

/* === LIST ROWS === */
.article-list { display: flex; flex-direction: column; gap: 1rem; }
.list-item { display: flex; gap: 1rem; background: var(--white); padding: 1rem; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.list-item img { width: 120px; height: 80px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.list-item-content { flex: 1; }
.list-item-content .card-category { margin-bottom: .3rem; }
.list-item-content h3 { font-size: .98rem; font-weight: 700; margin-bottom: .3rem; }
.list-item-content h3 a { color: var(--dark); }
.list-item-content h3 a:hover { color: var(--green); text-decoration: none; }
.list-item-content .card-meta { font-size: .8rem; }

/* === SIDEBAR === */
.layout-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 2rem; }
.sidebar-box { background: var(--white); border-radius: 6px; padding: 1.2rem; box-shadow: 0 1px 3px rgba(0,0,0,.06); margin-bottom: 1.5rem; }
.sidebar-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .8rem; padding-bottom: .5rem; border-bottom: 2px solid var(--green); }
.sidebar-articles { list-style: none; }
.sidebar-articles li { padding: .5rem 0; border-bottom: 1px solid #f0f0f0; }
.sidebar-articles li:last-child { border-bottom: none; }
.sidebar-articles li a { color: var(--gray); font-size: .9rem; line-height: 1.4; }
.sidebar-articles li a:hover { color: var(--green); text-decoration: none; }

/* === ARTICLE PAGE === */
.article-header { padding: 2rem 0 1.5rem; }
.article-header .breadcrumb { font-size: .85rem; color: #9ca3af; margin-bottom: .8rem; }
.article-header .breadcrumb a { color: var(--green); }
.article-header h1 { font-size: 2rem; font-weight: 800; color: var(--dark); line-height: 1.3; margin-bottom: .8rem; }
.article-meta { font-size: .88rem; color: #9ca3af; display: flex; gap: 1rem; flex-wrap: wrap; }
.article-hero-img { width: 100%; border-radius: 6px; margin-bottom: 1.5rem; }
.article-body { display: grid; grid-template-columns: 1fr 280px; gap: 2rem; }
.article-content { font-size: 1rem; line-height: 1.8; color: var(--gray); max-width: 720px; }
.article-content h2 { font-size: 1.35rem; color: var(--dark); margin: 1.8rem 0 .8rem; font-weight: 700; border-left: 4px solid var(--green); padding-left: .8rem; }
.article-content h3 { font-size: 1.1rem; color: var(--dark); margin: 1.4rem 0 .6rem; font-weight: 600; }
.article-content p { margin-bottom: 1rem; }
.article-content ul, .article-content ol { margin: .8rem 0 1rem 1.5rem; }
.article-content li { margin-bottom: .4rem; }
.article-content strong { color: var(--dark); }
.article-content img { border-radius: 4px; margin: 1rem 0; }

/* === ASIDE (related articles) === */
.article-aside { position: sticky; top: 80px; }
.article-aside h3 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: .8rem; padding-bottom: .5rem; border-bottom: 2px solid var(--green); }
.article-aside ul { list-style: none; }
.article-aside li { padding: .6rem 0; border-bottom: 1px solid #f0f0f0; }
.article-aside li:last-child { border-bottom: none; }
.article-aside li a { color: var(--gray); font-size: .88rem; line-height: 1.4; }
.article-aside li a:hover { color: var(--green); text-decoration: none; }

/* === CATEGORY PAGE === */
.category-header { padding: 2rem 0; background: var(--green); color: var(--white); margin-bottom: 2rem; }
.category-header h1 { font-size: 2rem; font-weight: 800; }
.category-header p { margin-top: .5rem; opacity: .88; font-size: 1rem; }

/* === FOOTER === */
.site-footer { background: var(--dark); color: #d1d5db; padding: 2.5rem 0 1.5rem; margin-top: 3rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { font-size: .88rem; line-height: 1.6; margin-top: .8rem; opacity: .75; }
.footer-links h4 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: .8rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .4rem; }
.footer-links li a { color: #9ca3af; font-size: .88rem; }
.footer-links li a:hover { color: var(--white); text-decoration: none; }
.footer-bottom { border-top: 1px solid #374151; padding-top: 1rem; font-size: .82rem; color: #6b7280; text-align: center; }

/* === CTA SECTION === */
.cta-section { background: var(--green); color: var(--white); padding: 3rem 0; text-align: center; }
.cta-section h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: .8rem; }
.cta-section p { margin-bottom: 1.5rem; opacity: .88; }
.cta-btn { display: inline-block; background: var(--gold); color: var(--dark); padding: .75rem 2.5rem; font-weight: 700; border-radius: 4px; font-size: 1.05rem; transition: background .2s; }
.cta-btn:hover { background: #e0b020; text-decoration: none; }

/* === DATA STRIP === */
.data-strip { background: var(--white); padding: 1.5rem 0; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.data-strip-inner { max-width: 1200px; margin: 0 auto; padding: 0 1rem; display: flex; justify-content: space-around; text-align: center; flex-wrap: wrap; gap: 1rem; }
.data-item { min-width: 120px; }
.data-item .num { font-size: 2rem; font-weight: 800; color: var(--green); }
.data-item .label { font-size: .82rem; color: #6b7280; margin-top: .2rem; }

/* === NEWS TICKER === */
.ticker-wrap { background: var(--dark); color: var(--white); padding: .6rem 0; overflow: hidden; }
.ticker-inner { max-width: 1200px; margin: 0 auto; padding: 0 1rem; display: flex; align-items: center; gap: 1rem; }
.ticker-label { background: var(--gold); color: var(--dark); font-size: .78rem; font-weight: 700; padding: .15rem .5rem; border-radius: 2px; white-space: nowrap; flex-shrink: 0; }
.ticker-text { font-size: .88rem; color: #d1d5db; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* === ABOUT SECTION === */
.about-section { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.about-img { border-radius: 6px; overflow: hidden; }
.about-img img { width: 100%; height: 300px; object-fit: cover; }
.about-text h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1rem; color: var(--dark); }
.about-text p { color: var(--gray); margin-bottom: .8rem; line-height: 1.8; }

/* === FEATURE GRID === */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-item { background: var(--white); border-radius: 6px; padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,.07); text-align: center; }
.feature-item .icon { font-size: 2rem; margin-bottom: .8rem; }
.feature-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--dark); }
.feature-item p { font-size: .88rem; color: #6b7280; line-height: 1.6; }

/* === FAQ === */
.faq-item { background: var(--white); border-radius: 6px; padding: 1.2rem 1.5rem; margin-bottom: .8rem; box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.faq-item h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .5rem; }
.faq-item p { font-size: .9rem; color: var(--gray); line-height: 1.7; }

/* === MOBILE NAV === */
#mobile-nav { display: none; background: var(--white); border-bottom: 2px solid var(--green); padding: .5rem 1rem; }
#mobile-nav ul { list-style: none; }
#mobile-nav li a { display: block; padding: .6rem 0; color: var(--gray); font-weight: 500; border-bottom: 1px solid #f0f0f0; }
#mobile-nav li a:hover { color: var(--green); text-decoration: none; }
#mobile-nav.active { display: block; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .hero img { height: 300px; }
  .hero-content h1 { font-size: 1.8rem; }
  .layout-with-sidebar, .article-body { grid-template-columns: 1fr; }
  .sidebar-box, .article-aside { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .list-item img { width: 90px; height: 65px; }
  .data-strip-inner { justify-content: flex-start; gap: 2rem; }
}

/* === JSON-LD WebSite === */
