/* CSSVariantEngine v3.0 — live-vsportnews.com.cn */
/* Palette: soft-teal | Radius: pill-rounded | Shadow: multi-layer-soft */
/* Spacing: generous | Transition: smooth */
/* Section layouts: {"news":"list-view","features":"centered","hero":"split","testimonials":"stacked","partners":"grid-4","faq":"with-sidebar","stats":"big-number","cta":"centered"} */

:root {
    --color-primary: #0d9488;
    --color-primary-dark: #0f766e;
    --color-accent: #fcd34d;
    --color-surface: #f0fdfa;
    --color-text: #134e4a;
    --rgb-primary: 13, 148, 136;
    --rgb-accent: 252, 211, 77;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 4px 8px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.05), 0 20px 40px -10px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.06), 0 32px 60px -12px rgba(0, 0, 0, 0.15);
    --space-section: 5rem;
    --space-card: 1.5rem;
    --space-gap: 1.25rem;
    --transition: 0.4s ease;
    --heading-weight: 600;
    --body-line-height: 1.65;
}

/* 基础覆盖 */
body { color: var(--color-text); line-height: var(--body-line-height); background-color: #ffffff; }
h1, h2, h3, h4 { font-weight: var(--heading-weight); }
section, .section { padding-top: var(--space-section); padding-bottom: var(--space-section); }
section:nth-child(even) { background-color: #fffbeb; }
section:nth-child(4n) { background-color: #0f766e; color: #ffffff; }
.card, [class*="card"] { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: var(--space-card); transition: var(--transition); background-color: #ffffff; border: 1px solid #e2e8f0; }
.btn, button[class*="btn"], a[class*="btn"] { border-radius: var(--radius-md); transition: var(--transition); background-color: var(--color-primary); color: white; border: none; }
.btn:hover, button[class*="btn"]:hover, a[class*="btn"]:hover { background-color: var(--color-primary-dark); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
a:not([class]) { color: var(--color-primary); transition: var(--transition); }
a:not([class]):hover { color: var(--color-primary-dark); text-decoration-thickness: 2px; }

/* ========== Section Layout Variants ========== */

/* news: list-view */
/* 列表模式 (图左文右) */
.news-grid { display: flex; flex-direction: column; gap: var(--space-gap); }
.news-grid .card { display: grid; grid-template-columns: 280px 1fr; }

/* features: centered */
/* 居中大卡片 */
.feature-list { display: flex; flex-direction: column; align-items: center; gap: calc(var(--space-gap) * 2); max-width: 720px; margin: 0 auto; }

/* hero: split */
/* 左文右图 */
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }

/* testimonials: stacked */
/* 垂直堆叠 */
.testimonial-list { display: flex; flex-direction: column; gap: var(--space-gap); max-width: 720px; margin: 0 auto; }

/* partners: grid-4 */
.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--space-gap) * 1.5); align-items: center; }

/* faq: with-sidebar */
/* FAQ 左 + 联系信息右 */
.faq-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }

/* stats: big-number */
/* 大数字居中 */
.stats-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.stats-grid .stat-value { font-size: 3rem; color: var(--color-accent); text-shadow: 0 2px 8px rgba(0,0,0,0.15); }

/* cta: centered */
.cta-inner { text-align: center; max-width: 700px; margin: 0 auto; }

/* Page Layout: full-width */
/* 无侧边栏, 全宽 */
.page-main { max-width: 1200px; margin: 0 auto; }

/* 条件性装饰 */
.hero, [class*="hero"], section:first-of-type { background: linear-gradient(135deg, #0d9488, #115e59); color: white; }
header, .header, .navbar { background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(12px); border-bottom: 1px solid #e2e8f0; }

/* Responsive */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .feature-list { grid-template-columns: repeat(2, 1fr) !important; }
    .partner-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .hero-inner { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    :root { --space-section: 2rem; --space-card: 1rem; --space-gap: 0.75rem; }
    .news-grid { grid-template-columns: 1fr !important; }
    .feature-list { grid-template-columns: 1fr !important; }
    .faq-list { grid-template-columns: 1fr !important; }
    .testimonial-list { column-count: 1 !important; }
    .partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .cta-inner { grid-template-columns: 1fr !important; }
}