body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('background.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #E0E0E0;
}

.overlay {
    background: rgba(0, 0, 0, 0.65);
    min-height: 100vh;
    padding-bottom: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;   /* 水平居中 */
}

nav {
    background: rgba(0, 0, 0, 0.85);
    padding: 15px 0;
    text-align: center;
}

nav a {
    color: #E0E0E0;
    text-decoration: none;
    margin: 0 25px;
    font-size: 18px;
}

nav a.active {
    color: #00d4ff;
    font-weight: bold;
}

nav a:hover {
    color: #00d4ff;
}

.container {
    width: 70%;
    margin-top: 60px;
}

.avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid white;

    background-image: url("avatar.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: block;
    margin: 40px auto;
}

.about-text {
    text-align: justify;       /* 两端对齐 */
    line-height: 1.6;          /* 行间距 */
    margin-top: 20px;          /* 上间距 */
    font-size: 18px;           /* 字体大小 */
    color: #E0E0E0;
    white-space: pre-line;     /* 保留 HTML 中的换行符 */
}

/* News 整体左对齐 */
.news {
    text-align: left;          /* 整体左对齐 */
    margin-top: 30px;
}

/* News 标题 */
.news-title {
    font-weight: bold;
    font-size: 22px;           /* 标题大号 */
    color: #00d4ff;            /* 高亮蓝色 */
    margin-bottom: 10px;       /* 与正文分隔 */
}

/* News 描述文字 */
.news-content {
    font-size: 18px;
    color: white;
    line-height: 1.5;
}

/* 确保列表本身没有缩进 */
.experience-list {
    list-style: none;      /* 去掉圆点 */
    padding-left: 0;       /* 核心：去掉左侧默认缩进 */
    margin-left: 0;        /* 核心：确保外边距归零 */
}

.experience-list li {
    display: flex;
    flex-wrap: nowrap;      /* 强制不换行 */
    align-items: flex-start;
    margin-bottom: 12px;
    padding-left: 0;        /* 确保每一行也是顶头的 */
}

.exp-time {
    width: 180px;           /* 时间宽度 */
    flex-shrink: 0;         /* 防止时间被挤压 */
    font-weight: bold;
    margin-right: 40px;
}

.exp-company {
    width: 280px;           /* 增加一点宽度给长公司名 */
    flex-shrink: 0;         /* 防止公司名被挤压 */
    font-style: italic;
    white-space: nowrap;    /* 强制公司名不换行 */
    padding-right: 25px;    /* 与职位保持间距 */
}

.exp-position {
    flex: 1;                /* 占据剩余空间 */
}

/* Publications 链接 */
.pub-link {
    color: #00d4ff;          /* 白色，更明显 */
    text-decoration: underline; /* 可选 */
    margin-right: 10px;
}

.pub-link:hover {
    color: white;        /* 悬停蓝色 */
}

.advisor-link {
    color: #00d4ff;
    text-decoration: none;
}

.advisor-link:hover {
    color: #ffffff;
}

.social-links i {
    font-size: 26px;
    margin: 0 12px;
    color: white;
    transition: 0.3s;
}

.social-links i:hover {
    transform: scale(1.2);
}

.home {
    text-align: center;
}

h1 {
    margin-bottom: 20px;
}

.project-page a {
    color: #00d4ff;
}
