.ranking-image {
  align-self: flex-start;
  flex-shrink: 0;
 width: 60px;
  height: 54px;
  overflow: hidden;
  border-radius: 0.375rem;
}
/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.5;
  font-weight: 400;
  color: #333;
  background-color: #f5f5f5;
  min-width: 1366px;
  overflow-x: auto;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 移动端基础样式 */
@media (max-width: 768px) {
  body {
    min-width: auto;
    overflow-x: hidden;
  }
  
  /* 移动端头部样式 - logo和搜索在同一行显示 */
  header .w-\[1300px\] {
    width: 100%;
    padding: 0 1rem;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  
  /* 左侧logo部分 - 靠左对齐 */
  header .w-\[1300px\] > div:nth-child(1) {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  /* 移除中间的空div */
  header .w-\[1300px\] > div:nth-child(2) {
    display: none;
  }
  
  /* 右侧搜索部分 - 靠右对齐 */
  header .w-\[1300px\] > div:nth-child(3) {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  
  /* 调整logo容器样式 */
  .logo-container {
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }
  
  .logo-image {
    height: 1.5rem;
    margin-right: 0.25rem;
  }
  
  .logo-text {
    flex-direction: row;
  }
  
  .logo-main,
  .logo-sub {
    font-size: 1rem;
  }
  
  /* 调整搜索框样式 */
  .w-64.h-10 {
    width: 140px;
    height: 2.25rem;
    flex-shrink: 0;
  }
  
  .w-64.h-10 input {
    font-size: 0.75rem;
  }
  
  .w-64.h-10 button {
    font-size: 0.75rem;
    padding: 0 0.5rem;
  }
}

/* 全局链接样式 */
a {
  color: #066550;
  text-decoration: none;
  line-height: 1.3;
}

a:hover {
  color: #88bf1c;
}

/* 轮播图样式 */
.carousel {
  position: relative;
  height: 100%;
  background-color: #f1f1f1;
  overflow: hidden;
  border-radius: 0.375rem;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carousel-slide.active img:hover {
  transform: scale(1.05);
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 1rem;
}

.carousel-caption h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 500;
}

.carousel-indicators {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  display: flex;
  gap: 0.25rem;
}

.carousel-indicator {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

/* 移动端轮播图专用样式 */
#carousel-mobile {
  position: relative;
  height: 200px !important;
  width: 100% !important;
  background-color: #f1f1f1;
  overflow: hidden;
  border-radius: 0.375rem;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

#carousel-mobile .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  pointer-events: none;
}

#carousel-mobile .carousel-slide.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

#carousel-mobile .carousel-slide img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* 移动端轮播图指示器专用样式 */
#carousel-mobile .carousel-indicators {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  display: flex !important;
  gap: 0.25rem;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10 !important;
}

#carousel-mobile .carousel-indicator {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  opacity: 1 !important;
  visibility: visible !important;
}

#carousel-mobile .carousel-indicator.active {
  background-color: rgba(255, 255, 255, 1) !important;
  width: 1.5rem;
}

/* 确保移动端轮播图在媒体查询中正确显示 */
@media screen and (max-width: 768px) {
  #carousel-mobile {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: 200px !important;
  }
  
  #carousel-mobile .carousel-slide {
    display: block !important;
    position: absolute;
  }
  
  #carousel-mobile .carousel-indicators {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 10 !important;
  }
  
  #carousel-mobile .carousel-indicator {
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  #carousel-mobile .carousel-slide.active {
    opacity: 1 !important;
    z-index: 10 !important;
  }
}

.carousel-indicator.active {
  background-color: white;
}

/* 内容区块样式 */
.content-section {
  background-color: white;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  height: 100%;
}

.section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

/* 频道标签美化 - 极简风格 */
.channel-title {
  margin-bottom: 12px;
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  position: relative;
}

/* 更多链接样式 */
.channel-more {
  position: relative;
  margin-left: auto;
  display: flex;
  align-items: center;
  text-decoration: none;
  order: 3; /* 在标题和副标题后显示 */
}

/* 更多文字和图标容器 */
.channel-more::before {
  content: '\66F4\591A'; /* Unicode编码避免乱码 */
  font-size: 0.8rem;
  color: #066550;
  margin-right: 4px;
  transition: all 0.2s ease;
}

/* 三角形状图标 */
.channel-more::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1px solid #066550;
  border-bottom: 1px solid #066550;
  transform: rotate(-45deg);
  transition: all 0.2s ease;
  position: relative;
  top: 1px;
}

.channel-more:hover::before {
  color: #88bf1c;
}

.channel-more:hover::after {
  border-right-color: #88bf1c;
  border-bottom-color: #88bf1c;
  transform: rotate(-45deg) translateX(0px);
}

.channel-title h2 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  margin: 0;
  position: relative;
  padding-left: 8px; /* 减少左侧内边距，让标题更靠左 */
  order: 1; /* 确保在最前面显示 */
}

.channel-title h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 00%;
    transform: translateY(19%);
    width: 4px;
    height: 20px;
    background: #88bf1c;
    border-radius: 2px;
}

.channel-title.with-subtitle {
  padding: 8px 0;
}

.channel-title.with-subtitle span {
  margin-left: 10px;
  color: #066550;
  font-size: 0.8rem;
  order: 2; /* 副标题在标题后显示 */
}

.channel-title.with-subtitle h2 {
  order: 1; /* 标题在前显示 */
}

/* 频道特定颜色 */
.channel-title.news h2::before { background: #3b82f6; }
.channel-title.encyclopedia h2::before { background: #ec4899; }
.channel-title.fitness h2::before { background: #06b6d4; }
.channel-title.population h2::before { background: #10b981; }
.channel-title.psychology h2::before { background: #f59e0b; }
.channel-title.natural h2::before { background: #8b5cf6; }
.channel-title.seasonal h2::before { background: #ef4444; }
.channel-title.relationships h2::before { background: #f97316; }
.channel-title.tcm h2::before { background: #60a5fa; }
.channel-title.lifestyle h2::before { background: #a855f7; }
.channel-title.ranking h2::before { background: #f59e0b; }
.channel-title.fact-check h2::before { background: #8b5cf6; }
.channel-title.nutrition h2::before { background: #06b6d4; }
.channel-title.scientific h2::before { background: #10b981; }

.channel-title:hover {
  border-bottom-color: #e0e0e0;
}

.channel-title:hover h2 {
  color: #555;
}

/* 列表样式 */
.content-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.content-list li {
  font-size: 0.875rem;
  color: #4b5563;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 心理疗愈列表样式 */
.psychology-list {
  display: flex;
  flex-direction: column;
  gap: 0rem; /* 稍微减小间距 */
}

.psychology-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
}

.psychology-item:hover {
  background-color: #f9fafb;
}

.psychology-image {
  width: 80px;
  height: 58px; /* 增加高度以容纳两行标题 */
  border-radius: 0.25rem;
  overflow: hidden;
  flex-shrink: 0;
  align-self: flex-start;
}

.psychology-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.psychology-item:hover .psychology-image img {
  transform: scale(1.1);
}

.psychology-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.psychology-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
  width: 100%;
  max-width: 200px;
  line-height: 1.3;
  height: 2.6em; /* 两行高度 */
}

.psychology-item:hover .psychology-title {
  color: #88bf1c;
}

.psychology-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #979da8;
}

.psychology-heat {
  color: #ef4444;
  font-weight: 500;
}

.psychology-time {
  margin-left: auto;
}

/* 列表中的链接样式 */
.content-list li a,
.text-sm.text-gray-600.line-clamp-1 a {
  color: inherit; /* 保持与父元素相同的颜色 */
  text-decoration: none; /* 移除下划线 */
  transition: color 0.3s ease; /* 添加过渡效果 */
}

/* 列表中的链接悬停样式 */
.content-list li a:hover,
.text-sm.text-gray-600.line-clamp-1 a:hover {
  color: #88bf1c; /* 鼠标经过时的颜色 */
}

/* 排行榜样式 */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ranking-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
}

.ranking-item:hover {
  background-color: #f9fafb;
}

.ranking-number {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  border-radius: 50%;
  flex-shrink: 0;
  align-self: center;
}

.ranking-item:nth-child(1) .ranking-number {
  background: linear-gradient(135deg, #ffd700, #ffb347);
}

.ranking-item:nth-child(2) .ranking-number {
  background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
}

.ranking-item:nth-child(3) .ranking-number {
  background: linear-gradient(135deg, #cd7f32, #b8860b);
}

.ranking-item:nth-child(4) .ranking-number,
.ranking-item:nth-child(5) .ranking-number,
.ranking-item:nth-child(6) .ranking-number, 
.ranking-item:nth-child(7) .ranking-number,
.ranking-item:nth-child(8) .ranking-number  {
  background: linear-gradient(135deg, #88bf1c, #6ba32d);
}

.ranking-image img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 0.25rem;
}

.ranking-item:hover .ranking-image img {
  transform: scale(1.1);
.ranking-content {
  flex: 1;
  min-width: 0;
  max-width: calc(100% - 84px); /* 减去排名数字和图片的宽度 */
  width: 100%;
}/* 减去排名数字(24px)+图片(80px)+间距(12px*2) */
  width: 100%;
}

.ranking-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
  word-break: break-all;
  max-width: 100%;
  width: 170px; /* 限制宽度约24个字符 */
  line-height: 1.3;
  height: 1.3em; /* 确保只显示一行 */
}

.ranking-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #6b7280;
}

.ranking-tag {
  padding: 0.125rem 0.375rem;
  background-color: #e5e7eb96;
  color: #374151bd;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  font-weight: 500;
}

.ranking-heat {
  color: #ef4444;
  font-weight: 500;
  font-size: 0.75rem;
}

.ranking-time {
  margin-left: auto;
  font-size: 0.75rem;
  color: #979da8;
}

/* 图片占位样式 */
.image-placeholder {
  background-color: #000;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
}

/* 图片悬停效果 */
img {
    transition: transform 0.3s ease-in-out;
}

/* 过渡效果增强 */
.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.hover\:scale-105:hover {
    transform: scale(1.15);
}

/* Tailwind 工具类的回退样式，确保在没有构建时也能基本显示 */
/* 布局类 */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-custom { grid-template-columns: 1.1fr 1.1fr 0.8fr; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }

/* 对齐类 */
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* 间距类 */
.gap-2 { gap: 0.5rem; margin-bottom: 1.5rem; }
.gap-6 { gap: 1.5rem; }
.space-x-1 { gap: 0.8rem; }
.space-y-1 { 
  line-height: 2;
}
.space-y-2 { gap: 0.5rem; }

/* 网格列跨度类 */
.col-span-1 { grid-column: span 1; }
.col-span-2 { grid-column: span 2; }

/* 外边距类 */
.mb-3 { margin-bottom: 0.75rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-8 { margin-top: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* 内边距类 */
.p-4 { padding: 0.25rem 1rem 1rem 1rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-6 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

/* 背景色类 */
.bg-black { background-color: #000; }
.bg-gray-50 { background-color: #f9fafb; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-600 { background-color: #4b5563; }
.bg-gray-700 { 
  background-color: #066550; 
}
.bg-white { background-color: #ffffff; }

/* 边框类 */
.border { border-width: 1px; }
.border-gray-200 { border-color: #e5e7eb; }
.border-gray-300 { border-color: #d1d5db; }

/* 边框半径类 */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-full { border-radius: 9999px; }

/* 文本类 */
.text-center { text-align: center; }
.text-gray-500 {
   color: #6b7280;
   font-size: 0.875rem;
}
.text-foot-500 {
   color: #888888;
   font-size: 0.875rem;
}
.text-gray-600 { color: #101611; }
.text-gray-700 { color: #374151; }
.text-gray-800 { color: #0f141b; }
.text-lg { font-size: 1.2rem; }
.text-sm { font-size: 1rem; }
.text-sm2 { font-size: 0.875rem; line-height: 1.3; }
.text-white { color: #ffffff; }

/* 字体粗细类 */
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }

/* 阴影类 */
.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }

/* 过渡类 */
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

/* 交互类 */
.hover\:bg-gray-600:hover { background-color: #4b5563; }

/* 导航链接样式 */
nav a {
  text-decoration: none;
  color: white;
}

/* Logo样式 */
.logo-container {
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  transition: none;
  position: static;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.logo-container::before {
  content: none;
}

.logo-container:hover {
  box-shadow: none;
  transform: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: static;
  z-index: auto;
  flex-direction: row;
}

.logo-main {
  font-size: 1.75rem;
  font-weight: 800;
  color: #066550;
  line-height: 1;
  font-family: 'Microsoft YaHei', sans-serif;
  letter-spacing: 0px;
  text-shadow: none;
}

.logo-sub {
  font-size: 1.75rem;
  font-weight: 500;
  color: #88bf1c;
  line-height: 1;
  font-family: 'Microsoft YaHei', sans-serif;
  letter-spacing: 0px;
}

.logo-image {
  width: auto;
  height: 2.5rem;
  object-fit: contain;
}

/* 搜索框和按钮样式 */
.w-64.h-10 {
  border: 2px solid #88bf1c;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}

.w-64.h-10:hover {
  border-color: #066550;
  box-shadow: 0 2px 8px rgba(6, 101, 80, 0.15);
}

.w-64.h-10 input {
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: #374151;
  background-color: white;
  flex-grow: 1;
  min-width: 0;
  height: 100%;
}

.w-64.h-10 button {
  border: none;
  outline: none;
  background-color: #066550;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 60px;
  height: 100%;
  padding: 0 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.w-64.h-10 button:hover {
  background-color: #04533f;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 101, 80, 0.3);
}

.w-64.h-10 button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(6, 101, 80, 0.2);
}

/* 溢出类 */
.overflow-hidden { overflow: hidden; }

/* 推荐阅读图片容器 */
.recommendation-image {
  width: 90px;
  height: 64px;
  overflow: hidden;
  border-radius: 0.375rem;
  flex-shrink: 0;
}
.overflow-x-auto { overflow-x: auto; }

/* 文本截断类 */
.line-clamp-1 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* 推荐阅读模块链接行高 */
.recommendation-module .module-content a {
  line-height: 1.3;
}

/*  whitespace 类 */
.whitespace-nowrap { white-space: nowrap; }

/* 尺寸类 */
.min-w-max { min-width: max-content; }
.h-10 { height: 2.5rem; }
.h-24 { height: 6rem; }
.h-28 { height: 10rem; }
.h-32 { height: 10rem; }
.h-full { height: 100%; }
.w-24 { width: 6rem; }
.w-64 { width: 20rem; }
.w-full { width: 100%; }
.w-\[1300px\] { width: 1300px; }
.w-\[1240px\] { width: 1240px; }
.w-\[48\%\] { width: 48%; }

/* 最小高度类 */
.min-h-screen { min-height: 0vh; }

/* 滚动图一栏的高度 */
.gd-h {
    padding-bottom: 0rem;
}

/* 对象适配类 */
.object-cover { object-fit: cover; }

/* 图片容器样式 */
.image-container {
  position: relative;
}

/* 图片标题容器样式 */
.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 0.5rem;
  z-index: 10;
}

/* 图片标题文字样式 */
.image-caption h3 {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
}

/* 轮播图图片悬停放大效果 */
.carousel-slide a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.carousel-slide.active img:hover {
  transform: scale(1.05);
}

/* 确保所有轮播图都能响应鼠标事件 */
.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-slide:hover {
  pointer-events: auto;
}

/* 导航链接样式 */
.nav-link {
  padding: 0.25rem 0.75rem;
  font-size: 1rem;
  white-space: nowrap;
  color: #ffffff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #88bf1c;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #88bf1c;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 70%;
}

.image-caption1 h3 {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
}

/* 搜索页样式 */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #066550;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #88bf1c;
}

.breadcrumb span {
    color: #6b7280;
    margin: 0 0.5rem;
}

.search-container {
    background-color: white;
    padding: 2rem 4rem 2rem 4rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.search-form {
    display: flex;
    gap: 0rem;
}

.search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    border-color: #88bf1c;
}

.search-button {
    padding: 0.75rem 1.5rem;
    background-color: #88bf1c;
    color: white;
    border: none;
    border-radius: 0.25rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-button:hover {
    background-color: #79ae1a;
}

.search-filters {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #066550;
    color: white;
    border-color: #066550;
}

.search-results {
    margin-top: 1rem;
}

.result-item {
    display: flex;
    padding: 1.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.result-image {
    width: 240px;
    height: 160px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.375rem;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-spacing {
    width: 2rem;
    flex-shrink: 0;
}

.result-content {
    flex: 1;
    min-width: 0;
}

.result-item:last-child {
    border-bottom: none;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.result-title a {
    color: #333;
    text-decoration: none;
}

.result-title a:hover {
    color: #88bf1c;
}

.result-url {
    color: #10b981;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: block;
}

.result-snippet {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #979da8;
}

.result-category {
    background-color: #e5e7eb96;
    color: #374151bd;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    text-decoration: none;
    color: #4b5563;
    transition: all 0.2s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: #066550;
    color: white;
    border-color: #066550;
}

/* 详情页样式 */
/* 三列布局样式 */
.container {
    display: flex;
    gap: 2.5rem;
    margin-top: 1rem;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
    min-width: 320px;
}

.article-container {
    background: white;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    padding: 2rem 3rem 3em 3rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.article-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.article-title {
    font-size: 2.0rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-align: left;
}

.article-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

.article-category {
    background-color: #e5e7eb96;
    color: #374151bd;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0.375rem;
    margin: 1.5rem 0;
}

.article-content {
    line-height: 1.8;
    font-size: 1.2rem;
    color: #333;
}

.article-content p {
    margin-bottom: 1.5rem;
    /*text-indent: 2em;*/
}

.disclaimer {
    background-color: #f9fafb;
    border-left: 0px solid #066550;
    padding: 1rem;
    margin: 2rem 0;
    font-size: 0.8rem;
    color: #6b7280;
}

.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
}

.related-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.related-card {
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.related-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 1rem;
}

.related-title-link {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-title-link a {
    color: #333;
    text-decoration: none;
}

.related-title-link a:hover {
    color: #88bf1c;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #979da8;
}

/* 右侧栏样式 */
.recommendation-module {
    background: white;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.module-header {
    padding: 0.75rem 1rem;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.module-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.module-content {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.recommendation-image {
    width: 90px;
    height: 64px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.25rem;
}

.recommendation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.text-sm2 {
    font-size: 0.875rem;
    line-height: 1.5;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    font-size: 12px !important;
    color: #979da8;
    margin-top: 0.25rem;
    flex-direction: row;
    gap: 40px;
	align-items: center;
}

.card-category {
    background-color: #e5e7eb96;
    color: #374151bd;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 12px !important;
    font-weight: 500;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-input {
        border-radius: 50px;
    }
    
    .search-button {
        border-radius: 50px;
    }
    
    .search-filters {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
}
.search-header {
    text-align: center;
    margin-bottom: 2rem;
}
.search-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1rem;
}
.search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}
.search-stats {
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 1rem;
}
.search-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #066550;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
}
.search-button:hover {
    background-color: #04533f;
}
.search-button {
    padding: 0.75rem 1.5rem;
    background-color: #066550;
    color: white;
    border: none;
    border-radius: 0 50px 50px 0;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.search-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
}

/* 列表页特有样式 */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #066550;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #88bf1c;
}

.breadcrumb span {
    color: #6b7280;
    margin: 0 0.5rem;
}

.container {
    display: flex;
    gap: 2.5rem;
    margin-top: 1rem;
}

.sidebar h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: #4b5563;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.category-list a:hover,
.category-list a.active {
    background-color: #066550;
    color: white;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 320px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.content-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
}

.sort-options {
    display: flex;
    gap: 0.5rem;
    flex-direction: row-reverse;
}

.sort-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-btn:hover,
.sort-btn.active {
    background-color: #066550;
    color: white;
    border-color: #066550;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: white;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.card-title a {
    color: #333;
    text-decoration: none;
}

.card-title a:hover {
    color: #88bf1c;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.pagination a {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    text-decoration: none;
    color: #4b5563;
    transition: all 0.2s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: #066550;
    color: white;
    border-color: #066550;
}

/* 信息流样式 */
.mobile-feed {
    display: none !important;
}

.desktop-content {
    display: block !important;
}

.feed-item {
    background: white;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    padding: 1rem;
    /* margin-bottom: 1rem; */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feed-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.feed-item-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.375rem;
    margin-bottom: 0.75rem;
}

.feed-item-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.feed-item-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.feed-item-title a:hover {
    color: #88bf1c;
}

.feed-item-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.feed-item-category {
    background-color: #e5e7eb96;
    color: #374151bd;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    /* 基础布局 */
    body {
        min-width: auto !important;
        overflow-x: hidden !important;
        background-color: white !important;
    }
    
    /* 确保根容器背景色为白色 */
    .bg-gray-50 {
        background-color: white !important;
    }
    
    /* 在footer上方添加分割线 */
    footer {
        border-top: 1px solid #e5e7eb !important;
    }
    
    /* 移动端导航样式简化版 */
    nav.bg-gray-700 {
        padding: 0 !important;
        width: 100% !important;
    }
    
    /* 导航主容器 - 设置95%宽度和居中 */
    nav.bg-gray-700 div.w-\[1300px\] {
        width: 95% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        /* overflow: hidden !important; */
    }
    
    /* 导航链接容器 - 确保可滚动 */
    nav.bg-gray-700 div.w-\[1300px\] div.flex.space-x-1.py-2.min-w-max {
        width: 100% !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x !important;
        -webkit-tap-highlight-color: transparent !important;
        scroll-behavior: smooth !important;
    }
    
    /* 导航链接样式 */
    nav.bg-gray-700 div.w-\[1300px\] div.flex.space-x-1.py-2.min-w-max a {
        display: inline-flex !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
        padding: 0.25rem 0.75rem !important;
    }
    
    /* 隐藏滚动条 */
    nav.bg-gray-700 div.w-\[1300px\] div.flex.space-x-1.py-2.min-w-max::-webkit-scrollbar {
        display: none !important; /* Chrome, Safari, Edge */
    }
    nav.bg-gray-700 div.w-\[1300px\] div.flex.space-x-1.py-2.min-w-max {
        -ms-overflow-style: none !important; /* IE, Edge */
        scrollbar-width: none !important; /* Firefox */
    }
    
    /* 确保导航链接正确显示 */
    nav.bg-gray-700 div.w-\[1300px\] div.flex.space-x-1.py-2.min-w-max a.nav-link {
        display: inline-block !important;
        padding: 0.25rem 0rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    
    /* 显示移动端信息流，隐藏PC端内容 */
    .mobile-feed {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .desktop-content {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    /* 头部适配 */
    header .w-\[1300px\] {
        width: 100%;
        max-width: 100%;
        padding:0 0.5rem 0 0.5rem;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .logo-container {
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }
    
    .logo-image {
        height: 2rem;
        margin-right: 0rem;
    }
    
    .logo-main, .logo-sub {
        font-size: 1.25rem;
    }
    
    /* 搜索框适配 */
    .w-64.h-10 {
            width: 190px;
            max-width: 200px;
            height: 2rem;
            FONT-VARIANT: JIS83;
            flex-shrink: 0;
    }
    
    header .flex.items-center.justify-between {
        flex-direction: row;
        align-items: center;
        gap: 0;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    /* 导航栏左右滑动 */
    nav .w-\[1300px\] {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    nav .overflow-x-auto {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    nav .overflow-x-auto::-webkit-scrollbar {
        display: none;
    }
    
    nav .flex.space-x-1 {
        padding: 0.5rem 0rem;
        gap: 1.25rem;
    }
    
    .nav-link {
        padding: 0rem 0.5rem;
        font-size: 1rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* 主内容区适配 */
    main.w-\[1300px\],
    main.w-\[1240px\] {
        width: 100%;
        max-width: 100%;
        padding: 1rem 1.25rem 1rem 1.25rem;
    }
    
    /* 网格布局适配 */
    .grid-cols-custom {
        grid-template-columns: 1fr;
    }
    
    /* 轮播图适配 */
    .carousel {
        height: 200px;
    }
    
    .carousel-caption h3 {
        font-size: 1rem;
        font-weight: 600;
    }
    
    /* 频道标题适配 */
    .channel-title h2 {
        font-size: 1rem;
    }
    
    /* 图片容器适配 */
    .h-28, .h-32 {
        height: 150px;
    }
    
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    /* 心理疗愈列表适配 */
    .psychology-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .psychology-image {
        width: 100%;
        height: 180px;
    }
    
    .psychology-title {
        max-width: 100%;
    }
    
    /* 排行榜适配 */
    .ranking-item {
        flex-wrap: wrap;
    }
    
    .ranking-image {
        width: 60px;
        height: 45px;
    }
    
    .ranking-content {
        max-width: 100%;
        width: 64%;
        margin-top: 0rem;
    }
    
    .ranking-title {
        width: 100%;
    }
    
    /* 列表页适配 */
    .container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .sidebar {
        width: 100%;
        min-width: 100%;
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .content-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .sort-options {
        /* width: 100%; */
        justify-content: flex-start;
    }
    
    /* 详情页适配 */
    .article-container {
        padding: 1.5rem 0.5rem;
    }
    
    .article-title {
        font-size: 1.3rem;
    }
    
    .article-meta {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-image {
        height: 200px;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    /* 搜索页适配 */
    .search-container {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .search-header {
        margin-bottom: 1.5rem;
    }
    
    .search-title {
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }
    
    .search-form {
        flex-direction: row;
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .search-input {
        border-radius: 10px;
        width: 100%;
        /* padding: 0.875rem 1rem; */
    }
    
    .search-button {
        border-radius: 10px;
        width: 25%;
        padding: 0.875rem 1.5rem;
    }
    
    .search-stats {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
    
    .result-item {
        flex-direction: column;
    }
    
    .result-image {
        width: 100%;
        height: 200px;
        margin-bottom: 1rem;
    }
    
    .result-spacing {
        display: none;
    }
    
    /* 页脚适配 */
    footer .w-\[1300px\] {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    footer p {
        font-size: 0.75rem;
        line-height: 1.6;
    }
    
    /* 移动端信息流卡片适配 */
    .mobile-feed {
        background-color: white !important;
        padding: 0;
    }
    
    .mobile-feed .feed-item {
        display: flex;
        flex-direction: row-reverse;
        gap: 0.75rem;
        padding: 0.75rem 0rem 0.75rem 0rem;
        align-items: flex-start;
        border: none !important;
        border-bottom: 1px solid #f0f0f0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }
    
    .mobile-feed .feed-item:last-child {
        border-bottom: none !important;
    }
    
    .mobile-feed .feed-item-image {
        width: 100px;
        height: 75px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .mobile-feed .feed-item-content {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .mobile-feed .feed-item-title {
        font-size: 1.1rem;
        margin-bottom: auto;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
    }
    
    .mobile-feed .feed-item-meta {
        margin-top: 0.5rem;
        font-size: 0.75rem;
        gap: 1rem;
    }
    
    /* 加载提示样式 */
    .loading-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 2rem 0;
        color: #6b7280;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .loading-indicator.loading {
        opacity: 1;
    }
    
    .loading-spinner {
        width: 1.5rem;
        height: 1.5rem;
        border: 2px solid #e5e7eb;
        border-top-color: #88bf1c;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-bottom: 0.5rem;
    }
    
    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }
    
    .loading-text {
        font-size: 0.875rem;
        color: #6b7280;
    }
    .breadcrumb {
    padding: 0rem 0rem 0rem 0rem;
    font-size: 0.9rem;
}

.article-container {
    background: white; */
    border-radius: 0.375rem;
    border: 0px solid #e5e7eb;
    padding: 0rem 0rem 0em 0rem;
    box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.05);
    margin-bottom: 1rem;
}

.article-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 0px solid #f0f0f0;
    
}

.search-container {
    background-color: white;
    padding: 2rem 0.5rem 0rem 0.5rem;
    border: 0px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
}

.search-results {
    margin-top: 0rem;
}

    /* 确保推荐模块宽度一致 */
    .recommendation-module {
        width: 100%;
        box-sizing: border-box;
    }

    /* 强制侧边栏子元素垂直排列 */
    .sidebar > div {
        width: 100%;
        box-sizing: border-box;
    }
.article-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #6b7280;
}
.result-snippet {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}
.text-sm2 {
    font-size: 0.9rem;
    line-height: 1.5;
  }
.recommendation-image {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 0.25rem;
}
.ranking-title {
    font-size: 0.9rem;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #979da8;
    margin-top: 0.75rem;
}

}
/* 确保推荐模块宽度一致 */
.recommendation-module {
    width: 100%;
    box-sizing: border-box;
}

/* 强制侧边栏子元素垂直排列 */
.sidebar > div {
    width: 100%;
    box-sizing: border-box;
}


.article-container {
  font-size: 18px;
}
.article-container h1 {
  color: #333;
  font-size: 1.6em;
  font-weight: 600;
  letter-spacing: 0;
  line-height: normal;
  margin-bottom: 14px;
}
.article-container h2 {
color: #333;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 0;
    line-height: normal;
    margin-bottom: 14px;
    padding: 0px;
}
.article-container h3 {
  color: #333;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 0;
  line-height: normal;
  margin-bottom: 14px;
}
.article-container h3 {
  color: #333;
  font-size: 1.2em;
  font-weight: 600;
  letter-spacing: 0;
  line-height: normal;
  margin-bottom: 14px;
  padding: 0px;
}
.article-container h4 {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: normal;
  margin-bottom: 14px;
}
.article-container h5 {
  color: #666;
  font-size: 0.8em;
  font-weight:400;
  letter-spacing: 0;
  line-height: normal;
  margin-bottom: 8px;
}
.article-container h6 {
  color:#666;
  font-size: 0.7em;
  font-weight:400;
  letter-spacing: 0;
  line-height: normal;
  margin-bottom: 8px;
}
.article-content table {
  border-spacing: 0;
  border-collapse: collapse;
  margin: 0 0 var(--theme-margin-bottom-max) 0;
  margin-bottom: 20px;
}
.article-content table tr:hover {
  background: rgba(60, 90, 100, 0.04);
}
.article-content table tr td, .article-content table tr th {
  padding: 0.3rem 0.66rem;
  border: 1px solid #d0d7de;
}
/*.article-container h2 {*/
/*  border-bottom: 1px solid #e5e5e5;*/
/*}*/
/*.article-container h2 strong {*/
/*  border-left: 4px solid #068d81;*/
/*  padding: 0px 10px;*/
/*}*/
.article-container,.article-container p
{
  text-align: justify;
}
.space-y-1{
  line-height: 2.3;
}
.article-container img{
  max-width: 100% !important;
  height: auto;
  margin: 0px auto;
  border-radius: 4px;
  display: block;
  box-sizing: border-box;
  width: auto;
  max-height: 100%;
}
.success {
  padding: 1rem;
  margin: 1rem 0rem 1.5rem 0rem;
  background: #f8f9fa;
  border-left: 4px solid #068d81;
  color: #8a8a8a;
  border-radius: 4px;
  font-size:14px;
}
.success a {
  font-size: 14px;
  /* å¯é€‰ï¼šè®©é“¾æŽ¥æ–‡å­—é¢œè‰²å’Œå®¹å™¨å†…æ™®é€šæ–‡æœ¬ä¸€è‡´ï¼Œé¿å…é»˜è®¤è“è‰² */
  color: inherit;
  /* å¯é€‰ï¼šåŽ»æŽ‰é“¾æŽ¥é»˜è®¤ä¸‹åˆ’çº¿ï¼Œæå‡è§†è§‰ç»Ÿä¸€æ„Ÿ */
  text-decoration: none;
}

html body .main-container .main-main .main-content .main-article code.code {
  background-color: var(--theme-code-bg);
  margin: 0 0.2rem;
  overflow-wrap: break-word;
  color: var(--theme-code-text);
  font-size: var(--theme-first-index-title);
  padding: 0.2rem 0.5rem 0.21rem 0.5rem;
  border-radius: 4px;
}
.disclaimer{
  font-size: 14px;
}


@media (max-width: 768px) {
  .pagination li {
    padding: 8px 3px; /* 左右从7px缩到3px，上下保持8px */
    font-size: 12px; /* 可选：手机端字号同步缩小，更适配 */
  }
  /* 可选：缩小 li 之间的间距 */
  .pagination {
    gap: 2px;
  }

}
@media (max-width: 500px) {
.pagination li:first-child {
  display: none; /* 隐藏第一个li（如上一页） */
}
.pagination li:last-child {
  display: none; /* 隐藏最后一个li（如下一页） */
}
}