/* 七速云 Web：首页新闻公告与帮助文档轻量化展示 */
body#index-page .qy-home-scope #news-docs {
  background: #f7f9fc !important;
}

body#index-page .qy-home-scope #news-docs > .qy-container > .qy-section-head {
  margin-bottom: 24px !important;
}

body#index-page .qy-home-scope #news-docs > .qy-container > .qy-section-head h2 {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

body#index-page .qy-home-scope #news-docs > .qy-container > .qy-section-head > p {
  max-width: 620px !important;
  margin: 0 !important;
  color: #64748b !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
}

/* 去掉大外壳、渐变和厚重阴影，左右两块信息区保持等宽。 */
body#index-page .qy-home-scope #news-docs .qy-news-v2-wrap {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 20px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-main,
body#index-page .qy-home-scope #news-docs .qy-news-v2-docs {
  min-width: 0 !important;
  padding: 24px 26px !important;
  border: 1px solid #e2e8f0 !important;
  border-top: 3px solid #1263ff !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-docs {
  border-top-color: #0ea5e9 !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-main__head,
body#index-page .qy-home-scope #news-docs .qy-news-v2-docs__head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin: 0 0 10px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

/* 英文小标题信息价值较低，隐藏后层级更清楚。 */
body#index-page .qy-home-scope #news-docs .qy-news-v2-main__head span,
body#index-page .qy-home-scope #news-docs .qy-news-v2-docs__head span {
  display: none !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-main__head h3,
body#index-page .qy-home-scope #news-docs .qy-news-v2-docs__head h3 {
  margin: 0 !important;
  color: #0f172a !important;
  font-size: 20px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-main__head a,
body#index-page .qy-home-scope #news-docs .qy-news-v2-docs__head a {
  height: auto !important;
  min-height: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 !important;
  color: #1263ff !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-main__head a::after,
body#index-page .qy-home-scope #news-docs .qy-news-v2-docs__head a::after {
  content: "›";
  margin-left: 5px;
  font-size: 18px;
  line-height: 1;
}

/* 新闻列表改成规整信息行，不再突出首条为大卡片。 */
body#index-page .qy-home-scope #news-docs #qyHomeNoticeList {
  display: block !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-item,
body#index-page .qy-home-scope #news-docs .qy-news-v2-item.is-important {
  min-height: 58px !important;
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eef2f7 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-item:last-child {
  border-bottom: 0 !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-item > span {
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  display: block !important;
  padding: 0 !important;
  color: #1263ff !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  text-align: left !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-item strong {
  display: block !important;
  overflow: hidden !important;
  margin: 0 !important;
  color: #1e293b !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  -webkit-line-clamp: initial !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-item em {
  display: none !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-item:hover strong {
  color: #1263ff !important;
}

/* 帮助文档同样改为四条紧凑列表，避免右侧出现四块拥挤小卡片。 */
body#index-page .qy-home-scope #news-docs .qy-news-v2-doc-grid {
  display: block !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-doc-grid > a {
  min-height: 58px !important;
  display: grid !important;
  grid-template-columns: 92px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eef2f7 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-doc-grid > a:last-child {
  border-bottom: 0 !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-doc-grid > a > span {
  width: auto !important;
  max-width: 92px !important;
  min-height: 0 !important;
  display: block !important;
  overflow: hidden !important;
  padding: 0 !important;
  color: #0f8fc9 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-doc-grid > a > strong {
  display: block !important;
  overflow: hidden !important;
  margin: 0 !important;
  color: #1e293b !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  -webkit-line-clamp: initial !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-doc-grid > a > em {
  display: none !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-doc-grid > a:hover strong {
  color: #1263ff !important;
}

/* 底部常用入口也改成轻量三列，不再使用厚重悬浮卡片。 */
body#index-page .qy-home-scope #news-docs .qy-news-v2-bottom {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin-top: 20px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-bottom > a {
  min-width: 0 !important;
  padding: 18px 22px !important;
  border: 0 !important;
  border-right: 1px solid #e2e8f0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-bottom > a:last-child {
  border-right: 0 !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-bottom strong {
  display: block !important;
  margin: 0 0 5px !important;
  color: #0f172a !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-bottom span {
  display: block !important;
  color: #64748b !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

body#index-page .qy-home-scope #news-docs .qy-news-v2-bottom > a:hover {
  background: #f8fbff !important;
}

@media (max-width: 900px) {
  body#index-page .qy-home-scope #news-docs .qy-news-v2-wrap {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 760px) {
  body#index-page .qy-home-scope #news-docs > .qy-container > .qy-section-head {
    margin-bottom: 18px !important;
  }

  body#index-page .qy-home-scope #news-docs .qy-news-v2-main,
  body#index-page .qy-home-scope #news-docs .qy-news-v2-docs {
    padding: 18px !important;
  }

  body#index-page .qy-home-scope #news-docs .qy-news-v2-main__head,
  body#index-page .qy-home-scope #news-docs .qy-news-v2-docs__head {
    align-items: center !important;
    flex-direction: row !important;
    margin-bottom: 6px !important;
    padding-bottom: 14px !important;
  }

  body#index-page .qy-home-scope #news-docs .qy-news-v2-item {
    grid-template-columns: 46px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 12px 0 !important;
  }

  body#index-page .qy-home-scope #news-docs .qy-news-v2-doc-grid > a {
    grid-template-columns: 76px minmax(0, 1fr) !important;
    gap: 8px !important;
    padding: 12px 0 !important;
  }

  body#index-page .qy-home-scope #news-docs .qy-news-v2-doc-grid > a > span {
    max-width: 76px !important;
    font-size: 13px !important;
  }

  body#index-page .qy-home-scope #news-docs .qy-news-v2-bottom {
    grid-template-columns: 1fr !important;
  }

  body#index-page .qy-home-scope #news-docs .qy-news-v2-bottom > a {
    padding: 15px 18px !important;
    border-right: 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }

  body#index-page .qy-home-scope #news-docs .qy-news-v2-bottom > a:last-child {
    border-bottom: 0 !important;
  }
}
