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

/* ============================================
   1. CSS Variables
   ============================================ */
:root {
    /* 品牌色 */
    --color-primary: #0f766e;
    --color-primary-dark: #134e4a;
    --color-primary-darker: #0b2f33;
    --color-accent: #f4a261;
    --color-accent-dark: #e76f51;
    --color-success: #2a9d8f;
    --color-danger: #c44536;

    /* 中性色 */
    --color-text: #2f3e46;
    --color-text-muted: #5f6f78;
    --color-text-light: #91a0a8;
    --color-bg: #fdfcf9;
    --color-bg-soft: #f4f7f6;
    --color-bg-muted: #eaf0ee;
    --color-border: #d6e1de;
    --color-border-soft: #e6eeeb;

    /* 渐变 (Section 背景) */
    --gradient-hero: linear-gradient(135deg, #134e4a 0%, #2a9d8f 52%, #7bd7c8 100%);
    --gradient-deep: linear-gradient(135deg, #1f3b4d 0%, #134e4a 55%, #0f766e 100%);
    --gradient-dept: linear-gradient(135deg, #355070 0%, #4f7c82 55%, #6d9f8c 100%);
    --gradient-security: linear-gradient(135deg, #20343f 0%, #1f4d57 50%, #2a6f77 100%);
    --gradient-mission: linear-gradient(135deg, #264653 0%, #355070 50%, #4f7c82 100%);
    --gradient-trust: linear-gradient(135deg, #1d3557 0%, #2a4f6e 50%, #3c6e71 100%);
    --gradient-cta: linear-gradient(135deg, #2a6f77 0%, #2a9d8f 52%, #84dcc6 100%);
    --gradient-accent: linear-gradient(135deg, #ffd6a5 0%, #f4a261 55%, #e76f51 100%);
    --gradient-icon: linear-gradient(135deg, #84dcc6 0%, #2a9d8f 45%, #0f766e 100%);

    /* 玻璃效果 */
    --glass-bg: rgba(255, 255, 255, 0.14);
    --glass-border: rgba(255, 255, 255, 0.24);
    --glass-blur: blur(16px);

    /* 阴影 */
    --shadow-sm: 0 6px 14px rgba(31, 59, 77, 0.08), 0 18px 34px -18px rgba(15, 118, 110, 0.18);
    --shadow-md: 0 10px 22px rgba(31, 59, 77, 0.1), 0 24px 48px -20px rgba(42, 157, 143, 0.2);
    --shadow-lg: 0 14px 30px rgba(31, 59, 77, 0.12), 0 30px 60px -24px rgba(19, 78, 74, 0.24);
    --shadow-xl: 0 18px 38px rgba(31, 59, 77, 0.14), 0 40px 78px -28px rgba(53, 80, 112, 0.28);
    --shadow-primary: 0 12px 24px rgba(15, 118, 110, 0.14), 0 28px 56px -22px rgba(42, 157, 143, 0.32);
    --shadow-accent: 0 10px 22px rgba(244, 162, 97, 0.18), 0 26px 50px -20px rgba(231, 111, 81, 0.28);

    /* 圆角 */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-pill: 999px;

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

    /* 过渡 */
    --transition-fast: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-base: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 0.55s 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;
}

: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: var(--shadow-sm);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fefcf8;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(15, 118, 110, 0.18), 0 22px 40px -20px rgba(42, 157, 143, 0.3);
}

/* ============================================
   4. Header (HeaderSection)
   ============================================ */
.header {
    background: #fefcf8;
    z-index: 1030;
    box-shadow: 0 8px 20px rgba(31, 59, 77, 0.04), 0 18px 42px -24px rgba(15, 118, 110, 0.18);
}

.header .navbar-brand img {
    transition: transform var(--transition-fast);
    filter: drop-shadow(0 6px 16px rgba(15, 118, 110, 0.12));
}

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

.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 10px rgba(15, 118, 110, 0.18);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 36%), linear-gradient(180deg, rgba(11, 47, 51, 0.12) 0%, rgba(11, 47, 51, 0.28) 100%);
    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;
    text-shadow: 0 4px 20px rgba(11, 47, 51, 0.28);
}

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

    font-weight: 500;
    text-shadow: 0 3px 16px rgba(11, 47, 51, 0.2);
}

.hero-section .lead {
    font-size: 1.1rem;
    max-width: 700px;
    margin-inline: auto;
    opacity: 0.97;
    text-shadow: 0 2px 14px rgba(11, 47, 51, 0.18);
}

.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);
    box-shadow: 0 8px 18px rgba(31, 59, 77, 0.05), 0 20px 44px -24px rgba(42, 157, 143, 0.22);
}

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

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

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

/* ============================================
   7. Breadcrumb (BreadcrumbSection)
   ============================================ */
.breadcrumb-nav {
    background: var(--color-bg-muted);
    box-shadow: inset 0 -1px 0 rgba(19, 78, 74, 0.08);
}

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

.breadcrumb-nav .breadcrumb-item a:hover {
    color: var(--color-primary-dark) !important;
    text-shadow: 0 1px 10px rgba(19, 78, 74, 0.14);
}

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

.whyus-card {
    background: #fffdfa;
    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 8px 18px rgba(31, 59, 77, 0.04), 0 20px 40px -28px rgba(42, 157, 143, 0.2);
}

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

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

.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: saturate(0.96) contrast(1.02);
}

.about-img-wrap:hover img {
    transform: scale(1.05);
    filter: saturate(1.05) contrast(1.04);
}

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

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 10px 24px rgba(11, 47, 51, 0.12), 0 24px 48px -24px rgba(132, 220, 198, 0.2);
}

.text-white-75 {
    color: rgba(255, 250, 244, 0.78) !important;
}

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

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 4px 18px rgba(29, 53, 87, 0.24);
}

.departments-subtitle {
    font-size: 1.05rem;
    max-width: 800px;
    margin-inline: auto;
    color: rgba(255, 250, 244, 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);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 20px rgba(29, 53, 87, 0.08), 0 24px 46px -24px rgba(132, 220, 198, 0.24);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd6a5;
    margin-bottom: var(--space-xs);
    text-shadow: 0 3px 14px rgba(53, 80, 112, 0.22);
}

.d-num span {
    color: #fffdf9;
    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-md);
}

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

.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: 36px;
    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 10px 26px rgba(244, 162, 97, 0.24), 0 0 0 10px rgba(255, 255, 255, 0.05), 0 30px 60px -22px rgba(231, 111, 81, 0.34);
}

.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: #fffdf9;
    transition: all var(--transition-base);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 22px rgba(11, 47, 51, 0.1), 0 24px 46px -24px rgba(132, 220, 198, 0.18);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 28px rgba(11, 47, 51, 0.12), 0 30px 56px -26px rgba(132, 220, 198, 0.26);
}

.node-title {
    font-weight: 600;
    color: #ffd6a5;
    margin-block: var(--space-xs);
    text-shadow: 0 2px 12px rgba(244, 162, 97, 0.2);
}

@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: #fffdfa;
    border-radius: var(--radius-md);
    border-inline-start: 4px solid var(--color-primary);
    transition: all var(--transition-base);
    box-shadow: 0 8px 18px rgba(31, 59, 77, 0.04), 0 18px 38px -26px rgba(15, 118, 110, 0.2);
}

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

.mission-list li {
    margin-bottom: var(--space-sm);
    color: #e6f1ef;
    text-shadow: 0 2px 12px rgba(29, 53, 87, 0.16);
}

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

.stats-card {
    transition: all var(--transition-base);
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 18px rgba(31, 59, 77, 0.04), 0 18px 36px -26px rgba(15, 118, 110, 0.16);
}

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

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: var(--color-primary-darker);
    text-shadow: 0 2px 10px rgba(15, 118, 110, 0.08);
}

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

.news-card {
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 18px rgba(31, 59, 77, 0.04), 0 18px 36px -26px rgba(53, 80, 112, 0.14);
    background: #fffdfa;
}

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

.news-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

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

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

.match-card {
    transition: all var(--transition-base);
    border: 1px solid var(--color-border-soft);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 18px rgba(31, 59, 77, 0.04), 0 18px 36px -28px rgba(15, 118, 110, 0.14);
    background: #fffdfa;
}

.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);
    text-shadow: 0 2px 10px rgba(15, 118, 110, 0.08);
}

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

.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);
    box-shadow: 0 10px 22px rgba(29, 53, 87, 0.1), 0 24px 48px -26px rgba(132, 220, 198, 0.18);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 28px rgba(29, 53, 87, 0.12), 0 30px 58px -28px rgba(132, 220, 198, 0.24);
}

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

.partner-card {
    transition: all var(--transition-base);
    border-radius: var(--radius-md);
    box-shadow: 0 8px 18px rgba(31, 59, 77, 0.04), 0 18px 36px -28px rgba(15, 118, 110, 0.12);
    background: rgba(255, 253, 250, 0.88);
}

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

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

.testimonial-card {
    transition: all var(--transition-base);
    border-block-start: 4px solid transparent;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 18px rgba(31, 59, 77, 0.04), 0 18px 36px -28px rgba(53, 80, 112, 0.14);
    background: #fffdfa;
}

.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: #fffdf9;
    position: relative;
    overflow: hidden;
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 34%), linear-gradient(180deg, rgba(11, 47, 51, 0.08) 0%, rgba(11, 47, 51, 0.24) 100%);
    z-index: 0;
}

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

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

.text-white-75 {
    color: rgba(255, 250, 244, 0.88) !important;
}

/* ============================================
   21. Footer (FooterSection)
   ============================================ */
.footer {
    font-size: 0.9rem;
    color: #d7e3de;
    text-shadow: 0 2px 10px rgba(11, 47, 51, 0.2);
}

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

.footer a:hover {
    color: var(--color-accent) !important;
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.18);
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(71, 85, 105, 0.88);
}

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.9;
    color: rgba(100, 116, 139, 0.92);
}

.footer-beian a:hover {
    color: var(--color-accent) !important;
    text-decoration: underline !important;
    text-shadow: 0 2px 8px rgba(99, 102, 241, 0.16);
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(15, 23, 42, 0.12));
    opacity: 0.94;
    border-radius: 12px;
}

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 8px 18px rgba(99, 102, 241, 0.2));
    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;
    }
}

.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    outline-color: rgba(99, 102, 241, 0.34);
    box-shadow: 0 0 0 0.22rem rgba(99, 102, 241, 0.12), 0 10px 24px -12px rgba(15, 23, 42, 0.22);
    border-radius: 16px;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, outline-color 0.35s ease;
    caret-color: var(--color-primary);
    accent-color: var(--color-primary);
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.12), 0 20px 40px -10px rgba(79, 70, 229, 0.24);
    border-radius: 18px;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.18);
    transition: background-color 0.38s ease, border-color 0.38s ease, box-shadow 0.38s ease, filter 0.38s ease;
    filter: saturate(1.02);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #4f46e5;
    border-color: #4f46e5;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.16), 0 26px 44px -12px rgba(67, 56, 202, 0.3);
    filter: saturate(1.08) brightness(1.02);
}

.input-group-text {
    background-color: var(--color-bg-muted);
    border-color: var(--color-border);
    color: rgba(71, 85, 105, 0.96);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.04), 0 16px 32px -14px rgba(15, 23, 42, 0.08);
    border-radius: 14px;
}

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

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.hero-split-text { }
.hero-split-img { text-align: center; }

.cta-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.post-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

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

@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%; }
}