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

/* ============================================
   1. CSS Variables
   ============================================ */
:root {
    /* 品牌色 */
    --color-primary: #b23a28;
    --color-primary-dark: #7c291d;
    --color-primary-darker: #211612;
    --color-accent: #d86a3a;
    --color-accent-dark: #b34726;
    --color-success: #6c7c52;
    --color-danger: #ab362a;

    /* 中性色 */
    --color-text: #2a251f;
    --color-text-muted: #766d5d;
    --color-text-light: #a69c89;
    --color-bg: #faf6ee;
    --color-bg-soft: #f3ecdd;
    --color-bg-muted: #eae1cd;
    --color-border: #d8ccb4;
    --color-border-soft: #e6dec9;

    /* 渐变 (Section 背景) */
    --gradient-hero: radial-gradient(58rem 30rem at 85% -10%, rgba(232, 167, 100, 0.22), transparent 62%), linear-gradient(128deg, #1e1612 0%, #5f2c1f 45%, #993523 100%);
    --gradient-deep: radial-gradient(44rem 24rem at 10% 0%, rgba(215, 138, 76, 0.14), transparent 55%), linear-gradient(135deg, #1a1411 0%, #3c2119 55%, #6b2b1c 100%);
    --gradient-dept: radial-gradient(40rem 22rem at 90% 10%, rgba(233, 183, 107, 0.12), transparent 58%), linear-gradient(125deg, #1b1812 0%, #383124 60%, #59513c 100%);
    --gradient-security: radial-gradient(34rem 26rem at 50% 115%, rgba(210, 132, 70, 0.18), transparent 60%), linear-gradient(140deg, #15110e, #2b1d18);
    --gradient-mission: radial-gradient(30rem 22rem at -8% -8%, rgba(221, 167, 90, 0.18), transparent 60%), linear-gradient(120deg, #4b2519, #241712 70%);
    --gradient-trust: radial-gradient(42rem 26rem at 50% -10%, rgba(214, 133, 71, 0.16), transparent 55%), linear-gradient(140deg, #1b1612 0%, #48271b 100%);
    --gradient-cta: radial-gradient(46rem 24rem at 85% -20%, rgba(235, 179, 105, 0.3), transparent 55%), linear-gradient(115deg, #4a2017 0%, #8d3624 55%, #b64a28 100%);
    --gradient-accent: linear-gradient(145deg, #e5a054, #bd4127 70%, #9a2d20);
    --gradient-icon: linear-gradient(145deg, #bf4a27, #e0986c);

    /* 玻璃效果 */
    --glass-bg: linear-gradient(135deg, rgba(253, 247, 235, 0.12), rgba(253, 247, 235, 0.03));
    --glass-border: rgba(253, 247, 235, 0.18);
    --glass-blur: blur(16px) saturate(140%);

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(41, 28, 22, 0.08), 0 6px 18px -6px rgba(41, 28, 22, 0.12);
    --shadow-md: 0 4px 12px -4px rgba(41, 28, 22, 0.12), 0 16px 36px -12px rgba(41, 28, 22, 0.24);
    --shadow-lg: 0 8px 24px -6px rgba(41, 28, 22, 0.16), 0 28px 56px -16px rgba(41, 28, 22, 0.3);
    --shadow-xl: 0 16px 40px -12px rgba(41, 28, 22, 0.25), 0 44px 80px -24px rgba(41, 28, 22, 0.38);
    --shadow-primary: 0 14px 30px -10px rgba(178, 58, 40, 0.3), 0 4px 10px rgba(41, 28, 22, 0.08);
    --shadow-accent: 0 12px 32px -8px rgba(216, 106, 58, 0.45), 0 4px 14px rgba(178, 58, 40, 0.18);

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

    /* 间距 */
    --space-xs: 0.6rem;
    --space-sm: 1rem;
    --space-md: 1.75rem;
    --space-lg: 2.25rem;
    --space-xl: 3.5rem;
    --space-2xl: 5.5rem;

    /* 过渡 */
    --transition-fast: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-base: 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-slow: 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================
   2. Base
   ============================================ */
:where(body) {
    color: var(--color-text);
    background:
        radial-gradient(48rem 24rem at 100% 0%, rgba(178, 58, 40, 0.05), transparent 60%),
        linear-gradient(180deg, #fbf7ef 0%, #f4ede0 100%);
    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);
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-icon);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff7ea;
    font-size: 1.5rem;
    box-shadow: 0 14px 28px -10px rgba(159, 48, 32, 0.55), inset 0 2px 4px rgba(255, 247, 234, 0.25);
    flex-shrink: 0;
}

/* ============================================
   4. Header (HeaderSection)
   ============================================ */
.header {
    background: linear-gradient(180deg, rgba(253, 250, 244, 0.96), rgba(246, 238, 226, 0.92));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    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: #fbf3e7;
    padding-block: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(125deg, rgba(13, 8, 5, 0.6), transparent 46%),
        radial-gradient(28rem 16rem at 18% 0%, rgba(255, 244, 228, 0.1), transparent 60%);
    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.9;
    margin-bottom: var(--space-md);

    font-weight: 500;
}

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

.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.16, 1, 0.3, 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: linear-gradient(180deg, #f5eee0 0%, #e7dcc7 100%);
}

.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: linear-gradient(180deg, #f5efe3 0%, #ece2cf 100%);
}

.whyus-card {
    background: linear-gradient(145deg, #fffdf8 0%, #f6efe1 100%);
    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(-6px);
    box-shadow: var(--shadow-primary);
    border-color: rgba(178, 58, 40, 0.25);
}

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

.about-img-wrap {
    overflow: hidden;
    border-radius: var(--radius-lg);
    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: rgba(255, 246, 235, 0.14);
}

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

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

.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, 246, 235, 0.82);
}

.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);
    border: 1px solid rgba(253, 247, 235, 0.08);
    margin-bottom: var(--space-sm);
}

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

.d-num span {
    color: #fdf5e8;
    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 10px 24px -12px rgba(10, 6, 4, 0.6);
}

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

.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 6px rgba(253, 247, 235, 0.08),
        0 0 42px rgba(185, 89, 41, 0.55),
        0 18px 36px -16px rgba(10, 6, 4, 0.6);
}

.node {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-md);
    border: 1px solid rgba(253, 247, 235, 0.06);
    padding: var(--space-sm);
    text-align: center;
    color: #f9eee0;
    transition: all var(--transition-base);
}

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

.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(160deg, #f6efe2 0%, #e9dfca 100%);
}

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

.honor-text-card {
    padding: var(--space-md);
    background: linear-gradient(135deg, #fffdf7 0%, #f3ead9 100%);
    border-radius: var(--radius-md);
    border-inline-start: 4px solid var(--color-primary);
    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: #fdf2e5;
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: #e5d7c6;
}

/* ============================================
   14. Stats (StatsSection)
   ============================================ */
.stats-section {
    background: linear-gradient(180deg, #fffdf7 0%, #f4ecdf 100%);
}

.stats-card {
    transition: all var(--transition-base);
    background: linear-gradient(145deg, #faf5eb 0%, #efe5d2 100%);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(145deg, #fffdf8 0%, #f3e3cf 55%, #eacdb4 100%);
}

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

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

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

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(178, 58, 40, 0.18);
}

.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, #f7f1e6 0%, #efe6d4 100%);
}

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

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

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

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 246, 235, 0.14);
}

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

.partner-card {
    transition: all var(--transition-base);
    opacity: 0.88;
    filter: grayscale(0.35);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    opacity: 1;
    filter: grayscale(0);
}

/* ============================================
   19. Testimonials (TestimonialsSection)
   ============================================ */
.testimonials-section {
    background: linear-gradient(145deg, #fbf7ef 0%, #f1e8d7 100%);
}

.testimonial-card {
    transition: all var(--transition-base);
    background: linear-gradient(145deg, #fffdf8 0%, #f3e9d8 100%);
    border-block-start: 4px solid transparent;
}

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

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(115deg, rgba(20, 10, 6, 0.5), transparent 50%),
        radial-gradient(24rem 14rem at 90% 20%, rgba(255, 244, 226, 0.08), transparent 60%);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    background: linear-gradient(135deg, #dc9848, #c55a2e);
    border: 1px solid rgba(120, 45, 20, 0.45);
    color: #211510;
    box-shadow: var(--shadow-accent), inset 0 1px 0 rgba(255, 246, 235, 0.35);
}

.text-white-75 {
    color: rgba(255, 246, 235, 0.82) !important;
}

/* ============================================
   21. Footer (FooterSection)
   ============================================ */
.footer {
    font-size: 0.9rem;
    color: #d6c8b4;
    background: linear-gradient(180deg, #241b15 0%, #191310 100%);
}

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

.footer a:hover {
    color: #c44536 !important;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #6b705c;
}

.footer-beian {
    font-size: 0.8rem;
    line-height: 1.8;
    opacity: 0.8;
    color: #3a3833;
}

.footer-beian a:hover {
    color: #c44536 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(196, 69, 54, 0.65) !important;
}

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

.footer-beian a:hover img {
    transform: scale(1.2);
    filter: drop-shadow(0 4px 8px rgba(196, 69, 54, 0.25));
}

.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: #c44536;
    box-shadow: 0 0 0 0.2rem rgba(196, 69, 54, 0.16), 0 16px 32px -20px rgba(26, 26, 26, 0.18);
    background-color: #fffaf3;
}

.btn-primary {
    background-color: #c44536;
    border-color: #c44536;
    color: #fdfaf4;
    background-image:
        radial-gradient(circle at 18% -20%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 50%),
        linear-gradient(135deg, rgba(255, 255, 255, 0) 35%, rgba(0, 0, 0, 0.14) 100%);
    box-shadow: 0 0.75rem 1.5rem -0.75rem rgba(196, 69, 54, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transition:
        color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #a43325;
    border-color: #8f2b20;
    box-shadow: 0 1rem 2rem -0.875rem rgba(196, 69, 54, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.input-group-text {
    background-color: #e9dfcf;
    border-color: #d4c4ae;
    color: #51463a;
    background-image: linear-gradient(180deg, #f7f0e6, #e6dbc9);
}

@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.75rem;
}

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

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

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

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
    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: 2.25rem;
    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.75rem;
}

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

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

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

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

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

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

.honor-list {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
}

.honor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.25rem;
    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%;
    }
}