/* ============================================================
   来源：views/about.html 内联 <style> 第 1 块（原位抽离，174 行）
   说明：在原位置以 <link rel="stylesheet"> 引入，来源顺序不变，
        层叠结果与抽离前逐字一致，不会引起样式变化。
   ============================================================ */
/* ===== 关于我们页面专用样式 ===== */
/* Hero：与 dict/首页一致的「嵌入感」浅色主视觉——
   青阳阁主图 ge-hero-home 整幅铺底（cover），上覆一层宣纸暖色洗白（左密右疏），
   楼阁在右侧柔和透出、不裁切、无硬边；左侧深字清晰可读，吉祥物与文案自然融合，
   不再像之前那样把图片裁成一块贴在右侧。 */
.about-hero {
    color: #3a2a1a;                 /* 浅底深字（与 dict 一致，不用白字） */
    background: transparent;        /* 透出 ::before 主图 */
}
.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(100deg,
            rgba(255, 247, 239, 0.55) 0%,
            rgba(255, 244, 233, 0.35) 38%,
            rgba(255, 239, 227, 0.22) 68%,
            rgba(255, 235, 222, 0.16) 100%),
        url(/brand/ge-hero-home.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;   /* 楼阁在右，柔和透出、无硬边 */
}
.about-hero::after { display: none; }    /* 去掉深色遮罩（白字不可见问题一并消除） */

.about-hero .xb-ch-icon {                    /* 吉祥物：等比缩放，随 200px 自适应 */
    height: clamp(96px, 84%, 172px);
    width: auto;
    padding: 0;
    background: none;
    border-radius: 0;
    filter: drop-shadow(0 8px 20px rgba(40, 16, 8, 0.42));
}
.about-hero .xb-ch-txt h2 {
    color: #5a1e16;                /* 深朱红标题，浅底清晰 */
    text-shadow: none;
}
.about-hero .xb-ch-txt p.sub {
    font-size: 14px;
    line-height: 1.7;
    color: #6b5742;                /* 深褐正文，浅底清晰 */
    max-width: none;                         /* 与频道页一致：单行不换行 */
}
.about-hero .slogan {
    margin-top: 10px;
    font-size: 0.92rem;
    color: #9a6b1e;                /* 沉金（浅底可读，原亮金在浅底发灰） */
    font-weight: 600;
    letter-spacing: 2px;
}
@media (max-width: 760px) {
    .about-hero { height: auto; min-height: 150px; }
    .about-hero .xb-ch-icon { height: 92px; }
}

.about-layout {
    display: flex;
    gap: 24px;
    margin: 32px 0 48px;
    align-items: flex-start;
}
.about-main {
    flex: 1;
    min-width: 0;
}
.about-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* ===== 左侧：关于我们「折叠面板」（2026-10-06）
   原来 10 个章节纵向平铺成 10 张卡片（左栏高达 ~2500px），现改为手风琴：
   默认全部收起，只留标题行 ⇒ 左栏高度收敛到一屏内，也避免长页面下的错位/高度不同步。
   结构：.about-acc > details.acc-item > (summary.acc-head + div.acc-body) */
.about-acc {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;               /* 首尾项圆角裁切，避免直角露出 */
}
.about-acc .acc-item { border-bottom: 1px solid var(--border-color); }
.about-acc .acc-item:last-child { border-bottom: none; }

/* 标题行（<summary>）—— 去原生三角、整行可点 */
.about-acc .acc-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    cursor: pointer;
    list-style: none;                              /* Firefox / 新版 Safari 去三角 */
    user-select: none;
    transition: background .15s;
}
.about-acc .acc-head::-webkit-details-marker { display: none; }   /* Chrome / 旧 Safari 去三角 */
.about-acc .acc-head:hover,
.about-acc .acc-item[open] > .acc-head { background: var(--sun-red-light, #fdf3f0); }
.about-acc .acc-head:focus-visible { outline: 2px solid var(--sun-red, #b23a2e); outline-offset: -2px; }

.about-acc .acc-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: var(--sun-red-light, #fdf3f0);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.about-acc .acc-title {
    flex: 1;
    min-width: 0;                                  /* ★不设会顶宽容器、省略号失效 */
    margin: 0;                                     /* <h2> 上桌：清掉默认外边距 */
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.5;
}
/* 右侧箭头：纯 CSS 画的小三角，open 时翻转 */
.about-acc .acc-arrow {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    border-right: 2px solid var(--text-muted, #9a928a);
    border-bottom: 2px solid var(--text-muted, #9a928a);
    transform: rotate(45deg);
    transition: transform .2s;
}
.about-acc .acc-item[open] > .acc-head .acc-arrow { transform: rotate(-135deg); margin-top: 4px; }

/* 正文区：左内边距对齐标题文字（20 + 30 + 12 = 62px） */
.about-acc .acc-body {
    padding: 2px 22px 20px 62px;
    color: #4b4a46;
    line-height: 1.9;
    font-size: 0.98rem;
    word-break: break-word;
}
.about-acc .acc-body h1,
.about-acc .acc-body h2,
.about-acc .acc-body h3,
.about-acc .acc-body h4 {
    margin: 0.8em 0 0.4em;
    color: var(--text-primary);
}
.about-acc .acc-body p { margin: 0.6em 0; }
.about-acc .acc-body img { max-width: 100%; height: auto; border-radius: 8px; }
.about-acc .acc-body ul, .about-acc .acc-body ol { padding-left: 1.4em; margin: 0.6em 0; }
.about-acc .acc-body table { max-width: 100%; }

/* 面板顶部：提示 + 「展开全部 / 收起全部」 */
.acc-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0 4px;
}
.acc-bar-title {
    font-size: 0.9rem;
    color: var(--text-muted, #9a928a);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.acc-toggle {
    flex: 0 0 auto;
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--sun-red, #b23a2e);
    font-size: 0.82rem;
    line-height: 1.4;
    padding: 5px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: .15s;
}
.acc-toggle:hover {
    background: var(--sun-red, #b23a2e);
    border-color: var(--sun-red, #b23a2e);
    color: #fff;
}

@media (max-width: 640px) {
    .about-acc .acc-head { padding: 13px 14px; gap: 10px; }
    .about-acc .acc-body { padding: 2px 14px 16px 14px; }   /* 窄屏不再缩进，避免正文过窄 */
    .acc-bar-title { font-size: 0.82rem; }
}

/* 数据统计 */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.about-stat {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 22px 12px;
    text-align: center;
}
.about-stat .num {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--sun-red);
}
.about-stat .label {
    margin-top: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed var(--border-color);
}
.about-placeholder .icon {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}

/* 合规与帮助链接（备案要求：免责声明/隐私政策/联系客服） */
.sidebar-card .legal-list { list-style: none; margin: 0; padding: 0; }
.sidebar-card .legal-list li { border-bottom: 1px dashed var(--border-color); }
.sidebar-card .legal-list li:last-child { border-bottom: none; }

/* 「支付帮助」这类带说明的条目：链接 + 一行灰字说明，
   避免只给一个链接、用户不知道点进去看什么。
   ★说明里不再附「页面地址 /help/pay.html」—— 对用户没有意义，
     收银台弹窗里已有自己的「支付遇到问题」入口。 */
.sidebar-card .legal-list .legal-desc {
    display: block;
    margin: 2px 0 8px;
    font-size: .76rem;
    line-height: 1.6;
    color: var(--text-muted, #9a928a);
}
.sidebar-card .legal-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 2px;
    color: var(--text-primary);
    font-size: 0.92rem;
    text-decoration: none;
    transition: .15s;
}
.sidebar-card .legal-list a:hover { color: var(--sun-red); padding-left: 6px; }
.sidebar-card .legal-list a::before { content: '›'; color: var(--sun-red); font-weight: 700; }

@media (max-width: 900px) {
    .about-layout { flex-direction: column; }
    .about-sidebar { width: 100%; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 顶部右侧：个人微信二维码 + 官方邮箱（片段 fragments/contact-qr.html） ===== */
.about-hero .cqr {
    margin-left: auto;      /* 推到 hero 内容区最右（顶部右侧） */
    flex: none;
}
.about-hero .cqr-img { width: 88px; height: 88px; }
@media (max-width: 760px) {
    .about-hero .xb-ch { flex-wrap: wrap; row-gap: 10px; }   /* 窄屏：二维码换行到下方 */
    .about-hero .cqr { margin-left: 0; }
}

