/* 案件预警页面样式 - 从 warningView.vue 转换 */
.empty-state { text-align: center; padding: 4rem 1rem; background-color: #fff; border-radius: 8px; margin-bottom: 1.5rem; }
.empty-state .empty-icon { font-size: 3rem; color: #ccc; margin-bottom: 1rem; }
.empty-state .empty-text { color: #999; font-size: 1rem; }
.content-tabs {
  display: flex; justify-content: center; margin: 2rem auto; max-width: 1200px;
  padding: 0 1rem; border-bottom: 1px solid #e0e0e0;
}
.content-tabs .tab-item {
  padding: 1rem 2rem; cursor: pointer; font-size: 1.1rem; font-weight: 500;
  transition: all 0.3s ease; position: relative;
}
.content-tabs .tab-item:hover { color: var(--primary-color); }
.content-tabs .tab-item.active { color: var(--primary-color); }
.content-tabs .tab-item.active::after {
  content: ""; position: absolute; bottom: -1px; left: 0; width: 100%;
  height: 3px; background-color: var(--primary-color);
}
.content-container { max-width: 1200px; margin: 0 auto; padding: 0 1rem 3rem; }
.list-item, .knowledge-item, .appeal-item {
  background-color: #fff; border-radius: 8px; padding: 1.5rem; margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.list-item:hover, .knowledge-item:hover, .appeal-item:hover {
  transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.case-list .item-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.case-list .item-title { font-size: 1.25rem; font-weight: 600; margin: 0; color: #333; }
.case-list .item-date { color: #888; font-size: 0.9rem; white-space: nowrap; }
.case-list .item-desc { color: #666; line-height: 1.6; margin-bottom: 1rem; }
.read-more {
  background-color: transparent; color: var(--primary-color); border: 1px solid var(--primary-color);
  padding: 0.5rem 1.25rem; border-radius: 4px; cursor: pointer; transition: all 0.3s ease;
}
.read-more:hover { background-color: var(--primary-color); color: #fff; }
.load-more { text-align: center; margin-top: 2rem; }
/* 详情页 */
.case-detail-container { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; box-sizing: border-box; }
.case-detail-container h2 { width: 60%; font-size: 28px; margin: 1.5rem auto 1rem; text-align: center; font-weight: 600; }
.detail-content { width: 100%; }
.detail-content img { max-width: 100%; height: auto; }
p span img.rich_pages.wxw-img { display: inline-block; }
img.rich_pages.wxw-img { display: block; margin: 0 auto; }
img.rich_pages.wxw-img.__bg_gif { display: block; margin: 0 auto; }

/* 移动端适配 */
@media (max-width: 768px) {
  .content-tabs {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }
  .content-tabs::-webkit-scrollbar {
    display: none;
  }
  .list-item, .knowledge-item, .appeal-item {
    padding: 1rem;
  }
  .item-title {
    font-size: 16px;
  }
  .item-desc {
    font-size: 13px;
  }
  .item-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .case-detail-container {
    padding: 1rem;
  }
  .case-detail-container h2 {
    width: 100%;
    font-size: 20px;
  }
}
.rich_media_title { display: flex; justify-content: center; }
