/* 主导航整体 */
.site-nav {
    position: relative;
    z-index: 999;
    width: 100%;
    height: 70px;
    margin: 0;
    padding: 0;
    background: transparent;}

/* 一级栏目横向排列 */
.site-nav-list {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 70px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;}

/* 一级栏目单项 */
.site-nav-item {
    position: relative;
    display: block;
    height: 70px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;}

/* 一级栏目链接 */
.site-nav-link {
    display: block;
    height: 70px;
    padding: 0 15px;
    box-sizing: border-box;
    color: #23358f;
    font-size: 15px;
    line-height: 70px;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease,
                background-color 0.2s ease,
                border-color 0.2s ease;}

/* 当前栏目和鼠标经过 */
.site-nav-link:hover,
.site-nav-item.is-active > .site-nav-link {
    color: #3155e7;
    background: #f4f7ff;
    border-bottom-color: #3155e7;}

/* 二级菜单默认隐藏 */
.site-submenu {
    position: absolute;
    top: 70px;
    left: 50%;
    z-index: 1000;
    display: none;
    min-width: 170px;
    margin: 0 !important;
    padding: 8px 0 !important;
    list-style: none !important;
    background: #ffffff;
    border: 1px solid #e5eaf3;
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(26, 42, 110, 0.14);
    transform: translateX(-50%);}

/* 鼠标经过一级栏目时显示二级菜单 */
.site-nav-item:hover > .site-submenu {
    display: block;}

/* 二级栏目单项 */
.site-submenu-item {
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;}

/* 二级栏目链接 */
.site-submenu-link {
    display: block;
    padding: 10px 18px;
    color: #344054;
    font-size: 14px;
    line-height: 22px;
    text-align: left;
    text-decoration: none !important;
    white-space: nowrap;}

/* 二级栏目悬停和当前栏目 */
.site-submenu-link:hover,
.site-submenu-link.is-active {
    color: #3155e7;
    background: #f3f6fc;}

/* 避免旧模板样式干扰 */
.site-nav ul,
.site-nav li {
    float: none !important;}

.site-nav::after,
.site-nav-list::after {
    display: none !important;
    content: none !important;}

/* 较窄屏幕适配 */
@media screen and (max-width: 1200px) {
    .site-nav-link {
        padding: 0 10px;
        font-size: 14px;}
}
.member-detail {
    width: 100%;
    max-width: 980px;
    margin: 36px auto 60px;
    padding: 0 32px;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;}


/* 成员照片居中 */
.member-detail-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 20px;}

.member-detail-photo img {
    display: block;
    width: 220px;
    height: 290px;
    margin: 0 auto;
    object-fit: cover;
    object-position: center top;
    background: #f3f5f8;
    border: 1px solid #e3e8f0;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(31, 50, 85, 0.08);}

.member-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 290px;
    color: #9aa3b2;
    font-size: 15px;
    background: #f4f6f9;
    border: 1px solid #e3e8f0;
    border-radius: 8px;}


/* 成员姓名 */
.member-detail-name {
    margin: 0 0 8px;
    color: #17388f;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;}


/* 职称、导师类别 */
.member-detail-position {
    margin: 0 0 28px;
    color: #5b6472;
    font-size: 16px;
    line-height: 1.8;
    text-align: center;}


/* 正文 */
.member-detail-content {
    width: 100%;
    margin: 0 auto;
    color: #4b5563;
    font-family: "Microsoft YaHei", "PingFang SC", "SimSun", sans-serif;
    font-size: 16px;
    line-height: 2;
    text-align: justify;
    word-break: break-word;}

.member-detail-content p {
    margin-top: 0;
    margin-bottom: 14px;}

.member-detail-content img {
    max-width: 100% !important;
    height: auto !important;}

.member-detail-content a {
    color: #3155e7;
    text-decoration: none;}

.member-detail-content a:hover {
    text-decoration: underline;}


/* 附件 */
.member-detail-attachments {
    width: 100%;
    max-width: 916px;
    margin: 24px auto;
    padding: 16px 20px;
    box-sizing: border-box;
    color: #4b5563;
    font-size: 14px;
    background: #f7f9fc;
    border-radius: 6px;}


/* 正文分页 */
.member-detail-page {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 28px auto;}

.member-detail-page a,
.member-detail-page span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    box-sizing: border-box;
    color: #64748b;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #e1e6ee;
    border-radius: 4px;}

.member-detail-page a:hover,
.member-detail-page .current {
    color: #ffffff;
    background: #3155e7;
    border-color: #3155e7;}


@media screen and (max-width: 768px) {

    .member-detail {
        margin-top: 24px;
        padding: 0 18px;}

    .member-detail-photo img,
    .member-photo-empty {
        width: 180px;
        height: 238px;}

    .member-detail-name {
        font-size: 24px;}

    .member-detail-position {
        margin-bottom: 22px;
        font-size: 15px;}

    .member-detail-content {
        font-size: 15px;
        line-height: 1.9;}
}
