html {
    font-size: 10px;
}
ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.about-author > a {
    text-decoration: none;
}
.about-author > a:hover {
    color: #406fe7;
    border-left: 1px solid #406fe7;
}
.about-author > a:active {
    color: #406fe7;
}

.about-page {
    display: flex;
    justify-content: space-between;
    position: relative;
    background: #F0F4FA;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 左侧导航栏 */
.sidebar {
    position: sticky;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    padding: 4rem 0;
    height: 100vh;
    width: 30rem;
    background: linear-gradient( 180deg, #FFFFFF 0%, #FFFFFF 100%);

}
.sidebar-menu {
    padding: 0 2rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 2rem;
    color: #262626;
}
.sidebar-menu-item {
    padding: 1.5rem 3rem;
    border-radius: 6px;
}
.sidebar-menu-item:hover {
    background: #0C7BEB;
    color: #FFFFFF;
}
.sidebar-menu-item-active {
    background: #0C7BEB;
    color: #FFFFFF;
}
.sidebar-menu-item > a {
    color: inherit;
    display: flex;
    align-items: center;
    gap: 9px;
}

/* 中间区域 */
.about-warp {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 6.4rem;
    flex: 1;
    padding: 2rem 14rem;
    min-width: 0;
}
.member-title {
    font-weight: bold;
    font-size: 3.2rem;
    color: #262626;
    margin-top: 6rem;
}

/* member-logo-list grid 布局，每行3个 */
.member-logo-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* gap: 40px; */
    margin-top: 4rem;
    /* max-width: 280px; */
}
.member-logo-list > img {
    width: 100%;
    max-width: 280px !important;
}

.about-content {
    font-weight: 400;
    font-size: 1.8rem;
    color: #3D3D3D;
    line-height: 2.7rem;
    text-align: left;
    font-style: normal;
    line-height: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.about-content > div {
    margin-bottom: 10px;
    line-height: normal;
}
.about-warp img {
    max-width: 100%;
    height: auto;
}
.about-warp table {
    max-width: 100%;
}
.about-title-h1 {
    font-weight: bold;
    font-size: 3.2rem;
    color: #262626;
    text-align: center;
    margin-bottom: 2rem !important; 
    margin-top: 6rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.about-sub-title {
    font-weight: 400;
    font-size: 1.8rem;
    color: rgba(38,38,38,0.35);
    text-align: center;
    margin-bottom: 1.2rem !important;
}
.about-title-h2 {
    font-weight: bold;
    font-size: 2.8rem;
    color: #262626;
    margin-bottom: 2.8rem;
    margin-top: 2.8rem !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.about-title-h3 {
    font-weight: bold;
    font-size: 2rem;
    color: #262626;
    margin-bottom: 1.2rem !important;
    margin-top: 2.8rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* 右侧内容 */
.about-author {
    position: sticky;
    right: 0;
    height: min-content;
    flex-shrink: 0;
    width: 33.8rem;
    z-index: 10;
    top: 0;
    padding: 4rem 0;
    padding-bottom: 150px;
    min-width: 0;
}
.author-link {
    position: relative;
    cursor: pointer;
    display: block;
    padding: .6rem 2rem;
    z-index: 1;
    border-left: 2px solid rgba(38,38,38,0.05);
    font-size: 1.8rem;
    color: rgba(38,38,38,0.35);
    font-weight: 400;
}
.active-link {
    position: relative;
    cursor: pointer;
    display: block;
    border-left: 2px solid #0C7BEB; 
    font-weight: bold;
    font-size: 1.8rem;
    color: #0C7BEB;
}
.author-link:hover {
    color: #0C7BEB;
    border-left: 2px solid rgba(38,38,38,0.05);
}

#openDrawerBtn {
    display: none;
}

/* 大于1920Px  */
@media (max-width: 10000px) {
    html {
        font-size: 11px;
        /* 增加动画效果 */
        transition: font-size 0.3s;
    }
    .member-logo-list {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 2540px) {
    html {
        font-size: 10px !important;
        /* 增加动画效果 */
        transition: font-size 0.3s;
    }
}


/* 1500分辨率以下 */
@media (max-width: 1800px) {
    html {
        font-size: 9px !important;
        /* 增加动画效果 */
        transition: font-size 0.3s;
    }
}

/* 1500分辨率以下 */
@media (max-width: 1500px) {
    html {
        font-size: 8px !important;
        /* 增加动画效果 */
        transition: font-size 0.3s;
    }
}

/* 1200分辨率以下 */
@media (max-width: 1200px) {
    html {
        font-size: 7px !important;
        /* 增加动画效果 */
        transition: font-size 0.3s;
    }
    /* 导航栏隐藏 */
    .sidebar, .about-author  {
        display: none;
    }
    /* 侧边导航栏显示 */
    #openDrawerBtn {
        display: block;
    }
    .about-warp {
        margin-left: 0;
        padding: 2rem 3rem;
    }
}

/* 700px */
@media (max-width: 700px) {
    html {
        font-size: 6px !important;
        /* 增加动画效果 */
        transition: font-size 0.3s;
    }
    .member-logo-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.6rem;
    }
    
}

/* =========================
   响应式补丁（<1440px 覆盖）
   目标：消除横向滚动、避免内容过挤、长文本/图片不溢出
   不影响 1440px 及以上视觉
   ========================= */

@media (max-width: 1439px) {
    .about-page,
    .about-page *,
    .about-page *::before,
    .about-page *::after {
        box-sizing: border-box;
    }

    .about-warp {
        /* 1366/1280 下缩小左右留白，避免中间内容过窄 */
        padding-left: 6rem;
        padding-right: 6rem;
    }

    /* flex 子项允许收缩，避免被长内容顶出横向滚动 */
    .about-content,
    .about-page-wrap,
    .about-page-consult {
        min-width: 0;
    }

    /* 组织架构页：容器内边距在小屏减少 */
    .about-page-wrap {
        padding: 3.2rem 4rem;
    }
}

@media (max-width: 992px) {
    .about-warp {
        padding-left: 2.4rem;
        padding-right: 2.4rem;
    }

    /* 组织架构页：卡片从 4 列 -> 2 列（更易读，不溢出） */
    .about-page-consult {
        gap: 2.4rem;
    }
    .consult-item-wrap {
        width: 50%;
        max-width: none;
    }

    .about-tabs {
        gap: 12px;
    }
    .about-tab {
        padding: 10px 18px;
    }
}

@media (max-width: 768px) {
    /* 手机/小平板：标题与正文行高更舒适，避免挤在一起 */
    .about-title-h1 {
        text-align: left;
    }
    .about-content {
        line-height: 1.8;
    }

    /* 组织架构页：卡片 1 列 */
    .consult-item-wrap {
        width: 100%;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        padding: 2.4rem 1.6rem;
    }
    .consult-item-content {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .about-warp {
        padding-left: 1.6rem;
        padding-right: 1.6rem;
    }

    .about-page-wrap {
        padding: 2.4rem 2rem;
        border-radius: 12px;
    }
}

/* =========================
   UX 交互增强
   ========================= */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

.about-content [id],
.member-title[id],
.about-title-h1[id],
.about-title-h2[id],
.about-title-h3[id] {
    scroll-margin-top: 100px;
}

/* 阅读进度条 */
.about-read-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9999;
    background: rgba(12, 123, 235, 0.08);
    pointer-events: none;
}
.about-read-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #6B57FE 0%, #0C7BEB 100%);
    transition: width 0.15s ease-out;
    border-radius: 0 2px 2px 0;
}

/* 回到顶部 */
.about-back-top {
    position: fixed;
    right: 3vw;
    bottom: calc(15vh + 72px);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #0C7BEB;
    box-shadow: 0 4px 20px rgba(12, 123, 235, 0.2);
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.about-back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.about-back-top:hover {
    background: #0C7BEB;
    color: #fff;
    box-shadow: 0 6px 28px rgba(12, 123, 235, 0.35);
}

/* 移动端导航 FAB */
.about-fab {
    position: fixed !important;
    float: none !important;
    top: auto !important;
    bottom: 15vh;
    right: 3vw;
    z-index: 100;
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease;
    filter: drop-shadow(0 4px 16px rgba(107, 87, 254, 0.35));
}
.about-fab:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 6px 24px rgba(107, 87, 254, 0.5));
}
.about-fab:active {
    transform: scale(0.96);
}

/* 右侧目录导航 */
.author-link,
.active-link {
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.about-author .active-link {
    background: linear-gradient(90deg, rgba(12, 123, 235, 0.1) 0%, transparent 100%);
}

/* 加载骨架屏 */
.about-page-consult:empty {
    min-height: 100px;
    border-radius: 12px;
    background: linear-gradient(90deg, #f0f4fa 25%, #e8edf5 50%, #f0f4fa 75%);
    background-size: 200% 100%;
    animation: about-shimmer 1.5s ease-in-out infinite;
}
@keyframes about-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 组织架构成员卡片 */
.consult-item-wrap {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    padding: 1.2rem 0.8rem;
}
.consult-item-wrap:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(12, 123, 235, 0.1);
}
.consult-item-content-avater {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.consult-item-wrap:hover .consult-item-content-avater {
    box-shadow: 0 8px 24px rgba(12, 123, 235, 0.2);
    transform: scale(1.03);
}

/* Tab 切换 */
.about-tab {
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.about-tab:active {
    transform: scale(0.97);
}
.about-tab.active {
    box-shadow: 0 4px 16px rgba(12, 123, 235, 0.25);
}

/* 动态内容入场 */
.ux-fade-in {
    animation: about-fade-in 0.45s ease forwards;
}
@keyframes about-fade-in {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 锚点跳转高亮 */
.ux-section-highlight {
    animation: about-section-flash 1.2s ease;
    border-radius: 8px;
}
@keyframes about-section-flash {
    0%, 100% { background-color: transparent; }
    25% { background-color: rgba(12, 123, 235, 0.07); }
}

/* 侧边栏菜单 */
.sidebar-menu-item {
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.sidebar-menu-item:hover {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    .about-page-consult:empty {
        animation: none;
    }
    .ux-fade-in,
    .ux-section-highlight {
        animation: none;
    }
    .about-back-top,
    .about-fab,
    .consult-item-wrap,
    .sidebar-menu-item {
        transition: none;
    }
}
