/* ============================================================
   THEME.CSS v3.0 - 主题主样式
   ============================================================
   匹配 Section 模板的 class 名称
   - CSS Variables 设计令牌
   - 所有 Section 主样式 (布局/背景/排版)
   ============================================================ */

/* ============================================
   1. CSS Variables
   ============================================ */
:root {
    /* 品牌色 */
    --color-primary: #6b705c;
    --color-primary-dark: #4f5544;
    --color-primary-darker: #1f1d1a;
    --color-accent: #c44536;
    --color-accent-dark: #9f3327;
    --color-success: #667a52;
    --color-danger: #a63a2b;

    /* 中性色 */
    --color-text: #2a2622;
    --color-text-muted: #6f675d;
    --color-text-light: #9f978c;
    --color-bg: #f5f1e8;
    --color-bg-soft: #efe8dc;
    --color-bg-muted: #e7dece;
    --color-border: #d8cdbb;
    --color-border-soft: #e9dfcf;

    /* 渐变 (Section 背景) */
    --gradient-hero: linear-gradient(135deg, #1f1d1a 0%, #4f5544 42%, #6b705c 100%);
    --gradient-deep: linear-gradient(135deg, #171513 0%, #2b2925 45%, #4f5544 100%);
    --gradient-dept: linear-gradient(135deg, #4a4037 0%, #6b705c 55%, #8a7f70 100%);
    --gradient-security: linear-gradient(135deg, #201d19 0%, #3a342d 48%, #5d564e 100%);
    --gradient-mission: linear-gradient(135deg, #2a2520 0%, #5d564e 50%, #6b705c 100%);
    --gradient-trust: linear-gradient(135deg, #1b1815 0%, #3d372f 50%, #5a5148 100%);
    --gradient-cta: linear-gradient(135deg, #5a5148 0%, #6b705c 45%, #c44536 100%);
    --gradient-accent: linear-gradient(135deg, #d46a57 0%, #c44536 55%, #9f3327 100%);
    --gradient-icon: linear-gradient(135deg, #c44536 0%, #8f2f24 100%);

    /* 玻璃效果 */
    --glass-bg: rgba(245, 241, 232, 0.12);
    --glass-border: rgba(255, 248, 238, 0.2);
    --glass-blur: blur(14px);

    /* 阴影 */
    --shadow-sm: 0 2px 6px rgba(52, 42, 34, 0.08), 0 10px 22px rgba(107, 112, 92, 0.08);
    --shadow-md: 0 4px 10px rgba(43, 36, 30, 0.1), 0 14px 28px rgba(86, 78, 69, 0.14);
    --shadow-lg: 0 6px 14px rgba(38, 31, 26, 0.12), 0 20px 38px rgba(79, 85, 68, 0.18);
    --shadow-xl: 0 10px 20px rgba(33, 28, 24, 0.14), 0 26px 48px rgba(72, 62, 54, 0.2);
    --shadow-primary: 0 4px 10px rgba(79, 85, 68, 0.16), 0 18px 36px rgba(107, 112, 92, 0.22);
    --shadow-accent: 0 4px 10px rgba(159, 51, 39, 0.18), 0 16px 34px rgba(196, 69, 54, 0.24);

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-pill: 22px;

    /* 间距 */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /* 过渡 */
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.28s cubic-bezier(0.33, 1, 0.68, 1);
    --transition-slow: 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================
   2. Base
   ============================================ */
:where(body) {
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    caret-color: var(--color-accent);
    accent-color: var(--color-primary);
}

:where(img) {
    max-width: 100%;
    height: auto;
}

/* ============================================
   3. 通用工具
   ============================================ */
.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur) saturate(130%);
    -webkit-backdrop-filter: var(--glass-blur) saturate(130%);
    border: 1px dashed var(--glass-border);
    box-shadow: var(--shadow-sm);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fdf8f1;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(95, 34, 26, 0.18), 0 14px 22px rgba(196, 69, 54, 0.22);
}

/* ============================================
   4. Header (HeaderSection)
   ============================================ */
.header {
    background: #f7f2e9;
    z-index: 1030;
    box-shadow: 0 1px 0 rgba(107, 112, 92, 0.12), 0 10px 24px rgba(62, 54, 47, 0.06);
}

.header .navbar-brand img {
    transition: transform var(--transition-fast);
    filter: saturate(0.9) contrast(1.02);
}

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: saturate(1.05) contrast(1.06);
}

.header .nav-link {
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.header .nav-link:hover {
    color: var(--color-primary);
    text-shadow: 0 1px 0 rgba(255, 248, 238, 0.7);
}

/* ============================================
   5. Hero (HeroSection)
   ============================================ */
.hero-section {
    min-height: 480px;
    background: var(--gradient-hero);
    color: #fdf8f1;
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 1px rgba(24, 21, 18, 0.22);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 16, 14, 0.08) 0%, rgba(18, 16, 14, 0.26) 100%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
}

.hero-section > .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(18, 16, 14, 0.2);
}

.hero-section h2 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.92;
    margin-bottom: var(--space-md);

    font-weight: 500;
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.96;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-block-start: var(--space-md);
}

/* ============================================
   6. Notice Bar (NoticeBarSection)
   ============================================ */
.notice-bar {
    animation: noticeSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    background: #e7dece;
    color: #2a2622;
    box-shadow: 0 1px 0 rgba(107, 112, 92, 0.12) inset, 0 8px 18px rgba(73, 62, 53, 0.08);
}

.notice-bar a {
    transition: opacity var(--transition-fast), color var(--transition-fast);
    color: var(--color-accent);
}

.notice-bar a:hover {
    opacity: 0.78;
    color: var(--color-accent-dark);
}

@keyframes noticeSlideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

/* ============================================
   7. Breadcrumb (BreadcrumbSection)
   ============================================ */
.breadcrumb-nav {
    background: var(--color-bg-muted);
    border-top: 1px solid rgba(107, 112, 92, 0.1);
    border-bottom: 1px solid rgba(107, 112, 92, 0.1);
}

.breadcrumb-nav .breadcrumb-item a {
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
    color: var(--color-primary);
}

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-shadow: 0 1px 0 rgba(255, 248, 238, 0.65);
}

/* ============================================
   8. Why Us (WhyUsSection)
   ============================================ */
.why-us-section {
    background: var(--color-bg-soft);
}

.whyus-card {
    background: #fbf7f0;
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: all var(--transition-base);
    height: 100%;
    box-shadow: 0 1px 0 rgba(255, 250, 243, 0.8) inset, 0 10px 24px rgba(71, 60, 51, 0.06);
}

.whyus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(107, 112, 92, 0.28);
}

/* ============================================
   9. About (AboutSection)
   ============================================ */
.about-section {
    background: var(--gradient-deep);
    color: #fdf8f1;
}

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-img-wrap img {
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: sepia(0.12) saturate(0.92) contrast(1.02);
}

.about-img-wrap:hover img {
    transform: scale(1.05);
    filter: sepia(0.04) saturate(1) contrast(1.06);
}

.about-card {
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
}

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(245, 241, 232, 0.12);
    box-shadow: 0 8px 22px rgba(16, 14, 12, 0.12);
}

.text-white-75 {
    color: rgba(253, 248, 241, 0.76) !important;
}

/* ============================================
   10. Departments (DepartmentsSection)
   ============================================ */
.departments-section {
    background: var(--gradient-dept);
    color: #fdf8f1;
}

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 8px rgba(29, 25, 22, 0.16);
}

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(253, 248, 241, 0.86);
}

.departments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    margin-block-start: var(--space-lg);
}

@media (min-width: 768px) {
    .departments-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.d-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur) saturate(125%);
    -webkit-backdrop-filter: var(--glass-blur) saturate(125%);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(255, 248, 238, 0.18);
    box-shadow: 0 1px 0 rgba(255, 250, 243, 0.12) inset, 0 14px 26px rgba(44, 38, 33, 0.12);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0c2b7;
    margin-bottom: var(--space-xs);
}

.d-num span {
    color: #fdf8f1;
    font-size: 1.1rem;
    margin-inline-start: var(--space-xs);
}

.d-image {
    margin-bottom: var(--space-sm);
}

.d-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    filter: sepia(0.08) saturate(0.94);
}

/* ============================================
   11. Security Network (SecuritySection)
   ============================================ */
.security-section {
    background: var(--gradient-security);
    color: #fdf8f1;
}

.security-network {
    position: relative;
    max-width: 800px;
    margin: var(--space-xl) auto;
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .security-network {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, auto);
    }

    .core-node        { grid-column: 2; grid-row: 2; }
    .node-top-left    { grid-column: 1; grid-row: 1; }
    .node-top-right   { grid-column: 3; grid-row: 1; }
    .node-bottom-left { grid-column: 1; grid-row: 3; }
    .node-bottom-right{ grid-column: 3; grid-row: 3; }
}

.core-node {
    background: var(--gradient-accent);
    border-radius: 12px;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: #241b17;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(255, 238, 228, 0.18) inset, 0 8px 18px rgba(122, 39, 30, 0.2), 0 0 34px rgba(196, 69, 54, 0.28);
}

.node {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur) saturate(120%);
    -webkit-backdrop-filter: var(--glass-blur) saturate(120%);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: #fdf8f1;
    transition: all var(--transition-base);
    border: 1px solid rgba(255, 248, 238, 0.16);
    box-shadow: 0 1px 0 rgba(255, 250, 243, 0.1) inset, 0 12px 24px rgba(28, 24, 21, 0.12);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(245, 241, 232, 0.16);
    box-shadow: 0 2px 0 rgba(255, 250, 243, 0.12) inset, 0 18px 30px rgba(28, 24, 21, 0.16);
}

.node-title {
    font-weight: 600;
    color: #f0c2b7;
    margin-block: var(--space-xs);
}

@media (max-width: 767.98px) {
    .core-node { width: 120px; height: 120px; }
}

/* ============================================
   12. Honor (HonorSection)
   ============================================ */
.honor-section {
    background: var(--color-bg-soft);
}

.honor-row {
    padding-block: var(--space-sm);
}

.honor-text-card {
    padding: var(--space-md);
    background: #fbf7f0;
    border-radius: var(--radius-md);
    border-inline-start: 4px solid var(--color-accent);
    transition: all var(--transition-base);
    box-shadow: 0 1px 0 rgba(255, 250, 243, 0.85) inset, 0 10px 22px rgba(72, 61, 52, 0.06);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   13. Mission (MissionSection)
   ============================================ */
.mission-section {
    background: var(--gradient-mission);
    padding-block: var(--space-2xl);
    color: #fdf8f1;
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(253, 248, 241, 0.82);
}

/* ============================================
   14. Stats (StatsSection)
   ============================================ */
.stats-section {
    background: #f8f4ec;
}

.stats-card {
    transition: all var(--transition-base);
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    box-shadow: 0 1px 0 rgba(255, 250, 243, 0.75) inset, 0 8px 20px rgba(68, 58, 49, 0.05);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #fbf7f0 0%, #ebe2d3 100%);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-darker);
}

/* ============================================
   15. News (NewsSection)
   ============================================ */
.news-section {
    background: var(--color-bg-soft);
}

.news-card {
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-soft);
    background: #fbf7f0;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 0 rgba(255, 250, 243, 0.82) inset, 0 10px 20px rgba(70, 59, 50, 0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(107, 112, 92, 0.24);
}

.news-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
    filter: sepia(0.14) saturate(0.88) contrast(1.02);
}

.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
    filter: sepia(0.06) saturate(0.98) contrast(1.06);
}

/* ============================================
   16. Matches (MatchesSection)
   ============================================ */
.matches-section {
    background: var(--color-bg-soft);
}

.match-card {
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-soft);
    background: #fbf7f0;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 0 rgba(255, 250, 243, 0.82) inset, 0 8px 18px rgba(70, 59, 50, 0.05);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.match-card .team {
    min-width: 0;
}

.match-card .team .small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-text-muted);
}

.match-card .score {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-darker);
}

/* ============================================
   17. Trust (TrustSection)
   ============================================ */
.trust-section {
    background: var(--gradient-trust);
    color: #fdf8f1;
}

.trust-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur) saturate(125%);
    -webkit-backdrop-filter: var(--glass-blur) saturate(125%);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-sm);
    height: 100%;
    transition: all var(--transition-base);
    border: 1px dashed rgba(255, 248, 238, 0.18);
    box-shadow: 0 1px 0 rgba(255, 250, 243, 0.1) inset, 0 14px 28px rgba(23, 20, 17, 0.12);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(245, 241, 232, 0.16);
    box-shadow: 0 2px 0 rgba(255, 250, 243, 0.12) inset, 0 18px 32px rgba(23, 20, 17, 0.16);
}

 /* ============================================
   18. Partners (PartnersSection)
   ============================================ */
.partners-section {
    background: var(--color-bg-soft);
}

.partner-card {
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    background: rgba(251, 247, 240, 0.7);
    box-shadow: 0 1px 0 rgba(255, 250, 243, 0.7) inset, 0 8px 18px rgba(68, 58, 49, 0.05);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
}

/* ============================================
   19. Testimonials (TestimonialsSection)
   ============================================ */
.testimonials-section {
    background: #f8f4ec;
}

.testimonial-card {
    transition: all var(--transition-base);
    border-block-start: 4px solid transparent;
    background: #fbf7f0;
    border-radius: var(--radius-md);
    box-shadow: 0 1px 0 rgba(255, 250, 243, 0.8) inset, 0 8px 18px rgba(68, 58, 49, 0.05);
}

.testimonial-card:hover {
    border-block-start-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   20. C
TA Banner (CtaBannerSection)
   ============================================ */
.cta-banner-section {
    background: var(--gradient-cta);
    color: #fdf8f1;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 1px rgba(27, 23, 20, 0.18);
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(21, 18, 15, 0.08) 0%, rgba(21, 18, 15, 0.24) 100%);
    z-index: 0;
    opacity: 0.95;
}

.cta-banner-section > .container {
    position: relative;
    z-index: 1;
}

.cta-banner-section .btn-warning {
    box-shadow: var(--shadow-accent);
    border-style: solid;
    border-color: rgba(255, 236, 226, 0.28);
    border-radius: var(--radius-pill);
}

.text-white-75 {
    color: rgba(253, 248, 241, 0.86) !important;
}

/* ============================================
   21. Footer (FooterSection)
   ============================================ */
.footer {
    font-size: 0.9rem;
    color: #d8ccbf;
    background: #201d19;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.footer a {
    transition: color 0.22s ease-out, text-shadow 0.22s ease-out;
}

.footer a:hover {
    color: #6b705c !important;
    text-shadow: 0 1px 0 rgba(26, 26, 26, 0.08);
}

.footer-copyright {
    font-size: 0.85rem;
    color: #3f3a34;
}

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.78;
    color: #5a544d;
}

.footer-beian a:hover {
    color: #6b705c !important;
    text-decoration: underline !important;
    text-decoration-color: #6b705c;
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 0.24s ease-out, filter 0.24s ease-out, opacity 0.24s ease-out;
    filter: sepia(0.18) saturate(0.8) contrast(1.02);
    opacity: 0.92;
}

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: sepia(0.34) saturate(0.9) contrast(1.06);
    opacity: 1;
}

.footer-beian li {
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .footer-beian ul {
        flex-direction: column;
        gap: var(--space-xs) !important;
    }

    .footer-beian li {
        white-space: normal;
        text-align: center;
    }
}

/* ============================================
   22. Form (Login/Signup/Contact)
   ============================================ */
.form-control:focus,
.form-select:focus {
    border-color: #6b705c;
    box-shadow: 0 0 0 0.2rem rgba(107, 112, 92, 0.16), 0 2px 8px rgba(26, 26, 26, 0.06);
    outline-color: #6b705c;
}

.btn-primary {
    background-color: #c44536;
    border-color: #c44536;
    color: #f5f1e8;
    box-shadow: 0 1px 0 rgba(26, 26, 26, 0.08), 0 6px 14px rgba(196, 69, 54, 0.14);
    border-radius: 4px;
    transition: background-color 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.2s ease-out, filter 0.2s ease-out;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #a93a2e;
    border-color: #a93a2e;
    box-shadow: 0 1px 0 rgba(26, 26, 26, 0.1), 0 8px 18px rgba(169, 58, 46, 0.18);
    filter: saturate(1.02) contrast(1.01);
    outline-color: #a93a2e;
}

.input-group-text {
    background-color: #ede6da;
    border-color: #d6ccbc;
    color: #3f3a34;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

/* ============================================
   23. Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   Grid Layout Defaults (CSS-Variant-Ready)
   CSSVariantEngine sẽ override các rules này
   ============================================================ */

/* 新闻网格 (默认 3 列) */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* 功能特性列表 (默认 3 列) */
.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* 用户评价 (默认 3 列) */
.testimonial-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* 合作伙伴 (默认 4 列) */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
}

/* 数据统计 (默认 4 列) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

/* FAQ 列表 (默认单列居中) */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

/* Hero 内容 (默认居中) */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #1a1a1a;
    text-shadow: 0 1px 0 rgba(245, 241, 232, 0.5);
}

/* Hero 分割布局 (左文右图) */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.hero-split-text { color: #1a1a1a; }
.hero-split-img { text-align: center; filter: sepia(0.08) contrast(1.01); }

/* CTA 内容 (默认居中) */
.cta-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #1a1a1a;
}

/* 作者团队 (默认 4 列) */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* 联系渠道 (默认 3 列) */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* 文章列表 (默认 2 列) */
.post-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* 相关文章 (默认 3 列) */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* 赛事列表 (默认 3 列) */
.matches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

/* 步 骤网格 (默认 4 列) */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* 二维码网格 (默认 3 列) */
.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

/* 荣誉列表 (默认 2 列交替) */
.honor-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.honor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.honor-row-reverse {
    direction: rtl;
}
.honor-row-reverse > * {
    direction: ltr;
}

/* ============================================================
   Responsive Defaults
   ============================================================ */
@media (max-width: 1024px) {
    .news-grid,
    .feature-list,
    .channels-grid,
    .testimonial-list { grid-template-columns: repeat(2, 1fr); }

    .partner-grid,
    .stats-grid,
    .authors-grid { grid-template-columns: repeat(2, 1fr); }

    .matches-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }

    .hero-split { grid-template-columns: 1fr; }
    .honor-row { grid-template-columns: 1fr; }
    .honor-row-reverse { direction: ltr; }
}

@media (max-width: 640px) {
    .news-grid,
    .feature-list,
    .testimonial-list,
    .channels-grid,
    .post-list-grid,
    .related-grid,
    .authors-grid,
    .matches-grid { grid-template-columns: 1fr; }

    .partner-grid,
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .steps-grid { grid-template-columns: 1fr; }
    .qr-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }

    .faq-list { max-width: 100%; }
}