.section-container,
.header-content {
    /* max-width: 1280px; */
    max-width: 1300px;
    width: 65%;
    margin: auto;
}

.header-content {
    /* width: 100%; */
}

.home-header {
    height: 72px;
    line-height: 72px;
    background-color: #fff;
    border-bottom: 1px solid #e4e4e4;
    padding: 0 !important;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
}

.home-header .navbar-brand {
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.header-logo {
    font-family: cursive;
    font-weight: 900;
    font-size: 30px;
}

.header-content li:hover,
li.active {
    cursor: pointer;
    font-weight: 500;
    box-shadow: inset 0 -3px #000;
    /* color: #a0b5cd;
    box-shadow: inset 0 -3px #a0b5cd; */
}

.section-container {
    margin-top: 100px;
    font-weight: 300;
    font-size: 18px;
}

.section-container p {
    text-align: justify;
}

.section-item {
    padding: 24px 0;
    border-bottom: 1px solid #e4e4e4;
    text-align: justify;
}

.link-block a {
    /* color: #000; */
    color: #859ab1;
    text-decoration: none;
    font-weight: 500;
}

.link-block img {
    width: 36px;
    margin-right: 12px;
}

.link-block img:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
}

.section-item h3 {
    font-size: 30px;
    line-height: 26px;
    font-weight: 800 !important;
    font-family: cursive;
    margin-bottom: 12px !important;
}

.section-item h4 {
    font-size: 19px;
    
    font-weight: 500;
}

.subheadings {
    font-size: 28px !important;
    font-family: cursive;
    font-weight: 750 !important;
}

b, .navbar-brand b {
    font-weight: 650 !important;
}

.research-section .row {
    margin-top: 24px !important;
}

.research-section .author {
    margin-bottom: 6px;
}

.research-section .link-list {
    margin-bottom: 8px;
}

.research-section abstract {
    font-size: 14px;
}

/* 项目部分的新样式 */
.projects-section {
    margin-top: 20px;
}

.project-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
}

.project-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.project-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.project-title {
    font-size: 19px;
    font-weight: 500;
    margin: 0;
    color: #333;
}

.project-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.project-description {
    margin-top: 10px;
}

.project-description .abstract {
    font-size: 14px;
    line-height: 1.5;
}

/* 出版物部分的新样式 */
.publications-section {
    margin-top: 20px;
}

.publication-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.publication-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.publication-image {
    flex: 0 0 200px;
    align-self: flex-start;
}

.publication-content {
    flex: 1;
}

.publication-title {
    font-size: 19px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #333;
}

.publication-links {
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.author {
    margin: 8px 0;
    font-style: italic;
    color: #555;
}

/* 媒体查询：适用于手机设备 */
@media screen and (max-width: 768px) {
    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-links {
        margin-top: 5px;
    }
    
    .project-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .publication-card {
        flex-direction: column;
        padding: 15px;
    }
    
    .publication-image {
        flex: none;
        width: 100%;
        margin-bottom: 15px;
    }
}

/* Skills 部分的新样式 */
.skills-section {
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
}

.skill-category {
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-align: center;
}

.skill-title {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

.skill-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.skill-icons img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.skill-icons img:hover {
    transform: scale(1.1);
}

.skill-description {
    margin: 5px 0 0 0;
    font-size: 15px;
    color: #555;
    line-height: 1.4;
}

.skill-points {
    text-align: left;
    margin: 10px 0 0 0;
    padding-left: 20px;
    list-style-type: disc;
}

.skill-points li {
    margin: 5px 0;
    font-size: 14px;
    color: #555;
}

/* Technical Blogs 部分的新样式 */
.blog-section {
    margin-top: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.blog-links {
    margin-bottom: 10px;
}

.blog-description {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}

/* 在小屏幕上调整Skills布局 */
@media screen and (max-width: 768px) {
    .skills-section {
        grid-template-columns: 1fr; /* 在小屏幕上变为单列 */
    }
    
    .skill-category {
        padding: 10px 12px;
    }
}

.section-item .row li {
    line-height: 32px;
}

.navbar-brand {
    font-size: 1.5rem !important; /* 推荐：响应式单位，清晰专业 */
    font-weight: 800;
    font-family: cursive;
}

.abstract {
    font-size: 0.9rem !important;
    line-height: 1.2 !important;  
}

strong {
    color: #0066cc;
    font-weight: 600;
}

/* 头像图片样式 */
.avatar-img {
    width: 80%;
}

/* 媒体查询：适用于平板设备 */
@media screen and (max-width: 992px) {
    .section-container,
    .header-content {
        width: 90%;
        min-width: auto;
    }
    
    /* 保持头像和文字的左右布局 */
    #head .row {
        display: flex;
        flex-direction: row;
    }
    
    #head .col-xs-12.col-sm-4 {
        width: 33.33%;
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
    
    #head .col-xs-12.col-sm-8 {
        width: 66.66%;
        flex: 0 0 66.66%;
        max-width: 66.66%;
    }
    
    /* 调整头像图片在平板上的大小 */
    #head .col-xs-12.col-sm-4 img {
        width: 80% !important;
        max-width: 200px;
    }
}

/* 媒体查询：适用于手机设备 */
@media screen and (max-width: 768px) {
    .section-container,
    .header-content {
        width: 95%;
        padding: 0 10px;
    }
    
    .home-header {
        height: auto;
        line-height: normal;
        padding: 10px 0;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-logo {
        width: 100%;
        margin-bottom: 10px;
        font-size: 24px;
    }
    
    ul {
        width: 100%;
        padding: 0;
    }
    
    .section-container {
        margin-top: 120px;
        font-size: 16px;
    }
    
    .section-item h3 {
        font-size: 26px;
    }
    
    .section-item h4 {
        font-size: 17px;
    }
    
    .subheadings {
        font-size: 24px !important;
    }
    
    .research-section abstract {
        font-size: 13px;
    }
    
    .link-block img {
        width: 32px;
        margin-right: 8px;
    }
    
    .home-header .navbar-brand {
        font-size: 14px;
    }
    
    /* 保持头像和文字的左右布局在小屏幕上 */
    #head .row {
        display: flex;
        flex-direction: row;
    }
    
    #head .col-xs-12.col-sm-4 {
        width: 40%;
        flex: 0 0 40%;
        max-width: 40%;
    }
    
    #head .col-xs-12.col-sm-8 {
        width: 60%;
        flex: 0 0 60%;
        max-width: 60%;
    }
    
    /* 调整头像图片在小屏幕上的大小 */
    #head .col-xs-12.col-sm-4 img {
        width: 80% !important;
        max-width: 150px;
    }
}

/* 额外的移动设备优化 */
@media screen and (max-width: 480px) {
    .section-container {
        font-size: 15px;
    }
    
    .section-item h3 {
        font-size: 24px;
    }
    
    .section-item h4 {
        font-size: 16px;
    }
    
    .subheadings {
        font-size: 22px !important;
    }
    
    .research-section abstract {
        font-size: 12px;
    }
    
    .link-block img {
        width: 28px;
        margin-right: 6px;
    }
    
    /* 保持头像和文字的左右布局在极小屏幕上 */
    #head .row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    #head .col-xs-12.col-sm-4 {
        width: 45%;
        flex: 0 0 45%;
        max-width: 45%;
    }
    
    #head .col-xs-12.col-sm-8 {
        width: 55%;
        flex: 0 0 55%;
        max-width: 55%;
    }
    
    /* 调整头像图片在小屏幕上的大小 */
    #head .col-xs-12.col-sm-4 img {
        width: 80% !important;
        max-width: 120px;
    }
}