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

/* ============================================
   1. CSS Variables
   ============================================ */
:root {
    /* 品牌色 */
    --color-primary: #8b5cf6;
    --color-primary-dark: #5b21b6;
    --color-primary-darker: #1b1533;
    --color-accent: #f4c95d;
    --color-accent-dark: #d4a93f;
    --color-success: #22a06b;
    --color-danger: #c2415d;

    /* 中性色 */
    --color-text: #312e45;
    --color-text-muted: #6f6a86;
    --color-text-light: #a59fba;
    --color-bg: #fffdf8;
    --color-bg-soft: #f7f3ff;
    --color-bg-muted: #efe7fb;
    --color-border: #e7def5;
    --color-border-soft: #f1ebfb;

    /* 渐变 (Section 背景) */
    --gradient-hero: linear-gradient(135deg, #0f0f1a 0%, #24163f 52%, #8b5cf6 100%);
    --gradient-deep: linear-gradient(135deg, #11101d 0%, #24163f 55%, #3e246b 100%);
    --gradient-dept: linear-gradient(135deg, #171126 0%, #35205d 50%, #6d3fd3 100%);
    --gradient-security: linear-gradient(135deg, #0f0f1a 0%, #19142b 45%, #2b1f45 100%);
    --gradient-mission: linear-gradient(135deg, #181225 0%, #2d1b4d 52%, #5b21b6 100%);
    --gradient-trust: linear-gradient(135deg, #100f19 0%, #201733 48%, #342354 100%);
    --gradient-cta: linear-gradient(135deg, #171126 0%, #35205d 50%, #8b5cf6 100%);
    --gradient-accent: linear-gradient(135deg, #f8df8a 0%, #f4c95d 55%, #d4a93f 100%);
    --gradient-icon: linear-gradient(135deg, #9f7aea 0%, #6d3fd3 55%, #3e246b 100%);

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

    /* 阴影 */
    --shadow-sm: 0 10px 24px rgba(24, 16, 45, 0.08), 0 2px 6px rgba(244, 201, 93, 0.06);
    --shadow-md: 0 16px 38px rgba(22, 15, 41, 0.12), 0 4px 14px rgba(139, 92, 246, 0.1);
    --shadow-lg: 0 22px 52px rgba(17, 12, 33, 0.16), 0 8px 22px rgba(139, 92, 246, 0.12);
    --shadow-xl: 0 28px 70px rgba(14, 10, 28, 0.2), 0 10px 30px rgba(244, 201, 93, 0.12);
    --shadow-primary: 0 20px 44px rgba(91, 33, 182, 0.22), 0 8px 18px rgba(139, 92, 246, 0.14);
    --shadow-accent: 0 18px 40px rgba(212, 169, 63, 0.22), 0 6px 16px rgba(244, 201, 93, 0.16);

    /* 圆角 */
    --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.42s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 0.65s 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: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fffdf8;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 14px 30px rgba(62, 36, 107, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* ============================================
   4. Header (HeaderSection)
   ============================================ */
.header {
    background: rgba(255, 253, 248, 0.92);
    z-index: 1030;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 28px rgba(24, 16, 45, 0.06);
}

.header .navbar-brand img {
    transition: transform var(--transition-fast), filter var(--transition-fast);
    filter: drop-shadow(0 8px 18px rgba(91, 33, 182, 0.12));
}

.header .navbar-brand:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(91, 33, 182, 0.18));
}

.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 0 18px rgba(139, 92, 246, 0.18);
}

/* ============================================
   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: radial-gradient(circle at 50% 20%, rgba(244, 201, 93, 0.16) 0%, rgba(244, 201, 93, 0) 38%), rgba(6, 4, 14, 0.28);
    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 10px 24px rgba(8, 6, 18, 0.34);
}

.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 6px 18px rgba(8, 6, 18, 0.24);
}

.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.7s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 12px 28px rgba(24, 16, 45, 0.08);
}

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

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

@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(91, 33, 182, 0.08);
}

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

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

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

.whyus-card {
    background: #fffdfb;
    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: var(--shadow-sm);
}

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

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

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

.about-img-wrap:hover img {
    transform: scale(1.05);
    filter: saturate(1.08) 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.1);
    box-shadow: 0 18px 40px rgba(8, 6, 18, 0.22);
}

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

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

.departments-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-shadow: 0 10px 24px rgba(10, 7, 20, 0.32);
}

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

.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 rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(13, 9, 26, 0.18);
}

.d-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
    text-shadow: 0 4px 12px rgba(212, 169, 63, 0.22);
}

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

/* ============================================
   11. Security Network (SecuritySection)
   ============================================ */
.security-section {
    background: var(--gradient-security);
    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: 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 10px rgba(244, 201, 93, 0.1), 0 0 44px rgba(244, 201, 93, 0.32), 0 18px 40px rgba(16, 11, 31, 0.28);
}

.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);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 36px rgba(13, 9, 26, 0.18);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 22px 44px rgba(13, 9, 26, 0.24);
}

.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: var(--color-bg-soft);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: #fffdfb;
    border-radius: var(--radius-md);
    border-inline-start: 4px solid var(--color-primary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

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

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

.stats-card {
    transition: all var(--transition-base);
    background: var(--color-bg-soft);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #fffdfb 0%, #f6efff 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);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    background: #fffdfb;
}

.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), filter var(--transition-slow);
    filter: saturate(0.98) contrast(1.02);
}

.news-card:hover .news-img-wrap img {
    transform: scale(1.08);
    filter: saturate(1.08) 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: var(--shadow-sm);
    background: #fffdfb;
}

.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 rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(12, 9, 24, 0.18);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 24px 48px rgba(12, 9, 24, 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: var(--shadow-sm);
    background: #fffdfb;
}

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

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

.testimonial-card {
    transition: all var(--transition-base);
    border-block-start: 4px solid transparent;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: #fffdfb;
}

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

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(244, 201, 93, 0.14) 0%, rgba(244, 201, 93, 0) 36%), rgba(6, 4, 14, 0.24);
    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, 251, 240, 0.86) !important;
}

/* ============================================
   21. Footer (FooterSection)
   ============================================ */
.footer {
    font-size: 0.9rem;
    color: #d8cfee;
}

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

.footer a:hover {
    color: var(--color-accent) !important;
    text-shadow: 0 1px 10px rgba(214, 173, 74, 0.28);
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(244, 238, 226, 0.78);
}

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.92;
    color: rgba(230, 222, 245, 0.72);
    text-shadow: 0 1px 8px rgba(102, 76, 145, 0.18);
}

.footer-beian a:hover {
    color: var(--color-accent) !important;
    text-decoration: underline !important;
    text-shadow: 0 2px 12px rgba(214, 173, 74, 0.3);
}

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
    filter: drop-shadow(0 4px 10px rgba(117, 92, 176, 0.22));
    opacity: 0.9;
}

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 8px 18px rgba(214, 173, 74, 0.28));
    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: #7c5cff;
    box-shadow: 0 0 0 0.2rem rgba(124, 92, 255, 0.16), 0 10px 26px rgba(22, 16, 42, 0.18);
    outline-color: rgba(214, 173, 74, 0.45);
}

.btn-primary {
    background-color: #6f52e5;
    border-color: #6f52e5;
    box-shadow: 0 10px 24px rgba(111, 82, 229, 0.28), 0 3px 10px rgba(214, 173, 74, 0.14);
    border-style: solid;
    border-radius: 18px;
    color: #f9f6ff;
    text-shadow: 0 1px 0 rgba(35, 22, 72, 0.35);
    transition: background-color 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1), filter 0.32s ease;
    filter: saturate(1.04);
    accent-color: #d6ad4a;
    caret-color: #d6ad4a;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #5f43d4;
    border-color: #d6ad4a;
    box-shadow: 0 14px 30px rgba(95, 67, 212, 0.32), 0 6px 16px rgba(214, 173, 74, 0.2);
    filter: brightness(1.03);
    outline-color: rgba(214, 173, 74, 0.5);
}

.input-group-text {
    background-color: rgba(244, 239, 255, 0.92);
    border-color: rgba(122, 94, 182, 0.18);
    border-style: solid;
    color: #4a3a72;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 6px 18px rgba(45, 28, 84, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

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