/* ============================================================
   李伟教授个人主页 · 全站样式
   严格仿照参考页布局（左侧竖排导航 + 右侧内容区）：
   - 顶部蓝色横幅条带（白字大字欢迎语）
   - 左侧导航栏：竖排、大写、当前页蓝色高亮、分隔线
   - 内容区：Verdana 字体、黑色标题、浅绿分割线
   - 表格：橙色表头（datatable）
   配色沿用参考页色系（蓝 #275A8D / 浅绿 #b2d5c6 / 橙 #fcdfbc）
   ============================================================ */

body {
  margin: 0;
  padding: 0;
  font-family: Verdana, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: .9em;
  color: #333333;
}

p { line-height: 1.7em; margin: 0 0 15px 0; }

a { color: #275A8D; font-weight: bold; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid #275A8D; outline-offset: 2px; }

h1, h2, h3 { font-family: Verdana, Arial, "PingFang SC", "Microsoft YaHei", sans-serif; font-weight: normal; color: #000; }

h1 { font-size: 2.5em; line-height: 1em; margin: 0 0 5px 0 !important; }
h2 { font-size: 1.67em; line-height: 1em; margin-top: 10px !important; margin-left: 0; margin-right: 0; margin-bottom: 10px !important; }
h3 { font-size: 1.25em; line-height: 1em; margin-top: 30px !important; margin-left: 0; margin-right: 0; margin-bottom: 10px !important; }

ul, ol { margin: 0; padding: 0; margin-left: 30px; }
li { margin: 0; padding: 0; line-height: 1.5em; margin-bottom: 10px; }

hr {
  clear: both;
  width: 100%;
  height: 1px;
  border: none;
  color: #b2d5c6;
  background-color: #b2d5c6;
}

/* ============ 页面结构 ============ */
#header {
  width: 100%;
  padding: 21px 0;
  background: linear-gradient(180deg, #2b6399, #275A8D 60%, #1f4d7c);
  border-bottom: 1px solid #ffffff;
}

#utilitynav {
  border-top: 1px solid #80b9a1;
  border-bottom: 1px solid #80b9a1;
  color: #ffffff;
}
#stripe {
  height: 50px;
  margin: 3px 0;
  padding: 0 15px;
  text-align: left;
  background: rgba(255, 255, 255, .06);
  display: flex;
  align-items: center;
}
.stripe-text {
  font-size: 1.9em;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: .02em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, .3);
}

#mastercontainer {
  width: 100%;
  margin-bottom: 50px;
  padding-top: 40px;
  border-top: 3px solid #000;
}
#mastercontainer::after { content: ""; display: block; clear: both; }

/* ============ 左侧导航（竖排） ============ */
#navigation {
  float: left;
  width: 185px;
  margin-left: 15px;
  display: inline;
}
#navigation ul { margin: 0; }
#navigation li {
  width: 185px;
  padding: 3px 0;
  margin: 0;
  list-style-type: none;
  border-bottom: 1px solid #b2b2b2;
}
#navigation a {
  display: block;
  font-size: 1.25em;
  width: 173px;
  padding: 4px 6px;
  font-family: Verdana, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: normal;
  line-height: 1.1em;
  text-decoration: none;
  text-transform: uppercase;
  color: #275A8D;
}
#navigation a.current_page,
#navigation a.current_page:hover {
  background-color: #275A8D;
  color: #ffffff;
}
#navigation a:hover { background-color: #dddddd; }

.lang-toggle {
  display: block;
  margin-top: 12px;
  width: 185px;
  padding: 5px 6px;
  border: 1px solid #b2b2b2;
  background: #ffffff;
  color: #275A8D;
  font-family: Verdana, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 1.1em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
}
.lang-toggle:hover { background-color: #dddddd; }

/* ============ 右侧内容区 ============ */
#content_positioning {
  zoom: 1;
  min-width: 520px;
  margin-left: 230px;
  padding-right: 30px;
}
#content { float: left; }

/* 两栏（照片墙等场景） */
.twocolumn_left { width: 30%; padding-right: 4%; }
.twocolumn_right { width: 50%; padding-left: 4%; border-left: 1px solid #b2d5c6; }

/* ============ 表格（datatable：橙色表头） ============ */
table { font-size: 1em; width: 100%; }
table.datatable { margin-bottom: 20px; border-right: 1px solid #b2b2b2; border-top: 1px solid #b2b2b2; }
table.datatable th {
  text-align: left;
  font-weight: bold;
  font-size: 1.17em;
  padding: 10px;
  background-color: #fcdfbc;
  border-left: 1px solid #b2b2b2;
  border-bottom: 1px solid #b2b2b2;
}
table.datatable td {
  padding: 10px;
  border-left: 1px solid #b2b2b2;
  border-bottom: 1px solid #b2b2b2;
}

/* ============ 动态 / 列表 ============ */
.update-list, .news-list { list-style: none; margin-left: 0; }
.update-item, .news-item { margin-bottom: 10px; line-height: 1.5em; }
.update-date, .news-date { font-weight: bold; color: #275A8D; margin-right: 8px; }

.pub-group { margin-bottom: 10px; }
.pub-item { margin-bottom: 12px; }
.pub-title { font-weight: bold; }
.pub-authors, .pub-venue { color: #333333; font-size: .95em; }
.pub-venue { font-style: italic; }

/* 照片占位 */
.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  margin: 0 0 10px 0;
  background: #eef3f8;
  border: 1px dashed #b2b2b2;
  color: #5f6b76;
  font-size: .9em;
  text-align: center;
}

/* 提示/示例标注 */
.note {
  padding: 10px 14px;
  background: #f6f9fb;
  border: 1px dashed #b2d5c6;
  color: #5f6b76;
  font-size: .92em;
  margin: 14px 0;
}

/* ============ 页脚 ============ */
#footer {
  height: 60px;
  margin: 0 15px;
  padding-top: 10px;
  border-top: 1px solid #000;
  font-family: Verdana, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: .834em;
  line-height: 1.4em;
  color: #333333;
}

/* ============ 响应式 ============ */
@media (max-width: 780px) {
  #navigation { float: none; width: auto; margin: 0 15px 20px; }
  #navigation li { display: inline-block; width: auto; border-bottom: none; margin: 0 6px 6px 0; }
  #navigation a { width: auto; display: inline-block; padding: 4px 8px; }
  #navigation a.current_page, #navigation a.current_page:hover { background-color: #275A8D; }
  .lang-toggle { display: inline-block; width: auto; margin: 0 6px 6px 0; }
  #content_positioning { margin-left: 0; padding: 0 15px; min-width: 0; }
  #content { float: none; }
  .stripe-text { font-size: 1.2em; }
}

/* ============================================================
   个人照片与成员照片
   ============================================================ */
.profile-table { width: 100%; }
.profile-photo-cell {
  width: 230px;
  vertical-align: top;
  padding: 6px 24px 0 0;
}
.profile-photo {
  width: 200px;
  max-width: 100%;
  height: auto;
  border: 1px solid #b2b2b2;
}
.profile-info-cell { vertical-align: top; }

.member-table { width: 100%; }
.member-photo-cell {
  width: 110px;
  padding: 4px 16px 4px 0;
  vertical-align: middle;
}
.member-photo {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border: 1px solid #b2b2b2;
}

@media (max-width: 640px) {
  .profile-photo-cell {
    display: block;
    width: auto;
    padding: 0 0 12px 0;
  }
  .profile-photo { width: 160px; }
  .profile-info-cell { display: block; }
  .member-photo-cell { display: block; padding: 6px 0 0 0; }
  .member-photo { width: 72px; height: 72px; }
}
