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;
    align-items: flex-start;
    position: relative;
    background: #F0F4FA;
    min-height: 100vh;
    /* clip 不会变成滚动容器，sticky 才能相对窗口吸顶 */
    overflow-x: clip;
    overflow-y: visible;
}

/* 左右导航同一高度，随页面滚动吸顶 */
.sidebar,
.about-author {
    position: sticky;
    top: 1.6rem;
    align-self: flex-start;
    flex-shrink: 0;
    height: calc(100vh - 7.2rem);
    max-height: calc(100vh - 7.2rem);
    overflow-x: hidden;
    overflow-y: auto;
    background: #FFFFFF;
    z-index: 20;
    scrollbar-width: thin;
    scrollbar-color: rgba(12, 123, 235, 0.35) transparent;
}
.sidebar::-webkit-scrollbar,
.about-author::-webkit-scrollbar {
    width: 6px;
}
.sidebar::-webkit-scrollbar-thumb,
.about-author::-webkit-scrollbar-thumb {
    background: rgba(12, 123, 235, 0.28);
    border-radius: 99px;
}

/* 左侧导航栏 */
.sidebar {
    padding: 3.2rem 0;
    width: 30rem;
}
.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 {
    width: 33.8rem;
    margin-right: 11rem;
    padding: 3.2rem 2rem 8rem 2.4rem;
    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%;
    }
}

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

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