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

/* ============================================
   1. CSS Variables
   ============================================ */
:root {
    /* 品牌色 */
    --color-primary: #c47b5a;
    --color-primary-dark: #9a583b;
    --color-primary-darker: #5a3826;
    --color-accent: #e6b89c;
    --color-accent-dark: #d49a73;
    --color-success: #789968;
    --color-danger: #b95850;

    /* 中性色 */
    --color-text: #3a3a38;
    --color-text-muted: #6f6f6a;
    --color-text-light: #a3a39d;
    --color-bg: #faf8f3;
    --color-bg-soft: #f5f1ea;
    --color-bg-muted: #efeae1;
    --color-border: #e2ddd4;
    --color-border-soft: #f0ece4;

    /* 渐变 (Section 背景) */
    --gradient-hero: linear-gradient(145deg, #5a3826 0%, #9a583b 45%, #c47b5a 100%);
    --gradient-deep: linear-gradient(145deg, #3a3a38 0%, #5a3826 50%, #9a583b 100%);
    --gradient-dept: linear-gradient(145deg, #6b5344 0%, #a16b52 100%);
    --gradient-security: linear-gradient(145deg, #2d2d2d, #4a372e);
    --gradient-mission: linear-gradient(145deg, #7a5a48, #b37a5f);
    --gradient-trust: linear-gradient(145deg, #3a3a38, #7a5a48);
    --gradient-cta: linear-gradient(145deg, #9a583b 0%, #c47b5a 100%);
    --gradient-accent: linear-gradient(145deg, #e6b89c, #d49a73);
    --gradient-icon: linear-gradient(145deg, #c47b5a, #9a583b);

    /* 玻璃效果 */
    --glass-bg: rgba(250, 248, 243, 0.12);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(14px);

    /* 阴影 */
    --shadow-sm: 0 3px 10px rgba(45, 45, 45, 0.06);
    --shadow-md: 0 7px 22px rgba(45, 45, 45, 0.1);
    --shadow-lg: 0 14px 36px rgba(45, 45, 45, 0.13);
    --shadow-xl: 0 18px 45px rgba(45, 45, 45, 0.16);
    --shadow-primary: 0 14px 32px rgba(196, 123, 90, 0.22);
    --shadow-accent: 0 12px 28px rgba(230, 184, 156, 0.3);

    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-pill: 36px;

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

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

/* ============================================
   2. Base
   ============================================ */
:where(body) {
    color: var(--color-text);
    background: linear-gradient(180deg, #faf8f3 0%, #f7f4ed 100%);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    caret-color: var(--color-primary);
    accent-color: var(--color-primary);
}

: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: #fff;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-primary);
}

/* ============================================
   4. Header (HeaderSection)
   ============================================ */
.header {
    background: linear-gradient(180deg, #faf8f3 0%, #f5f1ea 100%);
    z-index: 1030;
    box-shadow: var(--shadow-sm);
}

.header .navbar-brand img {
    transition: transform var(--transition-slow);
    filter: drop-shadow(0 2px 4px rgba(196, 123, 90, 0.1));
}

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

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

.header .nav-link:hover {
    color: var(--color-primary);
    text-shadow: 0 1px 3px rgba(196, 123, 90, 0.2);
}

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

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(45, 45, 45, 0.22);
    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 12px rgba(45, 45, 45, 0.25);
}

.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 2px 6px rgba(45, 45, 45, 0.15);
}

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

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

/* ============================================
   6. Notice Bar (NoticeBarSection)
   ============================================ */
.notice-bar {
    animation: noticeSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(90deg, #efeae1 0%, #f5f1ea 50%, #efeae1 100%);
}

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

.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, var(--color-bg-muted) 0%, #faf8f3 100%);
}

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

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

/* ============================================
   8. Why Us (WhyUsSection)
   ============================================ */
.why-us-section {
    background: linear-gradient(180deg, #f5f1ea 0%, #efeae1 100%);
}

.whyus-card {
    background: linear-gradient(180deg, #ffffff 0%, #faf8f3 100%);
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, #e2ddd4, #d6ccbf) 1 stretch;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: all var(--transition-slow);
    height: 100%;
}

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

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

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

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

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

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

.about-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
}

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

/* ============================================
   10. Departments (DepartmentsSection)
   ============================================ */
.departments-section {
    background: linear-gradient(180deg, #c47b5a 0%, #a86245 48%, #8b4f36 100%);
    color: #faf8f3;
}

.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(250, 248, 243, 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: rgba(250, 248, 243, 0.18);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    padding: var(--space-md);
    border-radius: 18px;
    margin-bottom: var(--space-sm);
}

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

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

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

.d-image img {
    width: 100%;
    border-radius: 16px;
}

/* ============================================
   11. Security Network (SecuritySection)
   ============================================ */
.security-section {
    background: linear-gradient(180deg, #2d2d2d 0%, #3d3732 100%);
    color: #faf8f3;
}

.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, #c47b5a 0%, #e09674 50%, #f0b799 100%);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-inline: auto;
    color: #2d2d2d;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(196, 123, 90, 0.3), 0 0 45px rgba(196, 123, 90, 0.15), inset 0 2px 4px rgba(255,255,255,0.3);
}

.node {
    background: rgba(250, 248, 243, 0.12);
    backdrop-filter: blur(10px) saturate(110%);
    -webkit-backdrop-filter: blur(10px) saturate(110%);
    border-radius: 16px;
    padding: var(--space-sm);
    text-align: center;
    color: #faf8f3;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.node:hover {
    transform: scale(1.05);
    background: rgba(250, 248, 243, 0.22);
}

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

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

/* ============================================
   12. Honor (HonorSection)
   ============================================ */
.honor-section {
    background: #faf8f3;
}

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

.honor-text-card {
    padding: var(--space-md);
    background: linear-gradient(145deg, #ffffff 0%, #fdfaf5 100%);
    border-radius: 14px;
    border-inline-start: 4px solid #c47b5a;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.honor-text-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(45,45,45,0.06), 0 8px 24px rgba(196,123,90,0.08);
}

/* ============================================
   13. Mission (MissionSection)
   ============================================ */
.mission-section {
    background: linear-gradient(180deg, #2d2d2d 0%, #423a34 100%);
    padding-block: var(--space-2xl);
    color: #faf8f3;
}

.mission-list li {
    margin-bottom: var(--space-sm);
    color: rgba(250, 248, 243, 0.85);
}

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

.stats-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255,255,255,0.7);
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(45,45,45,0.07), 0 12px 32px rgba(196,123,90,0.1);
    background: linear-gradient(135deg, #ffffff 0%, #faf0e9 100%);
}

.stats-card h3 {
    font-variant-numeric: tabular-nums;
    color: #2d2d2d;
}

/* ============================================
   15. News (NewsSection)
   ============================================ */
.news-section {
    background: #faf8f3;
}

.news-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(196, 123, 90, 0.15);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(45,45,45,0.08), 0 16px 40px rgba(196,123,90,0.12);
}

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

.news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ============================================
   16. Matches (MatchesSection)
   ============================================ */
.matches-section {
    background: #faf8f3;
}

.match-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(196, 123, 90, 0.15);
}

.match-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(45,45,45,0.06), 0 8px 26px rgba(196,123,90,0.09);
    border-color: #c47b5a;
}

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

/* ============================================
   17. Trust (TrustSection)
   ============================================ */
.trust-section {
    background: linear-gradient(180deg, #8b4f36 0%, #6d3c28 100%);
    color: #faf8f3;
}

.trust-card {
    background: rgba(250, 248, 243, 0.15);
    backdrop-filter: blur(12px) saturate(130%);
    -webkit-backdrop-filter: blur(12px) saturate(130%);
    border-radius: 18px;
    padding: var(--space-lg) var(--space-sm);
    height: 100%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.trust-card:hover {
    transform: translateY(-3px);
    background: rgba(250, 248, 243, 0.25);
}

/* ============================================
   18. Partners (PartnersSection)
   ============================================ */
.partners-section {
    background: #faf8f3;
}

.partner-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(45,45,45,0.07), 0 12px 30px rgba(196,123,90,0.11);
}

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

.testimonial-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-block-start: 4px solid transparent;
    border-radius: 18px;
    background: linear-gradient(180deg, #faf8f3 0%, #f5f1ea 100%);
}

.testimonial-card:hover {
    border-block-start-color: #c47b5a;
    transform: translateY(-5px);
    box-shadow: 0 14px 32px -8px rgba(196, 123, 90, 0.2), 0 6px 16px -4px rgba(45, 45, 45, 0.1);
}

/* ============================================
   20. CTA Banner (CtaBannerSection)
   ============================================ */
.cta-banner-section {
    background: linear-gradient(135deg, #c47b5a 0%, #d89773 30%, #b86f4d 65%, #a35a38 100%);
    color: #faf8f3;
    position: relative;
    overflow: hidden;
}

.cta-banner-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(250, 248, 243, 0.12) 0%, rgba(45, 45, 45, 0.18) 100%);
    z-index: 0;
}

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

.cta-banner-section .btn-warning {
    box-shadow: 0 8px 24px rgba(250, 248, 243, 0.3), 0 3px 10px rgba(163, 90, 56, 0.4);
}

.text-white-75 {
    color: rgba(250, 248, 243, 0.9) !important;
}

/* ============================================
   21. Footer (FooterSection)
   ============================================ */
.footer {
    font-size: 0.9rem;
    color: #7a7268;
    background: linear-gradient(180deg, #f5f1ea 0%, #ebe5db 100%);
}

.footer a {
    transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.footer-copyright {
    font-size: 0.85rem;
    color: #615a51;
}

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

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

.footer-beian img {
    margin-inline-end: 4px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    filter: sepia(0.25) saturate(0.9);
}

.footer-beian a:hover img {
    transform: scale(1.2);
}

.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: #c47b5a;
    box-shadow: 0 0 0 0.22rem rgba(196, 123, 90, 0.22);
    background-color: #faf8f3;
}

.btn-primary {
    background: linear-gradient(135deg, #c47b5a 0%, #d4906c 100%);
    border-color: #c47b5a;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #a85f3d 0%, #c47b5a 100%);
    border-color: #a85f3d;
    box-shadow: 0 6px 18px rgba(196, 123, 90, 0.35);
}

.input-group-text {
    background: linear-gradient(120deg, #f0ebe2 0%, #faf8f3 100%);
    border-color: #e2d9cc;
}

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

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

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

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

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

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

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

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

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

/* Hero 分割布局 (左文右图) */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    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.5rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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