
:root {
    --primary: #0066cc;
    --grey: #f5f6fa;
    --radius: 6px;}

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;}

  body {
    margin: 0;
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #f9f9f9;
    color: #333;
    display: flex;}

  .sidebar {
    width: 160px;
    background: #264fb9;
    box-shadow: 2px 0 20px rgba(28, 85, 128, 0.1);
    border-right: 1px solid #e8f0f8;
    height: 100vh;
    padding: 20px 10px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
    overflow: visible;}

  .sidebar h2 {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    padding: 0 20px;
    text-align: center;
    letter-spacing: 0.5px;}

  .nav-item {
    padding: 0;
    margin: 4px 0;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(226, 232, 240, 0.3);
    display: block;
    border-radius: 8px;
    margin-left: 8px;
    margin-right: 8px;
    text-decoration: none;}

  .nav-item a {
    display: block;
    padding: 14px 20px;
    color: #ffffff;
    text-decoration: none;
    width: 100%;
    height: 100%;
    box-sizing: border-box;}

  .nav-item:last-child {
    border-bottom: none;}

  .nav-item:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(74, 144, 226, 0.04) 100%);
    transform: translateX(4px);
    color: #ffffffb3;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);}

  .nav-item::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(180deg, #4a90e2 0%, #2d5278 100%);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0 2px 2px 0;}

  .nav-item:hover::before {
    opacity: 1;}

  /* 子菜单箭头指示 */
  .nav-item.has-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;}

  .nav-item.has-submenu::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 6px solid #a0aec0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    transform: rotate(0deg);
    margin-right: 15px;
    position: relative;
    top: 2px;}

  .nav-item.has-submenu:hover::after {
    border-left-color: #4a90e2;
    transform: rotate(90deg);}

  .submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%; /* 保持在右侧 */
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid #e8f0f8;
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(28, 85, 128, 0.15);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 240px;
    z-index: 2000;}

  .nav-item:hover .submenu {
    display: block;}

  .submenu a {
    display: block;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #4a5568;
    position: relative;
    transition: all 0.2s ease;}

  .submenu a:hover {
    color: #2d5278;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(74, 144, 226, 0.04) 100%);
    transform: translateX(2px);}

  .submenu a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 1px;
    background: rgba(226, 232, 240, 0.4);}

  .section-divider {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 2.5rem auto;
    border: none;
    height: 2px;
    background: linear-gradient(90deg, #e3e8ee 0%, #b3c6e0 50%, #e3e8ee 100%);
    opacity: 0.9;
    border-radius: 1px;}

  .breadcrumb {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #6a7a8c;
    margin: 0 0 1rem 0;
    padding-left: 2px;
    user-select: none;}
  
  .breadcrumb a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;}
  
  .breadcrumb a:hover {
    color: #005b5b;
    text-decoration: underline;}
  
  .breadcrumb-sep {
    margin: 0 8px;
    color: #b3c6e0;
    font-size: 15px;}

  .main {
    position: relative;
    flex: 1;
    margin-left: 160px;
    padding: 20px 40px;
    min-height: 100vh;
    background: #f2f5f8;
    overflow: auto;}

  .title {
    font-size: 26px;
    font-weight: bold;
    color: #005b5b;}

  .subtitle {
    font-size: 16px;
    color: #666;
    /* margin-bottom: 20px; */
    padding-bottom: 1.25rem;}

  header {
    text-align: center;
    margin: 2rem 0 1rem;}

  h1 {
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: .05em;
    color: #111;}

  #search {
    width: 100%;
    max-width: 480px;
    margin: 1rem auto .5rem;
    padding: .8rem 1rem;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: .2s;
    display: block;}

  #search:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(0, 102, 204, .15);}

  .category-block {
    margin-bottom: 2rem;}

  .category-block h2 {
    position: relative;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: #222;}

  .category-block h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, #666 0%, #bbb 100%);
    border-radius: 1px;
    transition: width .4s ease;}

  .category-block h2:hover {
    color: #000;}

  .category-block h2:hover::after {
    width: 160px;}

  .grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));}

  .card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    padding: 1.2rem 1.4rem;
    transition: .2s;}

  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);}

  .card h3 {
    font-size: 1.1rem;
    margin-bottom: .4rem;
    color: var(--primary);
    font-style: italic;}

  .card h3:hover {
    color: #004999;
    text-decoration: underline;}

  .card p {
    font-size: .9rem;
    color: #555;
    margin-bottom: .6rem;}

  .card a {
    font-size: .85rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;}

  .card a:hover {
    color: #003f80;
    text-decoration: underline;}

  .hidden {
    display: none !important;}

  footer {
    margin-top: 3rem;
    padding: 1rem 2rem;
    text-align: center;
    font-size: .8rem;
    color: #666;}

/* 内容的css */

.image-gallery {
        display: flex;
        gap: 15px; /* 图片间距 */
        justify-content: space-between;
        margin-bottom: 15px;}

    .gallery-item {
        flex: 1;
        height: 180px;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: transform 0.3s;}
    .gallery-item:hover {
        transform: translateY(-5px);}

.lightbox {
  position: fixed;
  z-index: 9999;
  left: 0; 
  top: 0; 
  right: 0; 
  bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;}

.lightbox.active {
  opacity: 1;
  visibility: visible;}

.lightbox-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;}

.lightbox-img-container {
  position: relative;
  display: inline-block;}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  background: #fff;
  /* padding: 8px; */
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;}

.lightbox-close {
  position: fixed;
  top: 35px;
  right: 35px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
  padding: 0;
  opacity: 0.9;}

.lightbox-close svg {
  width: 48px;
  height: 48px;}

.lightbox-close:hover {
  opacity: 1;
  transform: scale(1.05);}

.lightbox-nav {
  position: fixed;
  top: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 100%;
  width: 56px;
  height: 56px;
  color: #fff;
  cursor: pointer;
  /* display: flex; */
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
  z-index: 10000;
  padding: 0;
  opacity: 1;}

.lightbox-nav svg {
  width: 56px;
  height: 56px;}

.lightbox-nav:hover {
  opacity: 1;}

.lightbox-prev {
  left: 16.1%;
  transform: translate(-50%, -50%);}

.lightbox-next {
  right: 16.1%;
  transform: translate(50%, -50%);}

/* 导航按钮的禁用态：可见但不可点击 */
.lightbox-nav.disabled {
  cursor: not-allowed;
  opacity: .35;}

.lightbox-nav.disabled:hover {
  opacity: .35;}

/* 背景圆维持透明度，箭头在 hover 提亮 */
.lightbox-nav svg > g > path:first-child { /* 背景圆 */
  opacity: .3;}

.lightbox-nav svg g[filter] path { /* 箭头默认 */
  opacity: .7;
  transition: opacity .18s ease;}

.lightbox-nav:hover svg g[filter] path { /* 悬浮仅提亮箭头 */
  opacity: 1;}

.lightbox-nav.disabled svg g[filter] path,
.lightbox-nav.disabled:hover svg g[filter] path { /* 禁用态不提亮 */
  opacity: .35 !important;}

.lightbox-caption {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  max-width: 280px;
  word-wrap: break-word;
  z-index: 10002;}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;}

.image-tooltip {
  position: fixed;
  background: rgba(255, 255, 255, 0.65);
  color: #292a2d;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  max-width: 300px;
  word-wrap: break-word;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;}

   .slogan {
      font-size: 22px;
      font-weight: 600;
      font-style: italic;
      text-align: center;
      margin: 20px 0;
      color: #007070;
      border-bottom: 1px solid #ccc;
      padding-bottom: 10px;}

 .content-section {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;}

    .left-content {
      width: 65%;
      padding: 1rem 2.5rem 1.25rem 4rem;}

    .left-content h3 {
      font-size: 18px;
      font-weight: 600;
      color: #005b5b;
      margin-bottom: 15px;
      margin-top: 25px;}

    .left-content h3:first-child {
      margin-top: 0;}

    .left-content p {
      font-size: 15px;
      line-height: 1.8;
      color: #333;
      text-align: justify;
      margin-bottom: 20px;}

    .right-sidebar {
      width: 30%;
      background: #ffffff;
      padding: 20px;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.05);
      padding: 1rem;}

    .right-sidebar h3 {
      font-size: 16px;
      font-weight: 600;
      color: #005b5b;
      margin-top: 0;
      margin-bottom: 10px;}

    .right-sidebar p {
      font-size: 14px;
      line-height: 1.6;
      color: #333;
      margin-bottom: 15px;}

    .right-sidebar ul {
      list-style: none;
      padding-left: 0;
      margin-bottom: 20px;}

    .right-sidebar li {
      margin: 8px 0;
      font-size: 14px;
      line-height: 1.5;
      color: #333;}

    .right-sidebar a {
      text-decoration: none;
      color: #007070;
      transition: color 0.2s ease;}

    .right-sidebar a:hover {
      color: #005b5b;
      text-decoration: underline;}

/* 文章详情页样式 */
.content-detail {
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;}

.article-header {
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid #e8f0f8;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);}

.article-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  line-height: 1.4;
  text-align: center;}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #718096;}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;}

.article-content {
  padding: 2rem 2.5rem;
  line-height: 1.6;
  color: #2d3748;
  font-size: 1rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  margin-bottom: 3rem;
  min-height: 200px;}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  color: #1a202c;
  margin: 2rem 0 1rem;
  font-weight: 600;
  line-height: 1.4;
  position: relative;}

.article-content h1 {
  font-size: 1.8rem;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;}

.article-content h2 {
  font-size: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.3rem;}

.article-content h3 {
  font-size: 1.3rem;
  color: #2d3748;}

.article-content h4,
.article-content h5,
.article-content h6 {
  font-size: 1.1rem;
  color: #4a5568;}

.article-content p {
  margin: 0.4rem 0 !important;
  text-align: justify;
  line-height: 1.6;
  color: #2d3748;}

/* 首段缩进 - 已移除 */
/* .article-content p:first-of-type {
  text-indent: 2em;
} */

/* 引用样式 */
.article-content blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: #f7fafc;
  border-left: 4px solid #4a90e2;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4a5568;}

.article-content blockquote p {
  margin: 0;
  text-indent: 0;}

.article-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
  margin: 0.5rem auto;
  /* padding: 1rem; */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-align: center;}

.article-content img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);}

/* 图片容器，防止图片过大影响布局 */
.article-content figure {
  margin: 2rem auto;
  text-align: center;
  max-width: 90%;}

.article-content figure img {
  margin: 0 auto;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;}

.article-content figcaption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #718096;
  font-style: italic;}

/* 响应式图片处理 */
@media (max-width: 768px) {
  .article-content img {
    max-width: 100% !important;
    height: auto !important;
    margin: 1.5rem auto;
    padding: 0.8rem;}
  
  .article-content {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;}
  
  .article-content figure {
    margin: 1.5rem auto;
    max-width: 95%;}
  
  .article-content h1 {
    font-size: 1.5rem;}
  
  .article-content h2 {
    font-size: 1.3rem;}
  
  .article-content h3 {
    font-size: 1.2rem;}
  
  .article-content hr {
    width: 100%;
    margin: 1.5rem 0;}
}

/* 列表样式 */
.article-content ul,
.article-content ol {
  margin: 1rem 0 1rem 2rem;
  line-height: 1.6;}

.article-content li {
  margin-bottom: 0.5rem;
  color: #2d3748;}

.article-content ul li {
  list-style-type: disc;}

.article-content ol li {
  list-style-type: decimal;}

/* 链接样式 */
.article-content a {
  color: #4a90e2;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;}

.article-content a:hover {
  color: #2d5278;
  border-bottom-color: #2d5278;}

/* 代码样式 */
.article-content code {
  background: #f1f5f9;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #e53e3e;}

.article-content pre {
  background: #2d3748;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;}

.article-content pre code {
  background: none;
  color: inherit;
  padding: 0;}

/* 确保图片不会影响布局的额外样式 */
.article-content * {
  max-width: 100%;
  box-sizing: border-box;}

/* 图片最大高度限制 */
.article-content img {
  max-height: 500px !important;
  object-fit: contain;
  width: auto !important;}

/* 防止图片溢出容器 */
.article-content {
  overflow: hidden;
  text-align: center;}



/* 图片居中容器 */
.article-content .img-container {
  text-align: center;
  margin: 2rem auto;
  max-width: 90%;}

/* 确保图片前后有足够间距 */
.article-content p + img,
.article-content img + p {
  margin-top: 2rem;
  margin-bottom: 2rem;}

/* 图片悬停效果 */
.article-content img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);}

/* 分隔符样式 */
.article-content hr {
  border: none;
  height: 1px;
  background: #e2e8f0;
  margin: 2rem 0;
  width: 100%;}

/* 图片加载时的占位样式 */
.article-content img[src*="loading"] {
  background: #f1f5f9;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #718096;
  font-style: italic;}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  background: #ffffff;}

.article-content th,
.article-content td {
  padding: 0.4rem 0.6rem;
  border: 1px solid #e2e8f0;
  text-align: left;
  text-indent: 0;}

.article-content th {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  font-weight: 600;
  color: #1a202c;
  border-bottom: 2px solid #e2e8f0;}

.article-content tr:nth-child(even) {
  background: #f8fafc;}

.article-content tr:hover {
  background: #f1f5f9;
  transition: background 0.2s ease;}

/* 隐藏表格边框的样式类，用于图片并排展示 */
.article-content table.no-border,
.article-content table.no-border th,
.article-content table.no-border td {
  border: none;
  background: transparent;
  box-shadow: none;}

.article-content table.no-border {
  box-shadow: none;
  background: transparent;}

.article-content table.no-border th {
  background: transparent;
  border-bottom: none;}

.article-content table.no-border tr:nth-child(even) {
  background: transparent;}

.article-content table.no-border tr:hover {
  background: transparent;}

/* 图片表格样式 - 通过JavaScript动态添加类名 */
.article-content table.image-only-table {
  border: none;
  background: transparent;
  box-shadow: none;}

.article-content table.image-only-table th,
.article-content table.image-only-table td {
  border: none;
  background: transparent;
  padding: 0.5rem;}

.article-content table.image-only-table th {
  background: transparent;
  border-bottom: none;}

.article-content table.image-only-table tr:nth-child(even) {
  background: transparent;}

.article-content table.image-only-table tr:hover {
  background: transparent;}

/* 表格内联样式优先级保护 */
.article-content table td[style*="text-align"],
.article-content table th[style*="text-align"] {
  text-align: inherit !important;}

.article-content table td[style*="vertical-align"],
.article-content table th[style*="vertical-align"] {
  vertical-align: inherit !important;}

/* 表格内段落优化 */
.article-content table p {
  margin: 0.1rem 0 !important;
  line-height: 1.6;
  text-align: inherit;}

.article-footer {
  padding: 1.5rem 2.5rem 2rem;
  border-top: 1px solid #e8f0f8;
  background: #f8fafc;
  margin-top: 2rem;
  position: relative;
  z-index: 10;}

.article-navigation {
  display: flex;
  justify-content: space-between;
  gap: 1rem;}

.nav-prev,
.nav-next {
  flex: 1;}

.nav-prev a,
.nav-next a {
  display: block;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-decoration: none;
  color: #4a5568;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);}

.nav-prev a:hover,
.nav-next a:hover {
  background: #f7fafc;
  border-color: #4a90e2;
  color: #4a90e2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);}

.nav-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #718096;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;}

.nav-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;}

/* 工作列表页面样式 */
.joblist-content {
  max-width: 1200px;
  margin: 0 auto;}

.page-header {
  text-align: center;
  margin-bottom: 2rem;}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;}

.job-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #e8f0f8;
  display: flex;
  flex-direction: column;}

.job-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);}

.job-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;}

.job-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;}

.job-card:hover .job-image img {
  transform: scale(1.05);}

.job-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;}

.job-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  line-height: 1.4;}

.job-details {
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;}

.job-email {
  margin-bottom: 0.5rem;
  font-weight: 500;}

.job-research {
  margin-bottom: 0;
  font-weight: 500;}

.job-details {
  flex: 1;}

/* 响应式设计 */
@media (max-width: 768px) {
  .main {
    margin-left: 0;
    padding: 20px 20px;}
  
  footer {
    padding: 0.8rem 1rem;
    font-size: 0.7rem;}
  
  .job-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;}
  
  .page-header h1 {
    font-size: 1.5rem;}
  
  .job-info {
    padding: 1rem;}
  
  .article-header {
    padding: 1.5rem 1rem 1rem;}
  
  .article-header h1 {
    font-size: 1.5rem;}
  
  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;}
  
  .article-content {
    padding: 1.5rem 1rem;}
  
  .article-footer {
    padding: 1rem;}
  
  .article-navigation {
    flex-direction: column;}
}

/* 研究人员详情模态框样式 */
.researcher-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;}

.researcher-modal.active {
  opacity: 1;
  visibility: visible;}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;}

.researcher-modal.active .modal-content {
  transform: scale(1);}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 12px 12px 0 0;}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a202c;}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  color: #64748b;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;}

.modal-close:hover {
  background: #e2e8f0;
  color: #1a202c;}

.modal-body {
  padding: 2rem;}

.modal-layout {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;}

.researcher-info {
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;}

.researcher-avatar {
  flex-shrink: 0;
  max-width: 193px;
  height: 193px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);}

.researcher-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;}

.modal-right-content {
  flex: 1;
  min-width: 0;}

.info-row {
  display: flex;
  margin-bottom: 1rem;
  align-items: flex-start;}

.info-row:last-child {
  margin-bottom: 0;}

.info-label {
  font-weight: 600;
  color: #374151;
  min-width: 80px;
  margin-right: 1rem;}

.researcher-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;}

.researcher-content div {
  line-height: 1.7;
  color: #4a5568;}

/* 隐藏内容样式 */
.hidden-content {
  display: none !important;
  visibility: hidden;
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;}



/* 查看详情按钮样式 */
.view-details-btn {
  background: linear-gradient(135deg, #4a90e2 0%, #2d5278 100%);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
  width: 100%;
  font-size: 0.9rem;
  min-height: 48px;}

.view-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);}

/* 响应式设计 */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;}
  
  .modal-header {
    padding: 1rem 1.5rem;}
  
  .modal-header h2 {
    font-size: 1.3rem;}
  
  .modal-body {
    padding: 1.5rem;}
  
  .modal-layout {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;}
  
  .researcher-avatar {
    width: 120px;
    height: 120px;}
  
  .researcher-info {
    padding: 1rem;
    text-align: center;}
  
  .info-row {
    flex-direction: column;
    gap: 0.5rem;}
  
  .info-label {
    min-width: auto;
    margin-right: 0;}
}