
.nav-bar {
    width: 100%; /* 导航栏宽度设置为100% */
    height: 30px;
    position: fixed; /* 固定位置 */
    
    top: 0; /* 距离顶部0，意味着它会固定在顶部 */
    left: 0; /* 距离左侧0，确保导航栏横跨整个页面 */
    z-index: 1000; /* 设置一个高的z-index值确保导航栏在其他内容上面 */
    background-color: #333; /* 您可以设置您喜欢的背景颜色 */
    color: white; /* 文本颜色 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* 可选：添加一些阴影效果 */
    /* 其他您想要的样式 */
}


#googlescholar {
    vertical-align: middle;
}

.nav-bar ul {
    list-style-type: none; /* 移除列表前的点 */
    margin: 0; /* 移除默认的外边距 */
    padding: 0; /* 移除默认的内边距 */
    display: flex; /* 使用flexbox布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

.nav-bar ol {
    list-style-type: none; /* 移除列表前的点 */
    margin: 0; /* 移除默认的外边距 */
    padding: 0; /* 移除默认的内边距 */
    display: flex; /* 使用flexbox布局 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

.nav-bar li {
    display: inline; /* 将列表项设置为行内元素 */
    margin-right: 20px; /* 在列表项之间添加一些空间，根据需要调整 */
}

.nav-bar a {
    text-decoration: none; /* 移除链接下划线 */
    color: white; /* 设置文字颜色 */
    /* 可以根据需要添加更多样式 */
}


/* 可能需要根据实际效果进一步调整 */



.news-sidebar {
    width: 100%; /* Full width of its container */
    height: 200px; /* Height to fit content or a specific height if you want a scrollbar */
    overflow-y: auto; /* Makes it scrollable if height is less than content */
    background-color: rgb(235, 242, 248); /* Light blue background color */
    /* Add more styling as needed */
    /* Remove the fixed positioning and right: 0; top: 0; properties */
}


a {
    text-decoration: none;
    color: #00aaff;  /* 这是一个浅蓝色的十六进制颜色代码 */
    /* 移除默认的粗体，避免与strong标签冲突 */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-top: 10px;
    background-color: #f0f0f0;
}

/* 统一的加粗样式 */
strong, b {
    font-weight: 600;  /* 使用更精确的字体粗细值 */
    font-family: Arial, sans-serif;
}

/* 确保链接在strong标签内时不会重复加粗 */
strong a {
    font-weight: inherit;  /* 继承父元素的字体粗细 */
}

/* 特殊的红色加粗文本样式 */
strong.highlight {
    color: red;
    font-weight: 600;  /* 与普通strong标签保持一致的粗细 */
}

sup {
    vertical-align: top;
    font-size: 15px;
    position: relative;
    top: -0.2em;
}


p {
    line-height: 1.8;  /* 这将设置行间距为字体大小的1.6倍 */
    text-align: justify;
    text-justify: inter-word;
}


ul{
    line-height: 1.9;
}

ol{
    line-height: 1.9;
}


.nav-bar ul li a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}


.container {
    width: 65%;  /* 减小宽度 */
    max-width: 1100px;  /* 设定最大宽度 */
    margin: auto;
    background-color: #fff;
    padding: 50px;  /* 增加内边距 */
    border-radius: 1px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}


.header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    justify-content: center;
    gap: 20px;
}

.header img {
    /*border-radius: 50%;*/
    /*border-radius: 1px;*/
}

.left img {
    /*border-radius: 5px;   调整为你想要的圆角大小，或删除此行以获得完全方形的图像 */
    padding-left: 50px;
}

.right {
    max-width: 500px;
}

.right h1, .right p {
    margin: 0;
    margin-bottom: 10px;
}

.section {
    margin-top: 20px;
}

.research-framework {
    margin: 14px 0 16px;
}

.research-framework summary {
    cursor: pointer;
    font-weight: 700;
    color: red;
}

.research-framework summary:hover {
    color: #b00000;
}

.research-framework summary::marker,
.research-framework summary::-webkit-details-marker {
    color: red;
}

.research-framework figure {
    margin: 14px 0 0;
}

.research-framework img {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    border: 1px solid #ddd;
}

.publications-heading {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 8px;
    row-gap: 4px;
}

.publication-year {
    margin-top: 16px;
}

.publication-year h3 {
    margin: 14px 0 6px;
    color: #333;
}

.publication-year ol {
    margin-top: 0;
}

.full-publication-list {
    margin-top: 18px;
}

.full-publication-list summary {
    cursor: pointer;
    color: #333;
    font-size: 1.5em;
    font-weight: 700;
    margin: 0.83em 0;
}

.full-publication-list summary:hover {
    color: #00aaff;
}

.scholar-citations-link {
    font-size: 0.7em;
    font-weight: normal;
    text-decoration: none;
    white-space: nowrap;
}

.scholar-citation-count[data-loading="true"] {
    color: #666;
}

@media (max-width: 768px) {
    /* 调整container在移动端的宽度与内边距 */
    .container {
        width: 90%;
        max-width: none;
        padding: 20px;
    }

    /* 导航栏在手机上竖直排列 */
    .nav-bar {
        height: auto; 
        position: static; /* 可以让导航不固定在顶部，如果您仍想固定则可删除此行 */
        text-align: center; /* 居中显示 */
    }

    .nav-bar ul {
        flex-direction: column;
    }

    .nav-bar li {
        margin-right: 0;
        margin-bottom: 10px;
    }

    /* 让Header部分在手机上上下排列，更好展示头像和文本信息 */
    .header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .left img {
        padding-left: 0;
        width: 100%;
        max-width: 260px; /* 控制头像最大宽度 */
    }

    .right {
        max-width: 100%;
    }

    /* 调整字体行距使手机阅读更舒适,并左对齐文本 */
    p, ul {
        line-height: 1.6;
        text-align: left;
    }

    /* 新闻侧边栏在手机上自动扩展高度，无需滚动条 */
    .news-sidebar {
        height: auto;
        overflow: visible;
    }

    .scholar-citations-link {
        white-space: normal;
    }
    
    /* 移动端logo列表优化 */
    .list-with-logo li {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .list-logo {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        margin-top: 1px;
    }
    
    .list-with-logo li > span {
        line-height: 1.6;
        text-align: left;
    }
}

/* Logo list styles for Work Experience and Education */
.list-with-logo {
    list-style: none;
    padding-left: 0;
}

.list-with-logo li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    padding-left: 0;
}

.list-logo {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 6px;
    margin-top: 2px;
    object-fit: contain;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.list-with-logo li > span {
    flex: 1;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
}

/* Responsive layout refresh */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;
}

body {
    padding-top: 44px;
    color: #222;
}

a {
    color: #008fc7;
    overflow-wrap: anywhere;
}

.nav-bar {
    min-height: 44px;
    height: auto;
    background-color: #2f2f2f;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.nav-shell {
    display: none;
}

.nav-bar ul {
    padding: 0 18px;
    gap: 18px;
}

.nav-bar li {
    margin: 0;
}

.nav-bar ul li a {
    margin: 0;
    padding: 12px 0;
    line-height: 1.25;
}

.container {
    width: min(75%, 1100px);
    max-width: none;
}

.header {
    gap: 36px;
}

.left {
    flex: 0 0 auto;
}

.left img {
    display: block;
    width: 260px;
    max-width: 100%;
    height: auto;
    padding-left: 0;
}

.right {
    min-width: 0;
}

.social-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.social-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.social-icon {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    vertical-align: middle;
}

.linkedin-logo {
    border-radius: 3px;
}

.research-motto {
    display: block;
    margin-top: 14px;
    padding: 12px 16px;
    border-left: 4px solid #147a91;
    border-radius: 0 8px 8px 0;
    background: linear-gradient(90deg, #eef9fb 0%, #f8fcfd 72%, transparent 100%);
    color: #263238;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-align: left;
}

.motto-keyword {
    display: inline-block;
    padding: 1px 6px 2px;
    border-radius: 5px;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.08em;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.035em;
    white-space: nowrap;
}

.motto-challenge {
    color: #b42318;
    background: #ffe0dc;
    box-shadow: inset 0 -2px 0 #e95445;
}

.motto-solution {
    color: #00758a;
    background: #d8f3f6;
    box-shadow: inset 0 -2px 0 #1695a8;
}

.news-section {
    margin-top: 24px;
    border: 1px solid #d7e4ee;
    border-radius: 8px;
    overflow: hidden;
    background: #f7fbfe;
}

.news-section > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    cursor: pointer;
    list-style: none;
    color: #222;
    font-size: 1.5em;
    font-weight: 700;
}

.news-section > summary::-webkit-details-marker {
    display: none;
}

.news-section > summary small {
    margin-left: auto;
    color: #5f6b73;
    font-size: 0.55em;
    font-weight: 400;
}

.news-section > summary::after {
    content: "+";
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e4f2f9;
    color: #007eae;
    text-align: center;
    line-height: 27px;
    font-size: 24px;
    font-weight: 400;
}

.news-section[open] > summary::after {
    content: "−";
}

.news-sidebar {
    width: 100%;
    height: 130px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    background-color: rgb(235, 242, 248);
    border-top: 1px solid #d7e4ee;
}

.news-sidebar ul {
    margin: 0;
    padding: 16px 24px 16px 42px;
}

.news-sidebar li + li {
    margin-top: 12px;
}

.news-sidebar p {
    margin: 4px 0 0;
}

@media (max-width: 1120px) {
    html {
        scroll-padding-top: 68px;
    }

    body {
        padding-top: 56px;
        overflow-x: hidden;
        background: #fff;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 22px 18px 42px;
        box-shadow: none;
    }

    .nav-bar {
        position: fixed;
        min-height: 56px;
        height: auto;
        text-align: left;
    }

    .nav-shell {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 56px;
        padding: 0 16px;
    }

    .nav-brand {
        color: #fff;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 40px;
        padding: 7px 10px;
        border: 1px solid rgba(255, 255, 255, 0.42);
        border-radius: 7px;
        background: transparent;
        color: #fff;
        cursor: pointer;
        font: inherit;
    }

    .nav-toggle-icon,
    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 2px;
        background: currentColor;
    }

    .nav-toggle-icon {
        position: relative;
    }

    .nav-toggle-icon::before,
    .nav-toggle-icon::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .nav-toggle-icon::before {
        top: -6px;
    }

    .nav-toggle-icon::after {
        top: 6px;
    }

    .nav-bar ul {
        position: absolute;
        top: 56px;
        right: 12px;
        left: 12px;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0;
        max-height: calc(100vh - 76px);
        margin: 0;
        padding: 8px;
        overflow-y: auto;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 9px;
        background: #2f2f2f;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
    }

    .nav-bar.is-open ul {
        display: grid;
    }

    .nav-bar li {
        margin: 0;
    }

    .nav-bar ul li a {
        margin: 0;
        padding: 11px 10px;
        border-radius: 6px;
        line-height: 1.3;
    }

    .nav-bar ul li a:hover,
    .nav-bar ul li a:focus-visible {
        background: rgba(255, 255, 255, 0.1);
    }

    .header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 18px;
    }

    .left img {
        width: min(52vw, 190px);
        max-width: 190px;
        padding-left: 0;
        border-radius: 10px;
    }

    .right {
        width: 100%;
        max-width: 100%;
    }

    .right h2,
    .right h4 {
        text-align: center;
    }

    .right h2 {
        margin: 0 0 10px;
        font-size: 1.55rem;
    }

    .right h4 {
        margin: 8px 0;
        line-height: 1.45;
    }

    .right p {
        margin-bottom: 8px;
    }

    h2 {
        font-size: 1.4rem;
    }

    p,
    ul,
    ol {
        line-height: 1.65;
        text-align: left;
    }

    ul,
    ol {
        padding-left: 1.35rem;
    }

    .social-links {
        justify-content: flex-start;
        gap: 7px;
    }

    .research-motto {
        margin-top: 12px;
        padding: 10px 12px;
        font-size: 1rem;
        line-height: 1.7;
    }

    .news-section {
        margin-top: 22px;
    }

    .news-section > summary {
        padding: 13px 14px;
        font-size: 1.3rem;
    }

    .news-section > summary small {
        display: none;
    }

    .news-sidebar {
        height: 190px;
        overflow-y: auto;
    }

    .news-sidebar ul {
        padding: 14px 20px 16px 34px;
    }

    .news-sidebar li + li {
        margin-top: 16px;
    }

    .scholar-citations-link {
        white-space: normal;
    }

    .list-with-logo li {
        gap: 12px;
        margin-bottom: 12px;
    }

    .list-logo {
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        margin-top: 1px;
    }

    .list-with-logo li > span {
        line-height: 1.6;
        text-align: left;
    }
}

@media (max-width: 430px) {
    .container {
        padding-right: 16px;
        padding-left: 16px;
    }
}
