/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: 14px;
  color: #333;
  background: #F5F7FA;
  line-height: 1.6;
  padding: 0;
  margin: 0;
}
a {
  text-decoration: none;
  color: #2D5CFF;
  transition: all 0.25s ease;
}
a:hover {
  color: #254BDD;
}
ul,
li {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  border: none;
}

/* 主体布局 */
.main-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  padding: 25px 20px;
  align-items: flex-start;
}
.main-content {
  flex: 1;
}
.sidebar {
  width: 280px;
  flex-shrink: 0;
}
.sidebar-inner {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 22px;
}

/* 卡片模块 */
.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  padding: 22px;
  margin-bottom: 22px;
}
.section-title {
  font-size: 18px;
  font-weight: 600;
  color: #1D2129;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F2F3F5;
}

/* 文章列表 */
.article-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.article-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 14px;
  border: 1px solid #F2F3F5;
  transition: all 0.25s ease;
}
.article-item:hover {
  transform: translateY(-2px);
  border-color: #DCE6FF;
  background: #FAFCFF;
}
.article-title {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article-time {
  font-size: 12px;
  color: #999;
  margin-top: 5px;
}

/* 栏目区块 */
.channel-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.channel-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}
.term-title a {
  font-size: 16px;
  font-weight: 600;
  color: #1D2129;
  margin-bottom: 12px;
  display: block;
}
.mt10 {
  padding: 10px 0;
  border-bottom: 1px dashed #F2F3F5;
  display: flex;
  justify-content: space-between;
  color: #666;
}

/* 特色图标模块（你要的5个特色） */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}
.feature-item {
  flex: 1;
  min-width: 140px;
  background: #F0F4FF;
  border-radius: 12px;
  padding: 24px 10px;
  text-align: center;
  transition: all 0.3s ease;
}
.feature-item:hover {
  background: #2D5CFF;
  color: #fff;
  transform: translateY(-3px);
}
.feature-icon {
  font-size: 30px;
  color: #2D5CFF;
  margin-bottom: 10px;
}
.feature-item:hover .feature-icon {
  color: #fff;
}
.feature-text {
  font-size: 15px;
  font-weight: 500;
}

/* 标签 */
.tag-items,
.link-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-items a {
  padding: 6px 14px;
  background: #F0F4FF;
  color: #2D5CFF;
  border-radius: 30px;
  font-size: 13px;
}
.tag-items a:hover {
  background: #2D5CFF;
  color: #fff;
}
.link-items a {
  padding: 4px 10px;
  font-size: 13px;
  color: #666;
}
.link-items a:hover {
  color: #2D5CFF;
}

/* 移动端底部客服 */
.mobile-bottom-service {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 998;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
  display: flex;
}
.mobile-service-item {
  flex: 1;
  text-align: center;
}
.mobile-service-item a {
  color: #333;
  display: block;
}
.mobile-service-item i {
  font-size: 20px;
  margin-bottom: 3px;
  display: block;
}
.mobile-service-item .text {
  font-size: 12px;
}

/* 响应式 */
@media (max-width: 992px) {
  .main-container {
    flex-direction: column;
    padding: 20px 15px;
  }
  .sidebar {
    width: 100%;
  }
  .article-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .channel-wrapper {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .article-list {
    grid-template-columns: 1fr;
  }
  .feature-item {
    min-width: 45%;
  }
}