
:root {
    --primary: #0066cc;
    --grey: #f5f6fa;
    --radius: 6px;}

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;}

  body {
    margin: 0;
    font-family: 'Noto Sans SC', 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;
    padding-bottom: 1.25rem;}

 .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: 800px;
  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.3;
  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.8;
  color: #2d3748;
  font-size: 1rem;}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
  color: #1a202c;
  margin: 1.5rem 0 1rem;
  font-weight: 600;}

.article-content p {
  margin-bottom: 1rem;
  text-align: justify;}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);}

.article-content th,
.article-content td {
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  text-align: left;}

.article-content th {
  background: #f7fafc;
  font-weight: 600;
  color: #1a202c;}

/* .article-footer {
  padding: 1.5rem 2.5rem 2rem;
  border-top: 1px solid #e8f0f8;
  background: #f8fafc;
} */

.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;}

/* 响应式设计 */
@media (max-width: 768px) {
  .main {
    margin-left: 0;
    padding: 20px 20px;}
  
  footer {
    padding: 0.8rem 1rem;
    font-size: 0.7rem;}
  
  .search-header {
    padding: 1.5rem 1rem;
    margin: 1rem 0;}
  
  .search-container {
    flex-direction: column;
    border-radius: 8px;}
  
  .search-btn {
    padding: 0.8rem 1rem;
    justify-content: center;}
  
  .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;}
}

/* 搜索页面特定样式 */
.search-header {
  text-align: center;
  margin: 2rem 0 1rem;}

.search-form {
  margin-top: 1.5rem;}

.search-container {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;}

.search-container:focus-within {
  box-shadow: 0 4px 20px rgba(74, 144, 226, 0.15);
  border-color: #4a90e2;
  transform: translateY(-2px);}

#search {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  outline: none;
  font-size: 1rem;
  color: #2d3748;
  background: transparent;}

#search::placeholder {
  color: #a0aec0;
  font-style: italic;}

.search-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: #ffffff;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;}

.search-btn:hover {
  background: linear-gradient(135deg, #357abd 0%, #2d5278 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);}

.search-btn:active {
  transform: translateY(0);}

.search-btn svg {
  transition: transform 0.3s ease;}

.search-btn:hover svg {
  transform: scale(1.1);}

h1 {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: #111;
  margin-bottom: 0.5rem;}

/* 兼容旧版搜索样式 */
header:not(.search-header) #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;}

header:not(.search-header) #search:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 102, 204, .15);}

.category-block {
  margin-bottom: 2rem;
  overflow: visible;
  position: relative;}

.category-block h2 {
  position: relative;
  z-index: 1;
  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;
  position: relative;
  z-index: 2;
  overflow: visible;
  display: flex;
  flex-direction: column;
  min-height: fit-content;
  cursor: pointer;}

/* 分组结果容器 */
.grouped-results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.2rem;}

/* 分组卡片 */
.group-card {
  padding: 1.2rem 1.2rem 1rem 1.2rem;}

.group-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: .6rem;}

 .group-title {
   font-size: 1.05rem;
   font-weight: 700;
   color: #1a202c;}
 
 .category-matched .group-title {
   color: #e53e3e;
   font-weight: 800;}
 
 .category-matched .group-title .highlight {
   background: linear-gradient(120deg, #ff6b6b 0%, #ee5a52 100%);
   color: white;
   padding: 0.2rem 0.1rem;
   border-radius: 4px;
   font-weight: 700;
   box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);}

.group-count {
  font-size: .85rem;
  color: #718096;}

.group-list {
  list-style: none;
  padding: 0;
  margin: 0;}

.group-list .result-item {
  padding: .6rem 0;
  border-bottom: 1px dashed #e2e8f0;}

.group-list .result-item:last-child {
  border-bottom: none;}

.result-title {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;}

.result-title:hover {
  color: #004999;
  text-decoration: underline;}

.result-snippet {
  margin-top: .4rem;
  padding: .6rem .7rem;
  background: #f8f9fa;
  border-left: 3px solid var(--primary);
  border-radius: 4px;}

 .result-item.collapsed {
   display: none;}
 
 .species-match {
   background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(238, 90, 82, 0.05) 100%);
   border-left: 3px solid #e53e3e;
   margin: 0.3rem 0;
   padding: 0.8rem 0.6rem;
   border-radius: 4px;}
 
 .species-match .result-title {
   font-weight: 700;
   color: #e53e3e;}
 
 .species-match .result-title:hover {
   color: #c53030;}

.toggle-more {
  margin-top: .6rem;
  align-self: flex-start;
  padding: .4rem .8rem;
  font-size: .85rem;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #4a90e2 0%, #2d5278 100%);
  color: #fff;
  cursor: pointer;
  transition: all .2s ease;}

.toggle-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  z-index: 3;}

.card h3:not(.search-title) {
  font-size: 1.1rem;
  margin-bottom: .4rem;
  color: var(--primary);
  font-style: italic;}

.card h3:not(.search-title):hover {
  color: #004999;
  text-decoration: underline;}

.strain-number {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.3rem;
  font-weight: 400;
  line-height: 1.4;}

/* 菌株编号下拉菜单样式 */
.strain-dropdown {
  position: relative;
  margin-top: 10px;}

.strain-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;}

.strain-main:hover {
  background: #e9ecef;
  border-color: #0066cc;}

.dropdown-arrow {
  font-size: 12px;
  color: #6c757d;
  transition: transform 0.3s ease;}

.strain-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);}

.strain-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e9ecef;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  /* 防止事件穿透 */
  pointer-events: none;}

.strain-dropdown:hover .strain-list {
  pointer-events: auto;}

.strain-item {
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f8f9fa;}

.strain-item:last-child {
  border-bottom: none;}

.strain-item:hover {
  background: #f8f9fa;
  color: #0066cc;}

.hidden {
  display: none !important;}

.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;}

/* 搜索卡片链接样式优化 */
.card .search-title {
  margin: 0 0 0.8rem 0 !important;
  cursor: pointer;
  color: var(--primary);
  font-style: italic;
  font-size: 1.1rem;
  display: block;
  text-decoration: none;
  line-height: 1.3;}

.card .search-title:hover {
  color: #004999;
  text-decoration: underline;}

/* 搜索结果片段样式 */
.search-snippet {
  margin-top: 0.8rem;
  padding: 0.8rem;
  background: #f8f9fa;
  border-radius: 4px;
  border-left: 3px solid var(--primary);
  max-height: 120px;
  overflow: hidden;
  flex-shrink: 0;}

.snippet-text {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  max-width: 100%;}

/* 关键词高亮样式 */
.highlight {
  background: linear-gradient(120deg, #ffd54f 0%, #ffb300 100%);
  color: #333;
  padding: 0.1rem 0rem;
  border-radius: 3px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(255, 193, 7, 0.3);
  animation: highlightPulse 0.6s ease-in-out;}

@keyframes highlightPulse {
  0% {
    transform: scale(1);}
  50% {
    transform: scale(1.05);}
  100% {
    transform: scale(1);}
}

/* 搜索标题样式优化 */
.search-title {
  margin-bottom: 0.6rem !important;}

.search-title .highlight {
  background: linear-gradient(120deg, #ff6b6b 0%, #ee5a52 100%);
  color: white;
  padding: 0.2rem 0.1rem;
  border-radius: 4px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);}

.hidden {
  display: none !important;}

  footer {
    margin-top: 3rem;
    padding: 1rem 2rem;
    text-align: center;
    font-size: .8rem;
    color: #666;}

/* 新闻列表样式 */
.newslist-content {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;}

.news-header {
  text-align: center;
  margin-bottom: 3rem;}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #4a90e2 0%, #2d5278 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;}

.page-description {
  font-size: 1.1rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;}

.news-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border-color: #4a90e2;}

.news-image {
  position: relative;
  overflow: hidden;
  height: 200px;}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;}

.news-card:hover .news-image img {
  transform: scale(1.05);}

.news-content {
  padding: 1.5rem;}

.news-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.75rem;
  line-height: 1.4;}

.news-title a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;}

.news-title a:hover {
  color: #4a90e2;}

.news-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #718096;}

.news-date,
.news-author {
  display: flex;
  align-items: center;
  gap: 0.25rem;}

.news-excerpt {
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;}

.news-footer {
  display: flex;
  justify-content: flex-end;}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #4a90e2 0%, #2d5278 100%);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;}

.read-more:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);}

/* 分页样式 */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  padding: 2rem 0;}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;}

.page-btn {
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  background: white;
  color: #4a5568;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 500;
  min-width: 44px;
  text-align: center;}

.page-btn:hover {
  background: #4a90e2;
  color: white;
  border-color: #4a90e2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);}

.page-btn.active {
  background: linear-gradient(135deg, #4a90e2 0%, #2d5278 100%);
  color: white;
  border-color: #4a90e2;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);}

.page-btn.prev-btn,
.page-btn.next-btn {
  padding: 0.75rem 1.5rem;
  font-weight: 600;}

.page-ellipsis {
  padding: 0.75rem 0.5rem;
  color: #718096;
  font-weight: 500;}

/* 响应式设计 */
@media (max-width: 768px) {
  .newslist-content {
    padding: 1rem;}
  
  .news-header {
    margin-bottom: 2rem;
    padding: 1rem 0;}
  
  .page-title {
    font-size: 2rem;}
  
  .page-description {
    font-size: 1rem;}
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;}
  
  .news-card {
    border-radius: 8px;}
  
  .news-content {
    padding: 1rem;}
  
  .news-title {
    font-size: 1.1rem;}
  
  .pagination-container {
    margin-top: 2rem;
    padding: 1rem 0;}
  
  .page-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;}
  
  .page-btn.prev-btn,
  .page-btn.next-btn {
    padding: 0.5rem 1rem;}
  
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;}
  
  .main {
    margin-left: 0;
    padding: 1rem;}
  
  .search-header {
    flex-direction: column;
    gap: 1rem;}
  
  .search-form {
    width: 100%;}
  
  .content-detail {
    padding: 1rem;}
  
  .article-header h1 {
    font-size: 1.5rem;}
  
  .article-meta {
    flex-direction: column;
    gap: 0.5rem;}
  
  .article-navigation {
    flex-direction: column;
    gap: 1rem;}
  
  .newslist-content {
    padding: 1rem;}
  
  .news-list {
    padding: 1rem;}
  
  .news-item {
    padding: 0.75rem;}
  
  .pagination {
    flex-wrap: wrap;}
}

/* 菌种标题悬浮效果 */
.strain-title-hover {
  cursor: pointer;
  transition: color 0.3s ease;
  text-decoration: none !important;}

.strain-title-hover:hover {
  color: #4a90e2 !important;
  text-decoration: none !important;}
