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

/* ============================================
   1. CSS Variables
   ============================================ */
:root {
    /* 品牌色 */
    --color-primary: #0b8a5a;
    --color-primary-dark: #0b5c3b;
    --color-primary-darker: #083d28;
    --color-accent: #ffca58;
    --color-accent-dark: #ef9c24;
    --color-success: #64a74a;
    --color-danger: #d94a4f;

    /* 中性色 */
    --color-text: #2e3a35;
    --color-text-muted: #66756e;
    --color-text-light: #9fafa7;
    --color-bg: linear-gradient(180deg, #fffdf8 0%, #f8f5ee 55%, #edf5f0 100%);
    --color-bg-soft: linear-gradient(185deg, #fefcf6 0%, #eef6f0 100%);
    --color-bg-muted: linear-gradient(180deg, #e5f0e9 0%, #d3e5da 100%);
    --color-border: #c7ddd2;
    --color-border-soft: #dfece5;

    /* 渐变 (Section 背景) */
    --gradient-hero: linear-gradient(125deg, #012a1f 0%, #0a6342 35%, #17a06e 100%);
    --gradient-deep: linear-gradient(145deg, #051b14 0%, #0c4b32 45%, #167a50 100%);
    --gradient-dept: linear-gradient(135deg, #3c1007 0%, #7b1d0f 25%, #b64a1b 55%, #ef9c24 100%);
    --gradient-security: linear-gradient(115deg, #0d1d16 0%, #123a2d 40%, #176048 100%);
    --gradient-mission: linear-gradient(145deg, #3f1d07 0%, #a54817 45%, #e8732c 100%);
    --gradient-trust: linear-gradient(115deg, #05241b 0%, #0c4a32 50%, #12754e 100%);
    --gradient-cta: linear-gradient(120deg, #073f2d 0%, #0e7a50 45%, #1bb372 75%, #a8e063 100%);
    --gradient-accent: linear-gradient(135deg, #ffe3a6 0%, #ffca6b 45%, #ef9c2b 100%);
    --gradient-icon: linear-gradient(140deg, #1fa471, #0b5c3b);

    /* 玻璃效果 */
    --glass-bg: rgba(255, 255, 255, 0.14);
    --glass-border: rgba(255, 255, 255, 0.32);
    --glass-blur: blur(18px) saturate(150%);

    /* 阴影 */
    --shadow-sm: 0 2px 8px -1px rgba(13, 55, 39, 0.08), 0 8px 14px -6px rgba(13, 55, 39, 0.06);
    --shadow-md: 0 10px 18px -6px rgba(13, 55, 39, 0.14), 0 4px 8px -2px rgba(13, 55, 39, 0.04);
    --shadow-lg: 0 18px 28px -8px rgba(13, 55, 39, 0.16), 0 8px 12px -4px rgba(13, 55, 39, 0.08);
    --shadow-xl: 0 24px 48px -10px rgba(13, 55, 39, 0.22), 0 10px 16px -6px rgba(13, 55, 39, 0.1);
    --shadow-primary: 0 16px 32px -12px rgba(11, 138, 90, 0.38);
    --shadow-accent: 0 12px 26px -8px rgba(255, 165, 62, 0.5);

    /* 圆角 */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 48px;

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

    /* 过渡 */
    --transition-fast: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================
   2. Base
   ============================================ */
:where(body) {
    color: var(--color-text);
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 200, 87, 0.08), transparent 32%),
        radial-gradient(circle at 85% 100%, rgba(11, 138, 90, 0.08), transparent 38%),
        var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   3. 通用工具
   ============================================ */
.bg-glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 28% 25%, rgba(255, 255, 255, 0.35), transparent 36%), var(--gradient-icon);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fffdf8;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* ============================================
   4. Header (HeaderSection)
   ============================================ */
.header {
    background: linear-gradient(180deg, #ffffff 0%, #f3fbf7 100%);
    z-index: 1030;
}

.header .navbar-brand img {
    transition: transform var(--transition-fast);
}

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

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

.header .nav-link:hover {
    color: var(--color-primary);
}

/* ============================================
   5. Hero (HeroSection)
   ============================================ */
.hero-section {
    min-height: 480px;
    background: var(--gradient-hero);
    color: #fffdf8;
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(3, 34, 24, 0.55), rgba(10, 95, 60, 0.18) 55%, rgba(255, 255, 255, 0.06));
    z-index: 0;
    pointer-events: none;
}

.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;
}

.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.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.notice-bar a:hover {
    opacity: 0.85;
}

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

/* ============================================
   7. Breadcrumb (BreadcrumbSection)
   ============================================ */
.breadcrumb-nav {
    background: var(--color-bg-muted);
}

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

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
}

/* ============================================
   8. Why Us (WhyUsSection)
   ============================================ */
.why-us-section {
    background: radial-gradient(circle at 12% 15%, rgba(255, 200, 87, 0.14), transparent 30%), linear-gradient(145deg, #fbfcf8 0%, #e9f4ea 100%);
}

.whyus-card {
    background: rgba(255, 253, 250, 0.92);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: all var(--transition-base);
    height: 100%;
}

.whyus-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(11, 138, 90, 0.35);
}

/* ============================================
   9. About (AboutSection)
   ============================================ */
.about-section {
    background: linear-gradient(155deg, #03150f 0%, #0a452f 42%, #157750 100%);
    color: #fffdf8;
}

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

.about-img-wrap img {
    transition: transform var(--transition-slow);
}

.about-img-wrap:hover img {
    transform: scale(1.05);
}

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

.about-card:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
}

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

/* ============================================
   10. Departments (DepartmentsSection)
   ============================================ */
.departments-section {
    background: linear-gradient(135deg, #3c1007 0%, #7b1d0f 25%, #b64a1b 55%, #ef9c24 100%);
    color: #fffdf8;
}

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

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

.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);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

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

.d-num span {
    color: #fffdf8;
    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: 0 8px 18px -6px rgba(24, 8, 4, 0.45);
}

/* ============================================
   11. Security Network (SecuritySection)
   ============================================ */
.security-section {
    background: linear-gradient(115deg, #081912 0%, #14382b 45%, #216d4f 100%);
    color: #fffdf8;
}

.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: radial-gradient(circle at 28% 26%, rgba(255, 255, 255, 0.42), transparent 32%), var(--gradient-accent);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: var(--color-primary-darker);
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(255, 224, 150, 0.28), 0 8px 22px rgba(9, 35, 25, 0.3), 0 0 42px 6px rgba(255, 190, 75, 0.55);
}

.node {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    color: #fffdf8;
    transition: all var(--transition-base);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.18);
}

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

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

/* ============================================
   12. Honor (HonorSection)
   ============================================ */
.honor-section {
    background: linear-gradient(140deg, #f4efe9 0%, #fbf3e0 50%, #e8f2eb 100%);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: linear-gradient(135deg, #ffffff, #fbfcf8);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid var(--color-accent);
    transition: all var(--transition-base);
}

.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: #fffdf8;
}

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

/* ============================================
   14. Stats (StatsSection)
   ============================================ */
.stats-section {
    background: radial-gradient(circle at 18% 12%, rgba(255, 200, 87, 0.16), transparent 34%), linear-gradient(135deg, #fbfcfb 0%, #f1f7f2 55%, #faf0e0 100%);
}

.stats-card {
    transition: all var(--transition-base);
    background: rgba(255, 253, 250, 0.94);
    box-shadow: var(--shadow-sm);
}

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

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

/* ============================================
   15. News (NewsSection)
   ============================================ */
.news-section {
    background: linear-gradient(180deg, #f1efe9 0%, #f7f1e2 55%, #edf5ee 100%);
}

.news-card {
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-soft);
    background: rgba(255, 253, 250, 0.9);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

.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);
}

.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
}

/* ============================================
   16. Matches (MatchesSection)
   ============================================ */
.matches-section {
    background: linear-gradient(180deg, #eaf3ef 0%, #f5eee2 100%);
}

.match-card {
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-soft);
    background: rgba(255, 253, 250, 0.92);
    border-radius: var(--radius-md);
}

.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;
}

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

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

.trust-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-sm);
    height: 100%;
    transition: all var(--transition-base);
    border: 1px solid var(--glass-border);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
}

/* ============================================
   18. Partners (PartnersSection)
   ============================================ */
.partners-section {
    background: linear-gradient(135deg, #f0f4ea 0%, #f8efe3 100%);
}

.partner-card {
    transition: all var(--transition-base);
}

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

/* ============================================
   19. Testimonials (TestimonialsSection)
   ============================================ */
.testimonials-section {
    background: radial-gradient(circle at 85% 10%, rgba(11, 138, 90, 0.08), transparent 36%), linear-gradient(180deg, #fffdf8, #f4f4ed);
}

.testimonial-card {
    transition: all var(--transition-base);
    border-block-start: 4px solid transparent;
    background: rgba(255, 253, 250, 0.86);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

/* ============================================
   20. CTA Banner (CtaBannerSection)
   ============================================ */
.cta-banner-section {
    background: var(--gradient-cta);
    color: #fffdf8;
    position: relative;
    overflow: hidden;
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(5, 37, 27, 0.52), rgba(9, 72, 48, 0.2) 45%, rgba(255, 255, 255, 0.1));
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: var(--shadow-accent);
}

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

/* ============================================
   21. Footer (FooterSection)
   ============================================ */
.footer {
    font-size: 0.9rem;
    color: #d8e7df;
    background: linear-gradient(180deg, #0d2c1e 0%, #071a12 100%);
}

.footer a {
    transition: color 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer a:hover {
    color: #fcd34d !important;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.45);
}

.footer-copyright {
    font-size: 0.85rem;
}

/* Beian */
.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-beian a:hover {
    color: #fcd34d !important;
    text-decoration: underline !important;
    text-shadow: 0 2px 10px rgba(251, 191, 36, 0.45);
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-beian a:hover img {
    transform: translateY(-2px) scale(1.2);
    filter: drop-shadow(0 6px 12px rgba(168, 85, 247, 0.35));
}

.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: #7c3aed;
    caret-color: #7c3aed;
    box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.16),
                0 0 0 0.6rem rgba(217, 70, 239, 0.07),
                0 14px 28px -14px rgba(147, 51, 234, 0.45);
}

.btn-primary {
    background-color: #7c3aed;
    background-image: linear-gradient(120deg, #7c3aed 0%, #a21caf 45%, #e11d48 100%);
    background-size: 200% auto;
    background-position: 0% 50%;
    border-color: #6d28d9;
    box-shadow: 0 8px 20px -8px rgba(109, 40, 217, 0.55),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                background-position 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #be185d;
    background-position: 100% 50%;
    border-color: #9d174d;
    box-shadow: 0 14px 30px -12px rgba(190, 24, 93, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.input-group-text {
    background-color: #faf5ff;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(221, 214, 254, 0.35));
    border-color: #d8b4fe;
    color: #4c1d95;
}

/* ============================================
   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.75rem;
}

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

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

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

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

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

/* Hero 内容 (默认居中) */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Hero 分割布局 (左文右图) */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: center;
}
.hero-split-text { }
.hero-split-img { text-align: center; }

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

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

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

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

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

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

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

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

/* 荣誉列表 (默认 2 列交替) */
.honor-list {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}
.honor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    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%; }
}